Detection system and method of AC power supply controller
By combining signal conditioning, jump setting, time comparison and exception handling modules, and using high-speed comparators and microcontrollers to accurately time and make multi-dimensional judgments on the zero-crossing moments of the AC power controller, the problem of periodic delay jitter in the AC power controller is solved, and the detection accuracy and anti-interference ability are improved.
Patent Information
- Application Number
- CN202510850259.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-24
- Publication Date
- 2025-09-12
AI Technical Summary
The existing technology has difficulty in detecting periodic delay jitter problems in the zero-crossing detection of the AC power controller, resulting in unstable output power at the load end. The lack of long-term tracking detection also makes the delay jitter problem difficult to detect.
The signal conditioning module, jump setting module, time comparison module and exception handling module are used to accurately time and make multi-dimensional judgments on the zero-crossing moment through high-speed comparators and microcontrollers. The delay jitter characteristics are combined for evaluation to identify periodic delay problems.
It achieves the rapid identification of periodic delay problems within a single or a small number of cycles, shortens the response time from the occurrence of the problem to the judgment of the abnormality and reporting of the repair, improves the accuracy and anti-interference ability of the detection decision, and avoids the misjudgment due to single abnormal data.
Smart Images

Figure CN120630947A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of AC power supply controller detection, and in particular to a detection system and method for an AC power supply controller. Background Art
[0002] An AC power controller is an electronic device used to manage and regulate the output of alternating current (AC) power. Its main function is to ensure that the power output meets specific voltage, current or power requirements, and to achieve precise control of loads (such as motors, lighting equipment, electric heaters, etc.).
[0003] In actual use, the control chip of an AC power controller must trigger subsequent power switching devices (such as thyristors and triacs) at the precise zero point or after a predetermined delay. If the response delay does not meet the design requirements, it will result in trigger angle errors, affecting the output power stability at the load. Detecting the control chip's response delay to zero-crossing signals and the stability of the trigger delay are crucial for the synchronous operation of the entire control system. However, to ensure detection efficiency, current zero-crossing detection circuits do not perform statistical analysis on large amounts of cycle data from the AC power controller. Instead, they focus on single or small cycle data. This makes it difficult to detect periodic delay jitter in the absence of long-term tracking and detection. Summary of the Invention
[0004] In response to the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a detection system and method for an AC power supply controller, so that when a small number of zero-crossing point detections are performed on the AC power supply controller, the stability can be evaluated in combination with the delay jitter characteristics when delay instability occurs, thereby avoiding the problem of periodic delay jitter.
[0005] In order to achieve the above-mentioned purpose, the present invention provides the following technical solution: a detection system for an AC power supply controller, comprising: The signal conditioning module is used to adjust the high-voltage AC signal to a level suitable for the detection circuit through resistor division or optical coupling isolation when the AC power controller is running, and to eliminate high-frequency noise using a filtering circuit to obtain a comparison signal; A jump setting module is used to connect the comparison signal to the positive terminal of the high-speed comparator and set the reference level to the negative terminal, so that when the comparison signal input to the high-speed comparator reaches or crosses the reference level, the output state of the high-speed comparator jumps; A time comparison module is used to record each time the high-speed comparator output jumps as a zero-crossing moment and set a reference crossing moment. Whenever the microcontroller records a zero-crossing moment, the zero-crossing moment is compared with the reference crossing moment. When the zero-crossing moment and the reference crossing moment are the same, the detection result is marked as normal; when the zero-crossing moment and the reference crossing moment are different, the difference between the zero-crossing moment and the reference crossing moment is obtained. If the difference is less than or equal to a difference threshold, the detection result is marked as normal. If the difference is greater than the difference threshold, the detection result is marked as abnormal. The abnormality handling module is used to continuously record the zero-crossing moments of subsequent preset detection times when an abnormal detection result occurs, and to determine whether the abnormal detection result generated by the zero-crossing moment in the preset detection times is intermittent. When intermittent, it is marked as an abnormal detection result, and the control chip of this AC power supply controller should be repaired; when there is no intermittent, the average of the zero-crossing moments in the preset detection times is obtained, and whether the detection result is normal is determined based on the average of the zero-crossing moments.
[0006] In some embodiments, a microcontroller is used to record a zero-crossing moment when the output state of the high-speed comparator jumps, and the time is reset to 0 after each zero-crossing moment is recorded to record the next zero-crossing moment.
[0007] In some embodiments, when the number of abnormalities is greater than or equal to the abnormality number threshold, the interval time between every two adjacent abnormal zero crossing moments is obtained, and the longest interval time and the shortest interval time are obtained, the longest interval time is subtracted from the shortest interval time to obtain the interval difference, the interval threshold is set, the interval difference is compared with the interval threshold, and a corresponding response is made based on the comparison result.
[0008] In some embodiments, if the interval difference is less than or equal to the interval threshold, it is determined that intermittent occurs, and the detection result is marked as abnormal, and the control chip of the AC power controller should be repaired; if the interval difference is greater than the interval threshold, it is determined that there is no intermittent.
[0009] In some embodiments, when the interval difference is less than or equal to the interval threshold, an inspection quantity threshold greater than the abnormality quantity threshold is set, the abnormality number is compared with the inspection quantity threshold, and a corresponding response is made according to the comparison result.
[0010] In some embodiments, if the number of abnormalities is less than or equal to the inspection quantity threshold, the abnormality handling module is executed again, that is, the zero crossing moment within the preset number of detections is recorded for the second time, and a subsequent detection judgment is made; if the number of abnormalities is greater than the inspection quantity threshold, the intermittent judgment is maintained, and the detection result is marked as abnormal, and the control chip of the AC power controller should be repaired.
[0011] In some embodiments, when the abnormal detection results generated at the zero-crossing moment in the preset number of detections are not intermittent, the mean of the zero-crossing moments in the preset number of detections is obtained, and the difference mean is obtained by taking the difference between the mean of the zero-crossing moment and the reference crossing moment, and the difference mean is compared with the difference threshold, and a corresponding response is made according to the comparison result.
[0012] In some embodiments, if the difference mean is less than or equal to the difference threshold, the test result is marked as normal; if the difference mean is greater than the difference threshold, the test result is marked as abnormal.
[0013] The present invention also provides the following technical solution: a detection method for an AC power controller, comprising the following steps: When the AC power controller is in operation, the high-voltage AC signal is down-regulated to a level suitable for the detection circuit through resistor division or optocoupler isolation, and a filter circuit is used to eliminate high-frequency noise to obtain a comparison signal; Connect the comparison signal to the positive terminal of the high-speed comparator and set the reference level to the negative terminal so that when the comparison signal input to the high-speed comparator reaches or crosses the reference level, the output state of the high-speed comparator changes. Each time the high-speed comparator output jumps, it is recorded as a zero-crossing moment, and a reference crossing moment is set. Each time the microcontroller records a zero-crossing moment, the zero-crossing moment is compared with the reference crossing moment. When the zero-crossing moment and the reference crossing moment are the same, it is marked as a normal detection result. When the zero-crossing moment and the reference crossing moment are different, the difference between the zero-crossing moment and the reference crossing moment is obtained. If the difference is less than or equal to a difference threshold, it is marked as a normal detection result. If the difference is greater than the difference threshold, it is marked as an abnormal detection result. When an abnormal test result occurs, continuously record the zero-crossing moments of the subsequent preset test times, and determine whether the abnormal test result generated by the zero-crossing moment in the preset test times is intermittent. When intermittent, mark it as an abnormal test result, and the control chip of this AC power controller should be repaired; when there is no intermittent, obtain the average of the zero-crossing moments in the preset test times, and determine whether the test result is normal based on the average of the zero-crossing moments.
[0014] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the above-mentioned detection system for the AC power supply controller.
[0015] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects: First, the present invention uses a high-speed comparator and a microcontroller to achieve precise timing of each zero-crossing moment, and can quickly identify periodic delay problems through two-level judgment (abnormal number threshold and interval consistency judgment) within a single or a small number of cycles. It no longer requires long monitoring time and can discover potential faults in advance, shortening the response time from the occurrence of the problem to the judgment of the abnormality and reporting of the repair.
[0016] Secondly, the present invention uses a preset abnormal number threshold to first determine whether the number of abnormal delays within a certain detection period is frequent enough, and then further checks the regularity of the intervals between adjacent abnormal zero crossings. It can make multi-dimensional judgments on abnormal data, not only statistically analyze the delay differences, but also consider whether the delay intervals are consistent, thereby effectively filtering out sudden interference caused by digital delay errors, voltage dividers, filters or isolation circuits, and identifying whether there are periodic problems within limited data.
[0017] Third, by setting the inspection quantity threshold, the present invention can effectively eliminate isolated anomalies caused by sudden electromagnetic interference or transient noise through re-detection when the abnormal interval difference meets the periodic characteristics but the number of abnormalities is relatively small, thereby avoiding the influence of a single or a small amount of abnormal data on the overall judgment. Multi-period data statistics make the system more resistant to transient interference and digital delay errors, thereby improving the accuracy of the overall detection decision. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 Schematic diagram of the system module of the present invention; Figure 2 Schematic diagram of the method steps of the present invention. DETAILED DESCRIPTION
[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.
[0020] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the elements may be multiple, and the term "one" should not be understood as a limitation on the quantity.
[0021] The present invention provides a detection system for an AC power supply controller, such as Figure 1 Shown, including: The signal conditioning module is used to reduce the high-voltage AC signal to a level suitable for the detection circuit through resistor division or optical coupling isolation when the AC power controller is in operation, and to eliminate high-frequency noise using a filtering circuit (such as a low-pass filter) to obtain a comparison signal; The jump setting module is used to connect the comparison signal to the positive terminal of the high-speed comparator and set the reference level (usually 0V or a small offset voltage, plus a small hysteresis if necessary) to the negative terminal. When the comparison signal input to the high-speed comparator reaches or crosses the reference level, the output state of the high-speed comparator jumps. Under normal AC waveforms, the output of the high-speed comparator jumps at every zero crossing point. The time comparison module is used to use a microcontroller (MCU) to record a zero-crossing moment when the output state of the high-speed comparator jumps, and reset the time to 0 for the next record after each zero-crossing moment is recorded, and set a reference crossing moment. Whenever the microcontroller records a zero-crossing moment, the zero-crossing moment is compared with the reference crossing moment. When the zero-crossing moment is the same as the reference crossing moment, it is marked as a normal detection result; when the zero-crossing moment is different from the reference crossing moment, the difference between the zero-crossing moment and the reference crossing moment is obtained, that is, the difference between the zero-crossing moment and the reference crossing moment is calculated, and the absolute value of the result is taken to obtain the difference value, and the difference value is compared with the preset difference threshold. If the difference value is less than or equal to the difference threshold, it is marked as a detection result. The result is normal. If the difference value exceeds the difference threshold, the test result is marked as abnormal. For example, if the test target is an AC power controller for a 50Hz grid application, and a full cycle is set to 20ms, the reference crossing time is 10ms. This is because in an ideal sinusoidal AC signal, there are two zero crossings within a full cycle (20ms), that is, two crossings at zero: one rising crossing (negative to positive) and one falling crossing (positive to negative). If a full cycle is set to 20ms, in reality, zero crossings typically occur at the beginning of the cycle (0ms) and the middle of the cycle (10ms). Therefore, in actual detection, the interval between two consecutive zero crossings is approximately 10ms, which means the reference crossing time is 10ms. If the zero crossing time recorded by the microcontroller is set to 12ms, the difference value is 2ms, and the difference threshold is set to 1ms, then because the difference value exceeds the difference threshold, the test result is considered abnormal. In the above design, the microcontroller is used to clear the timing each time the output state changes, so as to achieve accurate timing and recording of the zero crossing moment in a continuous cycle. The actual zero crossing moment is compared with the preset reference crossing moment, and the presence of delay deviation is determined based on the preset threshold, so as to quickly distinguish between normal and abnormal states.
[0022] The exception handling module is used to continuously record the zero-crossing moments of subsequent preset detection times when an abnormal detection result occurs, and to determine whether the abnormal detection result generated at the zero-crossing moment in the preset detection number of times is intermittent. When intermittent, it is marked as an abnormal detection result, and the control chip of this AC power controller should be repaired; when there is no intermittent, the average of the zero-crossing moments in the preset detection number of times is obtained, and whether the detection result is normal is determined based on the average of the zero-crossing moments; by analyzing the interval performance of the zero-crossing moment in the continuous abnormal data, it is determined whether the abnormality is intermittent, and subtle abnormalities such as periodic delay jitter can be captured, thereby compensating for the problem that the traditional method of relying only on single data may miss long-term trends.
[0023] The specific method for determining whether the abnormality of the detection result generated at the zero crossing moment in the preset number of detections is intermittent is: setting an abnormality number threshold, obtaining the number of times in the preset number of detections that the difference between each zero crossing moment and the reference crossing moment is greater than the difference threshold, marking the number of times as abnormal number, and comparing the abnormal number of times with the abnormal number threshold. If the abnormal number of times is less than the abnormal number threshold, it indicates that in the preset number of detections, the number of times the delay is generated at the zero crossing moment is small, and there is no possibility of intermittent delay, and it is determined that there is no intermittent; if the abnormal number of times is greater than or equal to the abnormal number threshold, it indicates that in the preset number of detections, the number of times the delay is generated at the zero crossing moment is large, and there is a possibility of intermittent delay, and the next step of judgment is performed. When the number of abnormalities is greater than or equal to the abnormality number threshold, the interval time between each two adjacent abnormal zero crossing moments is obtained, and the longest interval time and the shortest interval time are obtained. The difference between the longest interval time and the shortest interval time is obtained, the interval threshold is set, and the interval difference is compared with the interval threshold. The corresponding response is made according to the comparison result: if the interval difference is less than or equal to the interval threshold, it indicates that the interval of delay generated at each zero crossing moment within the continuous preset number of detections is relatively consistent, which means that the delay jitter problem is periodic, and it is judged to be intermittent, marked as abnormal test results, and the control chip of this AC power controller should be repaired; if the interval difference is greater than the interval threshold, it indicates that the interval of delay generated at each zero crossing moment within the continuous preset number of detections is inconsistent, which means that the delay jitter problem has no rules and is more sudden. This may be due to digital delay error, or uncertain delay or phase offset introduced by voltage divider, filtering and isolation circuits, and it is judged that there is no intermittent. For example, the preset number of detections is set to 10 times, and the zero crossing times detected in the 10 times are 12ms, 10ms, 10ms, 12ms, 11ms, 12ms, 10ms, 10ms, 10ms, and 10ms respectively. Among them, the first, fourth, and sixth are abnormal zero crossing times. Because the difference between these three zero crossing times and the reference crossing time is greater than the difference threshold, that is, the number of abnormal times is 3, and the abnormal number threshold is set to 2. Since the number of abnormal times is greater than the abnormal number threshold, the longest interval between each two adjacent abnormal zero crossing times is 32ms between the first and fourth zero crossing times, and the shortest interval is 23ms between the fourth and sixth zero crossing times. The difference interval is 9ms, and the interval threshold is set to 5ms. Since the interval difference is greater than the interval threshold, it is determined that there is no intermittent. Through the preset abnormal number threshold, first determine whether the number of abnormal delays within a certain detection period is frequent enough, and then further check the regularity of the intervals between adjacent abnormal zero crossing times. This two-stage filtering method can effectively distinguish between periodic (intermittent) delays and sudden, random delay errors, avoiding misjudgments due to single occasional errors.Multi-dimensional judgment is performed on abnormal data, which not only counts the delay differences but also considers whether the delay intervals are consistent. This can effectively filter out sudden interference caused by digital delay errors, voltage division, filtering or isolation circuits, and avoid misjudgment due to local or accidental anomalies.
[0024] It's important to note that the reason intermittent delay issues are directly identified as detection anomalies and reported for repair is that periodic delay jitter isn't simply a transient or random error. Instead, it's often a cyclical anomaly caused by internal faults in the control chip, component aging, or circuit design flaws. Intermittent delay jitter often exhibits regularity, meaning the same delay anomaly recurs over multiple cycles. This indicates a persistent anomaly in the control chip's processing of zero-crossing detection signals, possibly due to internal circuit damage or component failure. This periodicity, unlike occasional random interference, indicates a deeper fault source, and continued operation may exacerbate the risk of failure. While traditional detection methods often require long-term detection and judgment for periodic delay jitter, the present invention utilizes a high-speed comparator and microcontroller to accurately time each zero-crossing moment. This allows rapid identification of periodic delay issues within a single or small number of cycles through a two-level judgment process (anomaly number threshold and interval consistency judgment). This eliminates the need for lengthy monitoring, enabling early detection of potential faults and shortening the response time from problem onset to anomaly judgment and repair reporting.
[0025] At the same time, when the interval difference is less than or equal to the interval threshold, a check number threshold greater than the abnormality number threshold is set, and the number of abnormalities is compared with the check number threshold. If the number of abnormalities is less than or equal to the check number threshold, it indicates that the number of abnormalities generated in the preset detection times is still small, then the abnormality handling module is executed again, that is, the zero crossing moment within the preset detection times is recorded for the second time, and subsequent detection judgments are made. This is because when subjected to sudden electromagnetic interference or transient noise interference, a single or a small number of abnormal zero crossing moments may appear. These abnormal intervals are not necessarily continuous or regular. When the number of detections is small, the abnormal data of a single interference may be amplified and affect the interval statistics, and be mistakenly judged as intermittent delay. Executing the abnormality handling module again can eliminate the impact of isolated abnormalities by counting one more cycle of data; if the number of abnormalities is greater than the check number threshold, the judgment of intermittent existence is maintained, and the detection result is marked as abnormal, and the control chip of this AC power controller should be repaired. By setting the inspection quantity threshold, when the abnormal interval difference meets the periodic characteristics (less than or equal to the set threshold) but the number of abnormalities is relatively small, re-detection can effectively eliminate isolated abnormalities caused by sudden electromagnetic interference or transient noise, and avoid the impact of a single or small amount of abnormal data on the overall judgment. Multi-period data statistics make the system more resistant to transient interference and digital delay errors, thereby improving the accuracy of the overall detection decision.
[0026] When the abnormal detection results generated at the zero-crossing moment in the preset number of detections are not intermittent, the mean of the zero-crossing moments in the preset number of detections is obtained, and the difference mean is obtained by taking the difference between the mean of the zero-crossing moment and the reference crossing moment. The difference mean is compared with the difference threshold. If the difference mean is less than or equal to the difference threshold, it is marked as a normal detection result. If the difference mean is greater than the difference threshold, it is marked as an abnormal detection result.
[0027] The present invention provides a detection method for an AC power supply controller, such as Figure 2 As shown, the following steps are included: When the AC power controller is in operation, the high-voltage AC signal is down-regulated to a level suitable for the detection circuit through resistor division or optocoupler isolation, and a filter circuit is used to eliminate high-frequency noise to obtain a comparison signal; Connect the comparison signal to the positive terminal of the high-speed comparator and set the reference level to the negative terminal so that when the comparison signal input to the high-speed comparator reaches or crosses the reference level, the output state of the high-speed comparator changes. A microcontroller is used to record a zero-crossing moment when the output state of the high-speed comparator jumps, and a reference crossing moment is set. Whenever the microcontroller records a zero-crossing moment, the zero-crossing moment is compared with the reference crossing moment. When the zero-crossing moment and the reference crossing moment are the same, the detection result is marked as normal. When the zero-crossing moment and the reference crossing moment are different, the difference between the zero-crossing moment and the reference crossing moment is obtained. If the difference is less than or equal to a difference threshold, the detection result is marked as normal. If the difference is greater than the difference threshold, the detection result is marked as abnormal. When an abnormal test result occurs, continuously record the zero-crossing moments of the subsequent preset test times, and determine whether the abnormal test result generated by the zero-crossing moment in the preset test times is intermittent. When intermittent, mark it as an abnormal test result, and the control chip of this AC power controller should be repaired; when there is no intermittent, obtain the average of the zero-crossing moments in the preset test times, and determine whether the test result is normal based on the average of the zero-crossing moments.
[0028] In the embodiments disclosed herein, the processes described above with reference to the flowcharts can be implemented as computer software programs. The embodiments disclosed herein include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication component and / or installed from removable media. When the computer program is executed by a central processing unit, the functions defined in the methods of this application are performed. It should be noted that the computer-readable medium referred to herein can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wire segments, a portable computer disk, a hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. Furthermore, in this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, electrical, optical, RF, or any suitable combination thereof.
[0029] The flow charts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0030] Those skilled in the art should understand that the above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered by the scope of protection of the present application.
Claims
1. A detection system for an AC power controller, characterized in that: include: The signal conditioning module is used to adjust the high-voltage AC signal to a level suitable for the detection circuit through resistor division or optical coupling isolation when the AC power controller is running, and to eliminate high-frequency noise using a filtering circuit to obtain a comparison signal; A jump setting module is used to connect the comparison signal to the positive terminal of the high-speed comparator and set the reference level to the negative terminal, so that when the comparison signal input to the high-speed comparator reaches or crosses the reference level, the output state of the high-speed comparator jumps; A time comparison module is used to record each time the high-speed comparator output jumps as a zero-crossing moment and set a reference crossing moment. Whenever the microcontroller records a zero-crossing moment, the zero-crossing moment is compared with the reference crossing moment. When the zero-crossing moment and the reference crossing moment are the same, the detection result is marked as normal; when the zero-crossing moment and the reference crossing moment are different, the difference between the zero-crossing moment and the reference crossing moment is obtained. If the difference is less than or equal to a difference threshold, the detection result is marked as normal. If the difference is greater than the difference threshold, the detection result is marked as abnormal. The abnormality handling module is used to continuously record the zero-crossing moments of subsequent preset detection times when an abnormal detection result occurs, and to determine whether the abnormal detection result generated by the zero-crossing moment in the preset detection times is intermittent. When intermittent, it is marked as an abnormal detection result, and the control chip of this AC power supply controller should be repaired; when there is no intermittent, the average of the zero-crossing moments in the preset detection times is obtained, and whether the detection result is normal is determined based on the average of the zero-crossing moments.
2. The detection system of an AC power supply controller according to claim 1, characterized in that: A microcontroller is used to record a zero-crossing moment when the output state of the high-speed comparator jumps, and the time is reset to 0 after each zero-crossing moment is recorded to record the next zero-crossing moment.
3. The detection system of an AC power supply controller according to claim 2, characterized in that: When the number of abnormalities is greater than or equal to the abnormality number threshold, obtain the interval time between every two adjacent abnormal zero crossing moments, and obtain the longest interval time and the shortest interval time, calculate the difference between the longest interval time and the shortest interval time to obtain the interval difference, set the interval threshold, compare the interval difference with the interval threshold, and make corresponding responses based on the comparison results.
4. The detection system for an AC power supply controller according to claim 3, characterized in that: If the interval difference is less than or equal to the interval threshold, it is judged that intermittent exists and marked as abnormal. The control chip of this AC power controller should be repaired; if the interval difference is greater than the interval threshold, it is judged that there is no intermittent.
5. The detection system for an AC power supply controller according to claim 4, characterized in that: When the interval difference is less than or equal to the interval threshold, a check quantity threshold greater than the abnormality quantity threshold is set, the number of abnormalities is compared with the check quantity threshold, and a corresponding response is made according to the comparison result.
6. The detection system for an AC power supply controller according to claim 5, characterized in that: If the number of abnormalities is less than or equal to the inspection quantity threshold, the abnormality handling module is executed again, that is, the zero crossing moment within the preset number of detections is recorded for the second time, and subsequent detection judgments are made; if the number of abnormalities is greater than the inspection quantity threshold, the judgment that there is intermittent existence is maintained, and the detection result is marked as abnormal, and the control chip of this AC power controller should be repaired.
7. The detection system for an AC power supply controller according to claim 6, characterized in that: When the abnormal detection results generated at the zero-crossing moment in the preset number of detections are not intermittent, the average of the zero-crossing moments in the preset number of detections is obtained, and the difference mean is obtained by taking the difference between the average of the zero-crossing moment and the reference crossing moment, and the difference mean is compared with the difference threshold, and a corresponding response is made according to the comparison result.
8. The detection system for an AC power supply controller according to claim 7, characterized in that: If the difference mean is less than or equal to the difference threshold, the test result is marked as normal. If the difference mean is greater than the difference threshold, the test result is marked as abnormal.
9. A detection method for an AC power controller, characterized in that: The detection system for an AC power controller according to any one of claims 1 to 8 comprises the following steps: When the AC power controller is in operation, the high-voltage AC signal is down-regulated to a level suitable for the detection circuit through resistor division or optocoupler isolation, and a filter circuit is used to eliminate high-frequency noise to obtain a comparison signal; Connect the comparison signal to the positive terminal of the high-speed comparator and set the reference level to the negative terminal so that when the comparison signal input to the high-speed comparator reaches or crosses the reference level, the output state of the high-speed comparator changes. Each time the high-speed comparator output jumps, it is recorded as a zero-crossing moment, and a reference crossing moment is set. Each time the microcontroller records a zero-crossing moment, the zero-crossing moment is compared with the reference crossing moment. When the zero-crossing moment and the reference crossing moment are the same, it is marked as a normal detection result. When the zero-crossing moment and the reference crossing moment are different, the difference between the zero-crossing moment and the reference crossing moment is obtained. If the difference is less than or equal to a difference threshold, it is marked as a normal detection result. If the difference is greater than the difference threshold, it is marked as an abnormal detection result. When an abnormal test result occurs, continuously record the zero-crossing moments of the subsequent preset test times, and determine whether the abnormal test result generated by the zero-crossing moment in the preset test times is intermittent. When intermittent, mark it as an abnormal test result, and the control chip of this AC power controller should be repaired; when there is no intermittent, obtain the average of the zero-crossing moments in the preset test times, and determine whether the test result is normal based on the average of the zero-crossing moments.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the detection system of an AC power supply controller according to any one of claims 1 to 8.
Citation Information
Patent Citations
Wind power plant breakdown early warning method based on zero modulus current travelling wave
CN104155571A
Alternating current power supply abnormity detection method and device
CN109975724A
Equipment alarm method and device, electrical equipment and alarm
CN119360572A
Image forming apparatus
JP2006171553A
Control device for refrigerator
JP2007178079A