MCU-based residual voltage detection device for power distribution network
By introducing MCU into the residual voltage detection module, the problems of poor detection consistency and limited scalability in the existing technology are solved, and flexible setting of detection parameters and high-precision residual voltage detection are achieved.
Patent Information
- Application Number
- CN202420172422.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2034-01-23
AI Technical Summary
Since the existing residual voltage detection module is composed of discrete components, the detection threshold and delay parameters have poor consistency, and the hardware parameters need to be adjusted according to the voltage threshold and time range of different regions, so the scalability is limited.
A MCU-based residual voltage detection device for distribution network is designed, including a power supply circuit, a voltage detection circuit, an MCU control circuit and an external interface circuit. The MCU control circuit is used to connect to the host computer through the serial port to set detection parameters, adapting to different regions. testing requirements.
It realizes the normal startup of the MCU when there is a short-term voltage, completes the residual voltage detection and judgment, and sets the detection threshold and delay parameters through the serial port connection. There is no need to adjust the hardware, adapting to the detection requirements of different regions, and improving detection accuracy and scalability. .
Smart Images

Figure CN221746165U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of power distribution network automation in the electric power industry, and in particular to a residual voltage detection device based on MCU in the distribution network. Background Art
[0002] With the development of intelligent distribution network, the requirement of residual voltage lockout closing is added in the test of feeder automation to prevent closing to the fault test, which helps to improve the stability of distribution network operation. The residual voltage detection function requires that when the distribution terminal is de-energized, the residual voltage pulse recognition and memory of the residual voltage pulse of not less than 40ms and the residual voltage value of not less than 30%Un should be realized. After the distribution terminal is powered on, the identified residual voltage pulse can be involved in the fault processing logic calculation. Because the residual voltage detection requires the ability to distinguish 30%Un to maintain a short-term pressure of at least 40ms, relying on the original power supply system of the distribution terminal, the power supply has not been fully started, and the distribution terminal cannot be powered on normally, so the residual voltage detection cannot be completed by the distribution terminal, and a special circuit design is required. The existing residual voltage detection circuit consists of three parts: rectification circuit, detection circuit and output circuit. It does not require MCU to participate in control, and the function is realized by analog circuit.
[0003] The output circuit of the existing residual voltage detection module generally adopts a magnetic latching relay. The relay is set by a short-term pressure, and then a delay is made through an RC combination circuit. The relay is reset after the capacitor is fully charged to ensure that it will not be set when there is a long-term pressure, that is, when there is no residual pressure. When the primary line returns to normal and the distribution terminal is powered on, it receives the alarm signal sent by the residual voltage detection module. First, the residual voltage detection module will be remotely reset, indicating that the information that there was a short-term pressure on this side has been received. In the subsequent logical judgment, the closing direction will be locked. This solution can well realize the function of residual voltage detection, but there are obvious defects. On the one hand, the entire detection circuit is built with discrete components. Due to the discreteness of the device, the detection threshold, delay and other parameters will fluctuate within a certain range, and the consistency is relatively poor; on the other hand, different regions have begun to make different regulations on the voltage threshold and time range of residual voltage detection. Therefore, it is necessary to adjust the hardware parameters one by one according to the needs of each region, which is more troublesome and the scalability is also severely limited. Utility Model Content
[0004] The utility model provides a residual voltage detection device based on MCU for a power distribution network, aiming to solve the problems existing in the existing residual voltage detection module.
[0005] The utility model provides a residual voltage detection device based on MCU in a distribution network, comprising a power supply circuit, a pressure detection circuit, an MCU control circuit and an external interface circuit. The residual voltage detection device is connected to a voltage UAB and a voltage UBC respectively from the incoming line PTs on both sides of a primary line, the voltage UAB and the voltage UBC are simultaneously connected to the power supply circuit and the pressure detection circuit, the power supply circuit supplies power to the MCU control circuit when sensing the voltage UAB or the voltage UBC, the pressure detection circuit performs pressure detection on the voltage UAB or the voltage UBC and outputs the detected signal to the MCU control circuit, the external interface circuit is connected to the MCU control circuit, and the MCU control circuit sends a residual voltage alarm signal and a communication signal and receives a reset signal and a communication signal through the external interface circuit.
[0006] As a further improvement of the utility model, the power supply circuit includes a UAB power PT and a rectifier circuit, a UBC power PT and a rectifier circuit, and a power management chip. The UAB power PT and the rectifier circuit and the UBC power PT and the rectifier circuit are respectively connected to the power management chip. The UAB power PT and the rectifier circuit are connected to the voltage UAB. When the voltage UAB is sensed, the UAB power PT and the rectifier circuit output direct current to the power management chip; the UBC power PT and the rectifier circuit are connected to the voltage UBC. When the voltage UBC is sensed, the UBC power PT and the rectifier circuit output direct current to the power management chip.
[0007] As a further improvement of the utility model, the UAB power-taking PT and rectification circuit, the UBC power-taking PT and rectification circuit adopt the same power-taking rectification circuit, the power-taking rectification circuit includes a secondary power-taking voltage transformer, a Schottky diode array, a rectification circuit composed of a capacitor and an inductor, and a voltage-stabilizing diode. The input end of the secondary power-taking voltage transformer is connected to the voltage UAB or the voltage UBC, the output end of the secondary power-taking voltage transformer, the Schottky diode array, the rectification circuit composed of a capacitor and an inductor, and the voltage-stabilizing diode are connected in sequence, the power-taking rectification circuit inputs the voltage UAB or the voltage UBC, and the power-taking rectification circuit outputs direct current.
[0008] As a further improvement of the utility model, the power management chip includes a power chip U1 and a power chip U2, the power chip U1 and the power chip U2 are LDO power supplies, the input end of the power chip U1 is connected to the DC output end of the power rectifier circuit, the output end of the power chip U1 is connected to the input end of the power chip U2, and the output end of the power chip U2 outputs a working voltage.
[0009] As a further improvement of the present utility model, the voltage detection circuit includes a UAB detection circuit and a UBC detection circuit. The input end of the UAB detection circuit is connected to the voltage UAB, and the output end of the UAB detection circuit is connected to the MCU control circuit and outputs the detection status of the voltage UAB; the input end of the UBC detection circuit is connected to the voltage UBC, and the output end of the UBC detection circuit is connected to the MCU control circuit and outputs the detection status of the voltage UBC.
[0010] As a further improvement of the present utility model, the voltage detection circuit specifically includes a voltage stabilizing module, a series resistor, and a photoelectric coupler. The voltage UAB or the voltage UBC is connected to the input end of the voltage stabilizing module, and the output end of the voltage stabilizing module, the series resistor, and the input end of the photoelectric coupler are connected in sequence. The input voltage is isolated by the photoelectric coupler and outputs high and low levels.
[0011] As a further improvement of the present utility model, the MCU control circuit includes a chip U3, the 7th and 26th pins of the chip U3 are respectively connected to the voltage detection circuit and receive detection signals of the voltage UAB and the voltage UBC, the 5th and 6th pins of the chip U3 output residual pressure alarm signals, the 24th pin of the chip U3 sends a communication signal, the 25th pin of the chip U3 receives a communication signal, and the 4th pin of the chip U3 receives a reset signal.
[0012] As a further improvement of the present invention, the external interface circuit includes a reset circuit, which includes a photocoupler OP3, the input end of the photocoupler OP3 is connected to the power distribution terminal, and the output end of the photocoupler OP3 is connected to the MCU control circuit and outputs a reset signal.
[0013] As a further improvement of the utility model, the external interface circuit includes an alarm output circuit, which includes a photorelay and a Schottky diode array. The input end of the photorelay is connected to the MCU control circuit, and the output end of the photorelay is connected to the Schottky diode array and outputs an alarm signal to the power distribution terminal.
[0014] As a further improvement of the present invention, the external interface circuit includes a communication circuit, and the communication circuit includes a chip U6. The chip U6 is respectively connected to the MCU control circuit and the host computer. The UART signal of the MCU control circuit is converted into RS232 through U6 to communicate with the host computer.
[0015] The beneficial effect of the utility model is as follows: by drawing power from the primary line PT, a low-power MCU is introduced into the residual voltage detection module to ensure that when there is short-term pressure on the line, the MCU can start and run normally to complete the residual voltage detection and judgment, and can be connected to the host computer through the serial port to set parameters such as the residual voltage detection threshold, short-term pressure duration, and long-term pressure judgment time. Different detection parameter requirements can be adapted without adjusting the hardware. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a structural block diagram of a residual voltage detection device based on MCU in a power distribution network of the utility model;
[0017] Figure 2 It is a circuit structure diagram of the power supply circuit in the utility model;
[0018] Figure 3 It is a circuit structure diagram of a pressure detection circuit in the utility model;
[0019] Figure 4 It is a circuit structure diagram of the MCU control circuit in the utility model;
[0020] Figure 5 It is a circuit structure diagram of the reset circuit in the external interface circuit of the utility model;
[0021] Figure 6 It is a circuit structure diagram of the alarm output circuit in the external interface circuit of the utility model;
[0022] Figure 7 It is a circuit structure diagram of a communication circuit in an external interface circuit of the utility model. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0024] like Figure 1 As shown, the utility model is a residual voltage detection device based on MCU in a distribution network, including a power supply circuit, a pressure detection circuit, an MCU control circuit and an external interface circuit. The residual voltage detection device is connected to the voltage UAB and the voltage UBC from the incoming line PTs on both sides of the primary line respectively. The voltage UAB and the voltage UBC are simultaneously connected to the power supply circuit and the pressure detection circuit. When the power supply circuit senses the voltage UAB or the voltage UBC, the MCU control circuit is powered. The pressure detection circuit performs pressure detection on the voltage UAB or the voltage UBC and outputs the detected signal to the MCU control circuit. The external interface circuit is connected to the MCU control circuit. The MCU control circuit sends a residual voltage alarm signal and a communication signal and receives a reset signal and a communication signal through the external interface circuit.
[0025] This device consists of four parts: power supply circuit, voltage detection circuit, MCU control circuit and external interface circuit. The device is connected to voltage UAB and voltage UBC from the incoming PT on both sides of the primary line, and is also connected to the power supply circuit and voltage detection circuit inside the module. UA, UB, and UC are the voltages of the three phases on the 380V three-phase power supply. Voltage UAB refers to the voltage between the UA phase and the UB phase, and voltage UBC refers to the voltage between the UB phase and the UC phase. When there is electricity on either side of the primary line, UAB or UBC will sense the voltage. This induced voltage is used to power the entire device and also perform voltage detection and judgment. After the device is powered on, the low-power MCU starts and enters the normal operation device, continuously judging the pressure conditions of UAB and UBC. If the pressure time on either side is between 40 milliseconds and 3 seconds, it is considered that there is a residual pressure process on this side, and the MCU sets the residual pressure detection alarm outlet on this side. If no reset signal is received, the alarm will always be kept. Even if the device is powered off, the alarm will still be set after powering on again; if the pressure time on either side exceeds 3s, it is considered that there is pressure on this side for a long time, which is a normal operating condition. After waiting for the next normal power supply of the primary line, the distribution terminal can operate normally, collect the residual pressure alarm signal given by the residual pressure detection module, first give the control signal to reset the alarm signal of the residual pressure detection module, and then enter the logic judgment. If there is an over-residual pressure process on the incoming call side, it means that the fault has been eliminated. If there is an over-residual pressure on the non-incoming call measurement, it means that there may be a fault, and the closing of this direction is locked to prevent closing due to the fault.
[0026] like Figure 2 As shown, the power supply circuit includes a UAB power PT and rectification circuit, a UBC power PT and rectification circuit, and a power management chip. The UAB power PT and rectification circuit and the UBC power PT and rectification circuit are respectively connected to the power management chip. The UAB power PT and rectification circuit are connected to the voltage UAB. When the voltage UAB is sensed, the UAB power PT and rectification circuit output direct current to the power management chip; the UBC power PT and rectification circuit are connected to the voltage UBC. When the voltage UBC is sensed, the UBC power PT and rectification circuit output direct current to the power management chip.
[0027] The UAB power supply PT and rectification circuit, and the UBC power supply PT and rectification circuit use the same power supply rectification circuit. The power supply rectification circuit includes a secondary power supply voltage transformer, a Schottky diode array, a rectification circuit composed of capacitors and inductors, and a voltage regulator diode. The input end of the secondary power supply voltage transformer is connected to the voltage UAB or the voltage UBC, and the output end of the secondary power supply voltage transformer, the Schottky diode array, the rectification circuit composed of capacitors and inductors, and the voltage regulator diode are connected in sequence. The power supply rectification circuit inputs the voltage UAB or the voltage UBC, and the power supply rectification circuit outputs direct current.
[0028] like Figure 2As shown, the device is installed on the primary equipment, and the voltage UAB and voltage UBC are connected to the primary power PTs on both sides of the device. After the two voltages are connected to the device, they are connected to the same power rectifier circuit.
[0029] The power supply and rectification circuit of the UAB power supply PT and rectification circuit specifically includes a secondary power supply voltage transformer PT1, a Schottky diode array D4, a rectifier circuit composed of capacitors C1 to C4, an inductor L1 and rectifier bridges D2, D6, D22 and D23, and voltage regulator diodes D1 and D3. The input end of the secondary power supply voltage transformer PT1 is respectively connected to the UA phase and the UB phase, and the output end of the secondary power supply voltage transformer PT1 is respectively connected to the Schottky diode array D4, the rectifier bridges D2, D6, D22 and D23, and then connected to the capacitors C1 to C4 and the inductor L1 after passing through the voltage regulator diode D1, and finally outputs DC power after passing through the voltage regulator diode D3.
[0030] Similarly, the power supply and rectification circuit of the UBC power supply PT and rectification circuit specifically includes a secondary power supply voltage transformer PT2, a Schottky diode array D7, a rectifier circuit composed of capacitors C1 to C4, an inductor L1 and rectifier bridges D24, D25, D26, and D27, and voltage regulator diodes D3 and D5. The input end of the secondary power supply voltage transformer PT2 is respectively connected to the UB phase and the UC phase, and the output end of the secondary power supply voltage transformer PT2 is respectively connected to the Schottky diode array D7, the rectifier bridges D24, D25, D26, and D27, and then connected to the capacitors C1 to C4 and the inductor L1 after passing through the voltage regulator diode D5, and finally outputs DC power after passing through the voltage regulator diode D3.
[0031] The power management chip includes a power chip U1 and a power chip U2. The power chip U1 and the power chip U2 are LDO power supplies. The input end of the power chip U1 is connected to the DC output end of the power rectifier circuit. The output end of the power chip U1 is connected to the input end of the power chip U2. The output end of the power chip U2 outputs the working voltage.
[0032] Taking the voltage UAB end as an example, the secondary power supply voltage transformer PT1 in the device is connected, with a transformation ratio of 220VAC / 20VAC, which meets 1.2 times overload and a rated power supply of 0.4VA. Then it is connected to the rectifier circuit composed of Schottky diode array, capacitor and inductor, and converted into DC VIN+. The rectified DC is limited to 35VDC through a voltage regulator diode D3. VIN+ is then connected to the power chips U1 and U2, and outputs VDD3V3 as the working power supply of the entire device.
[0033] This part of the circuit must first use a low-voltage drop Schottky diode, because when the UAB or UBC line voltage is 100VAC, 30%Un is only 30VAC, and after the power PT ratio, it is only 2.72VAC effective value. It is necessary to ensure that the DC voltage after the rectifier bridge and voltage selection, a total of 3 diodes, is greater than 2.3VDC, otherwise the MCU circuit will not be able to start working. The power chips U1 and U2 must select low-power LDO power supplies with voltage difference resistance. In this embodiment, the power chips U1 and U2 are respectively selected as TPS70950 and TPS78230, because the rated power of the secondary power PT is only 0.4W, which is only 0.05W under 30VAC input conditions. This part of the power needs to be used entirely for MCU operation. At the same time, it is necessary to ensure that VDD3V3 is always greater than 1.8VDC, allowing the power consumption and voltage difference of the power chip to be very small. Finally, the capacitors C1 to C4 of the rectifier circuit cannot exceed 1uF, because the specification requires that the residual pressure process can be judged within 40ms, and at least 20ms of a grid cycle must be guaranteed for judgment after the MCU is started. Too large a rectifier capacitor will cause the power supply voltage to rise too slowly. Since there is also an LDO power chip at the back end, VIN+ can be a pulsating waveform. Reducing the rectifier capacitor and ensuring that the power-on time is less than 20ms is the first guarantee. The device in this article can achieve a 100VAC secondary line voltage, 30% UN within 15ms, and complete the device power-on and MCU startup process.
[0034] like Figure 3 As shown, the voltage detection circuit includes a UAB detection circuit and a UBC detection circuit. The input end of the UAB detection circuit is connected to the voltage UAB, and the output end of the UAB detection circuit is connected to the MCU control circuit and outputs the detection status of the voltage UAB; the input end of the UBC detection circuit is connected to the voltage UBC, and the output end of the UBC detection circuit is connected to the MCU control circuit and outputs the detection status of the voltage UBC.
[0035] The voltage detection circuit specifically includes a voltage stabilizing module, a series resistor, and a photocoupler. The voltage UAB or voltage UBC is connected to the input end of the voltage stabilizing module, and the output end of the voltage stabilizing module, the series resistor, and the input end of the photocoupler are connected in sequence. The input voltage is isolated by the photocoupler and outputs high and low levels.
[0036] Specifically, the UAB detection circuit includes a Zener diode D10, a bidirectional Zener diode D8, resistors R15, R16, R17, R18, R22, R23, a capacitor C17, a diode D11, and a photocoupler OP1. The UA end of the voltage UAB, the Zener diode D10, the resistors R15, R16, R17, R18, and the first pin of the photocoupler OP1 are connected in sequence, the bidirectional Zener diode D8 is connected in parallel with the Zener diode D10, the UB end of the voltage UAB, the resistors R22, R23, and the second pin of the photocoupler OP1 are connected in sequence, the two ends of the capacitor C17 are respectively connected to the first pin and the second pin of the photocoupler OP1, the positive electrode of the diode D11 is connected to the second pin of the photocoupler OP1, the negative electrode of the diode D11 is connected to the first pin of the photocoupler OP1, the third pin of the photocoupler OP1 is grounded, and the fourth pin of the photocoupler OP1 outputs a KI UAB level signal to the MCU control circuit.
[0037] Similarly, the UBC detection circuit includes a Zener diode D17, a bidirectional Zener diode D12, resistors R27, R28, R26, R25, R33, R34, a capacitor C20, a diode D13, and a photocoupler OP2. The UB end of the voltage UBC, the Zener diode D17, the resistors R27, R28, and the first pin of the photocoupler OP2 are connected in sequence. The bidirectional Zener diode D12 is connected in parallel with the Zener diode D17. The UC end of the voltage UBC, the resistors R22, R25, R33, R34, and the second pin of the photocoupler OP2 are connected in sequence. The two ends of the capacitor C20 are respectively connected to the first pin and the second pin of the photocoupler OP2. The positive electrode of the diode D13 is connected to the second pin of the photocoupler OP2. The negative electrode of the diode D13 is connected to the first pin of the photocoupler OP2. The third pin of the photocoupler OP2 is grounded. The fourth pin of the photocoupler OP2 outputs a KI UBC level signal to the MCU control circuit.
[0038] like Figure 3As shown, the voltages UAB and UBC connected to the PT from both sides of the device are connected to the pressure detection circuit respectively. In order to complete the pressure determination faster and to minimize the power consumption of the whole device, the pressure detection circuit does not adopt the method of voltage sampling and Fourier operation, but adopts the method of converting into digital quantity by photoelectric coupler. By selecting the resistance values of resistors R15, R16, R17, R18, R22 and R23, or the resistance values of resistors R27, R28, R26, R25, R33 and R34, it is ensured that the input voltage requirement of 264VAC (220VAC*120%) can be met, and the input threshold is adjusted to 25VAC, ensuring that it can be effectively input at 30%UN, that is, 30VAC. After isolation by the photoelectric coupler, it becomes a high and low level that can be collected by the MCU. The low level indicates that there is pressure, because the measurement is the AC input, and the low level will only appear in the positive half cycle of each cycle. The duration of the low level depends on the AC voltage input value.
[0039] like Figure 4 As shown, the MCU control circuit includes a chip U3, the 7th and 26th pins of the chip U3 are respectively connected to the voltage detection circuit and receive detection signals of the voltage UAB and the voltage UBC, the 5th and 6th pins of the chip U3 output residual pressure alarm signals, the 24th pin of the chip U3 sends a communication signal, the 25th pin of the chip U3 receives a communication signal, and the 4th pin of the chip U3 receives a reset signal.
[0040] like Figure 4 As shown, the core of the MCU control circuit is chip U3, which uses TI's low-power single-chip microcomputer MSP430FR5969IRGZR. It can start normally when the working voltage meets 1.8VDC. Because the device in this embodiment only draws 0.05W of power when the voltage input is low, low power consumption must be achieved, and the MCU is the main influencing factor. In addition, the chip is based on the FRAM platform, and the power-off data will not be lost, and the data can be written quickly, which ensures that after the MCU identifies a residual pressure process, the residual pressure alarm flag is set to 1, which can be quickly written to FRAM and saved when the power is off. After the next power-on, the residual pressure alarm flag will still be 1, and the flag will not be set to 0 until the power distribution terminal starts and issues a reset command. The MCU of the device in this embodiment is mainly responsible for two tasks. One is to continuously collect the high and low levels output by the pressure detection circuit at a time interval of 1ms. If a certain number of low levels are continuously collected, it is considered to be pressure. If the pressure lasts less than 3s, it is considered to be a residual pressure process. The residual pressure alarm flag on this side is set to 1, and the control output signal KO01 or KO02 outputs a high level; if the pressure lasts for more than 3s, it is considered to be long-term pressure, and no operation is performed. The second is to communicate with the upper computer through UART to set the residual pressure judgment threshold, residual pressure judgment delay, and reset residual pressure alarm.
[0041] The external interface circuit assists the MCU to complete three functions, including the following three parts.
[0042] like Figure 5 As shown, the external interface circuit includes a reset circuit, and the reset circuit includes a photocoupler OP3, the input end of the photocoupler OP3 is connected to the power distribution terminal, and the output end of the photocoupler OP3 is connected to the MCU control circuit and outputs a reset signal. Specifically, the reset circuit also includes resistors R35, R36, capacitor C27, and diode D14. The KI FG signal sent by the power distribution terminal enters the first pin of the photocoupler OP3 after passing through the resistor R35, and the KI FGCOM signal sent by the power distribution terminal enters the second pin of the photocoupler OP3. The two ends of the resistor R36 and the capacitor C27 are respectively connected to the first pin and the second pin of the photocoupler OP3. The positive electrode of the diode D14 is connected to the second pin of the photocoupler OP3, the negative electrode of the diode D14 is connected to the first pin of the photocoupler OP3, the third pin of the photocoupler OP3 is grounded, and the fourth pin of the photocoupler OP3 outputs the FG signal to the MCU.
[0043] The first function completed by the auxiliary MCU is that the reset circuit accesses the reset signal output by the power distribution terminal through the optical coupler OP3, and the entry threshold of the reset circuit is 15V.
[0044] like Figure 6 As shown, the external interface circuit includes an alarm output circuit, which includes a photorelay and a Schottky diode array. The input end of the photorelay is connected to the MCU control circuit, and the output end of the photorelay is connected to the Schottky diode array and outputs an alarm signal to the power distribution terminal. Specifically, the photorelay includes GJ1 and GJ2, and the Schottky diode array includes D15 and D16. The alarm output circuit composed of the photorelay GJ1 and the Schottky diode array D15 is connected to the 4th pin of the chip U3, which is used to output the KC01 signal of the MCU. The alarm output circuit composed of the photorelay GJ2 and the Schottky diode array D16 is connected to the 5th pin of the chip U3, which is used to output the KC02 signal of the MCU.
[0045] The second function completed by the auxiliary MCU is to output the residual pressure process alarm to the distribution terminal through photorelays GJ1 and GJ2. Relays cannot be used as outputs here because the power consumption of a single relay output will cause the entire device to lose power.
[0046] like Figure 7 As shown, the external interface circuit includes a communication circuit, and the communication circuit includes a chip U6, which is connected to the MCU control circuit and the host computer respectively, and the UART signal of the MCU control circuit is converted into RS232 by U6 to communicate with the host computer. Among them, the model of chip U6 is SP3232EEN.
[0047] The third function of assisting MCU is to convert UART signal into RS232 through U6 to communicate with the host computer to complete parameter setting.
[0048] This device draws power from the primary line PT and introduces a low-power MCU into the residual voltage detection module to ensure that when there is a short-term voltage on the line, the MCU can start and run normally to complete the residual voltage detection and judgment. It can also connect to the host computer through the serial port to set parameters such as the residual voltage detection threshold, short-term voltage duration, and long-term voltage judgment time. It can adapt to different detection parameter requirements without adjusting the hardware. The primary line voltage of the distribution network is 100VAC and 220VAC according to the on-site configuration. At present, the highest judgment standard for residual voltage detection is 30%Un for 40ms, that is, when the secondary side detects 30VAC for 40ms, it is considered that there is a residual voltage process and needs to be recorded. The residual voltage detection module designed in this article further improves the detection index and can detect the residual voltage process of 28VAC for 35ms on the secondary side.
[0049] This device has the following advantages:
[0050] 1) This device adopts the PT power supply method to introduce the MCU into the residual pressure judgment process, realize the precise control of the judgment threshold and judgment delay, and greatly reduce the influence of the discreteness of component parameters on the judgment result.
[0051] 2) After the MCU is introduced into this device, the discrimination threshold and discrimination delay can be set through the host computer, and the 220VAC input power PT includes the 100VAC line voltage. This allows a set of hardware to meet the different requirements of residual pressure discrimination parameters in different regions, without the need to adjust the hardware for adaptation, and has greater versatility.
[0052] 3) This device can identify short-term pressure of 28%Un and maintain at least 35ms, which is higher than the current most stringent judgment standard of 30%Un and 40ms.
[0053] The above contents are further detailed descriptions of the present invention in combination with specific preferred implementations, and the specific implementation of the present invention cannot be considered to be limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A residual voltage detection device based on MCU in a distribution network, characterized in that: The invention comprises a power supply circuit, a voltage detection circuit, an MCU control circuit and an external interface circuit. The residual voltage detection device is connected to the voltage UAB and the voltage UBC respectively from the incoming lines PT on both sides of the primary line. The voltage UAB and the voltage UBC are simultaneously connected to the power supply circuit and the voltage detection circuit. When the power supply circuit senses the voltage UAB or the voltage UBC, the MCU control circuit is supplied with power. The voltage detection circuit detects the voltage UAB or the voltage UBC and outputs the detected signal to the MCU control circuit. The external interface circuit is connected to the MCU control circuit. The MCU control circuit sends a residual voltage alarm signal and a communication signal and receives a reset signal and a communication signal through the external interface circuit.
2. According to the residual voltage detection device based on MCU in the distribution network of claim 1, it is characterized in that: The power supply circuit includes a UAB power PT and rectification circuit, a UBC power PT and rectification circuit, and a power management chip. The UAB power PT and rectification circuit and the UBC power PT and rectification circuit are respectively connected to the power management chip. The UAB power PT and rectification circuit are connected to the voltage UAB. When the voltage UAB is sensed, the UAB power PT and rectification circuit output direct current to the power management chip; the UBC power PT and rectification circuit are connected to the voltage UBC. When the voltage UBC is sensed, the UBC power PT and rectification circuit output direct current to the power management chip.
3. According to the residual voltage detection device based on MCU in the distribution network of claim 2, it is characterized in that: The UAB power supply PT and rectification circuit, and the UBC power supply PT and rectification circuit use the same power supply rectification circuit. The power supply rectification circuit includes a secondary power supply voltage transformer, a Schottky diode array, a rectification circuit composed of a capacitor and an inductor, and a voltage regulator diode. The input end of the secondary power supply voltage transformer is connected to the voltage UAB or the voltage UBC, and the output end of the secondary power supply voltage transformer, the Schottky diode array, the rectification circuit composed of a capacitor and an inductor, and the voltage regulator diode are connected in sequence. The power supply rectification circuit inputs the voltage UAB or the voltage UBC, and the power supply rectification circuit outputs direct current.
4. According to the residual voltage detection device based on MCU in the distribution network of claim 3, it is characterized in that: The power management chip includes a power chip U1 and a power chip U2, wherein the power chip U1 and the power chip U2 are LDO power supplies, the input end of the power chip U1 is connected to the DC output end of the power rectifier circuit, the output end of the power chip U1 is connected to the input end of the power chip U2, and the output end of the power chip U2 outputs a working voltage.
5. The residual voltage detection device based on MCU in the distribution network according to claim 1 is characterized in that: The voltage detection circuit includes a UAB detection circuit and a UBC detection circuit. The input end of the UAB detection circuit is connected to the voltage UAB, and the output end of the UAB detection circuit is connected to the MCU control circuit and outputs the detection status of the voltage UAB; the input end of the UBC detection circuit is connected to the voltage UBC, and the output end of the UBC detection circuit is connected to the MCU control circuit and outputs the detection status of the voltage UBC.
6. The residual voltage detection device based on MCU in the distribution network according to claim 1 is characterized in that: The voltage detection circuit specifically includes a voltage stabilizing module, a series resistor, and a photoelectric coupler. The voltage UAB or voltage UBC is connected to the input end of the voltage stabilizing module, and the output end of the voltage stabilizing module, the series resistor, and the input end of the photoelectric coupler are connected in sequence. The input voltage is isolated by the photoelectric coupler and then outputs a high or low level.
7. The residual voltage detection device based on MCU in the distribution network according to claim 1 is characterized in that: The MCU control circuit includes a chip U3, wherein the 7th and 26th pins of the chip U3 are respectively connected to a voltage detection circuit and receive detection signals of the voltage UAB and the voltage UBC, the 5th and 6th pins of the chip U3 output residual voltage alarm signals, the 24th pin of the chip U3 sends a communication signal, the 25th pin of the chip U3 receives a communication signal, and the 4th pin of the chip U3 receives a reset signal.
8. The residual voltage detection device based on MCU in the distribution network according to claim 1 is characterized in that: The external interface circuit includes a reset circuit, and the reset circuit includes a photocoupler OP3. The input end of the photocoupler OP3 is connected to the power distribution terminal, and the output end of the photocoupler OP3 is connected to the MCU control circuit and outputs a reset signal.
9. The residual voltage detection device based on MCU in the distribution network according to claim 1, characterized in that: The external interface circuit includes an alarm output circuit, which includes a photorelay and a Schottky diode array. The input end of the photorelay is connected to the MCU control circuit, and the output end of the photorelay is connected to the Schottky diode array and outputs an alarm signal to the power distribution terminal.
10. The residual voltage detection device based on MCU in the distribution network according to claim 1, characterized in that: The external interface circuit includes a communication circuit, and the communication circuit includes a chip U6. The chip U6 is connected to the MCU control circuit and the host computer respectively. The UART signal of the MCU control circuit is converted into RS232 by U6 to communicate with the host computer.
