CN114879026A - Switch panel detection system and control method thereof - Google Patents

Switch panel detection system and control method thereof Download PDF

Info

Publication number
CN114879026A
CN114879026A CN202210521245.3A CN202210521245A CN114879026A CN 114879026 A CN114879026 A CN 114879026A CN 202210521245 A CN202210521245 A CN 202210521245A CN 114879026 A CN114879026 A CN 114879026A
Authority
CN
China
Prior art keywords
relay
current
closed
load
detection system
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.)
Pending
Application number
CN202210521245.3A
Other languages
Chinese (zh)
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.)
Xiamen Leelen Technology Co Ltd
Original Assignee
Xiamen Leelen Technology Co Ltd
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 Xiamen Leelen Technology Co Ltd filed Critical Xiamen Leelen Technology Co Ltd
Priority to CN202210521245.3A priority Critical patent/CN114879026A/en
Publication of CN114879026A publication Critical patent/CN114879026A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Relay Circuits (AREA)

Abstract

The invention relates to a switch panel detection system and a control method thereof, wherein the detection system comprises the following modules: the input end of the current measuring module is connected to a live wire of a mains supply and is used for acquiring the working current of a load; the number of the relays is the same as that of the loads, the input ends of the relays are connected to the output end of the current detection module in parallel, and the output ends of the relays are respectively connected to the loads; the relay closed-loop feedback modules are the same in number as the loads, and are respectively connected to the output end of each relay and used for acquiring the working condition of the contact of the relay; and the control unit is respectively in communication connection with the current measuring module, the relay and the relay closed-loop feedback module and is used for judging the working state of the relay according to the working condition of the contact of the relay.

Description

Switch panel detection system and control method thereof
Technical Field
The invention relates to the field of intelligent switch panels, in particular to a switch panel detection system and a control method thereof.
Background
The switch panel is common in family life, and brings great convenience to the life of people. The switch panel is used for controlling common household appliances such as lamps and fans.
When a user cannot control a corresponding load, a fault may occur in the switch panel or in the load, and in this case, it is difficult for the user to distinguish a location where the fault occurs. Meanwhile, in order to detect which load fails, the prior art, such as application No. 201710127964.6, entitled load switch detection and identification method and system with adaptive threshold, discloses a technical solution that can only distinguish the type of the failed load, but cannot distinguish which load fails.
The invention aims to design a switch panel detection system and a control method thereof aiming at the problems in the prior art.
Disclosure of Invention
In view of the above problems in the prior art, the present invention provides a switch panel detection system and a control method thereof, which can effectively solve the above problems in the prior art.
The technical scheme of the invention is as follows:
a switchgear panel detection system connected to a number of loads connected in parallel, the detection system comprising the following modules:
the input end of the current measuring module is connected to a live wire of a mains supply and is used for acquiring the working current of a load;
the number of the relays is the same as that of the loads, the input ends of the relays are connected to the output end of the current detection module in parallel, and the output ends of the relays are respectively connected to the loads;
the relay closed-loop feedback modules are the same in number as the loads, and are respectively connected to the output end of each relay and used for acquiring the working condition of the contact of the relay;
and the control unit is respectively in communication connection with the current measuring module, the relay and the relay closed-loop feedback module and is used for judging the working state of the relay according to the working condition of the contact of the relay.
Further, the relay closed-loop feedback module comprises a level conversion circuit, the level conversion circuit is used for converting alternating current at the output end of the relay into square waves with the same frequency as the alternating current when the relay is switched on, and the control unit judges the working state of the relay according to the output of the level conversion circuit.
Further, the relay closed-loop feedback module comprises a voltage dividing circuit, the voltage dividing circuit is connected to the output end of the relay, and the input end of the level conversion circuit is connected to the voltage reduction end of the voltage dividing circuit.
Further, the level conversion circuit comprises an NPN-type triode, a collector of the NPN-type triode is connected to a VCC power supply through a pull-up resistor, an emitter of the NPN-type triode is grounded, a base of the NPN-type triode is connected to a voltage reduction end of the voltage division circuit, and the control unit is connected to the collector of the NPN-type triode.
Further, the level conversion circuit comprises a photoelectric coupler, an input end of the photoelectric coupler is connected in series with a voltage reduction end of the voltage division circuit, and an output end of the photoelectric coupler is connected in series between the pull-up resistor and the ground.
A control method of a switch panel detection system is based on the switch panel detection system and comprises the following steps:
acquiring a control instruction sent by a control unit to a corresponding relay and a waveform of a closed-loop feedback module of the relay;
if the control instruction sent by the relay is to close the relay and the waveform of the closed-loop feedback module of the relay is a square wave with the same frequency as the alternating current, judging that the relay is normal;
if the control instruction sent by the relay is to close the relay and the waveform of the closed-loop feedback module of the relay is a continuous high level or a continuous low level, determining that the relay has a fault;
if the control instruction sent by the relay is to turn off the relay and the waveform of the closed-loop feedback module of the relay is a square wave with the same frequency as the alternating current, the relay is judged to be in fault;
and if the control instruction sent by the relay is to turn off the relay and the waveform of the closed-loop feedback module of the relay is a continuous high level or a continuous low level, judging that the relay is normal.
Further, the current measuring module is used for acquiring and recording the original working current of the corresponding load after one or more relays are closed;
the method comprises the steps of obtaining a relay closing instruction sent by a user, obtaining current working current through the current measuring module, judging that a load is open if the relay is normal and the current working current is smaller than the original working current, and judging that the load is overloaded if the relay is normal and the current working current is larger than the original working current.
Further, after acquiring a relay closing instruction sent by a user and before acquiring the current working current through the current measurement module, the method includes the following steps:
and if the user sends out a plurality of relay closing instructions at the same time, closing a plurality of corresponding relays in a time-sharing manner through the control unit.
Further, the time-sharing closing of the plurality of relays by the control unit comprises the following steps:
calculating the current of a load loop after each load is closed, and calculating to obtain the current of a minimum load loop;
acquiring the total current of a plurality of loads in real time, and if the variation of the total current is larger than the minimum load loop current, executing the following steps: and calculating the ratio of the variation of the total current to the current of each load circuit, and determining the circuit with the minimum ratio as a fault circuit.
Further, after the current working current is obtained by the current measuring module, the method includes the following steps:
and calculating the change rate of the current working current and the original working current, and if the change rate is more than 90%, judging that the load is aged.
Accordingly, the present invention provides the following effects and/or advantages:
according to the relay, the relay closed-loop feedback module generates square waves with the frequency corresponding to the alternating current, and the control unit reads the square waves to judge whether the relay works in a corresponding state. And then the total current of the circuit is measured by the current measuring module, and the position of the fault can be accurately judged by combining the judgment of the working state of the relay.
This application is used for through level shift circuit when the relay switches on with the alternating current of the output of relay converts into with the square wave of alternating current same frequency, the control unit basis level shift circuit's output judges the operating condition of relay.
According to the control method, the total current of the circuit is measured through the current measuring module, the working state of the relay is combined, the position where a fault occurs can be judged, the specific fault positions of a plurality of identical loads can be distinguished, and the ageing condition of the loads can be further informed to a user.
It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
Drawings
Fig. 1 is a functional block diagram of the present invention.
Fig. 2 is a prior art relay control circuit.
Fig. 3 is a circuit corresponding to the relay closed-loop feedback module according to the first embodiment.
Fig. 4 is a truth table of the closed-loop feedback circuit of the relay according to the first embodiment.
Fig. 5 is a flowchart of a specific implementation of step S3.
Fig. 6 is a flowchart of a specific implementation of step S4.
FIG. 7 is a flowchart illustrating a specific implementation of steps S5-S6.
Fig. 8 is a flowchart of a specific implementation of step S7.
Fig. 9 is a circuit corresponding to the relay closed-loop feedback module according to the second embodiment.
Detailed Description
To facilitate understanding of those skilled in the art, the structure of the present invention will now be described in further detail by way of examples in conjunction with the accompanying drawings: it should be understood that the steps mentioned in the embodiment, except for the sequence specifically mentioned, can be performed simultaneously or partially simultaneously according to the actual requirement.
Referring to fig. 1, a switch panel detection system is connected to a plurality of loads connected in parallel, in this embodiment, the loads may be fans, light bulbs, air conditioners, and the like, which is not limited herein.
The detection system comprises the following modules:
the input end of the current measuring module is connected to a live wire of a mains supply and is used for acquiring the working current of a load; in this embodiment, only one current measurement module is provided, and the current measurement module is connected in parallel with a loop formed by all relays and loads, so that the total current generated by all loads can be acquired, instead of one current measurement module being provided for each load.
The number of the relays is the same as that of the loads, the input ends of the relays are connected to the output end of the current detection module in parallel, and the output ends of the relays are respectively connected to the loads; in this embodiment, the number of loads is two, and the number of relays is also two, and in other embodiments, the number of loads and relays may also be any number. Each load is provided with a relay, and the relay is used for receiving an instruction of the control unit so as to be closed or opened, and further controlling the load to be electrified or deenergized. When the relay is closed, the live wire, the current measuring circuit, the relay, the load and the zero line of the commercial power form a complete loop.
The relay closed-loop feedback modules are the same in number as the loads, and are respectively connected to the output end of each relay and used for acquiring the working condition of the contact of the relay; the relay closed-loop feedback module is a core module of the application, is connected to each output end of the relay, and is also equal to being connected between each output end of the relay and a load, so that the voltage output by the relay can be obtained, and the condition of the output voltage of the relay is analyzed, so that the closing condition of a contact of the relay is obtained.
And the control unit is respectively in communication connection with the current measuring module, the relay and the relay closed-loop feedback module and is used for judging the working state of the relay according to the working condition of the contact of the relay. The relay fault detection method comprises the steps that a control unit sends an instruction of closing or opening to a relay, the control unit records and obtains a corresponding instruction, then the relay closed-loop feedback module obtains whether the actual working state of the relay is closed or opened, the actual working state of the relay is compared with the corresponding closing instruction or opening instruction, and if the instruction is different from the actual working state, the relay fault can be obtained.
The following provides directions in which the present embodiment may be optimized.
Further, the relay closed-loop feedback module comprises a level conversion circuit, the level conversion circuit is used for converting alternating current at the output end of the relay into square waves with the same frequency as the alternating current when the relay is switched on, and the control unit judges the working state of the relay according to the output of the level conversion circuit.
Further, the relay closed-loop feedback module comprises a voltage dividing circuit, the voltage dividing circuit is connected to the output end of the relay, and the input end of the level conversion circuit is connected to the voltage reduction end of the voltage dividing circuit.
Further, the level conversion circuit comprises an NPN-type triode, a collector of the NPN-type triode is connected to a VCC power supply through a pull-up resistor, an emitter of the NPN-type triode is grounded, a base of the NPN-type triode is connected to a voltage reduction end of the voltage division circuit, and the control unit is connected to the collector of the NPN-type triode.
Fig. 2 is a prior art relay control circuit. A high level or low level signal is sent out through a PA1 port of the single chip microcomputer to control the relay to be closed or opened. In the prior art, the control process is open-loop, and for a single chip microcomputer, the state of the relay can be judged only through self recording, but the real state of the relay cannot be known.
Fig. 3 is a circuit corresponding to the closed-loop feedback module of the relay in this embodiment, wherein the level conversion circuit includes an NPN type triode Q2, a live wire of a commercial power, R2, R3, R4, and a ground connection connected in series form a voltage reduction circuit, and a base of the NPN type triode Q2 is connected between R3 and R4; the collector of the NPN transistor Q2 is connected to VCC high through a pull-up resistor R5, and the emitter of the NPN transistor Q2 is grounded. Meanwhile, a pin PA2 of the control unit is connected to an emitter of an NPN type triode Q2. When the base of the NPN transistor Q2 is at a high level, the collector and emitter of the NPN transistor Q2 are turned on to obtain a low level at the collector of the NPN transistor Q2, and when the base of the NPN transistor Q2 is turned on to obtain a low level, the collector and emitter of the NPN transistor Q2 are turned off to obtain a high level at the collector of the NPN transistor Q2. Therefore, after the mains supply is stepped down, an alternating current with the same frequency as the mains supply is obtained, the alternating current is longer than the period of the conduction voltage drop of the NPN type triode Q2, the NPN type triode Q2 is turned on, the alternating current is shorter than the period of the conduction voltage drop of the NPN type triode Q2, the NPN type triode Q2 is turned off, and therefore a square wave with the same frequency as the mains supply is formed at the emitter of the NPN type triode Q2.
The working principle of the control unit is as follows: the control unit obtains the waveform of the emitter of the NPN type triode Q2, if square waves with the same frequency as the mains supply are obtained, the actual working state of the relay is judged to be on, and if continuous high level is obtained, the actual working state of the relay is judged to be off. Whether the relay breaks down or not can be judged by comparing the actual working state of the relay with a relay closing or opening instruction sent by the control unit.
A control method of a switch panel detection system is based on the switch panel detection system and comprises the following steps:
s1, acquiring a control instruction sent by the control unit to the corresponding relay and the waveform of the closed-loop feedback module of the relay; in this embodiment, the control command is a command generated by a user operation, for example, a user presses a switch, and then a command for closing a corresponding relay may be generated.
S2, referring to the truth table of the closed-loop feedback circuit of the relay shown in fig. 4, the closed-loop feedback circuit of the relay is composed of two parts, namely a resistance voltage divider circuit and a triode level shift circuit. When the relay is switched off, the closed loop feedback circuit continuously outputs a high level. When the relay is closed, because the commercial power is 50Hz alternating current, the closed loop feedback circuit outputs 50Hz square waves, and the control unit judges the working state of the relay according to the signals.
S2.1, if the control instruction sent by the relay is to close the relay and the waveform of the closed-loop feedback module of the relay is a square wave with the same frequency as the alternating current, judging that the relay is normal;
s2.2, if the control instruction sent by the relay is to close the relay and the waveform of the closed-loop feedback module of the relay is a continuous high level or a continuous low level, determining that the relay has a fault;
in the above steps, if the control instruction sent by the relay is to close the relay, the relay should be closed and output ac power at the output end, and the waveform of the relay closed-loop feedback module is a square wave with the same frequency as the ac power, which indicates that the relay is accurately closed and outputs commercial power at the output end, the relay is determined to be normal, otherwise, the relay is determined to be faulty.
S2.3, if the control instruction sent by the relay is to turn off the relay and the waveform of the closed-loop feedback module of the relay is a square wave with the same frequency as the alternating current, determining that the relay has a fault;
and S2.4, if the control instruction sent by the relay is to turn off the relay and the waveform of the closed-loop feedback module of the relay is a continuous high level or a continuous low level, judging that the relay is normal.
In the above steps, if the control instruction sent by the relay is to turn off the relay, the relay should be turned off and no voltage is output at the output end, and the output of the closed-loop feedback module of the relay is a continuous high level or a continuous low level, the relay is determined to be normal, otherwise, the relay is determined to be in fault.
Further, the method comprises the following steps:
s3, acquiring and recording the original working current of the corresponding load after one or more relays are closed through the current measuring module; since a transient rush current is generally generated after the load is closed, the current is unstable and fluctuates greatly, and is difficult to be used as a comparison reference in the subsequent steps. Therefore, in order to obtain the stable original working current in this step, the original working current needs to be obtained again after the lamp strip 40ms after the relay is closed. Next, when the relay is closed and the relay is normal, the effective value of the current of 10 mains cycles is recorded as the original working current.
And S4, acquiring a relay closing instruction sent by a user, acquiring the current working current through the current measuring module, judging that the current working current has a fault when the deviation exceeds +/-3%, specifically, judging that a load is open if the relay is normal and the current working current is less than the original working current, and judging that the load is overloaded if the relay is normal and the current working current is greater than the original working current.
Step S3 is an initial learning recording step, which can be implemented by the process shown in fig. 5, and is implemented by combining any one or more relays that are closed, and when a load is started, an instantaneous impact current is generated, the waveform change is large, and it is necessary to record a stable working current under the combination after the load enters a stable working state, so as to obtain one of the original working currents, and then further circulating the above steps to obtain stable working currents under the closed relays of all the combinations, so as to obtain all the original working currents, and thus completing the initial learning recording.
The load currents in all combinations are obtained through step S3, and it may be determined whether the relay is normal through step S2. Next, it is determined whether the load is operating normally in step S4, and if the current is deviated when the relay is normal, it can be determined that the load is faulty. If the relay is normal and the current working current is less than the original working current corresponding to the combination, one or more loads can be considered to be open-circuited, that is, the loads do not start to work; if the relay is normal and the current operating current is greater than the original operating current, it may be determined that one or more loads are overloaded.
Further, in step S4, after acquiring the relay closing command issued by the user, before acquiring the current working current through the current measurement module, the method includes the following steps:
and if the user sends out a plurality of relay closing instructions at the same time, closing a plurality of corresponding relays in a time-sharing manner through the control unit.
In this step, if a user sends a plurality of relay closing instructions at the same time, if a plurality of loads have faults at the moment, the basic fault detection algorithm can obviously find out that the loop with the fault cannot be accurately judged under the condition that a plurality of loops are closed at the same time. An adaptive threshold load switch detection and identification method mentioned in the prior art, such as the background art, can only distinguish the type of the fault, and cannot accurately identify which way is in fault. The present application addresses the above-mentioned technical deficiencies by time-sharing closing of a corresponding plurality of relays.
This step can be implemented by the flow shown in fig. 6. First, when the user closes the plurality of relays at the same time, the control unit first closes one of the relays, performs the step S4 after the relay is closed, and then closes another relay, and then closes the next relay after continuing the step S4. The closing time interval of the two relays can be set to 2 to 5 mains cycles, and more than 5 cycles can affect the user experience. The control unit can judge the conditions of each relay and the load thereof respectively after being used for sending out a plurality of relay closing instructions simultaneously, avoids the current waveforms generated by a plurality of load circuits when being closed simultaneously from being mixed and superposed together, and staggers the closing time of the relays on the premise of not influencing user experience, so that the control unit can process the circuit current respectively and accurately judge the circuit generating faults.
Further, the time-sharing closing of the plurality of relays by the control unit comprises the following steps:
s5, calculating the load loop current after each load is closed, and calculating to obtain the minimum load loop current;
s6, obtaining a total current of the plurality of loads in real time, and if the variation of the total current is greater than the minimum load loop current, performing the following steps: and calculating the ratio of the variation of the total current to the current of each load circuit, and determining the circuit with the minimum ratio as a fault circuit.
Referring to the flow chart shown in fig. 7, the method for detecting the load of the multi-relay is only effective at the moment when the load is closed, most of the damage of the load in the daily life is damaged in the using process, and the steps are directed to the method for detecting the load damage in the using process. After the plurality of relays are closed in a time-sharing mode, the current of each relay can be obtained through the current measuring module, 3 relay control loops are assumed to be shared by 3 loads, and the minimum load current in the 3 loops is taken as a threshold value for triggering abnormity. And triggering fault detection when the current drop detected on the bus is larger than the minimum load current in the loop, and comparing the magnitude of the current drop with the magnitude of the single-loop current to obtain the loop with the minimum ratio, namely the fault loop.
Further, after the current working current is obtained by the current measuring module, the method includes the following steps:
and S7, calculating the change rate of the current working current and the original working current, and if the change rate is more than 90%, judging that the load is aged.
This step can be accomplished by the flow shown in fig. 8. The aging rate was calculated by the following formula:
the aging rate is the change rate (the current operating current-the original operating current)/the original operating current,
because the working current of the load can be gradually increased in the aging process, the load can be judged to be aged when the increase of the working current is more than 90% of the original working current, and signals such as audible and visual alarms can be sent to inform a user of replacing the load.
In order to reduce the calculation amount of the control unit, the step further executes, after calculating the change rate of the current operating current and the original operating current, before determining that the load is aged if the change rate is greater than 90%: and if the current at the previous moment and the current at the current moment have the change rate of less than 3%, determining that the load is preliminary normal, otherwise, determining that the load has a fault. Through the step, the calculation amount of the control unit can be reduced, the control unit does not directly compare with the original load current any more, but judges whether the current of the load has sudden change larger than 3%, and if the current of the load has sudden change, the judgment of the aging rate is not carried out any more, and the judgment of the load fault is directly output.
Example two
The present embodiment is substantially the same as the first embodiment, except that the level conversion circuit includes a photocoupler, an input end of the photocoupler is connected in series to the voltage reduction end of the voltage division circuit, and an output end of the photocoupler is connected in series between the pull-up resistor and the ground.
Further, the input end of the photoelectric coupler is provided with a protection diode.
Referring to fig. 9, including a voltage dividing circuit composed of R2, R3, and R4 connected in series, input terminals 1 and 2 of the photocoupler are disposed between R3 and R4, while input terminals 1 and 2 of the photocoupler are disposed with a protection diode D2. The output 3 of optoelectronic coupler is ground, and optoelectronic coupler's output 4 is connected to the VCC through pull-up resistance R5, and optoelectronic coupler's output 4 is connected to the control unit. The working principle of the square wave generator is the same as that of the first embodiment, when the input end of the photoelectric coupler is located at the moment when the alternating current is larger than the conduction voltage drop of the photoelectric coupler, the output end of the photoelectric coupler is conducted, the control unit obtains a low level, when the input end of the photoelectric coupler is located at the moment when the alternating current is smaller than the conduction voltage drop of the photoelectric coupler, the output end of the photoelectric coupler is disconnected, and the control unit obtains a high level, so that the square wave with the same frequency as the alternating current is obtained.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above should not be understood to necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Claims (10)

1. A switch panel detection system is connected to a plurality of loads connected in parallel, and is characterized in that: the detection system comprises the following modules:
the input end of the current measuring module is connected to a live line of the commercial power and is used for acquiring the working current of the load;
the number of the relays is the same as that of the loads, the input ends of the relays are connected to the output end of the current detection module in parallel, and the output ends of the relays are respectively connected to the loads;
the relay closed-loop feedback modules are the same in number as the loads, and are respectively connected to the output end of each relay and used for acquiring the working condition of the contact of the relay;
and the control unit is respectively in communication connection with the current measuring module, the relay and the relay closed-loop feedback module and is used for judging the working state of the relay according to the working condition of the contact of the relay.
2. The switch panel detection system of claim 1, wherein: the relay closed-loop feedback module comprises a level conversion circuit, the level conversion circuit is used for converting alternating current at the output end of the relay into square waves with the same frequency as the alternating current when the relay is switched on, and the control unit judges the working state of the relay according to the output of the level conversion circuit.
3. The switch panel detection system of claim 2, wherein: the relay closed-loop feedback module comprises a voltage division circuit, the voltage division circuit is connected to the output end of the relay, and the input end of the level conversion circuit is connected to the voltage reduction end of the voltage division circuit.
4. A switch panel detection system according to claim 3, characterized in that: the level conversion circuit comprises an NPN triode, a collector electrode of the NPN triode is connected to a VCC power supply through a pull-up resistor, an emitter electrode of the NPN triode is grounded, a base electrode of the NPN triode is connected to a voltage reduction end of the voltage division circuit, and the control unit is connected to the collector electrode of the NPN triode.
5. A switch panel detection system according to claim 3, characterized in that: the level conversion circuit comprises a photoelectric coupler, the input end of the photoelectric coupler is connected in series with the voltage reduction end of the voltage division circuit, and the output end of the photoelectric coupler is connected in series between the pull-up resistor and the ground.
6. A control method of a switch panel detection system based on any one of claims 1 to 5, characterized in that: the method comprises the following steps:
acquiring a control instruction sent by a control unit to a corresponding relay and a waveform of a closed-loop feedback module of the relay;
if the control instruction sent by the relay is to close the relay and the waveform of the closed-loop feedback module of the relay is a square wave with the same frequency as the alternating current, judging that the relay is normal;
if the control instruction sent by the relay is to close the relay and the waveform of the closed-loop feedback module of the relay is a continuous high level or a continuous low level, determining that the relay has a fault;
if the control instruction sent by the relay is to turn off the relay and the waveform of the closed-loop feedback module of the relay is a square wave with the same frequency as the alternating current, the relay is judged to be in fault;
and if the control instruction sent by the relay is to turn off the relay and the waveform of the closed-loop feedback module of the relay is a continuous high level or a continuous low level, judging that the relay is normal.
7. The control method of a switch panel detection system according to claim 6, characterized in that: the method comprises the following steps:
acquiring and recording the original working current of the corresponding load after one or more relays are closed through the current measuring module;
the method comprises the steps of obtaining a relay closing instruction sent by a user, obtaining current working current through the current measuring module, judging that a load is open if the relay is normal and the current working current is smaller than the original working current, and judging that the load is overloaded if the relay is normal and the current working current is larger than the original working current.
8. The control method of a switch panel detection system according to claim 7, characterized in that: after the relay closing instruction sent by the user is obtained and before the current working current is obtained through the current measuring module, the method comprises the following steps:
and if the user sends out a plurality of relay closing instructions at the same time, closing a plurality of corresponding relays in a time-sharing manner through the control unit.
9. The control method of the switch panel detection system according to claim 8, characterized in that: the time-sharing closing of the corresponding plurality of relays by the control unit comprises the following steps:
calculating the load loop current after each load is closed, and calculating to obtain the minimum load loop current;
acquiring the total current of a plurality of loads in real time, and if the variation of the total current is larger than the minimum load loop current, executing the following steps: and calculating the ratio of the variation of the total current to the current of each load circuit, and determining the circuit with the minimum ratio as a fault circuit.
10. The control method of a switch panel detection system according to claim 7, characterized in that: after the current measuring module obtains the current working current, the method comprises the following steps:
and calculating the change rate of the current working current and the original working current, and if the change rate is more than 90%, judging that the load is aged.
CN202210521245.3A 2022-05-13 2022-05-13 Switch panel detection system and control method thereof Pending CN114879026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210521245.3A CN114879026A (en) 2022-05-13 2022-05-13 Switch panel detection system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210521245.3A CN114879026A (en) 2022-05-13 2022-05-13 Switch panel detection system and control method thereof

Publications (1)

Publication Number Publication Date
CN114879026A true CN114879026A (en) 2022-08-09

Family

ID=82675919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210521245.3A Pending CN114879026A (en) 2022-05-13 2022-05-13 Switch panel detection system and control method thereof

Country Status (1)

Country Link
CN (1) CN114879026A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115236504A (en) * 2022-09-26 2022-10-25 广东电网有限责任公司佛山供电局 Intelligent quick calibration device for relay

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115236504A (en) * 2022-09-26 2022-10-25 广东电网有限责任公司佛山供电局 Intelligent quick calibration device for relay

Similar Documents

Publication Publication Date Title
CN102890235B (en) A kind of fault detection method and device
CN102280862B (en) Frequency converter input/output reverse connection detection protection method and device
CN109254245B (en) Relay loop short circuit and open circuit detection circuit
CN109655757B (en) UPS system detection method and system
US11888321B2 (en) Power conversion apparatus and method for controlling output impedance of power conversion apparatus
CN114879026A (en) Switch panel detection system and control method thereof
US6967454B1 (en) Monitoring apparatus and method for monitoring a pole circuit of an electrical power converter
CN112649726A (en) Switch mechanical life testing circuit and method
CN110445421B (en) Starting circuit of motor, control method of starting circuit and engineering machinery
CN206133294U (en) Controller fault protection system
CN208522445U (en) A kind of current foldback circuit and controller
CN116609628A (en) IGBT fault detection circuit and method and electric equipment
CN110444444A (en) Drive the circuit of contactor
CN202798004U (en) Intelligent compound switch
JP2001238432A (en) Semiconductor power converter
CN210222204U (en) Release coil monitoring circuit
CN109945396B (en) Air conditioner, and detection method and detection device for driving circuit fault
JP2003125532A (en) Tracking breaker
CN205983197U (en) Fault detection apparatus
CN111077397A (en) Detection and early warning system for grounding crosstalk of power transformation direct current system
CN112803586B (en) Automatic setting method and device for rated parameters of circuit breaker and circuit breaker
KR100464132B1 (en) Voltage Dip dictecting system of an alternating current supplied to PLC
CN214795020U (en) Phase-loss detection circuit and electronic equipment
CN109359006B (en) Monitoring method and device of controller, control chip, controller and air conditioner
CN218897077U (en) Control circuit, refrigeration equipment and controller thereof

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Unit 403-12, 4th Floor, No. 56, Chengyi North Street, Phase III, Software Park, Torch High-tech Zone, Xiamen, Fujian 361000

Applicant after: XIAMEN LEELEN TECHNOLOGY Co.,Ltd.

Address before: 2-5 / F, 780 Tieshan Road, Guankou Town, Jimei District, Xiamen City, Fujian Province 361021

Applicant before: XIAMEN LEELEN TECHNOLOGY Co.,Ltd.