CN113655743A - Power supply selection control circuit for automatic fault detection and repair - Google Patents

Power supply selection control circuit for automatic fault detection and repair Download PDF

Info

Publication number
CN113655743A
CN113655743A CN202110942310.5A CN202110942310A CN113655743A CN 113655743 A CN113655743 A CN 113655743A CN 202110942310 A CN202110942310 A CN 202110942310A CN 113655743 A CN113655743 A CN 113655743A
Authority
CN
China
Prior art keywords
pin
voltage
output
module
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110942310.5A
Other languages
Chinese (zh)
Other versions
CN113655743B (en
Inventor
刘德荣
马承振
戈建伟
贾伟楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Aerospace Aiwei Electronic Technology Ltd
Beijing Institute of Computer Technology and Applications
Original Assignee
Beijing Aerospace Aiwei Electronic Technology Ltd
Beijing Institute of Computer Technology and Applications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Aerospace Aiwei Electronic Technology Ltd, Beijing Institute of Computer Technology and Applications filed Critical Beijing Aerospace Aiwei Electronic Technology Ltd
Priority to CN202110942310.5A priority Critical patent/CN113655743B/en
Publication of CN113655743A publication Critical patent/CN113655743A/en
Application granted granted Critical
Publication of CN113655743B publication Critical patent/CN113655743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The invention relates to a power supply selection control circuit for automatic fault detection and repair, and belongs to the field of power supply control. The intelligent power supply control circuit mainly comprises a voltage transformation module, an isolation voltage module, a photoelectric coupling module, a single-chip microcomputer control module and a relay enabling module, has the characteristics of multipath intelligent control, automatic fault detection and repair, stability, reliability, real-time performance, high efficiency, energy conservation, environmental protection and the like which cannot be achieved by the conventional power supply control circuit, and can meet the requirement of intelligent power supply and distribution control.

Description

Power supply selection control circuit for automatic fault detection and repair
Technical Field
The invention belongs to the field of power supply control, and particularly relates to a power supply selection control circuit for automatic fault detection and repair.
Background
With the rapid development of information technology, the requirements of many power utilization systems on power supply control circuits are continuously improved, and especially under the condition that the power utilization systems are unattended on site, higher requirements are provided for providing continuous, stable and reliable services for power supply and distribution systems.
Therefore, it is highly desirable to design a fault automatic detection and repair power supply selection control circuit, in the power supply process, the power consumption system can automatically and intelligently select a power supply, especially, under the condition that the commercial power or the diesel generator stops supplying power in use, the power supply system selects a battery as the power supply input, and can automatically detect and repair the fault of the power supply system, so as to maintain normal and reliable power supply.
Disclosure of Invention
Technical problem to be solved
The invention aims to solve the technical problem of how to provide a power supply selection control circuit for automatically detecting and repairing faults so as to solve the problem of automatically detecting and repairing the faults of the power supply control circuit.
(II) technical scheme
In order to solve the technical problem, the invention provides a power supply selection control circuit for automatic fault detection and repair, which comprises a voltage transformation module, an isolation voltage module, an optical coupling module, a singlechip control module and a relay enabling module;
the voltage transformation module respectively converts 4 paths of 220V alternating-current voltages of a mains supply, a diesel generator power supply, a battery power supply and the output voltage of the whole circuit into 5V direct-current voltages;
the isolation voltage module isolates the 5V voltage converted by the battery power supply and is used by the optical coupling module, the singlechip control module and the relay enabling module;
the optical coupling module converts 4 paths of 5V direct current voltage output by the voltage transformation module into optical signals respectively, converts the optical signals into electrical signals and outputs the electrical signals to the singlechip control module, so that the electrical isolation effect is achieved;
the singlechip control module makes a judgment according to the 5V direct current voltage detected by the optical coupling module and outputs high level or low level at three output pins;
and the relay enabling module performs on-off control on the switch according to the output level of the singlechip.
Further, the concrete structure of vary voltage module is: the live wire of the mains supply is a 220V1 live wire, and is connected to an input positive terminal pin 1 of the voltage conversion module A1, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A1 are all grounded GND, and a 100uF capacitor C1 is connected between an output pin 4 of the A1 and the ground for filtering output voltage; the diesel power generation live wire is a 220V2 live wire and is connected to an input positive terminal pin 1 of the voltage conversion module A2, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A1 are all grounded GND, and a 100uF capacitor C2 is connected between an output pin 4 of the A2 and the ground for filtering output voltage; the live wire of the battery power supply is 220V3 live wire, the live wire is connected to an input positive terminal pin 1 of the voltage conversion module A3, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of A1 are all grounded GND, a 100uF capacitor C3 is connected between an output pin 4 of A3 and the ground for filtering output voltage, and the output direct-current voltage is 5V 1; the output voltage live wire of the whole circuit is 220V live wire, the output voltage live wire is connected to an input positive terminal pin 1 of the voltage conversion module A4, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A4 are all grounded GND, and a 100uF capacitor C4 is connected between an output pin 4 of the A4 and the ground and used for filtering the output voltage.
Further, the dc voltage 5V1 output by the voltage conversion module a3 is connected to the input positive pin 1 of the isolation voltage module P1, the input negative pin 2 of the isolation voltage module P1 is grounded GND, the output positive pin 7 of the isolation voltage module P1 outputs the 5V isolation dc voltage VCC, the isolation dc voltage VCC is connected between the isolation dc voltage VCC and the isolation ground GND1 and connected to the 2.2K Ω resistor R13 and the capacitor C5 of 1uF, and the output negative pin 5 of the isolation voltage module P1 is connected to the isolation ground GND 1.
Further, the optical coupling module has a specific structure that: a pin 4 of a voltage converter A1 outputs a positive terminal voltage, the positive terminal voltage is connected with a 330 omega resistor R1 in series and then is connected with an input positive terminal pin 1 of an optocoupler B1, an input negative terminal pin 2 of the optocoupler B1 is grounded GND, an output pin 3 of the optocoupler B1 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R5, an optocoupler B1 supplies power to a positive terminal pin 4 to be connected with an isolated direct current 5V voltage VCC, and a grounding pin 5 of an optocoupler B1 is connected with an isolated ground GND 1; a pin 4 of a voltage converter A2 outputs a positive terminal voltage, the positive terminal voltage is connected with a 330 omega resistor R2 in series and then is connected with an input positive terminal pin 1 of an optocoupler B2, an input negative terminal pin 2 of the optocoupler B2 is grounded GND, an output pin 3 of the optocoupler B2 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R6, an optocoupler B2 supplies power to a positive terminal pin 4 to be connected with an isolated direct current 5V voltage VCC, and a grounding pin 5 of an optocoupler B2 is connected with an isolated ground GND 1; a pin 4 of a voltage converter A3 outputs a positive terminal voltage 5V1, the positive terminal voltage is connected with a 330 omega resistor R3 in series and then is connected with an input positive terminal pin 1 of an optocoupler B3, an input negative terminal pin 2 of the optocoupler B3 is grounded GND, an output pin 3 of an optocoupler B3 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R7, an optocoupler B3 supplies power to a positive terminal pin 4 to be connected with the isolated direct current 5V voltage VCC, and an optocoupler B3 ground pin 5 is connected with an isolated ground GND 1; the output positive terminal pin 4 of the voltage converter A4 is connected with the input positive terminal pin 1 of the optical coupler B4 after being connected with a 330 omega resistor R4 in series, the input negative terminal pin 2 of the optical coupler B4 is grounded GND, the output pin 3 of the optical coupler B4 is connected with an isolation direct current 5V voltage VCC after passing through a 1K omega resistor R8, the power supply positive terminal pin 4 of the optical coupler B4 is connected with an isolation direct current 5V voltage VCC, and the ground terminal pin 5 of the optical coupler B4 is connected with an isolation ground GND 1.
Further, the specific structure of the single chip microcomputer control module is as follows: an input IO pin 1, a pin 2, a pin 3 and a pin 4 of the singlechip D1 are respectively connected with an output pin 3 of an optical coupling isolator B1, an output pin 3 of a B2, an output pin 3 of a B3 and an output pin 3 of a B4, an output IO pin 7, a pin 8 and a pin 9 of the singlechip D1 are respectively connected with an isolation ground GND1 through resistors R9, R10 and R11 of 1K omega, a clock selection control pin 5 and a pin 6 of the singlechip D1 are connected with an isolation ground GND1 for internal clock configuration, a power supply pin 11 of the singlechip D1 is connected with an isolation direct current 5V voltage VCC, and a grounding pin 12 of the singlechip D1 is connected with the isolation ground GND 1.
Further, the specific structure of the relay enabling module is as follows: the live wire of a mains supply is connected with an input pin 1 of a relay N1, an output pin 3 of a relay N1 is connected with a unidirectional conducting diode M1 in series and then is connected to the left side of a 10-omega protective resistor R12, an output IO pin 7 of a singlechip D1 is connected to a control pin 2 of a relay N1, and a grounding pin 4 of a relay N1 is connected with an isolation ground GND 1; the live wire of a diesel engine power supply is connected with an input pin 1 of a relay N2, an output pin 3 of a relay N2 is connected with a unidirectional conducting diode M2 in series and then is connected to the left side of a 10-omega protective resistor R12, an output IO pin 8 of a singlechip D1 is connected to a control pin 2 of a relay N2, and a grounding pin 4 of a relay N2 is connected with an isolation ground GND 1; the live wire of a battery power supply is connected with an input pin 1 of a relay N3, an output pin 3 of a relay N3 is connected with a unidirectional conducting diode M3 in series and then is connected to the left side of a 10-omega protective resistor R12, an output IO pin 9 of a singlechip D1 is connected to a control pin 2 of a relay N3, and a grounding pin 4 of a relay N3 is connected with an isolated GND 1. The output of the three one-way diodes outputs a 220V live wire signal to the outside through a protective resistor R12.
Further, the voltage transformation module can directly convert 220V alternating current voltage into 5V direct current voltage, the output power is 5W, the output voltage ripple waves are 60-200mV and 20MHz, and the conversion efficiency is not less than 86%.
Furthermore, each channel of the optical coupling module consumes 80mW of power, the input voltage difference VF is 1.7V, and the input current is 10mA, so that the output electric signal of the voltage transformation module is isolated from the rear circuit signal.
Furthermore, the singlechip control module is internally provided with a program memory 16K, an internal high-precision R/C clock drifts by 1% at minus 40 ℃ to plus 85 ℃ and by 0.6% at minus 20 ℃ to plus 65 ℃, and the high and low level states of the three signals can be intelligently controlled and output through program configuration according to the monitoring of the states of the three electric signals at the front end.
Further, the relay enabling module controls the voltage range to be 3-14V direct current, the input voltage is 220V alternating current, the output voltage is 220V alternating current, the voltage drop is less than 1.8V, and 3 relays can be respectively in a conducting state or a closing state according to 3 paths of input voltage and program configuration in the single chip microcomputer module.
(III) advantageous effects
The invention provides a power supply selection control circuit for automatic fault detection and repair, which has the following advantages:
(1) a power supply selection control circuit for automatic fault detection and repair has a multi-channel power supply intelligent selection control function, meets the power supply requirement of a power utilization system, particularly intelligently selects a battery power supply to supply power under the condition that the power supply is stopped when commercial power and diesel power generation are in use, and meets the requirement of the power utilization system.
(2) The automatic fault detection, repair and power supply selection control circuit adopts a circuit automatic detection intelligent repair technology, ensures the stability and reliability of the circuit, and provides reliable power supply for rear-end electric equipment.
(3) The automatic fault detecting, repairing and power supplying selection control circuit adopts electric isolating technology, and the control circuit is isolated from the power source and ground of the controlled circuit to avoid the interference of the controlled circuit to the control circuit and to make the control circuit have high reliability.
(4) The automatic fault detection, repair and power supply selection control circuit adopts nationwide chips, has the advantages of independent control, stability and reliability in power supply selection, and saves energy due to lower power consumption of the selected chips.
Drawings
Fig. 1 is a structural diagram of a power supply selection control circuit for automatic fault detection and repair according to the present invention.
Detailed Description
In order to make the objects, contents and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
The invention relates to a power supply selection control circuit for automatic fault detection and repair, which is characterized in that a power supply control technology, an automatic fault detection and repair technology and an electrical isolation technology are utilized to carry out novel intelligent, highly reliable and energy-saving design on a control circuit.
The invention aims to provide a power supply selection control circuit for automatic fault detection and repair, which can intelligently select a power supply and solve the problem of automatic detection and repair under the condition of a fault of the power supply control circuit.
The power supply control circuit mainly comprises a voltage transformation module, an isolation voltage module, a photoelectric coupling module, a single-chip microcomputer control module and a relay enabling module, has the characteristics of incomparable multi-path intelligent control, automatic fault detection and repair, stability, reliability, real-time performance, high efficiency, energy conservation, environmental protection and the like of the conventional power supply control circuit, and can meet the requirement of intelligent power supply and distribution control.
The specific control mode of the power supply selection control circuit for automatic fault detection and repair is that under the condition that the commercial power is normal, the commercial power is preferentially selected to supply power to the air conditioning system, under the condition that the commercial power is not available and the diesel generator supplies power, the diesel generator is selected to supply power to the air conditioning system, and under the condition that neither the commercial power nor the diesel generator supplies power, the storage battery is selected to supply power.
The automatic fault detection and repair power supply control circuit comprises a domestic voltage transformation module, can directly convert 220V alternating current voltage into 5V direct current voltage, has the output power of 5W, has the output voltage ripple of 60-200mV (20MHz), has the conversion efficiency of not less than 86 percent, and has the functions of overvoltage, overcurrent and short circuit protection.
The automatic fault detection and repair power supply control circuit is based on an electric signal isolation technology, and comprises a domestic isolation voltage module, wherein the domestic isolation voltage module is used for isolating 5V direct current voltage, outputting 5V voltage and outputting 0.2A maximum current, and providing isolation voltage for a photoelectric coupling module, a singlechip judgment control module and a relay enabling module.
The automatic fault detection and repair power supply control circuit is based on an electric signal isolation technology and comprises a domestic photoelectric coupling module, wherein the power consumption of each channel is 80mW, the input voltage difference VF is 1.7V, and the input current is 10 mA. The transformer output electric signal is isolated from the following circuit signal, so that the transformer output electric signal is stable and reliable.
The automatic fault detection and repair power supply control circuit comprises a single chip microcomputer judgment control module, a built-in program memory 16K, an erasing frequency of the circuit is more than 10 ten thousand times, an internal high-precision R/C clock (20MHz +/-0.3 percent), +/-1 percent temperature drift (-40 ℃ to +85 ℃), and the temperature drift 0.6 percent at normal temperature (-20 ℃ to +65 ℃), and the high and low level states of three signals can be intelligently controlled and output through program configuration according to monitoring of the states of the three electric signals at the front end.
The invention relates to a fault automatic detection repair power supply control circuit which comprises a relay enabling module, wherein the relay enabling module controls the voltage range to be 3-14V direct current, the typical value is 5V direct current, the input voltage is 220V alternating current, the output voltage is 220V alternating current, the voltage drop is less than 1.8V, the relay enabling module is controlled by a front end circuit, the relay enabling module has a one-way conduction function, and 3 relays can be respectively in a conduction state or a closing state according to 3 paths of input voltage and program configuration in a single chip microcomputer module.
The automatic fault detection and repair power supply control circuit is characterized in that the control circuit is simple in structure, capable of realizing nationwide production devices, automatically controllable, capable of realizing multi-path intelligent selection, capable of automatically detecting and repairing faults, stable and reliable, and capable of being widely applied to low-power supply control circuits.
The invention relates to a fault automatic detection, repair and power supply selection control circuit for fully utilizing power system conditions, which comprises a mains supply, a diesel engine power supply and a battery power supply, wherein 4 control selection air-conditioning system power supply modes are set for judging whether three power supplies normally supply power after power system equipment normally operates, and are specifically shown in table 1.
TABLE 1 Power supply control Circuit Power supply selection mode
Figure BDA0003215569280000061
Figure BDA0003215569280000071
When the external output voltage of the fault automatic detection and repair power supply control circuit is zero, the control circuit can automatically detect and judge, soft reset is carried out on the single chip microcomputer, circuit faults are repaired, the circuit is ensured to normally work, and stable and reliable power supply is carried out on electric equipment.
As shown in fig. 1, a power supply selection control circuit for automatic fault detection and repair provided in an embodiment of the present invention includes a voltage transformation module, an isolation voltage module, an optical coupling module, a single chip microcomputer control module, and a relay enabling module. The voltage transformation module respectively converts 4 paths of 220V alternating-current voltages of a mains supply, a diesel generator power supply, a battery power supply and the output voltage of the whole circuit into 5V direct-current voltages; the isolation voltage module isolates the 5V voltage converted by the battery power supply and is used by the optical coupling module, the singlechip control module and the relay enabling module; the optical coupling module converts 4 paths of 5V direct current voltage output by the voltage transformation module into optical signals respectively, and converts the optical signals into electric signals again, so that the electric isolation effect is achieved; the singlechip control module makes a judgment according to the 5V direct current voltage detected by the optical coupling module and outputs high level or low level at three output pins; and the relay enabling module performs on-off control on the switch according to the output level of the singlechip. The five parts form a power supply control circuit, provide multi-path intelligent, automatic detection and fault repair, stable, reliable, real-time and efficient power supply and distribution control, and can realize intelligent power supply and distribution control of electric equipment.
In the specific embodiment of the invention, the voltage transformation module converts the commercial power supply, the diesel generator power supply, the battery power supply and the output voltage of the whole circuit, namely 4-path 220V alternating-current voltage, into 5V direct-current voltage respectively, and the specific implementation is as follows: the live wire of the mains supply is a 220V1 live wire, and is connected to an input positive terminal pin 1 of the voltage conversion module A1, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A1 are all grounded GND, and a 100uF capacitor C1 is connected between an output pin 4 of the A1 and the ground for filtering the output voltage; the diesel power generation live wire is a 220V2 live wire and is connected to an input positive terminal pin 1 of the voltage conversion module A2, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A1 are all grounded GND, and a 100uF capacitor C2 is connected between an output pin 4 of the A2 and the ground for filtering output voltage; the live wire of the battery power supply is 220V3 live wire, the live wire is connected to an input positive terminal pin 1 of the voltage conversion module A3, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of A1 are all grounded GND, a 100uF capacitor C3 is connected between an output pin 4 of A3 and the ground for filtering output voltage, and the output direct-current voltage is 5V 1; the output voltage live wire of the whole circuit is 220V live wire, the output voltage live wire is connected to an input positive terminal pin 1 of the voltage conversion module A4, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A4 are all grounded GND, and a 100uF capacitor C4 is connected between an output pin 4 of the A4 and the ground and used for filtering the output voltage.
In the specific embodiment of the invention, the isolation voltage module converts the 5V direct current signal output by the voltage converter A3 into the isolation 5V direct current voltage for the optical coupling module, the singlechip control module and the relay enabling module to use. The specific implementation is as follows: the direct current voltage 5V1 output by the voltage conversion module a3 is connected to the input positive terminal pin 1 of the isolation voltage module P1, the input negative terminal pin 2 of the isolation voltage module P1 is grounded GND, the output positive terminal pin 7 of the isolation voltage module P1 outputs the 5V isolation direct current voltage VCC, a 2.2K Ω resistor R13 and a capacitor C5 of 1uF are connected between the isolation direct current voltage VCC and the isolation ground GND1 in parallel, and the output negative terminal pin 5 of the isolation voltage module P1 is connected to the isolation ground GND 1.
In a specific embodiment of the present invention, the optocoupler module converts 4 paths of 5V dc voltages output by the voltage transformation module into optical signals, and converts the optical signals into electrical signals, so as to isolate the electrical signals on both sides and improve the reliability of the control circuit, which is specifically implemented as: a pin 4 of a voltage converter A1 outputs a positive terminal voltage, the positive terminal voltage is connected with a 330 omega resistor R1 in series and then is connected with an input positive terminal pin 1 of an optocoupler B1, an input negative terminal pin 2 of the optocoupler B1 is grounded GND, an output pin 3 of the optocoupler B1 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R5, an optocoupler B1 supplies power to a positive terminal pin 4 to be connected with an isolated direct current 5V voltage VCC, and a grounding pin 5 of an optocoupler B1 is connected with an isolated ground GND 1; a pin 4 of a voltage converter A2 outputs a positive terminal voltage, the positive terminal voltage is connected with a 330 omega resistor R2 in series and then is connected with an input positive terminal pin 1 of an optocoupler B2, an input negative terminal pin 2 of the optocoupler B2 is grounded GND, an output pin 3 of the optocoupler B2 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R6, an optocoupler B2 supplies power to a positive terminal pin 4 to be connected with an isolated direct current 5V voltage VCC, and a grounding pin 5 of an optocoupler B2 is connected with an isolated ground GND 1; a pin 4 of a voltage converter A3 outputs a positive terminal voltage 5V1, the positive terminal voltage is connected with a 330 omega resistor R3 in series and then is connected with an input positive terminal pin 1 of an optocoupler B3, an input negative terminal pin 2 of the optocoupler B3 is grounded GND, an output pin 3 of an optocoupler B3 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R7, an optocoupler B3 supplies power to a positive terminal pin 4 to be connected with the isolated direct current 5V voltage VCC, and an optocoupler B3 ground pin 5 is connected with an isolated ground GND 1; the output positive terminal pin 4 of the voltage converter A4 is connected with the input positive terminal pin 1 of the optical coupler B4 after being connected with a 330 omega resistor R4 in series, the input negative terminal pin 2 of the optical coupler B4 is grounded GND, the output pin 3 of the optical coupler B4 is connected with an isolation direct current 5V voltage VCC after passing through a 1K omega resistor R8, the power supply positive terminal pin 4 of the optical coupler B4 is connected with an isolation direct current 5V voltage VCC, and the ground terminal pin 5 of the optical coupler B4 is connected with an isolation ground GND 1.
In the specific embodiment of the invention, the single chip microcomputer control module makes a judgment according to the voltage condition detected by the optical coupling module, outputs high level or low level at three output pins and is used for controlling the relay enabling module at the rear end. The specific implementation is as follows: an input IO pin 1, a pin 2, a pin 3 and a pin 4 of the singlechip D1 are respectively connected with an output pin 3 of an optical coupling isolator B1, an output pin 3 of a B2, an output pin 3 of a B3 and an output pin 3 of a B4, an output IO pin 7, a pin 8 and a pin 9 of the singlechip D1 are respectively connected with an isolation ground GND1 through resistors R9, R10 and R11 of 1K omega, a clock selection control pin 5 and a pin 6 of the singlechip D1 are connected with an isolation ground GND1 for internal clock configuration, a power supply pin 11 of the singlechip D1 is connected with an isolation direct current 5V voltage VCC, and a grounding pin 12 of the singlechip D1 is connected with the isolation ground GND 1.
In the specific embodiment of the invention, the relay enabling module carries out on-off control on the switch according to the output level of the singlechip, when the input of the control end is high level, the relay is in an on state, and when the input of the control end is low level, the relay is in an off state. The specific implementation is as follows: the 220V1 live wire (mains supply live wire) is connected with an input pin 1 of a relay N1, an output pin 3 of a relay N1 is connected with a unidirectional conducting diode M1 in series and then is connected to the left side of a 10 omega protective resistor R12, an output IO pin 7 of a singlechip D1 is connected to a control pin 2 of a relay N1, and a grounding pin 4 of the relay N1 is connected with an isolation ground GND 1; the 220V2 live wire (diesel engine power generation live wire) is connected with an input pin 1 of a relay N2, an output pin 3 of a relay N2 is connected with a unidirectional conducting diode M2 in series and then is connected to the left side of a 10 omega protective resistor R12, an output IO pin 8 of a singlechip D1 is connected to a control pin 2 of a relay N2, and a grounding pin 4 of the relay N2 is connected with an isolation ground GND 1; the 220V3 live wire (battery power live wire) is connected with an input pin 1 of a relay N3, an output pin 3 of a relay N3 is connected with a unidirectional conducting diode M3 in series and then connected to the left side of a 10 omega protective resistor R12, an output IO pin 9 of a singlechip D1 is connected to a control pin 2 of a relay N3, and a grounding pin 4 of the relay N3 is connected with an isolated GND 1. The output of the three one-way diodes outputs a 220V live wire signal to the outside through a protective resistor R12.
In the specific embodiment of the invention, when the external output voltage of the fault automatic detection and repair power supply control circuit is zero, the 220V live wire of the input voltage A4 in the voltage transformation module becomes zero, the pin 4 of the singlechip D1 becomes high level, and the singlechip D1 automatically repairs the circuit fault by starting soft reset, so that the circuit is ensured to work normally, and the power supply is stably and reliably supplied to the electric equipment.
In summary, the power supply selection control circuit for automatic fault detection and repair provided by the invention has the characteristics of multi-path intelligent selection control, automatic fault detection and repair, stability, reliability and energy saving.
The invention relates to a power supply selection control circuit for automatic fault detection and repair, which comprises a voltage transformation module, an isolation voltage module, a photoelectric coupling module, a single chip microcomputer judgment control module and a relay enabling module.
Furthermore, the domestic voltage transformation module is included, 220V alternating current voltage can be directly transformed into 5V direct current voltage, the output power is 5W, the output voltage ripple is 60-200mV (20MHz), and the transformation efficiency is not less than 86%.
Furthermore, the device comprises a domestic isolation voltage module which is used for isolating 5V direct current voltage, outputting 5V voltage and 0.2A maximum current and providing isolation voltage for the photoelectric coupling module, the singlechip judgment control module and the relay enabling module.
Further, based on the electric signal isolation technology, the device comprises a domestic photoelectric coupling module, wherein the power consumption of each channel is 80mW, the input voltage difference VF is 1.7V, and the input current is 10 mA. The output electric signal of the transformer is isolated from the circuit signal behind, and the reliability of the control circuit on voltage monitoring is guaranteed.
Furthermore, the device comprises a single chip microcomputer judgment control module, a built-in program memory 16K, an internal high-precision R/C clock (20MHz +/-0.3%), +/-1% temperature drift (-40 ℃ to +85 ℃), 0.6% temperature drift at normal temperature (-20 ℃ to +65 ℃), and high and low level states of three signals can be controlled and output through program configuration according to three input levels.
Further, the intelligent control system comprises a domestic relay enabling module, wherein the voltage range is controlled to be 3-14V direct current voltage, the typical value is 5V direct current, the input voltage is 220V alternating current, the output voltage is 220V alternating current, the voltage drop is less than 1.8V, the relay enabling module is controlled by a front end circuit, the function of unidirectional conduction is achieved, and 3 relays can be in a conducting state or a closing state respectively according to 3 paths of input voltage and program configuration in the single chip microcomputer module.
Furthermore, the control circuit has the advantages of simple structure, nationwide production devices, automatic control, multi-path intelligent selection, automatic fault repair, stability and reliability, and can be widely applied to power supply control circuits.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A power supply selection control circuit for automatic fault detection and repair is characterized by comprising a voltage transformation module, an isolation voltage module, an optical coupling module, a single chip microcomputer control module and a relay enabling module;
the voltage transformation module respectively converts 4 paths of 220V alternating-current voltages of a mains supply, a diesel generator power supply, a battery power supply and the output voltage of the whole circuit into 5V direct-current voltages;
the isolation voltage module isolates the 5V voltage converted by the battery power supply and is used by the optical coupling module, the singlechip control module and the relay enabling module;
the optical coupling module converts 4 paths of 5V direct current voltage output by the voltage transformation module into optical signals respectively, converts the optical signals into electrical signals and outputs the electrical signals to the singlechip control module, so that the electrical isolation effect is achieved;
the singlechip control module makes a judgment according to the 5V direct current voltage detected by the optical coupling module and outputs high level or low level at three output pins;
and the relay enabling module performs on-off control on the switch according to the output level of the singlechip.
2. The fail-safe detection, repair, power supply selection control circuit of claim 1, wherein the transformer module is configured to: the live wire of the mains supply is a 220V1 live wire, and is connected to an input positive terminal pin 1 of the voltage conversion module A1, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A1 are all grounded GND, and a 100uF capacitor C1 is connected between an output pin 4 of the A1 and the ground for filtering output voltage; the diesel power generation live wire is a 220V2 live wire and is connected to an input positive terminal pin 1 of the voltage conversion module A2, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A1 are all grounded GND, and a 100uF capacitor C2 is connected between an output pin 4 of the A2 and the ground for filtering output voltage; the live wire of the battery power supply is 220V3 live wire, the live wire is connected to an input positive terminal pin 1 of the voltage conversion module A3, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of A1 are all grounded GND, a 100uF capacitor C3 is connected between an output pin 4 of A3 and the ground for filtering output voltage, and the output direct-current voltage is 5V 1; the output voltage live wire of the whole circuit is 220V live wire, the output voltage live wire is connected to an input positive terminal pin 1 of the voltage conversion module A4, an input negative terminal pin 2, a grounding pin 3 and an output negative terminal pin 5 of the A4 are all grounded GND, and a 100uF capacitor C4 is connected between an output pin 4 of the A4 and the ground and used for filtering the output voltage.
3. The automatic fault detection, repair and power supply selection control circuit as claimed in claim 2, wherein the dc voltage 5V1 output by the voltage conversion module a3 is connected to the input positive pin 1 of the isolation voltage module P1, the input negative pin 2 of the isolation voltage module P1 is connected to the ground GND, the output positive pin 7 of the isolation voltage module P1 outputs the 5V isolation dc voltage VCC, the isolation dc voltage VCC is connected to the isolation ground GND1 and connected to the 2.2K Ω resistor R13 and the 1uF capacitor C5, and the output negative pin 5 of the isolation voltage module P1 is connected to the isolation ground GND 1.
4. The automatic fault detection, repair and power supply selection control circuit according to claim 3, wherein the optical coupling module has a specific structure: a pin 4 of a voltage converter A1 outputs a positive terminal voltage, the positive terminal voltage is connected with a 330 omega resistor R1 in series and then is connected with an input positive terminal pin 1 of an optocoupler B1, an input negative terminal pin 2 of the optocoupler B1 is grounded GND, an output pin 3 of the optocoupler B1 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R5, an optocoupler B1 supplies power to a positive terminal pin 4 to be connected with an isolated direct current 5V voltage VCC, and a grounding pin 5 of an optocoupler B1 is connected with an isolated ground GND 1; a pin 4 of a voltage converter A2 outputs a positive terminal voltage, the positive terminal voltage is connected with a 330 omega resistor R2 in series and then is connected with an input positive terminal pin 1 of an optocoupler B2, an input negative terminal pin 2 of the optocoupler B2 is grounded GND, an output pin 3 of the optocoupler B2 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R6, an optocoupler B2 supplies power to a positive terminal pin 4 to be connected with an isolated direct current 5V voltage VCC, and a grounding pin 5 of an optocoupler B2 is connected with an isolated ground GND 1; a pin 4 of a voltage converter A3 outputs a positive terminal voltage 5V1, the positive terminal voltage is connected with a 330 omega resistor R3 in series and then is connected with an input positive terminal pin 1 of an optocoupler B3, an input negative terminal pin 2 of the optocoupler B3 is grounded GND, an output pin 3 of an optocoupler B3 is connected with an isolated direct current 5V voltage VCC after passing through a 1K omega resistor R7, an optocoupler B3 supplies power to a positive terminal pin 4 to be connected with the isolated direct current 5V voltage VCC, and an optocoupler B3 ground pin 5 is connected with an isolated ground GND 1; the output positive terminal pin 4 of the voltage converter A4 is connected with the input positive terminal pin 1 of the optical coupler B4 after being connected with a 330 omega resistor R4 in series, the input negative terminal pin 2 of the optical coupler B4 is grounded GND, the output pin 3 of the optical coupler B4 is connected with an isolation direct current 5V voltage VCC after passing through a 1K omega resistor R8, the power supply positive terminal pin 4 of the optical coupler B4 is connected with an isolation direct current 5V voltage VCC, and the ground terminal pin 5 of the optical coupler B4 is connected with an isolation ground GND 1.
5. The fail-safe detection, repair, power supply selection control circuit of claim 4, wherein the specific structure of the single-chip microcomputer control module is: an input IO pin 1, a pin 2, a pin 3 and a pin 4 of the singlechip D1 are respectively connected with an output pin 3 of an optical coupling isolator B1, an output pin 3 of a B2, an output pin 3 of a B3 and an output pin 3 of a B4, an output IO pin 7, a pin 8 and a pin 9 of the singlechip D1 are respectively connected with an isolation ground GND1 through resistors R9, R10 and R11 of 1K omega, a clock selection control pin 5 and a pin 6 of the singlechip D1 are connected with an isolation ground GND1 for internal clock configuration, a power supply pin 11 of the singlechip D1 is connected with an isolation direct current 5V voltage VCC, and a grounding pin 12 of the singlechip D1 is connected with the isolation ground GND 1.
6. The fail-safe repair power supply selection control circuit according to claim 5, wherein the relay enabling module is specifically configured to: the live wire of a mains supply is connected with an input pin 1 of a relay N1, an output pin 3 of a relay N1 is connected with a unidirectional conducting diode M1 in series and then is connected to the left side of a 10-omega protective resistor R12, an output IO pin 7 of a singlechip D1 is connected to a control pin 2 of a relay N1, and a grounding pin 4 of a relay N1 is connected with an isolation ground GND 1; the live wire of a diesel engine power supply is connected with an input pin 1 of a relay N2, an output pin 3 of a relay N2 is connected with a unidirectional conducting diode M2 in series and then is connected to the left side of a 10-omega protective resistor R12, an output IO pin 8 of a singlechip D1 is connected to a control pin 2 of a relay N2, and a grounding pin 4 of a relay N2 is connected with an isolation ground GND 1; the live wire of a battery power supply is connected with an input pin 1 of a relay N3, an output pin 3 of a relay N3 is connected with a unidirectional conducting diode M3 in series and then is connected to the left side of a 10-omega protective resistor R12, an output IO pin 9 of a singlechip D1 is connected to a control pin 2 of a relay N3, and a grounding pin 4 of a relay N3 is connected with an isolated GND 1. The output of the three one-way diodes outputs a 220V live wire signal to the outside through a protective resistor R12.
7. The automatic fault detection and repair power supply selection control circuit according to any one of claims 1 to 6, wherein the transformation module is capable of directly transforming 220V AC voltage into 5V DC voltage, the output power is 5W, the output voltage ripple is 60-200mV and 20MHz, and the transformation efficiency is not less than 86%.
8. The automatic fault detection, repair and power supply selection control circuit according to any one of claims 1-6, wherein the optical coupling module consumes 80mW of power per channel, has an input voltage difference VF of 1.7V and an input current of 10mA, and isolates an output electric signal of the voltage transformation module from a following circuit signal.
9. The automatic failure detection, repair and power supply selection control circuit according to any one of claims 1-6, wherein the said single chip microcomputer control module is built with a program memory 16K, an internal high precision R/C clock, a 1% temperature drift at minus 40 ℃ to plus 85 ℃, a 0.6% temperature drift at minus 20 ℃ to plus 65 ℃, and the high and low level states of the output three-way signal can be intelligently controlled by program configuration according to the monitoring of the states of the front three-way electrical signal.
10. The automatic failure detection and repair power supply selection control circuit as claimed in any one of claims 1-6, wherein the relay enabling module controls the voltage range to be 3-14 VDC, the input voltage is 220 VAC, the output voltage is 220 VAC, the voltage drop is less than 1.8V, and 3 relays can be respectively in the on state or the off state according to the 3 input voltages and the program configuration in the single chip microcomputer module.
CN202110942310.5A 2021-08-17 2021-08-17 Power supply selection control circuit for automatic fault detection and repair Active CN113655743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110942310.5A CN113655743B (en) 2021-08-17 2021-08-17 Power supply selection control circuit for automatic fault detection and repair

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110942310.5A CN113655743B (en) 2021-08-17 2021-08-17 Power supply selection control circuit for automatic fault detection and repair

Publications (2)

Publication Number Publication Date
CN113655743A true CN113655743A (en) 2021-11-16
CN113655743B CN113655743B (en) 2023-03-10

Family

ID=78479931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110942310.5A Active CN113655743B (en) 2021-08-17 2021-08-17 Power supply selection control circuit for automatic fault detection and repair

Country Status (1)

Country Link
CN (1) CN113655743B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673933A (en) * 2009-08-25 2010-03-17 山东中瑞电气有限公司 Protection device of power supply line disconnection fault
CN104655913A (en) * 2015-01-29 2015-05-27 浙江正泰电器股份有限公司 Low-voltage fault judgment circuit and double power supply changeover switch controller
CN207853442U (en) * 2017-12-25 2018-09-11 河北树航教育科技有限公司 Teaching experimental equipment safety protective circuit
CN209356592U (en) * 2018-10-30 2019-09-06 南京国电南自电网自动化有限公司 Power frequency immunity to interference tester for Electric Power Automation Equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673933A (en) * 2009-08-25 2010-03-17 山东中瑞电气有限公司 Protection device of power supply line disconnection fault
CN104655913A (en) * 2015-01-29 2015-05-27 浙江正泰电器股份有限公司 Low-voltage fault judgment circuit and double power supply changeover switch controller
CN207853442U (en) * 2017-12-25 2018-09-11 河北树航教育科技有限公司 Teaching experimental equipment safety protective circuit
CN209356592U (en) * 2018-10-30 2019-09-06 南京国电南自电网自动化有限公司 Power frequency immunity to interference tester for Electric Power Automation Equipment

Also Published As

Publication number Publication date
CN113655743B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN210468807U (en) Frequency converter voltage sag protection device based on super capacitor energy storage
CN202210602U (en) Remote control row socket
CN205017005U (en) Direct current antisurge system
CN104062928A (en) Power supply circuit of electric vehicle controller
CN201887660U (en) LPC switch power supply circuit and air conditioner with same
CN103313003A (en) Standby control circuit and television set
CN105305494A (en) Intelligent power supply system for photovoltaic air conditioner and power supply method
CN110350584A (en) Control method, control device, photovoltaic system and the storage medium of photovoltaic system
CN101846967A (en) Embedded standby energy-saving method and device
CN102694471B (en) Auxiliary power supply system for photovoltaic inverter
CN201118536Y (en) Two-line micro-power consumption electronic switch
CN201160228Y (en) Commercial power supplementary charging controller of extra-low-power consumption solar energy photovoltaic system
CN202602532U (en) Auxiliary power supply apparatus used for photovoltaic grid-connected inverter
CN104122803A (en) Solar-energy standby power supplying device
CN202547004U (en) Air conditioner and recommended standard (RS) 485 bus system thereof
CN113655743B (en) Power supply selection control circuit for automatic fault detection and repair
CN104868550B (en) The cell activation control circuit of uninterrupted dc source
CN106712475A (en) Power generation network based on wind-power and solar dual power supply
CN203554283U (en) High power direct current converting circuit and photovoltaic system
CN203366709U (en) Liquid crystal display screen dormancy control device applied for solar inverter
CN109818414A (en) A kind of power-supply system of AC-DC conversion
CN107154730B (en) A kind of generation of electricity by new energy two-way changing circuit and control method
CN205051431U (en) Ensure alternating current -direct current conversion equipment of incessant output of power
CN106059280A (en) Photovoltaic inverter auxiliary power supply and start-stop control method
CN204118734U (en) PV air-conditioner power supply circuits and PV air-conditioner

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant