CN114791575A - Intelligent electricity utilization safety monitoring system based on double MCUs - Google Patents

Intelligent electricity utilization safety monitoring system based on double MCUs Download PDF

Info

Publication number
CN114791575A
CN114791575A CN202111441852.0A CN202111441852A CN114791575A CN 114791575 A CN114791575 A CN 114791575A CN 202111441852 A CN202111441852 A CN 202111441852A CN 114791575 A CN114791575 A CN 114791575A
Authority
CN
China
Prior art keywords
module
monitoring system
current
cloud server
leakage current
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
CN202111441852.0A
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.)
Jiaxinghuabing Internet Of Things Technology Co ltd
Original Assignee
Jiaxinghuabing Internet Of Things 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 Jiaxinghuabing Internet Of Things Technology Co ltd filed Critical Jiaxinghuabing Internet Of Things Technology Co ltd
Priority to CN202111441852.0A priority Critical patent/CN114791575A/en
Publication of CN114791575A publication Critical patent/CN114791575A/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/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/52Testing for short-circuits, leakage current or ground faults
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • 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/0421Multiprocessor system
    • 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
    • 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/0428Safety, monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/70Arrangements in the main station, i.e. central controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/82Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/84Measuring functions

Abstract

The invention discloses an intelligent electricity safety monitoring system based on double MCUs. The system comprises a local monitoring system and a cloud server. The local monitoring system comprises an information acquisition module, a double-MCU module, a communication module, a control module and a power supply module. The power supply module provides stable working voltage for the local monitoring system. The information acquisition module is used for acquiring real-time current and leakage current in the main circuit and transmitting the current to the double MCU module for processing. The cloud server stores working models of various electric equipment, and the names and the working states of the electric equipment are judged through data processed by the double MCUs. The system can monitor the abnormal electricity utilization condition on the main circuit in real time, continuously analyze data such as residual current, current and the like, judge the household electricity utilization environment, send an alarm to a user when a dangerous condition occurs, and has the function of remotely cutting off a power supply, so that the safety guarantee is improved.

Description

Intelligent electricity utilization safety monitoring system based on double MCUs
Technical Field
This application belongs to embedded system design technical field, concretely relates to wisdom power consumption safety monitoring system based on two MCU.
Background
Along with the continuous development of social economy, the living standard of people is also improved day by day, and many families can purchase various electric equipment, improve the convenience and the travelling comfort of the family life. Meanwhile, the complexity of indoor circuit layout can be increased, so that the potential safety hazard of household electricity utilization is increased, and the potential safety hazard of indoor electricity utilization equipment forms great threat to property safety and life safety of people.
A common indoor household safety protection device is an air switch, and the working principle is that when the current in a main circuit is overloaded, the air switch can be automatically switched off, so that safe power utilization is realized. However, the air switch has a single function, and only works when the circuit is overloaded, and circuit abnormal phenomena such as leakage and high temperature cannot respond. And the circuit cannot be monitored in real time, dangerous conditions can not be reported in time, and the intelligent degree is not high enough.
The existing multifunctional circuit monitoring devices usually need to utilize a plurality of sensors to monitor a main circuit, which requires modification of the existing circuit. And because sensor quantity is too many, the degree of integrating of device is not high, and the volume is also bigger, needs extra mounting bracket. Affecting the normal living space of residents.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides the intelligent electricity safety monitoring system based on the double MCUs, a non-invasive sensor is selected to monitor the electricity utilization condition of the main circuit, and the double MCUs are used for completing sampling, processing and uploading of data, so that the response speed of the monitoring system is improved.
The utility model provides a wisdom power consumption safety monitoring system based on two MCU, includes local monitoring system and high in the clouds server. The local monitoring system comprises an information acquisition module, a double-MCU module, a communication module, a control module and a power supply module.
The power supply module provides stable working voltage for other modules in the local monitoring system.
The information acquisition module is used for acquiring real-time current and leakage current in the main circuit and transmitting the real-time current and the leakage current to the double MCU module for processing.
Preferably, the information acquisition module acquires the leakage current of the main circuit through a zero sequence current sensor, and acquires the real-time current of the main circuit through a Hall current sensor.
Furthermore, the output signal of the Hall sensor is amplified and then input into the double-MCU module.
The double-MCU module comprises a DSP module and an STM32 module. The DSP module samples and filters the real-time current transmitted by the information acquisition module, calculates the current characteristic information of the main circuit, and then packages and transmits the current characteristic information to the STM32 module.
The STM32 module receives the leakage current of characteristic information after the DSP module packing and the collection of information acquisition module, through the communication module upload to the high in the clouds server, and the signal that receives the high in the clouds server and return is controlled control module, realizes the switch of main circuit power.
When the DSP module carries out information processing, the STM32 module drives the communication module and is connected with the cloud server, and the characteristic information after the DSP module is handled can be transmitted to the cloud server the very first time. If the feature information transmitted by the DSP module is not received for a period of time, the STM32 module restarts the DSP module, and if the feature information is still not received after the restart operation is executed, the STM32 module sends an alarm signal to the cloud server through the communication module.
Preferably, the communication module realizes wired information transmission between the control module and the cloud server through the ethernet controller.
The cloud server stores working models of various electric equipment, and the types of the electric equipment are judged by comparing the received characteristic information with the stored model parameters. Setting a threshold value A to be smaller than a threshold value B, and when the magnitude of the leakage current received by the cloud server is 0, normally operating the equipment; when the leakage current is larger than a threshold A and smaller than a threshold B, sending the name of the electric equipment and a danger alarm to a user; and when the leakage current is greater than the threshold B, sending the name of the electric equipment and a danger alarm to a user, and sending a control signal to the STM32 module to enable the control module to cut off the power supply of the main circuit. When the cloud server receives the alarm signal sent by the STM32, prompt information is sent to the user.
Preferably, the STM32 module indicates the working state of the electric device and the information transmission status between the local monitoring system and the cloud server through the light emitting diode.
The invention has the following beneficial effects:
1. wisdom power consumption safety monitoring system based on two MCU combines domestic appliance power consumption safety and high in the clouds technique, through two MCU chips, makes analysis efficiency higher, and data processing is faster, and the reliability is stronger, has really accomplished real-time supervision domestic appliance, and equipment threatens the intelligent power consumption monitoring system who reports to the police.
2. When the DSP module breaks down, can restart the setting through the STM32 module to it, the system has certain selfreparing ability, can improve system stability, reduces the energy that artifical maintenance consumed.
Drawings
FIG. 1 is a diagram of a dual MCU based intelligent electrical safety monitoring system;
FIG. 2 is a schematic circuit diagram of an embodiment of a power module;
FIG. 3 is a schematic circuit diagram of an information collection module in an embodiment;
FIG. 4 is a schematic circuit diagram of a control module in an embodiment;
FIG. 5 is a schematic circuit diagram of an embodiment of a communication module;
FIG. 6 is a schematic diagram of a DSP module circuit in an embodiment;
FIG. 7 is a circuit schematic diagram of an STM32 module in an embodiment.
Detailed Description
The invention is further explained below with reference to the drawings;
as shown in fig. 1, an intelligent electricity safety monitoring system based on dual MCUs includes a local monitoring system and a cloud server. The local monitoring system comprises an information acquisition module, a DSP module, an STM32 module, a communication module, a control module and a power supply module.
The power supply module provides stable working voltage for other modules in the local monitoring system. The information acquisition module acquires real-time current of the main circuit through the Hall current sensor and transmits the real-time current to the DSP module for processing; and the leakage current of the main circuit is collected through a zero sequence current sensor and transmitted to an STM32 module for processing. After the DSP module samples and filters the real-time current of the main circuit, the current characteristic information of the main circuit is calculated, and then the current characteristic information is packaged and transmitted to the STM32 module. When the DSP module carries out information processing, the STM32 module drives the communication module to be connected with the cloud server, and after characteristic information from the DSP module is received, the characteristic information is immediately transmitted to the cloud server, so that the information transmission time is saved. The cloud server compares the received characteristic information with the stored model parameters, judges the type name of the electric equipment in the main circuit, judges the working state of the electric equipment according to the magnitude of leakage current, and when the magnitude of the leakage current is 0, the equipment normally operates; when the leakage current is larger than a threshold value A and smaller than a threshold value B, sending the name of the electric equipment and a danger alarm to a user; and when the leakage current is greater than the threshold B, sending the name of the electric equipment and a danger alarm to a user, and sending a control signal to the STM32 module to enable the control module to cut off the power supply of the main circuit.
If the STM32 module does not receive the characteristic information from the DSP module for a period of time, the DSP module is restarted, and if the characteristic information is still not received after the restarting operation is executed, the STM32 module sends an alarm signal to the cloud server through the communication module. After receiving the alarm signal from the STM32, the cloud server sends prompt information to the user to remind the user to check the local monitoring system.
As shown in FIG. 2, the power supply module comprises a 5V-3.3V power supply circuit, a 3.3V-1.9V power supply circuit and a 5V-2.5V power supply circuit, and 5V and 3.3V input voltages are converted into 3.3V, 2.5V and 1.9V output voltages through the AMS1117-33, AMS1117-18 forward low drop-out voltage regulator and the REF3025 reference voltage chip respectively, so that stable working voltages are provided for other modules in the local monitoring system.
In the 5V-3.3V power supply circuit, a pin 2 of a switch S1 is connected with a main power supply, and a pin 3 outputs 5V voltage to a pin 3 of a sixth voltage stabilizer U6. A pin 3 of the sixth voltage stabilizer U3 is connected to the positive terminal of the thirty-seventh capacitor C37 and one end of the thirty-eighth capacitor C38; pin 1 is connected with the negative terminal of a thirty-seventh capacitor C37, the other terminal of a thirty-eighth capacitor C38, one terminal of a thirty-ninth capacitor C39 and ground; the 4 pin is connected with the other end of the thirty ninth capacitor C39 and the 2 pin. Pin 2 is connected to one end of a nineteenth resistor R19, and outputs a voltage of 3.3V. The anode and the cathode of the first diode D1 are connected to the other end of the nineteenth resistor R19 and the other end of the thirty-ninth capacitor C39, respectively, for indicating whether the sixth voltage regulator U6 successfully drops the 5V input voltage to the 3.3V output voltage.
In the 3.3V-1.8V power supply circuit, 3.3V voltage is input to a pin 3 of an eighth voltage stabilizer U8, a pin 1 is connected with one end of a forty-second capacitor C42 and the ground, and a pin 4 is connected with the other end of the forty-second capacitor C42 and a pin 2; the 2 pin outputs 1.9V voltage.
In the 5V-2.5V power supply circuit, a pin 1 of a seventh voltage stabilizer U7 is connected with one end of a fortieth capacitor C40, and 5V voltage is input; the pin 3 is connected with the other end of the forty-first capacitor C40, one end of the forty-first capacitor C41 and the ground; pin 2 and the other end of the forty-first capacitor C41, and outputs 2.5V power.
As shown in fig. 3, the information acquisition module includes a leakage current acquisition circuit and a current acquisition circuit. The leakage current acquisition circuit acquires the leakage current of the main circuit through the zero sequence current sensor and inputs the leakage current into the STM32 module. The current acquisition circuit acquires the current flowing in the main circuit through the Hall current sensor, and the current is input into the DSP module after amplification operation. The operational amplifier used was OPA 2333A.
In the current acquisition circuit, a pin 1 of a Hall current sensor U3 is connected with one end of a tenth capacitor C10, one end of a eleventh capacitor C11 and 5V voltage; the 2 pin is connected with the other ends of the tenth and eleventh capacitors C10 and C11 and the analog ground. The 4 pins are connected with one end of a twelfth capacitor C12, one end of a thirteenth capacitor C13 and 2.5V voltage. The other ends of the twelfth and thirteenth capacitors C12 and C13 are connected with the ground. The pin 3 of the hall current sensor U3 is connected to the pin 5 of the fourth operational amplifier U4 through a fifteenth resistor R15. A pin 1 of the fourth operational amplifier U4 is connected with a pin 68 of the DSP chip U1, and a zero-crossing detection result is output; pin 2 is connected with one end of the ninth resistor R9 and one end of the tenth resistor R10. The other ends of the ninth resistor R9 and the tenth resistor R10 are connected to the voltage of 2.5V and the ground respectively. A pin 3 of the fourth operational amplifier U4 is connected with a pin 7 through an eighteenth resistor R18 and is connected with a pin 1 through a seventeenth resistor R17; pin 4 is connected to ground and pin 5 is connected to ground through a sixteenth resistor R16. The pin 8 is connected to the voltage of 3.3V and one end of a fourteenth capacitor C14, and the other end of the fourteenth capacitor C14 is connected to ground. And a pin 6 of a fourth operational amplifier U4 is connected with one end of a thirteenth resistor R13 and one end of a fourteenth resistor R14. The other end of the thirteenth resistor R13 is connected to the pin 7 of the fourth operational amplifier U4 and one end of the fifteenth capacitor C15, the sixteenth capacitor C16 and the eleventh resistor R11. The other end of the fourteenth resistor is connected to analog ground through a seventeenth capacitor C17. The other end of the eleventh resistor R11 is connected to the eighteenth capacitor C18 and the cathode of the third diode D3. The other ends of the fifteenth, sixteenth and eighteenth capacitors C15, C16 and C18 and the anode of the third diode D3 are connected with the ground. The negative electrode of the third diode D3 is connected to pin 42 of the DSP chip U1, and outputs the amplified current detection result.
In the leakage current acquisition circuit, a pin 1 of a zero-sequence current sensor P3 is connected with one end of an eighth resistor R8 and a pin 34 of a singlechip chip U1, and a leakage current detection result is output; pin 2 is connected to the other end of the eighth resistor R8 and ground.
The control module uses a triode with the model number of S8050J 3Y and a relay with the model number of SRD-05VDC-SL-C to form an alternating current contactor. As shown in fig. 4, the control signal from the single chip microcomputer U1 is connected to the base and the emitter of the second triode Q2 through the twenty-third and twenty-fourth resistors R23 and R24, respectively. The emitter of the second transistor Q2 is connected to ground, and the collector is connected to pin 3 of the relay M1 and the anode of the fourth diode D4. A pin 1 of the relay M1 is connected with a zero line of the main circuit, a pin 2 is connected with 5V voltage and the negative electrode of a fourth diode D4, and a pin 4 is connected with a main circuit switch. When the cloud server judges that the magnitude of the leakage current does not exceed the threshold value B, a pin 67 of the single chip microcomputer U1 outputs a low level, the second triode Q2 is not conducted, the relay M1 is in a default closed state, and the main circuit continues to work normally. When the cloud server judges that the magnitude of the leakage current exceeds the threshold value B, a pin 67 of the single chip microcomputer chip U1 outputs a high level, the second triode Q2 is conducted, the relay M1 is switched to an open state from a closed state, the main circuit is powered off, and circuit protection is achieved.
The communication module realizes wired information transmission between the control module and the cloud server, mainly comprises a network card chip with the model of W5500 and a network transformer with the model of HR911105A, works by using 3.3V voltage, and a clock signal is provided by a 25MHz crystal oscillator. As shown in fig. 5, in the communication module, the 3.3V voltage output by the power module is changed into a 3.3V analog voltage through the twenty-fifth resistor R25. The 4 pins, 8 pins, 11 pins, 15 pins, 17 pins and 21 pins of the network card chip U5 are connected with 3.3V analog voltage and then are respectively connected to the ground through twenty-first, twenty-second, twenty-third, twenty-fourth, twenty-fifth and twenty-sixth capacitors C21, C22, C23, C24, C25 and C26; the 22 pin and the 20 pin are respectively connected to the ground through thirty-one capacitors and thirty-two capacitors, namely C31 and C32; pins 10, 23, 38, 39, 40, 41 and 42 are respectively connected to the ground through thirty-three, thirty-four, thirty-six, thirty-seven, thirty-nine, forty-two and forty-two resistors R33, R34, R36, R37, R39, R40 and R42; the 3 feet, the 9 feet, the 14 feet, the 16 feet, the 19 feet and the 48 feet are directly connected with the ground; the pins 32, 33, 34, 35, 36 and 37 are respectively connected with the pins 39, 30, 31, 32, 29 and 38 of the single chip microcomputer chip U1. Pins 32, 36 and 37 are respectively connected to a 3.3V voltage through twenty ninth, twenty eighth and twenty seventh resistors R29, R28 and R27; the pin 31 is connected with one end of a thirtieth resistor R30 and one end of a second oscillator Y2, and then is connected to the ground through a twenty-seventh capacitor C27; the pin 30 is connected with one end of a thirtieth resistor R30 and a second crystal Y2, and then is connected to the ground through a twenty-eighth capacitor C28; pin 29 is connected with one end of twenty-ninth and thirty-third capacitors C29 and C30 and the ground; the pin 28 is connected with the other ends of the twenty ninth capacitor, the thirty capacitor C29 and the C30 and the voltage of 3.3V; pins 43, 44 and 45 are respectively connected to the voltage of 3.3V through forty-six, forty-five and forty-four resistors R46, R45 and R44; pins 25 and 27 are respectively connected with pins 10 and 11 of the network transformer JP1 through twelfth and twentieth resistors R12 and R20; pins 5 and 6 are respectively connected with pins 3 and 6 of the network transformer JP1 through thirty-six capacitors C36 and thirty-four capacitors C34. One end of the thirty-first resistor R31 is connected with pin 1 of the network card chip U5 and pin 2 of the network transformer JP1, and the other end is connected with 3.3V voltage. One end of the thirty-second resistor R32 is connected with pin 2 of the network card chip U5 and pin 1 of the network transformer JP1, and the other end is connected with 3.3V voltage. One ends of thirty-eight and forty-one resistors R38 and R41 are connected to the ground through a thirty-five capacitor, and the other ends are respectively connected with the 6 pin and the 5 pin of the network card chip U5. The remaining pins of the network card chip U5 are left empty. The 4-pin of the network transformer JP1 is connected to the 3.3V voltage through the first inductor L1 and to the digital ground through the thirteen-capacitor C33. Pins 9 and 12 of the network transformer JP1 are directly connected with 3.3V voltage, and pins 7 and 8 are empty. The network card chip U5 and the singlechip chip U1 are communicated through an SPI protocol.
The DSP module is composed of a DSP chip with the model of TMS320F28335 and peripheral circuits thereof, a clock signal is provided by a crystal oscillator of 30MHz, and the working voltage is 1.9V and 3.3V. Sampling, filtering are carried out to the main circuit through the DSP module, then the packing is sent for the STM32 module, is accomplished by the STM32 module again and uploads, and the high in the clouds server carries out consumer type discernment. As shown in fig. 6, pins 55, 56 and 57 of the DSP chip U2 are connected to ground through a nineteenth capacitor C19, a twentieth capacitor C20 and a sixth resistor R6, respectively, and pin 43 is directly connected to ground; the 3 feet, 8 feet, 14 feet, 22 feet, 30 feet, 60 feet, 70 feet, 83 feet, 92 feet, 103 feet, 105 feet, 106 feet, 108 feet, 118 feet, 120 feet, 125 feet, 140 feet, 144 feet, 147 feet, 155 feet, 160 feet, 166 feet and 171 feet are directly connected to the ground; pin 104 is connected to one end of the third oscillator Y3 and then to ground through a fifty-fourth capacitor C54, and pin 102 is connected to the other end of the third oscillator Y3 and then to ground through a fifty-fifth capacitor C55; the pins 31 and 59 are directly connected to the voltage of 1.9V; the pins 32, 58, 33 and 44 are directly connected to the ground; pins 34 and 45 are directly connected to a voltage of 3.3V; the pins 84, 9, 71, 93, 107, 121, 143, 159 and 170 are directly connected to a 3.3V voltage; the pins 4, 15, 23, 29, 61, 101, 109, 117, 126, 139, 146, 154 and 167 are connected to a voltage of 1.9V; pins 25, 26 and 142 are respectively connected to the 3.3V voltage through fifty-third, fifty-fourth and fifty-second resistors R53, R54 and R52; the pins 2 and 141 are respectively connected with the pins 69 and 68 of the single chip microcomputer chip U1. Pin 80 is connected to pin 55 of the monolithic chip U1, and then to a voltage of 3.3V through a sixty-nine resistor R69.
The STM32 module uses the main control chip that the model is STM32F103VCT6, and the peripheral circuit of cooperation drives communication module, realizes the communication before local monitoring system and the high in the clouds server to carry out on-off control through control module to the main circuit. The STM32 module communicates with the DSP module through a serial port protocol. As shown in fig. 7, pins 6, 11, 21, 22, 29, 50, 75 and 100 of the monolithic chip U1 are connected to a voltage of 3.3V, and pins 10, 19, 20, 27, 49, 74 and 94 are directly connected to ground; the 12 pin is directly grounded through a fourth capacitor C4 after being connected with one end of a second resistor R2 and one end of a first crystal oscillator Y1; the other end of the 13-pin second resistor R2 and the other end of the first crystal oscillator Y1 are directly grounded through a fifth capacitor C5 after being connected; pin 14 is connected to the first resistor R1, the third capacitor C3, and one end of the key RESET 1. The other end of the first resistor R1 is connected with 3.3V, the other ends of the third capacitor C3 and the key RESET1 are grounded and used for manually resetting the STM32 module, and the frequency of the first crystal oscillator Y1 is 8MHz and provides a clock signal for the STM32 module. Pins 11, 22, 28, 50, 75 and 100 of the single chip U1 are connected to ground through a sixth capacitor C6, a seventh capacitor C7, an eighth capacitor C8, a ninth capacitor C9, a second capacitor C2 and a first capacitor C1, respectively. The cathodes of the fifth, sixth and seventh diodes D5, D6 and D7 are respectively connected with pins 44, 45 and 46 of the single chip microcomputer chip U1, and the anodes thereof are respectively connected to a 3.3V voltage through the third, fourth and fifth resistors R3, R4 and R5. The fifth, sixth and seventh diodes D5, D6 and D7 are blue, red and green respectively, and are used for indicating the working state of the system. When the blue color is bright, the local monitoring system is connected with the cloud server; when the red color is long and bright, the abnormal operation of the electric equipment or the DSP module in the main circuit is indicated. When the green color is long and bright, the normal work of the electric equipment in the main circuit is indicated.

Claims (8)

1. The utility model provides a safety monitoring system is used to wisdom electricity based on two MCU which characterized in that: the system comprises a local monitoring system and a cloud server; the local monitoring system comprises an information acquisition module, a double-MCU module, a communication module, a control module and a power supply module;
the power supply module provides stable working voltage for other modules in the local monitoring system;
the information acquisition module is used for acquiring real-time current and leakage current in the main circuit and transmitting the current to the double MCU module for processing;
the double-MCU module comprises a DSP module and an STM32 module; the DSP module samples and filters real-time current transmitted by the information acquisition module, calculates current characteristic information of the main circuit, and then packages and transmits the current characteristic information to the STM32 module; the STM32 module receives the characteristic information transmitted by the DSP module and the leakage current collected by the information collection module, uploads the characteristic information and the leakage current to the cloud server through the communication module, receives a signal returned by the cloud server, controls the control module and realizes the on-off of the main circuit power supply;
the cloud server judges the type of the electric equipment by comparing the received characteristic information with the stored model parameters; through the big or small relation of comparison leakage current and threshold value, judge the operating condition of consumer, specifically do: setting a threshold value A to be less than a threshold value B, and judging that the electric equipment works normally when the leakage current is between 0 and the threshold value A; when the leakage current is between the threshold A and the threshold B, judging that the electric equipment is abnormal, and when the leakage current received by the cloud server is 0, normally operating the equipment; when the leakage current is larger than the threshold A and smaller than the threshold B, the equipment operates abnormally, and the name of the electric equipment and a danger alarm are sent to a user; when the leakage current is larger than a threshold value B, equipment fails, the name of the electric equipment and a danger alarm are sent to a user, and a control signal is sent to an STM32 module to enable the control module to cut off a main circuit power supply;
when the STM32 module does not receive the characteristic information from the DSP module within a set time, a restart signal is sent to the DSP module, and if the STM32 module still does not receive the characteristic information from the DSP module after sending the restart signal for a period of time, an alarm signal is sent to the cloud server to prompt a user that a local monitoring system fails.
2. The system of claim 1, wherein the intelligent electrical safety monitoring system based on the dual MCU comprises: the information acquisition module acquires the leakage current of the main circuit through the zero sequence current sensor and acquires the real-time current of the main circuit through the Hall current sensor.
3. The system of claim 2, wherein the intelligent electrical safety monitoring system based on the dual MCU comprises: and the output signal of the Hall sensor is amplified and then input into the double MCU module.
4. The system of claim 1, wherein the intelligent electrical safety monitoring system based on the dual MCU comprises: the communication module realizes wired information transmission between the control module and the cloud server through the Ethernet controller.
5. The system of claim 1, wherein the intelligent electrical safety monitoring system based on the dual MCU comprises: the STM32 module indicates the working state of the electric equipment and the information transmission status of the local monitoring system and the cloud server through the light emitting diodes.
6. The system according to claim 1, wherein the system comprises: the DSP module uses the DSP chip that the model is TMS320F28335, and the STM32 module uses the singlechip chip that the model is STM32F103VCT 6.
7. The system according to claim 1, 5 or 6, wherein the system comprises: cathodes of the fifth, sixth and seventh diodes D5, D6 and D7 are respectively connected with pins 44, 45 and 46 of the singlechip chip, and anodes thereof are respectively connected to a 3.3V voltage through third, fourth and fifth resistors R3, R4 and R5; when the fifth diode D5 indicates that the local monitoring system is connected to the cloud server; when the sixth diode D6 is long and bright, the abnormal work of the electric equipment or the DSP module is indicated; when the seventh diode D7 is long and bright, it indicates that the electric device is working normally.
8. The system according to claim 1 or 6, wherein the system comprises: after the pin 80 of the DSP chip is connected with the pin 55 of the single chip microcomputer chip, the voltage is connected to 3.3V voltage through a sixty-nine resistor R69; and the pin 80 of the DSP chip is used for receiving a restart signal from the single chip microcomputer chip.
CN202111441852.0A 2021-11-30 2021-11-30 Intelligent electricity utilization safety monitoring system based on double MCUs Pending CN114791575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111441852.0A CN114791575A (en) 2021-11-30 2021-11-30 Intelligent electricity utilization safety monitoring system based on double MCUs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111441852.0A CN114791575A (en) 2021-11-30 2021-11-30 Intelligent electricity utilization safety monitoring system based on double MCUs

Publications (1)

Publication Number Publication Date
CN114791575A true CN114791575A (en) 2022-07-26

Family

ID=82459647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111441852.0A Pending CN114791575A (en) 2021-11-30 2021-11-30 Intelligent electricity utilization safety monitoring system based on double MCUs

Country Status (1)

Country Link
CN (1) CN114791575A (en)

Similar Documents

Publication Publication Date Title
CN202231253U (en) Intelligent multifunctional socket
CN107290630A (en) Detector for electric fire protection circuit
CN105931454A (en) Low-power-consumption wireless communication detection device and detection method
CN107741713A (en) A kind of intelligent water pump controller based on Internet of Things
CN208706014U (en) A kind of stand alone type Universal base and its alarm system
CN114791575A (en) Intelligent electricity utilization safety monitoring system based on double MCUs
CN210898634U (en) Old city community wisdom electric power monitored control system based on end cloud framework
CN101458499A (en) Energy-conserving protection module
CN215870723U (en) Power-off alarm device of intelligent power consumption protector
CN108661898A (en) A kind of intelligent water pump controller for wisdom agricultural irrigation
CN102448222B (en) LED control system for landscape illumination, backlight and general illumination
CN107178706A (en) LNG points supply device for adding odor
CN212513219U (en) STM 32-based low-power-consumption inspection well liquid level monitoring and alarming system
CN114069873A (en) Power consumption safety intelligent monitoring system based on secondary circuit
CN207112375U (en) Natural gas point is for adding smelly compensation supervising device
CN212776855U (en) Online data acquisition system of natural gas pipeline network
CN212624341U (en) Natural gas online data acquisition system
CN206805218U (en) A kind of unattended seismograph station exchange electricity consumption monitoring system
CN207115102U (en) LNG points are for pulse period control plus smelly circuit
CN205882405U (en) On -vehicle centralized control formula intelligent power distribution device
CN108549300A (en) A kind of intelligent water pump for wisdom agricultural irrigation controls gateway
CN215833774U (en) Intelligent measurement and control terminal for drainage monitoring
CN218156301U (en) Environmental monitoring device is used in laboratory
CN205720586U (en) The power supply supervisory circuit of low-power consumption
CN220504029U (en) General intelligent water supply pump set control system

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