the present embodiment is a preferred embodiment of the present invention , and all the technical solutions that have the same or similar principle and basic structure as the present embodiment are involved in the protected scope of the present invention . referring to fig1 , the present invention takes the control module as the core , and the control module in the present embodiment adopts a singlechip circuit module . the real - time clock module is connected to the data terminals of the singlechip circuit module via i2c bus to provide accurate real - time clock information to the system , and to provide time information for timing startup and shutdown ; the input module is connected to the data terminals of the singlechip circuit module for setting the parameters and so on of the system ; the memory module adopts a e2prom circuit module , and the e2prom circuit module is connected to the data terminals of the singlechip circuit module via i2c bus ; the memory module is used to store various information of the singlechip , and will not lost the data after power off . the control data output terminals of the singlechip circuit module are respectively connected to the control terminal of each group of relay switch , and the external power supply supplies power to the electrical equipments via the relay ; the singlechip circuit module can control whether the external power supply supplies power to the corresponding electrical equipments or not by controlling the relay switch to be on or off . a current detection module is provided between the output of the relay and the corresponding electrical equipment , and the current detection module detects the current consumed by the corresponding electrical equipment ; the signal output terminals of the current detection module are respectively connected to the data terminals of the singlechip circuit module , so as to achieve the object of overcurrent protection . for displaying the operation steps as configuring the device and for the convenience of operation , the present invention is provided with a display module , and the display module is connected to the data terminals of the singlechip circuit module . the present invention is provided with a sound direction module , and the sound direction module is connected to the data terminals of the singlechip circuit module ; the sound direction module adopts a buzzer which is driven to sound by the pulse of corresponding frequency coming from the data terminals of the singlechip circuit module , so that the validity and illegality can be reminded to the user during manual operation or automatic operation of the device , and it also can give an alarm as overload , overvoltage , or overcurrent . a communication module is connected to the data terminals of the singlechip circuit module , and the communication module coverts the signal in the singlechip into a signal of rs485 protocol to communicate with a computer ; the present invention can be operated and controlled remotely via a computer , and the invention can also be updated via a computer . for the convenience of operation , a wireless remote control module is connected to the data terminals of the singlechip circuit module , which can be matched to a handheld remote control , so as to operate the present remotely via the remote control . in the present invention , a temperature - sensing element is provided to the wire of the external power supply , and the signal output terminals of a temperature detection module composed mostly of the temperature - sensing element are connected to the data terminals of the singlechip circuit module . in the present invention , the detection input terminals of a voltage detection module are connected to the wire of the external power supply , and the signal output terminals of the voltage detection module are connected to the data terminals of the singlechip circuit module ; the voltage detection module is used to detect whether the voltage of the external power supply is stable or not , and is over the rated voltage or not ; if the voltage of the external power supply is over the rated voltage , the voltage detection module will send a signal to the singlechip , and the singlechip will control disconnecting the external power supply , so as to avoid damaging the electrical equipments . in the present invention , a surge current protection module is connected to the wire of the external power supply , so as to prevent the electrical equipments from being damaged by high - voltage transient such as lightning stroke . aspects of the present invention are further disclosed via the following specific circuits . referring to fig2 , the singlechip u 101 cooperates with the external capacitor , resistance , and quartz crystal oscillator to form a singlechip minimal system , which is regarded as the singlechip circuit module ; in the present embodiment , the singlechip u 101 adopts a pic series singlechip , the type of which is concretely pic16f77 ; in concrete application , the singlechip can also be of other series or types . the clock chip u 111 and the external crystal oscillator composes the clock module , and the clock module is connected to the scl pin and sda pin of the singlechip u 101 via i2c bus ; in the present embodiment , the clock chip u 111 adopts the clock chip pcf8563 . in the present embodiment , the memory chip adopts an e2prom chip u 106 , and the e2prom chip u 106 concretely adopts the chip at24c16 ; the e2prom chip u 106 is connected to the scl pin and sda pin of the singlechip u 101 via i2c bus , and the scl pin and sda pin of the singlechip u 101 are multiplex . the data input terminals of the data latch u 103 , data latch u 104 , and data latch u 105 are respectively connected to the i / o ports rb 0 - rb 7 of the singlechip u 101 , and the i / o ports rb 0 - rb 7 of the singlechip u 101 are time sharing multiplex pins . the enable signal pin of the data latch u 103 is connected to the i / o port ra 4 of the singlechip u 101 ; the enable signal pin of the data latch u 104 is connected to the i / o port re 0 of the singlechip u 101 ; the enable signal pin of the data latch u 105 is connected to the i / o port re 1 of the singlechip u 101 ; the gating signal terminals of the data latch u 103 , data latch u 104 , and data latch u 105 are all connected to the i / o port re 2 of the singlechip u 101 . the data output terminals of the data latch u 104 are connected to the input terminals of the driving chip u 112 , and the output terminals of the driving chip u 112 are connected to the control terminals of the relays of 1 - 8 channels , so as to drive the relays to work by the driving chip u 112 ; the data output terminals of the data latch u 105 are connected to the input terminals of the driving chip u 113 , and the output terminals of the driving chip u 113 are connected to the control terminals of the relays of 9 - 16 channels , so as to drive the relays to work by the driving chip u 113 . in the present embodiment , the data latch u 103 , data latch u 104 , and data latch u 105 all adopt chip 74hc373 , and the driving chip u 112 and driving chip u 113 both adopt chip uln2003a . the data output terminals of the driving chip u 102 are respectively connected to the to the i / o ports rb 0 - rb 7 of the singlechip u 101 ; in the present embodiment , the driving chip u 102 adopts chip 74hc244 . the data input terminals of the single 8 - channel multiplex chip u 108 and the single 8 - channel multiplex chip u 109 are respectively connected to the signal output terminals of the current voltage sensors from hall_a 301 to hall_a 316 ; the output terminals of the single 8 - channel multiplex chip u 108 are connected to the i / o port ra 0 of the singlechip u 101 ; the output terminals of the single 8 - channel multiplex chip u 109 are connected to the i / o port ra 1 of the singlechip u 101 ; the data select terminals of the single 8 - channel multiplex chip u 108 and the single 8 - channel multiplex chip u 109 are respectively connected to the i / o ports rd 4 , rd 5 , and rd 6 of the singlechip u 101 ; in the present embodiment , the single 8 - channel multiplex chip u 108 and the single 8 - channel multiplex chip u 109 both adopt chip 4051 . the communication module of the present invention adopts chip u 115 of rs485 ; in the present embodiment , the chip u 115 of rs485 adopts chip max487 ; the power terminal vcc and the data transmission terminal di of the rs485 chip are respectively connected to a led , so as to show whether the rs485 chip works and sends data normally or not . the present invention adopts the operational amplifier u 117 a and u 117 b to compose two stages of amplification , so as to amplify the signal outputted from the thermistor ntc , and then input it to the i / o port ra 5 of the singlechip u 101 . the set value of the temperature can be changed via adjusting the potentiometer r 123 . in the present embodiment , the operational amplifiers u 117 a and u 117 b adopt lm358 , and the thermistor ntc adopts rt601 . in the present embodiment , the remote control module is composed of a singlechip u 116 , a memory chip u 118 , and a superheterodyne wireless transmission module ; serial communication is adopted between the memory chip u 118 and the singlechip u 116 ; the superheterodyne wireless transmission module is connected to the data terminals of the singlechip u 116 . a light emitting diode led 103 is connected to the data terminals of the singlechip u 116 , so as to be used while studying . the buzzer u 107 is driven by the triode q 101 to sound , and the base of the triode q 101 is connected to the i / o port rco of the singlechip u 101 . in the present invention , a power supply of + 5v is provided by the voltage stabilization chip u 114 . referring to fig3 , it is a schematic diagram of the input and display circuit of the present invention ; in the present embodiment , the input keyboard adopts a 4 * 4 keyboard ; the line scan signal output terminals of the keyboard are respectively connected to the singlechip u 101 and the i / o ports rd 0 - rd 4 of the singlechip u 101 ; the column scan signal output terminals of the keyboard are respectively connected to the input terminals 2 a 1 - 2 a 4 of the driving chip u 102 . the display module can be of matrix led display or lcd display ; in the present embodiment , the lcd display adopts liquid crystal driving chip lcd 201 ; the liquid crystal driving chip lcd 201 is connected to the output terminals q 2 and q 3 of the data latch u 103 via i2c bus , and the display data is transmitted to the liquid crystal driving chip lcd 201 to drive the lcd display screen to display . in the present embodiment , the matrix led display adopts a 4 * 8 led to display ; the serial data input terminals of the serial / parallel port chip u 201 are connected to the output terminal q 5 of the data latch u 103 via i2c bus ; the serial synchronous signal input terminals of the serial / parallel port chips u 201 , u 202 , u 203 , and u 204 are all connected to the output terminal q 6 of the data latch u 103 ; the display array enable signal input terminals of the serial / parallel port chips u 201 , u 202 , u 203 , and u 204 are all connected to the output terminal q 7 of the data latch u 103 ; the terminal q 7 of the serial / parallel port chip u 201 is connected to the terminal ser of the serial / parallel port chip u 202 ; the terminal q 7 of the serial / parallel port chip u 202 is connected to the terminal ser of the serial / parallel port chip u 203 ; the terminal q 7 of the serial / parallel port chip u 203 is connected to the terminal ser of the serial / parallel port chip u 204 ; the parallel data output terminals of the serial / parallel port chips u 201 , u 202 , u 203 , and u 204 are respectively connected to the corresponding led ; the serial / parallel port chips u 201 , u 202 , u 203 , and u 204 drive each led to be on or off to display corresponding information . in the present embodiment , the serial / parallel port chips u 201 , u 202 , u 203 , and u 204 all adopt chip 74hc595 . referring to fig4 , the present embodiment adopts two groups of the same configuration , which respectively bears the electric loading in the method of partial load ; the wire of the external power supply is provided with a mutual inductor that has a closed magnetizer , and the magnetizer is fixed to the wire of the external power supply by socket joint ; a wire is winded around the magnetizer ; the output terminal of the wire is connected to the ground , and the other terminal is connected to the base of the triode q 601 ; the emitter of the triode q 601 is connected to the base of the triode q 602 ; the emitter of the triode q 602 is connected to the ground , and the collector of the triode q 602 is connected to the control terminal of the relay k 601 ; the external power supply supplies power to the electrical equipments via the relay k 601 . when leakage occurs in the electrical equipments , the algebraic sum of the current flows into l_in and n_in is not zero , so , mutual inductance current appears in the coils of the mutual inductor ; after rectified by the diode , the current triggers q 601 to control the base of q 602 , and at same times triggers q 603 , so that the singlechip controls the base of q 602 to not output high level to switch off the relay k 601 , and then the main and branch circuits output no voltage , so as to achieve leakage protection . the leakage current is no more than 30 ma , and the circuit is switched off for less than 0 . 03 s . a piezoresistor ym601 is connected between the neutral line and the phase line of the input wire of the external power supply , so as to prevent the electrical equipments from being damaged by surge voltage such as lightning stroke . the neutral line and the phase line of the input wire of the external power supply are respectively connected to the terminal in and terminal out of the voltage sensor hall_cv 601 , and the output terminals of the voltage sensor hall_cv 601 are connected to the i / o port ra 2 of the singlechip u 101 , so as to detect the voltage of the external power supply is normal or not ; in the present embodiment , the voltage sensor hall_cv 601 adopts csioma - p . referring to fig5 , the external power supply is input via the relay k 301 ; the neutral line is directly connected to the output terminal of the external power supply , and the phase line outputs into the current voltage sensor hall_a 301 ; the power supply output of the current voltage sensor hall_a 301 is connected to the output terminal of the external power supply ; the signal output terminal of the current voltage sensor hall_a 301 is connected to the input terminal xo of the single 8 - channel multiplex chip u 108 . in the same way , the connection method of the current voltage sensors from hall_a 302 to hall_a 316 is the same as the current voltage sensor hall_a 301 ; each channel of current voltage sensor controls the current consumption of one channel of electrical equipment ; when short current or overcurrent appears in the electrical equipment , the corresponding current voltage sensor will be switched off to stop supply power to that channel . in the present embodiment , the voltage sensors from hall_a 301 to hall_a 316 all adopt cs25 - np type voltage sensor . the circuit and implement method provided in the present embodiment all take home power consumption of single - phase for example , but the present invention can also be applied to 380 v industry power consumption of three - phase . if the present invention is applied to 380 v industry power consumption of three - phase , the quantity of the current detection module and the quantity of the input / output connection point of the control module need to be increased , and the type of the voltage sensor and the transient voltage suppressor diode ( tvs ) need to be changed ( so as to match the voltage of 380 v , and each phase line is respectively provided with a corresponding voltage sensor and a transient voltage suppressor diode ); wherein , each channel of power supply wire is connected in series with a current detection module and a relay , and the signal output terminal of each current detection module is respectively connected to the data input terminal of one data selector ; if the quantity of the data selector is not enough , only the quantity of the data selector needs to be increased , and the data output terminals of each data selector are all connected to one i / o port of the control module . the mutual inductor in the leakage detection module only needs to be connected to the input wire for three - phase power supply simultaneously by socket joint . because the power consumption of industry is comparatively high , the relay can adopt a high power electronic controlled switch such as an ac contactor , or a high power device such as an ac contactor can be controlled via the linkage of a relay , so as to realize controlling supplying the power . the present invention is composed of component structures , for example , every module is connected to other module with a connecting plug having the corresponding connection points , which is convenient for increasing the quantity of the detection and process module in the system device ; so , the quantity of the nodes in the system can be increased or decreased according to the actual requirement , which increases the flexibility of application . referring to fig6 , while using the present invention , after turning on , first , the system device implements initializing , that is , setting up the i / o ports , setting up the clock , setting up i2c , etc . ; second , the system implements self - checking , that is , the self - checking of display system , the self - checking of time chip , the self - checking of e2prom , controlling the self - checking of the relay ; then , after self checking , the system circularly implements keyboard scan process , current detection process , voltage detection process , temperature detection process , leakage detection process , wireless remote control detection process , serial communication process , and timing control process . the present embodiment provides a preferred implement method , but the present invention also has other embodiments to implement the present invention ; for example , the relay can be replaced with ac contactor , silicon controlled rectifier , photoelectric solid state relay , insulated gate bipolar transistor ( igbt ), or metal - oxide - semiconductor field effect transistor ( mosfet ); other communication protocols , such as can bus and tcp / ip protocol , can be adopted to realize remote operation and control .