CN114094398A - Control method for timing switch intelligent socket - Google Patents

Control method for timing switch intelligent socket Download PDF

Info

Publication number
CN114094398A
CN114094398A CN202111235237.4A CN202111235237A CN114094398A CN 114094398 A CN114094398 A CN 114094398A CN 202111235237 A CN202111235237 A CN 202111235237A CN 114094398 A CN114094398 A CN 114094398A
Authority
CN
China
Prior art keywords
module
current
control module
time
interface
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
CN202111235237.4A
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.)
Huaiyin Institute of Technology
Original Assignee
Huaiyin Institute of Technology
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 Huaiyin Institute of Technology filed Critical Huaiyin Institute of Technology
Priority to CN202111235237.4A priority Critical patent/CN114094398A/en
Publication of CN114094398A publication Critical patent/CN114094398A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • 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
    • G01R19/2506Arrangements for conditioning or analysing measured signals, e.g. for indicating peak values ; Details concerning sampling, digitizing or waveform capturing
    • G01R19/2509Details concerning sampling, digitizing or waveform capturing
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • H01R13/713Structural association with built-in electrical component with built-in switch the switch being a safety switch

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

A control method for a timing switch intelligent socket comprises the following steps: one end of the shell is connected with a plug and a plurality of jacks arranged on the shell through a power cord; a monitoring and regulating circuit is arranged between the plug power line and the jack copper sheet in the shell; the monitoring and regulating circuit comprises: a control module; the input end of the power conversion module is connected with a plug power line, and the output end of the power conversion module is connected with the control module and supplies power for the monitoring and control circuit; the input end of the current detection module is connected with the jack copper sheet, and the output end of the current detection module is connected with the control module after passing through the A/D conversion module; the jack copper sheet is arranged between the control module and the jack copper sheet and is used for collecting the current of the electric equipment and transmitting the current value obtained by monitoring the current to the control module; the relay module is installed between the plug power line and the jack copper sheet, the signal input end of the relay module is connected with the output end of the control module, and the relay module is closed or disconnected through a signal sent by the control module, so that the purpose of controlling the power-off or power-on of electric equipment is achieved.

Description

Control method for timing switch intelligent socket
Technical Field
The invention relates to the technical field related to intelligent sockets, in particular to a control method for a timing switch intelligent socket.
Background
In the 80 th century, the origin of smart homes is 20 th, and with the appearance of a large number of electronic household appliances, the home automation concept is formed by integrating the independent functions of the household appliances, communication equipment, safety and disaster prevention equipment and the like. However, in order to achieve the intelligent effect, all the home appliances need to be in a power-on standby state. Such as: when the user needs to cook food before returning home, the user needs to switch on the power supply before going out, and the working time is only the set operation time, but the power supply switching-on time is all the time from the user going out to the user's home.
So, caused a large amount of electric energy by useless extravagant, simultaneously, intelligent electrical apparatus live time overlength also can have the risk of short circuit. This is contrary to the relevant policies of the country; recently, in order to save electric energy, avoid a large amount of waste of electric energy, and even issue a power limiting command to some regions, the country has developed a power limiting command.
Disclosure of Invention
In order to solve the technical problem that the household appliance or the office appliance wastes electric energy in the standby time, the invention provides a control method for a timing switch intelligent socket; the technical problem can be effectively solved.
The invention is realized by the following technical scheme:
a control method of a timing switch intelligent socket comprises a shell, wherein one end of the shell is connected with a plug through a power line, and a plurality of jacks are arranged on the shell; a monitoring and regulating circuit is arranged between the plug power line and the jack copper sheet in the shell; the monitoring and regulating circuit comprises:
the input end of the control module is connected with a clock module and a key adjusting module for presetting timing time, a standby current value and a dangerous current value, and the output end of the control module is connected with an OLED display module for displaying;
the input end of the power conversion module is connected with a plug power line, and the output end of the power conversion module is connected with the control module and supplies power for the monitoring and control circuit;
the input end of the current detection module is connected with the jack copper sheet, and the output end of the current detection module is connected with the control module after passing through the A/D conversion module; the jack copper sheet is arranged between the control module and the jack copper sheet and is used for collecting the current of the electric equipment and transmitting the current value obtained by monitoring the current to the control module;
the relay module is arranged between the plug power line and the jack copper sheet, the signal input end of the relay module is connected with the output end of the control module, and the relay module is switched on or switched off through a signal sent by the control module, so that the purpose of controlling the power-off or power-on of electric equipment is achieved;
the working process of the control module is as follows:
s1, after a socket is powered on, a controller is started to work;
s2, setting timing parameters and current parameters by a user through a key;
if the socket is fixed for a certain electric appliance, the current parameter only needs to be set when the socket is used for the first time; if the electric equipment is replaced in the middle, different current parameters need to be set according to the currents of different electric equipment;
similarly, if the time periods of each use of the electric equipment are the same, the set timing parameters only need to be set when the electric equipment is used for the first time; if the time period is changed to be used in the middle, different opening time and closing time need to be set according to different used time periods;
s3, after the parameters are set, the controller obtains the set parameters and the time parameters and simultaneously sends the set parameters and the time parameters to the display for displaying;
s4, after the control module obtains the time parameter, comparing the time parameter with the set time parameter, and judging whether the time parameter is within the set time parameter threshold value, if so, entering S5; if not, go to S8;
s5, the control module sends a signal to the relay module to control the relay to enter a closed state, and the socket is electrified; powering on the powered device;
s6, the control module collects current through the current collection module and compares the collected current with a set threshold value;
s7, judging whether the acquired current value is within a set current threshold value or not by the control module, if so, continuing to acquire the current, and keeping the socket in a normal working state; if not, go to S8;
s8, the control module sends a signal to the relay module to control the relay to be in a disconnected state, so that the socket is in a power-off state; and the system enters a dormant state, and the control module stops working.
Furthermore, the clock module adopts a DS1302 clock chip, the key adjusting module is provided with a key for setting the on-off time, and the power-on time and the off-time of the power socket can be set in advance through the cooperation of the DS1302 clock chip, the key, the control module and the relay module, so that the power utilization time of the electric equipment is controlled; the intelligent timing effect is achieved.
Furthermore, the key adjusting module is provided with keys for setting a standby current value and a dangerous current value, and the standby current value and the dangerous current value can be set in advance according to the current value of the electric equipment through the cooperation of the current detecting module, the keys, the control module and the relay module, so that the normal electric current value of the electric equipment is controlled; the effect of safety protection circuit is played.
Furthermore, the OLED display module is connected with the control module and is used for displaying data which is output by the control module and needs to be displayed; the display module can display a first display interface, a second display interface and a third display interface; the first display interface can display the current time, the current, the maximum threshold current and the minimum threshold current; the second display interface is a selection interface, and setting time and setting current can be selected on the selection interface; the third display interface is a setting interface, and enters the third interface of the setting time when the 'setting time' is selected on the second interface; and when the 'set current' is selected on the second interface, entering a third interface of the set current.
Further, after the power conversion module converts a 220V alternating current power supply into a 3.3V direct current power supply, the 3.3V direct current power supply is transmitted to the control module to supply power for the monitoring and control circuit.
Furthermore, the current detection module adopts an ACS712 chip, the A/D conversion module adopts a PCF8591 chip, the output end VIOUT of the ACS712 chip is connected with the input end AIN0 of the PCF8591 chip, and the output end of the PCF8591 chip is connected with the control module.
Further, the measuring range of the current detection module is 0-5A; the measurement precision can be 0.1A.
Furthermore, the side surface of the shell is provided with a through hole for installing the OLED display module and the key; the OLED display module and the keys are respectively arranged on the corresponding through holes on the side surface of the shell.
Advantageous effects
Compared with the prior art, the control method of the timing switch intelligent socket provided by the invention has the following beneficial effects:
(1) according to the technical scheme, through the cooperation of the DS1302 clock chip, the keys, the control module and the relay module, the power-on time and the power-off time of the power socket can be set in advance, so that the power utilization time of the electric equipment is controlled; the intelligent timing effect is achieved. Meanwhile, through the cooperation of the current detection module, the keys, the control module and the relay module, a standby current value and a dangerous current value can be set in advance according to the current value of the electric equipment, so that the normal electric current value of the electric equipment is controlled; the effect of safety protection circuit is played. The socket has a timing function and a safety protection function of automatically identifying current control power-on or power-off. In addition, the timing function and the protection current can be adjusted by the key module aiming at different electric equipment, and the standby current value and the dangerous current value are preset (can be modified by the key), so that the aim of double protection is fulfilled, the safety protection circuit is realized, and energy conservation and emission reduction can be achieved.
(2) The timing module in the technical scheme adopts a DS1302 clock chip, the selected DS1302 clock chip is more accurate than a built-in fixed counter of a single chip microcomputer, and meanwhile, the timing module has the advantages of low power consumption and the like of trickle current charging capability in a circuit, and on the basis of energy conservation and emission reduction, the energy-saving effect can be really achieved from a control source.
(3) The current detection module in the technical scheme adopts an ACS712 current detection chip and a PCF8591 chip of an A/D conversion module to form a current detection circuit. The current can be detected, and if the detected current value exceeds a set threshold value, the control module can control the electromagnetic relay to a normally open end to open the circuit.
Drawings
Fig. 1 and 2 are schematic external structures of the present invention.
Fig. 3 is a schematic block diagram of the internal circuitry of the present invention.
Fig. 4 is a schematic diagram of the specific circuit connection of the control module according to the present invention.
FIG. 5 is a schematic diagram of the operation of the control module of the present invention.
Fig. 6 is a schematic diagram of the specific circuit connection of the clock module according to the present invention.
FIG. 7 is a schematic diagram of a specific circuit connection of the key module of the present invention.
FIG. 8 is a schematic diagram of the specific circuit connections of the OLED display module of the present invention.
FIG. 9 is a schematic illustration of an interface annotation in accordance with the present invention.
Fig. 10 is a schematic diagram of a specific circuit connection of the current detection module according to the present invention.
Fig. 11 is a schematic diagram of a specific circuit connection of the relay module of the present invention.
Reference numbers in the drawings: 4-shell, 5-power line, 6-plug, 7-jack, 8-display screen, 9-key.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
As shown in fig. 1-2, a control method for a timing switch smart jack includes a housing 4, a plug 6 connected to one end of the housing 4 through a power line 5, and a plurality of jacks 7 disposed on the housing; in this embodiment, the structure of the jack 7 and the copper sheet in the jack 7 on the housing 4 is the same as that of the conventional socket.
A through hole for installing the OLED display module and the key is formed in the side face of the shell 7; the OLED display module and the keys are respectively arranged on the corresponding through holes on the side surface of the shell.
As shown in fig. 3, a monitoring and regulating circuit is arranged between the plug power line and the jack copper sheet in the shell; the monitoring and regulating circuit comprises:
the input end of the control module is connected with a clock module and a key adjusting module used for presetting timing time, a standby current value and a dangerous current value, and the output end of the control module is connected with an OLED display module used for displaying.
And the input end of the power conversion module is connected with a plug power line, and the output end of the power conversion module is connected with the control module to supply power for the monitoring regulation and control circuit. The power conversion module converts a 220V alternating current power supply into a 3.3V direct current power supply, and then transmits the 3.3V direct current power supply to the control module to supply power for the monitoring and regulating circuit. In this embodiment, the power conversion module is in a conventional manner, and will not be described repeatedly.
The input end of the current detection module is connected with the jack copper sheet, and the output end of the current detection module is connected with the control module after passing through the A/D conversion module; the current collection device is arranged between the control module and the jack copper sheet and is used for collecting current of electric equipment and transmitting a current value obtained by monitoring the current to the control module.
The relay module is installed between the plug power line and the jack copper sheet, the signal input end of the relay module is connected with the output end of the control module, and the relay module is closed or disconnected through a signal sent by the control module, so that the purpose of controlling the power-off or power-on of electric equipment is achieved.
As shown in fig. 4, the control module adopts STM32c6t6 chips of STM32 series as control chips, which cooperate with the clock module, the key adjustment module, the current detection module and the relay module to select and adjust the required functions, preset on-time, off-time, standby current value and dangerous current value (which can be modified by keys) through keys. The timing detection is realized, the current is collected and detected, the detected current value is compared with a preset threshold value, whether the detected value is within the threshold value or not is judged, and then a signal is sent to the electromagnetic relay through the controller, so that the on-off of the circuit is controlled. So that the control chip regulates and controls the whole situation.
As shown in fig. 5, the control module works as follows:
s1, after a socket is powered on, a controller is started to work;
s2, setting timing parameters and current parameters by a user through a key;
if the socket is fixed for a certain electric appliance, the current parameter only needs to be set when the socket is used for the first time; if the electric equipment is replaced in the middle, different current parameters need to be set according to the currents of different electric equipment;
similarly, if the time periods of each use of the electric equipment are the same, the set timing parameters only need to be set when the electric equipment is used for the first time; if the time period is changed to be used in the middle, different opening time and closing time need to be set according to different used time periods;
s3, after the parameters are set, the controller obtains the set parameters and the time parameters and simultaneously sends the set parameters and the time parameters to the display for displaying;
s4, after the control module obtains the time parameter, comparing the time parameter with the set time parameter, and judging whether the time parameter is within the set time parameter threshold value, if so, entering S5; if not, go to S8;
s5, the control module sends a signal to the relay module to control the relay to enter a closed state, and the socket is electrified; powering on the powered device;
s6, the control module collects current through the current collection module and compares the collected current with a set threshold value;
s7, judging whether the acquired current value is within a set current threshold value or not by the control module, if so, continuing to acquire the current, and keeping the socket in a normal working state; if not, go to S8;
s8, the control module sends a signal to the relay module to control the relay to be in a disconnected state, so that the socket is in a power-off state; and the system enters a dormant state, and the control module stops working.
As shown in fig. 6, the clock module adopts a DS1302 clock chip, the key adjustment module is provided with a key for setting on or off time, and the power-on time and the power-off time of the power socket can be set in advance by matching the DS1302 clock chip, the key, the control module and the relay module, so as to control the power consumption time of the electric equipment; the intelligent timing effect is achieved. Or, the effect of controlling the charging time of the mobile phone or the electric vehicle and other devices needing charging can be achieved by setting the closing time.
The selected DS1302 is more accurate than a fixed counter built in a single chip microcomputer, and meanwhile, the advantages of low power consumption and the like of trickle current charging capacity exist in a circuit, and on the basis of energy conservation and emission reduction, the energy-saving effect can be really achieved from a control source. The electromagnetic relay has excellent temperature and pressure resistance, and has outstanding practicability in a household socket.
The key adjusting module is provided with keys for setting a standby current value and a dangerous current value, and the standby current value and the dangerous current value can be set in advance according to the current value of the electric equipment through the cooperation of the current detecting module, the keys, the control module and the relay module, so that the normal electric current value of the electric equipment is controlled; the effect of safety protection circuit is played.
As shown in fig. 7, the key adjusting module is provided with 4 keys, which are a number 1 key, a number 2 key, a number 3 key and a number 4 key. Wherein, the bond No. 1: the function key is used for selecting the functions of timing and setting the current detection value, and summarizing and controlling the numerical value to increase during the adjustment of time and current; bond No. 2: for controlling the decrease of time and current values, and the confirmation of option 2; bond No. 3: confirmation for option 3; bond No. 4: the short press can control the information of the display screen, and the long press (under the data input interface) can confirm the input of the numerical value.
As shown in fig. 8, the OLED display module is connected to the control module and is configured to display data that is output by the control module and needs to be displayed.
As shown in fig. 9, the display module can display a first display interface, a second display interface and a third display interface; the first display interface can display the current time, the current, the maximum threshold current and the minimum threshold current; the second display interface is a selection interface, and setting time and setting current can be selected on the selection interface; the third display interface is a setting interface, and enters the third interface of the setting time when the 'setting time' is selected on the second interface; and when the 'set current' is selected on the second interface, entering a third interface of the set current.
As shown in fig. 10, the current detection module employs an ACS712 chip, the a/D conversion module employs a PCF8591 chip, an output terminal VIOUT of the ACS712 chip is connected to an input terminal AIN0 of the PCF8591 chip, and an output terminal of the PCF8591 chip is connected to the control module.
The measuring range of the current detection module is 0-5A; the measurement precision can be 0.1A.
Since the voltage of the home appliance is constant at 220v, no voltage setting is made. In this embodiment, a current preset maximum threshold is set: 1.5A, current preset minimum threshold: 0.3A. If the current value is higher than 1.5A or the current value of the circuit is less than 0.3A, the electromagnetic relay reaches the normally-opened end, and the circuit is disconnected.
As shown in FIG. 11, the relay module is an SRD-05VDC-SL-C chip, and a signal input end PB1 of the relay module is connected with a signal output end of the control module.
In this embodiment, the specific operation modes of setting the on-time, the off-time, the maximum current value and the minimum current value by using the keys are as follows:
a1, in the case of the main interface (interface 0), displaying the current time, the current, the maximum threshold current, and the minimum threshold current on the display screen.
A2, in the case of the main interface (interface 0), key 1 and key 4 have practical significance. Under the condition of displaying the main interface (interface 0), the screen-turning effect can be realized by pressing the key 4 for a short time, so that the consumption of electric energy can be reduced, the energy-saving effect is achieved, and meanwhile. And when the key 4 is pressed for a short time in the screen state, the screen can be lightened, and the main interface is displayed. In the case of displaying the main interface, the key 1 is defined as a function key, and the interface (interface 1-1) for selecting time and current can be accessed by pressing the key 1 for a short time.
A3, in the case of display (interface 1-1), the keys 1, 2, 4 have practical significance. When the key 1 is pressed for a short time (interface 1-1), a modification interface (interface 2-1) of the current time, the opening time and the closing time can be accessed; when the key 2 is pressed for a short time (interface 1-1), a modification interface (interface 2-2) of the maximum threshold current and the minimum threshold current can be entered; in (interface 1-1) the short-press button 4 can be returned to the upper interface (interface 0)
A4, in the case of display (interface 2-1), the keys 1, 2, 3, 4 have practical significance. Under the condition of (interface 2-1), the key 1 is pressed for a short time, and a modification interface (interface 3-1) of the current time can be entered; under the condition of (interface 2-1), the modification interface (interface 3-2) of the opening time can be entered by pressing the key 2 for a short time; in the case of (interface 2-1), the modification interface (interface 3-3) of the closing time can be entered by pressing the key 3 for a short time; in the case of (interface 2-1), a short press of the key 4 can retract the upper display interface (interface 1-1).
A5, in the case of the display (interface 2-2), the keys 1, 2, 4 have a practical meaning. Under the condition of (interface 2-2), the modification interface (interface 3-4) with the maximum threshold voltage can be entered by pressing the key 1 for a short time; in the case of (interface 2-2), by pressing the key 2 for a short time, the modification interface (interface 3-5) of the minimum threshold voltage can be entered; in the case of (interface 2-2), a short press of key 4 can retract the upper interface (interface 1-1).
A6, in the case of (interface 3-1), (interface 3-2), and (interface 3-3), keys 1, 2, 3, 4 have practical significance. In the above interface case, the time is 1 second for the selected time (time or minute). Under the above conditions, the key 1 is pressed for a short time, and 1 is added to the corresponding selected position value in the range (corresponding to the time specification); under the above conditions, the key 2 is pressed for a short time, and the corresponding selected position value is subtracted by 1 within the range (corresponding to the time specification); under the above conditions, the selection switching between the current position and the branch position can be realized by pressing the key 3 for a short time; in the above case, by pressing the key 4 for a short time, the upper interface (interface 2-1) can be retracted.
A7, in the case of (interface 3-4), (interface 3-5), the keys 1, 2, 3, 4 have practical significance. In the above interface case, the selected positions (ten, 0.1, 0.01) are flashed for one second. Under the above interface, pressing the key 1 for a short time, adding 1 to the corresponding selected numerical value within the range (0.01-4.50A); under the above interface, the key 2 is pressed for a short time, and the corresponding selected numerical value is reduced by 1 within the range (0.01-4.50A); under the above interface, the selection median can be switched among ten digits, 0.1 digit and 0.01 digit by pressing the key 3 for a short time; in the above case, by pressing the key 4 for a short time, the upper interface (interface 2-2) can be retracted.
A8, under the conditions of (interface 3-1), (interface 3-2), (interface 3-3), (interface 3-4) and (interface 3-5), the key 4 is pressed for more than 2 seconds, the confirmation of the modified corresponding numerical value can be realized, otherwise, the data is not confirmed.
The socket has the following specific functions:
1. detecting a current currently passing through the socket in real time;
2. when the detected current value is larger than the set maximum threshold current, the power is automatically cut off;
3. when the detected current value is smaller than the set minimum threshold current, the power is automatically cut off;
4. displaying the current time;
5. when the set starting time is reached, the socket is automatically powered;
6. when the set closing time is reached, the socket is automatically powered off;
7. the display screen displays corresponding information;
8. when the operation is not performed for 5 seconds on the main interface, the screen is automatically turned off, and the electric energy is saved.

Claims (8)

1.一种定时开关智能插座的控制方法,所述的智能插座包括:外壳,外壳的一端通过电源线连接有插头,以及设置在外壳上的多个插孔;其特征在于:在外壳内,所述的插头电源线与插孔铜片之间设置有监测调控电路;所述的监测调控电路包括:1. A control method for a timing switch smart socket, the smart socket comprising: a casing, one end of the casing is connected with a plug through a power cord, and a plurality of jacks arranged on the casing; it is characterized in that: in the casing, A monitoring and regulating circuit is arranged between the plug power cord and the jack copper sheet; the monitoring and regulating circuit includes: 一控制模块,输入端连接有时钟模块,和用于预设定时时间、待机电流值和危险电流值的按键调节模块,输出端连接有用于显示的OLED显示模块;a control module, the input end is connected with a clock module, and a button adjustment module for preset timing time, standby current value and dangerous current value, and the output end is connected with an OLED display module for display; 电源转换模块,输入端与插头电源线连接,输出端与控制模块连接,为监测调控电路进行供电;The power conversion module, the input end is connected with the plug power line, and the output end is connected with the control module, to supply power for the monitoring and regulating circuit; 电流检测模块,输入端与插孔铜片连接,输出端通过A/D转换模块后与控制模块连接;设置在控制模块与插孔铜片之间用于采集用电设备电流,并将其监测得到的电流值传送给控制模块;Current detection module, the input end is connected to the jack copper sheet, and the output end is connected to the control module after passing through the A/D conversion module; it is arranged between the control module and the jack copper sheet to collect the current of the electrical equipment and monitor it The obtained current value is sent to the control module; 继电器模块,安装在插头电源线与插孔铜片之间,其信号输入端与控制模块的输出端连接,通过控制模块发出的信号闭合或断开,从而达到控制用电设备断电或通电的目的;The relay module is installed between the plug power line and the jack copper sheet, and its signal input end is connected to the output end of the control module, and the signal sent by the control module is closed or disconnected, so as to control the power-off or power-on of the electrical equipment. Purpose; 控制模块的工作过程如下:The working process of the control module is as follows: S1.插座在接通电源后,控制器开启,进行工作;S1. After the socket is connected to the power supply, the controller is turned on to work; S2.用户通过按键设定定时参数和电流参数;S2. The user sets the timing parameters and current parameters through the keys; 若该插座是固定的给某个电器使用的,那电流参数则只需要在首次使用时进行设定即可;若是中间更换用电设备,那则需要根据不同用电设备的电流进行设定不同的电流参数;If the socket is fixed for a certain electrical appliance, the current parameters only need to be set at the first use; if the electrical equipment is replaced in the middle, it needs to be set differently according to the current of different electrical equipment the current parameter; 同样的,若该用电设备每次使用的时间段都是一样的,那设定的定时参数只需要在首次使用时进行设定即可;若是中间更换使用的时间段,则需要根据不同使用的时间段进行设定不同的开启时间和关闭时间;Similarly, if the time period of each use of the electrical equipment is the same, the set timing parameters only need to be set when it is used for the first time; if the time period of use is replaced in the middle, it needs to be used according to different Set different opening time and closing time in different time periods; S3.设定好参数后,控制器获取设定的参数和时间参数,并同时将设定的参数和时间参数发送至显示器进行显示;S3. After setting the parameters, the controller obtains the set parameters and time parameters, and sends the set parameters and time parameters to the display for display at the same time; S4.控制模块在获取时间参数后,将时间参数与设定的时间参数进行对比,看时间参数是否在设定的时间参数阈值内,若在,则进入S5;若否,则进入S8;S4. After obtaining the time parameter, the control module compares the time parameter with the set time parameter to see if the time parameter is within the set time parameter threshold, if so, enter S5; if not, enter S8; S5.控制模块发送信号至继电器模块,控制继电器进入闭合状态,插座通电;使得用电设备通电;S5. The control module sends a signal to the relay module to control the relay to enter the closed state, and the socket is energized; the electrical equipment is energized; S6.控制模块通过电流采集模块采集电流,并将采集的电流与设定的阈值进行比较;S6. The control module collects the current through the current collection module, and compares the collected current with the set threshold; S7.控制模块判断采集的电流值是否在设定的电流阈值内,若在,则继续采集电流,插座处于正常工作状态;若否,则进入S8;S7. The control module judges whether the collected current value is within the set current threshold, and if so, continues to collect current, and the socket is in normal working state; if not, then enters S8; S8.控制模块则发送信号至继电器模块,控制继电器处于断开的状态,使得插座处于断电状态;系统进入休眠状态,控制模块停止工作。S8. The control module sends a signal to the relay module, and the control relay is in a disconnected state, so that the socket is in a power-off state; the system enters a sleep state, and the control module stops working. 2.根据权利要求1所述的一种定时开关智能插座的控制方法,其特征在于:所述的时钟模块采用DS1302时钟芯片,所述的按键调节模块设置有用于设定开启或关闭时间的按键。2. The control method of a timer switch smart socket according to claim 1, wherein the clock module adopts a DS1302 clock chip, and the button adjustment module is provided with a button for setting the on or off time . 3.根据权利要求1所述的一种定时开关智能插座的控制方法,其特征在于:所述的按键调节模块设置有用于设定待机电流值和危险电流值的按键。3 . The method for controlling a timing switch smart socket according to claim 1 , wherein the button adjustment module is provided with buttons for setting the standby current value and the dangerous current value. 4 . 4.根据权利要求1所述的一种定时开关智能插座的控制方法,其特征在于:所述的OLED显示模块与控制模块连接,用于显示控制模块输出的需要显示的数据;所述的显示模块能显示第一显示界面,第二显示界面和第三显示界面;所述的第一显示界面可显示当前时间、当前电流、最大阈值电流和最小阈值电流;所述的第二显示界面为选择界面,在选择界面上可选择“设置时间”和“设置电流”;所述的第三显示界面为设定界面,在第二界面上选择“设置时间”时,则进入设定时间的第三界面;在第二界面上选择“设置电流”时,则进入设定电流的第三界面。4 . The method for controlling a timer switch smart socket according to claim 1 , wherein the OLED display module is connected to the control module, and is used to display the data output by the control module that needs to be displayed; the display The module can display the first display interface, the second display interface and the third display interface; the first display interface can display the current time, current current, maximum threshold current and minimum threshold current; the second display interface is for selection interface, you can choose "set time" and "set current" on the selection interface; the third display interface is the setting interface, and when you select "set time" on the second interface, it will enter the third interface of setting time. interface; when you select "set current" on the second interface, you will enter the third interface for setting current. 5.根据权利要求1所述的一种定时开关智能插座的控制方法,其特征在于:所述的电源转换模块将220V的交流电源转换成3.3V的直流电源后,将3.3V的直流电源输送至控制模块,为监测调控电路进行供电。5. The method for controlling a timing switch smart socket according to claim 1, wherein the power conversion module converts the 220V AC power into 3.3V DC power, and then transmits the 3.3V DC power to the control module to supply power to the monitoring and control circuit. 6.根据权利要求1所述的一种定时开关智能插座的控制方法,其特征在于:所述的电流检测模块采用ACS712芯片,所述的A/D转换模块采用PCF8591芯片,所述ACS712芯片的输出端VIOUT与PCF8591芯片的输入端AIN0连接,PCF8591芯片的输出端与控制模块连接。6. The method for controlling a timer switch smart socket according to claim 1, wherein the current detection module adopts an ACS712 chip, the A/D conversion module adopts a PCF8591 chip, and the ACS712 chip The output terminal VIOUT is connected with the input terminal AIN0 of the PCF8591 chip, and the output terminal of the PCF8591 chip is connected with the control module. 7.根据权利要求1或6所述的一种定时开关智能插座的控制方法,其特征在于:所述的电流检测模块的测量范围在0-5A;测量精度可实现0.1A。7 . The method for controlling a timing switch smart socket according to claim 1 or 6 , wherein the measurement range of the current detection module is 0-5A, and the measurement accuracy can achieve 0.1A. 8 . 8.根据权利要求1所述的一种定时开关智能插座的控制方法,其特征在于:所述的外壳的侧面设置有用于安装OLED显示模块和按键的通孔;所述的OLED显示模块和按键分别安装在外壳侧面相对应的通孔上。8 . The method for controlling a timer switch smart socket according to claim 1 , wherein: the side of the casing is provided with through holes for installing the OLED display module and the button; the OLED display module and the button are provided with through holes; They are respectively installed on the corresponding through holes on the side of the housing.
CN202111235237.4A 2021-10-22 2021-10-22 Control method for timing switch intelligent socket Pending CN114094398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111235237.4A CN114094398A (en) 2021-10-22 2021-10-22 Control method for timing switch intelligent socket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111235237.4A CN114094398A (en) 2021-10-22 2021-10-22 Control method for timing switch intelligent socket

Publications (1)

Publication Number Publication Date
CN114094398A true CN114094398A (en) 2022-02-25

Family

ID=80297787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111235237.4A Pending CN114094398A (en) 2021-10-22 2021-10-22 Control method for timing switch intelligent socket

Country Status (1)

Country Link
CN (1) CN114094398A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104269697A (en) * 2014-09-28 2015-01-07 无锡昊瑜节能环保设备有限公司 Energy-saving power socket control system
CN105914534A (en) * 2016-05-24 2016-08-31 塔里木大学 Energy-saving intelligent socket
CN205985596U (en) * 2016-07-13 2017-02-22 东莞市精崧五金电子有限公司 An intelligent power-saving socket based on infrared remote control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104269697A (en) * 2014-09-28 2015-01-07 无锡昊瑜节能环保设备有限公司 Energy-saving power socket control system
CN105914534A (en) * 2016-05-24 2016-08-31 塔里木大学 Energy-saving intelligent socket
CN205985596U (en) * 2016-07-13 2017-02-22 东莞市精崧五金电子有限公司 An intelligent power-saving socket based on infrared remote control

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘诗涵;齐胜男;王全山;: "基于蓝牙技术的智能插座设计", 中国科技信息, no. 10, 11 May 2018 (2018-05-11) *

Similar Documents

Publication Publication Date Title
CN201340528Y (en) Zero-power time-limited standby control circuit of household appliances
TWI419431B (en) Power management socket architecture
CN100499284C (en) A multifunctional socket for saving electric power and a control method employing the same
WO2011030206A2 (en) Electrical power management device
CN108063349A (en) Intelligent socket and intelligent socket control system
CN204597184U (en) A kind of intelligent wireless controls socket
CN102662386A (en) Intelligent short message temperature switch with switchable control mode
CN105305526A (en) current detection and management device
CN204088777U (en) A kind of household electricity monitoring intelligent socket
CN114094398A (en) Control method for timing switch intelligent socket
CN104216309B (en) A kind of devices and methods therefor with intelligent standby power on/off function
CN216529679U (en) Timing switch intelligent socket
CN204720712U (en) Control circuit of intelligent power strip and intelligent power strip
CN203722007U (en) Energy-saving safety socket
CN109441791B (en) An intelligent control system and method for dual-pump joint control of water injection in a water injection station
CN208241001U (en) A kind of power consumption control system based on Intelligent extension socket
CN208190625U (en) The control system of electric appliance and touch key-press
CN110545587A (en) Temperature controller with intelligent voice music function and ECO energy saving function
CN207200280U (en) A kind of home intelligent power terminal complete set of equipments
CN216714675U (en) Water pump water supply control switch and water supply control system
CN214757623U (en) Ultrathin electronic box
CN213023412U (en) Power supply control system for kitchen and bathroom electric appliance
CN207625282U (en) A kind of Household electricity leakage protection device
CN220190655U (en) Energy-saving and safe power adapter
CN221446513U (en) Integrated intelligent hot runner direct-source temperature controller

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