An arc grounding fault simulation system based on MCU

Through the arc ground fault simulation system based on MCU, the voltage acquisition and phase angle input unit is used to accurately control the phase of arc light, which solves the problem that the existing technology cannot accurately simulate the arc ground fault of the AC system, and achieves accurate detection of arc ground fault. Simulation and fault time control improve the accuracy of fault prevention and elimination.

CN117949778BActive Publication Date: 2024-10-18HAIXI POWER SUPPLY +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410074894.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-18
Publication Date
2024-10-18
Estimated Expiration
2044-01-18

AI Technical Summary

Technical Problem

Existing arc simulation devices cannot accurately simulate the phase angle and duration of arc ground faults in AC systems, and cannot truly reflect the laws of arcs, affecting fault prevention and elimination.

Method used

Design an arc ground fault simulation system based on MCU. Through the voltage acquisition unit, phase angle input unit and MCU controller, the phase of arc occurrence is accurately controlled, and the AC line arc ground fault is simulated through the arc generation unit and processed by a microcontroller. input voltage, keeping the voltage across the electrode in a sinusoidal form to achieve accurate simulation of arc ground faults.

Benefits of technology

It achieves accurate simulation of arc ground faults, can simulate arc ground faults and fault times under different phase angles, improves the accuracy of fault prevention and elimination, and ensures the safe operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117949778B_ABST
    Figure CN117949778B_ABST
Patent Text Reader

Abstract

The invention discloses an arc grounding fault simulation system based on MCU, comprising a voltage acquisition unit, a phase angle input unit, an MCU controller and an arc generating unit; the voltage acquisition unit is used for acquiring real-time voltage; the phase angle input unit is used for identifying control instructions and correspondingly generating a level signal carrying phase angle information; the MCU controller is used for receiving the level signal and comparing the real-time voltage according to the phase angle information, and when the phase angle of the real-time voltage conforms to the phase angle information, issuing an instruction to enable the arc generating unit to generate an arc simulated grounding fault; the invention processes and compares the input voltage through a microcontroller, accurately controls the phase of the arc generation according to the comparison result, and keeps the voltage at both ends of the electrode changing in a sinusoidal form, so as to achieve accurate simulation of the arc grounding fault of the AC line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of circuit fault simulation, and more particularly to an arc grounding fault simulation system based on MCU. Background Art

[0002] Arc grounding is a common fault phenomenon in power systems, characterized by the formation of a conductive channel between the fault point and the ground, generating arc discharge. Arc grounding faults can cause overvoltage in the entire power system, which can seriously affect the safe operation of the power system and may even cause fires and personal injury accidents. Therefore, simulation and analysis of arc grounding faults are of great significance for the prevention and elimination of arc grounding faults. Most arc simulation devices can only generate an arc by generating a fixed voltage difference between electrodes, that is, a voltage difference in the form of PWM, so that the air is broken down. At present, arc grounding mostly occurs in AC systems, and the voltage at both ends of the electrodes changes in the form of a sine wave. Obviously, such simulation effects cannot truly reflect the law of the arc. At the same time, the phase angle and duration of the arc cannot be accurately controlled by adjusting the values ​​of resistance and capacitance.

[0003] Therefore, how to simulate arc grounding faults and fault times at different phase angles is a problem that technical personnel in this field need to solve urgently. Summary of the invention

[0004] In view of this, the present invention provides an arc grounding fault simulation system based on MCU, which processes and compares the input voltage through a microcontroller, accurately controls the phase of the arc occurrence according to the comparison result, and keeps the voltage at both ends of the electrode changing in a sinusoidal form, so as to accurately simulate the arc grounding fault of the AC line.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] An arc grounding fault simulation system based on MCU comprises a voltage acquisition unit, a phase angle input unit, an MCU controller and an arc generating unit.

[0007] The voltage acquisition unit is used to obtain the real-time voltage. The phase angle input unit is used to identify the control instruction and generate a level signal carrying the phase angle information accordingly. The MCU controller is used to receive the level signal and compare the real-time voltage according to the phase angle information, and when the phase angle of the real-time voltage meets the phase angle information, issue an instruction to make the arc generation unit generate an arc to simulate a ground fault.

[0008] Preferably, the voltage acquisition unit includes a step-down module and a signal modulation module. The step-down module scales down the input voltage, performs gain amplification through the signal modulation module, converts the signal into a binary signal, and outputs the signal to the MCU controller.

[0009] Preferably, the voltage acquisition unit is composed of a CS5463 chip and an external circuit; in the external circuit, after the step-down transformer reduces the input voltage, the parallel circuit composed of a resistor R1 and a capacitor C1 performs filtering, and then the series circuit composed of resistors R4, R5 and a capacitor C2 eliminates the peak to generate a sinusoidal voltage which is input to the CS5463 chip; the CS5463 chip has a built-in programmable gain amplifier and a △-∑ modulator, and the programmable gain amplifier performs gain on the sinusoidal voltage and after modulation by the △-∑ modulator, transmits the binary signal generated by the modulation to the microcontroller MCU via SPI serial port communication.

[0010] Preferably, the phase angle input unit is composed of a plurality of key switches, each of which is connected to a different pin of the MCU controller. When the key switch is closed, a high level is generated at the corresponding pin to obtain a corresponding input amount.

[0011] Preferably, the phase angle input unit further includes a de-jitter circuit, and the de-jitter circuit is composed of a plurality of capacitors, and each capacitor is respectively connected to each key switch in parallel.

[0012] Preferably, the MCU controller obtains the period and amplitude of the real-time voltage, and calculates the voltage value according to the input phase angle information to obtain the conduction voltage, and when the real-time voltage reaches the conduction voltage, sends a command to the arc generating unit.

[0013] Preferably, the MCU controller has a built-in digital-to-analog conversion module for performing digital-to-analog conversion when the real-time voltage input to the MCU control is a digital signal.

[0014] Preferably, the MCU controller has a built-in counter. When the real-time voltage reaches the turn-on voltage, the real-time voltage is subjected to zero point detection. The number of zero crossings is detected by counting, and when the preset number of times is met, an instruction is issued to the arc generating unit to disconnect the arc generating unit.

[0015] Preferably, the arc generating unit includes a switching element, a boost transformer and an electrode; the switching element is an N-channel MOSFET, and the high-level instruction output by the MCU controller causes the G pole of the MOSFET to generate current, and the primary side circuit of the boost transformer is turned on; after the boost transformer increases the primary side voltage, the electrodes in the secondary side circuit generate a sinusoidally varying voltage difference, thereby generating an arc.

[0016] Preferably, it further comprises a display unit, which is connected to the MCU controller and is used to display the real-time voltage and the input control instruction.

[0017] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses an arc grounding fault simulation system based on MCU, which processes and compares the input voltage by a microcontroller, accurately controls the phase of arc generation according to the comparison result, and keeps the voltage at both ends of the electrode changing in a sinusoidal form, so as to accurately simulate the arc grounding fault of the AC line. At the same time, after the arc generating unit circuit is turned on, the circuit is disconnected according to the preset number of times through zero-crossing detection to realize the control of the conduction time. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0019] Figure 1 A schematic diagram of the structure of an arc grounding fault simulation system based on MCU provided by the present invention.

[0020] Figure 2 A schematic diagram of the structure of a voltage acquisition unit provided in an embodiment of the present invention.

[0021] Figure 3 A schematic diagram of the structure of a phase angle input unit provided in an embodiment of the present invention.

[0022] Figure 4 A calculation flow chart of the MCU controller provided in an embodiment of the present invention.

[0023] Figure 5 A schematic structural diagram of an arc generating unit provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] 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.

[0025] The embodiment of the invention discloses an arc grounding fault simulation system based on MCU, comprising: a voltage acquisition unit, a phase angle input unit, an MCU (Micro Control Unit, micro control unit) controller and an arc generating unit.

[0026] The voltage acquisition unit is used to obtain real-time voltage, including a step-down module and a signal modulation module. The step-down module scales down the input voltage, amplifies the gain through the signal modulation module, converts it into a binary signal, and outputs it to the MCU controller.

[0027] like Figure 2 In one embodiment, the voltage acquisition unit is composed of a CS5463 chip and an external circuit. The interior of the CS5463 chip is composed of two programmable gain amplifiers, two delta-sigma modulators, a matching high-speed filter, a power calculation engine, bias and gain correction, power monitoring, a serial interface and corresponding function registers.

[0028] In the external circuit, the step-down transformer reduces the input voltage, and then the parallel circuit composed of resistor R1 and capacitor C1 filters it. Then the series circuit composed of resistors R4, R5 and capacitor C2 eliminates the peak and generates a sinusoidal voltage input to the CS5463 chip. The CS5463 chip has a built-in programmable gain amplifier and a △-∑ modulator. The programmable gain amplifier gains the sinusoidal voltage and modulates it through the △-∑ modulator. The binary signal generated by the modulation is transmitted to the microcontroller MCU through the SPI serial communication.

[0029] Among them, the response speed can also be improved by connecting resistor R1 and capacitor C1 in parallel: connecting capacitors in parallel at both ends of the resistor can reduce the impedance to high-frequency signals, which is equivalent to differentiating the signal, making the signal rise faster, thereby improving the response speed. Resistors R4, R5 and capacitor C2 are connected in series, and the resistor has a damping effect. The higher the frequency of the capacitor for the AC signal, the lower its impedance. Therefore, when a peak voltage appears, the resistor can convert it into heat and consume it, while the capacitor provides a path for the high-frequency signal and plays a buffering role. The series circuit of resistors and capacitors can form a frequency selection circuit to obtain the required signal of a specific frequency.

[0030] Furthermore, the live wire is grounded through resistor R2, and the neutral wire is grounded through resistor R3. Through the shunting effect, the CS5463 chip and external circuits are prevented from being damaged when the line circuit surges. In addition, this connection method can also build a zero potential reference point for the circuit and provide a stable working state. The crystal oscillator 495MD determines the operating frequency of the chip, C3 and C4 provide pulse signals, and R6 is a pull-up resistor, which together with the pull-down resistor R7 provides a continuous level signal for the chip.

[0031] The phase angle input unit is used to identify the control instruction and generate a level signal carrying the phase angle information accordingly.

[0032] like Figure 3In one embodiment, the phase angle input unit is composed of a plurality of key switches, each of which is connected to a different pin of the MCU controller. When the key switch is closed, a high level is generated at the corresponding pin, so that the MCU controller obtains the corresponding input quantity. In addition, the phase angle input unit also includes a debouncing circuit, which is composed of a plurality of capacitors, each of which is connected in parallel with each key switch.

[0033] Specifically, the connection relationship between the key switches S0-S9, S., ENTER and DELETE and the MCU and the input values ​​they represent are shown in Table 1:

[0034] Table 1 Correspondence between keys and input values ​​of phase angle input unit

[0035]

[0036] Combined with the above table, the phase angle input unit can complete the input of numbers 0 to 9 and decimal points. When S1 is pressed once, PB0 of the MCU receives a high-level signal, determines that the first input value of the phase angle t is 1, and waits for the output of the next value until the two decimal places of the phase angle t are detected. For example, to achieve phase angle t = 45.56°, just press S4, S5, S., S5, S6, ENTER in sequence. The input values ​​corresponding to the corresponding keys are shown in Table 1. At the same time, the phase angle input unit has the functions of confirmation and deletion, which can complete the accurate input of the MOSFET conduction angle. The switch used for the usual key is a mechanical elastic switch. When the mechanical contact is disconnected or closed, a series of jitters will be generated due to the elastic effect of the mechanical contact. At this time, the microcontroller MCU will receive multiple interference signals, resulting in the input value not matching the actual value. According to the principle that the voltage at both ends of the capacitor cannot change suddenly, the capacitor is connected in parallel at both ends of the key switch. At this time, the capacitor must wait for the capacitor to complete the charging and discharging process before the MCU pin can receive the level signal at the corresponding position.

[0037] The MCU controller is used to receive the level signal and compare it with the real-time voltage according to the phase angle information. When the phase angle of the real-time voltage is consistent with the phase angle information, an instruction is issued to make the arc generating unit generate an arc to simulate a ground fault.

[0038] In one embodiment, the MCU controller obtains the period and amplitude of the real-time voltage, and calculates the voltage value according to the input phase angle information to obtain the conduction voltage. When the real-time voltage reaches the conduction voltage, a command is issued to the arc generating unit.

[0039] Furthermore, the MCU controller has a built-in counter. When the real-time voltage reaches the conduction voltage, the real-time voltage is detected at zero point, and the number of zero crossings is detected by counting. When the preset number of times is met, a command is issued to the arc generating unit to disconnect the arc generating unit. Therefore, by setting the parameter of the number of zero crossings, the conduction time can be controlled.

[0040] Furthermore, the MCU controller has a built-in digital-to-analog conversion module for performing digital-to-analog conversion when the real-time voltage input to the MCU control is a digital signal.

[0041] The calculation process of the MCU controller is as follows: Figure 4 As shown, the output signal of the voltage acquisition unit is a binary digital signal. The microcontroller with ADC (digital-to-analog converter) function uses the ADC function and floating-point operation function with the formula V(ADC)=Value(ADC)*V(ref) / ad. Among them, V(ADC) is the calculated voltage value; Value(ADC) is the collected AD value; V(ref) is the reference voltage, that is, the set voltage ratio, which is generally 3.3V. The ad value in different controllers is different. For example, the ADC of STM32 is 12 bits, so the maximum value of ad is 4096. ) Convert the continuously changing voltage into the corresponding digital value. According to the formula U=Umsin(ωt), where Um and ω are known quantities and the initial phase angle ψ=0, the corresponding voltage value U can be obtained by simply entering the phase angle t. When U=V(ADC), the PA7 and PA8 pins of the MCU output a high level to the arc generating unit to turn on the circuit. At the same time, let i=0, and then detect whether the voltage V(ADC) value at both ends of the line is 0, that is, whether it passes through the zero point. When it passes through the zero point, it increases by 1 and becomes i=1. When i=2, it can ensure that the voltage at both ends of the line disconnects the circuit at the second zero crossing (after one cycle), and so on.

[0042] In one embodiment, the arc generating unit includes a switching element, a step-up transformer and an electrode; Figure 5 As shown, the switching element is an N-channel MOSFET. The high-level command output by the MCU controller causes the G pole of the MOSFET to generate current, and the primary side circuit of the step-up transformer is turned on. After the step-up transformer increases the primary side voltage, the electrodes in the secondary side circuit generate a sinusoidally varying voltage difference, thereby generating an arc.

[0043] In this embodiment, an enhanced N-channel MOSFET is selected as the switching element of the arc generating unit, because compared with IGBT, MOSFET (metal oxide semiconductor field effect transistor) has a small driving power and can be directly controlled by the output level of the controller MCU; the switching speed is fast, and the circuit can be closed at the phase angle t in time to ensure the accuracy of the simulation. At the same time, the structure of MOSFET is simpler, so it is more suitable for some low-voltage applications. Since V (ADC) is the voltage in the circuit, the input phase angle t is the phase angle of the voltage at both ends of the circuit. At this time, the output level of the PA7 and PA8 pins of the controller MCU is 1, the G pole of the MOSFET generates current, the N channel forms a conductive channel, the circuit is turned on, the voltage transformer increases the voltage, and a sinusoidal voltage difference is generated between the electrodes P1 and P2, thereby generating an arc. RL in the circuit is a protective resistor, and it is also an equivalent load resistor of a two-port equivalent circuit, and its size can be determined according to the actual calculated value.

[0044] In one embodiment, a display unit is further included, which is connected to the MCU controller and is used to display the real-time voltage and the input control instructions. The detected voltage value and the input phase angle are displayed on the screen, making the data more intuitive, the input more convenient, and reducing the error rate.

[0045] The device collects the voltage in the line and transmits it to the controller. The microcontroller processes and compares the input voltage, controls the opening and closing of the MOSFET tube according to the comparison result, and accurately controls the phase and duration of the arc. At the same time, the voltage at both ends of the electrode changes in a sinusoidal form, so as to accurately simulate the arc grounding fault of the AC line.

[0046] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0047] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An arc grounding fault simulation system based on MCU, characterized in that: It includes a voltage acquisition unit, a phase angle input unit, an MCU controller and an arc generating unit; The voltage acquisition unit is used to obtain real-time voltage; The phase angle input unit is used to identify the control instruction and generate a level signal carrying the phase angle information accordingly; the phase angle input unit is composed of a plurality of key switches, each of which is connected to a different pin of the MCU controller. When the key switch is closed, a high level is generated at the corresponding pin, so that the MCU controller obtains the corresponding input quantity; The MCU controller is used to receive the level signal and compare it with the real-time voltage according to the phase angle information, the MCU controller obtains the period and amplitude of the real-time voltage, and calculates the voltage value according to the input phase angle information to obtain the conduction voltage; when the real-time voltage reaches the conduction voltage, an instruction is issued to enable the arc generation unit to generate an arc to simulate a ground fault; The MCU controller has a built-in counter. When the real-time voltage reaches the turn-on voltage, the real-time voltage is subjected to zero point detection. The number of zero crossings is detected by counting. When the preset number of times is met, an instruction is issued to the arc generating unit to disconnect the arc generating unit.

2. The arc grounding fault simulation system based on MCU according to claim 1 is characterized in that: The voltage acquisition unit includes a step-down module and a signal modulation module. The step-down module scales down the input voltage, amplifies the gain through the signal modulation module, converts the signal into a binary signal, and outputs the binary signal to the MCU controller.

3. The arc grounding fault simulation system based on MCU according to claim 1 is characterized in that: The voltage acquisition unit is composed of a CS5463 chip and an external circuit; In the external circuit, after the step-down transformer reduces the input voltage, the parallel circuit composed of the resistor R1 and the capacitor C1 performs filtering, and then the series circuit composed of the resistors R4, R5 and the capacitor C2 eliminates the peak to generate a sinusoidal voltage which is input to the CS5463 chip; The CS5463 chip has a programmable gain amplifier and a delta-sigma modulator built in. The programmable gain amplifier gains the sinusoidal voltage and after modulation by the delta-sigma modulator, transmits the binary signal generated by the modulation to the microcontroller MCU via SPI serial port communication.

4. The arc grounding fault simulation system based on MCU according to claim 1 is characterized in that: The phase angle input unit further includes an anti-jitter circuit, which is composed of a plurality of capacitors, each capacitor being connected in parallel with each key switch.

5. The arc grounding simulation fault device based on MCU according to claim 1 is characterized in that: The MCU controller is built with a digital-to-analog conversion module for performing digital-to-analog conversion when the real-time voltage input to the MCU control is a digital signal.

6. The arc grounding fault simulation system based on MCU according to claim 1, characterized in that: The arc generating unit comprises a switching element, a step-up transformer and an electrode; The switch element is an N-channel MOSFET, and the high-level instruction output by the MCU controller causes the G pole of the MOSFET to generate current, and the primary side circuit of the boost transformer is turned on; After the step-up transformer increases the primary side voltage, the electrodes in the secondary side circuit generate a sinusoidally varying voltage difference, thereby generating an arc.

7. The arc grounding fault simulation system based on MCU according to claim 1, characterized in that: It also includes a display unit, which is connected to the MCU controller and is used to display the real-time voltage and the input control instruction.

Citation Information

Patent Citations

  • Power distribution network fault simulating device and method

    CN106093668A

  • Power control circuit based on zero crossing detection, power control method, and method for detecting state of temperature control switch

    CN106444890A

  • 10-66kV distribution network intermittent arc grounding true simulation test device

    CN110609202A