WO2022193333A1 - Timer socket and timed on/off setting method thereof - Google Patents

Timer socket and timed on/off setting method thereof Download PDF

Info

Publication number
WO2022193333A1
WO2022193333A1 PCT/CN2021/082223 CN2021082223W WO2022193333A1 WO 2022193333 A1 WO2022193333 A1 WO 2022193333A1 CN 2021082223 W CN2021082223 W CN 2021082223W WO 2022193333 A1 WO2022193333 A1 WO 2022193333A1
Authority
WO
WIPO (PCT)
Prior art keywords
timing
controller
switch
socket
timing socket
Prior art date
Application number
PCT/CN2021/082223
Other languages
French (fr)
Chinese (zh)
Inventor
白永超
黄伟佳
王鹏
Original Assignee
郑州迪云网络科技有限公司
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 郑州迪云网络科技有限公司 filed Critical 郑州迪云网络科技有限公司
Publication of WO2022193333A1 publication Critical patent/WO2022193333A1/en

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
    • H01R13/70Structural association with built-in electrical component with built-in switch
    • 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/665Structural association with built-in electrical component with built-in electronic circuit
    • 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/717Structural association with built-in electrical component with built-in light source
    • H01R13/7175Light emitting diodes (LEDs)

Definitions

  • the invention relates to the technical field of timing sockets, in particular to a timing socket and a timing on/off setting method thereof.
  • the electronic timing socket is a socket product controlled by a chip that can be set to automatically turn on and off the power supply at a specific time period.
  • the main components include trigger sockets, relays, relay control circuits, and timing circuits.
  • the casing is also equipped with a display and timer setting buttons. When the socket needs to be used for a certain period of time, the timing can be set through the display screen and the timing setting button. When the time is up, the relay control circuit will receive a control signal to turn the socket circuit on or off.
  • the electronic timing socket has accurate travel time, low failure rate, sensitive action and rich functions.
  • the present invention provides a timing socket, comprising: a controller, at least one DIP switch, a micro switch, a display module, a relay and an LED indicator; wherein the core components are the DIP switch and the controller;
  • the controller is used to detect the state of the DIP switch and make a logical judgment to complete the timing socket on-off control
  • the DIP switch is used to control the working mode of the timing socket and the time period of timing on/off;
  • the relay is a device that adjusts the power on and off according to the control signal
  • the DIP switch further includes a mode selection key, which is used to select the working mode of the timing socket.
  • the timing socket includes two working modes: manual mode and timing mode.
  • the timing socket also includes a circuit board and a housing; the controller, the DIP switch, the micro switch, the manual switch, the display module, the relay, the LED indicator light, the external power supply/backup battery, the control circuit, the interface Both the circuit and the power supply circuit are arranged on the circuit board, and the circuit board is arranged in the casing.
  • the DIP switch (also called a DIP switch, a toggle switch, an overclocking switch, an address switch, a toggle switch, a digital switch, a DIP switch) is an address switch used for operation control, using 0/1
  • step S1 it also includes step S01: setting the current time of the timing socket, the set current time of the timing socket is sent to the controller and stored; the controller drives the display module to display the time value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Keying Circuit Devices (AREA)
  • Electric Clocks (AREA)

Abstract

Disclosed in the present invention are a timer socket and a timed on/off setting method thereof. Core components of the timer socket are a dial switch and a controller. The setting method mainly comprises that: the controller obtains the state of the dial switch and compares the state with the current time; if the state of the dial switch corresponding to the current time is on, a relay is turned on and an LED indicator is turned on by means of the control circuit, otherwise, the relay is turned off and the LED indicator lamp is turned off. Compared with the prior art, the present invention has advantages of no running noise, simple structure, accurate time and low failure rate, and an automated electronic product production device effectively improves the automation level and production efficiency of production. By using a mode of directly and physically configuring a switch and an electronic controller, a human-computer interaction interface is simple and intuitive, a timing operation process is clear, and the learning difficulty of usage of the product is reduced.

Description

一种定时插座及其定时开/关设置方法A timing socket and its timing on/off setting method 技术领域technical field
本发明涉及定时插座技术领域,尤其是涉及一种定时插座及其定时开/关设置方法。The invention relates to the technical field of timing sockets, in particular to a timing socket and a timing on/off setting method thereof.
背景技术Background technique
定时插座是顺应人们的日常生活的方便而研发出来的一款控制电源输出通断的装置。其常见设计是在插座外壳上布置有插头(外部电源输入口)、插孔(电源输出口),在电源输入口和输出口之间连接定时开/关装置。定时开/关装置包含定时装置、计时装置、开关及其触发装置,以及各部分之间的机械和电器连接结构。通过定时开/关装置控制电源的定时通断,插座可以按照设定时间为连接在其上的用电器提供电源。定时插座一般分为机械式定时插座和电子型定时插座。The timing socket is a device developed to meet the convenience of people's daily life to control the output of the power supply. Its common design is that a plug (external power input port) and a jack (power output port) are arranged on the socket shell, and a timing on/off device is connected between the power input port and the output port. The timing on/off device includes a timing device, a timing device, a switch and its triggering device, as well as a mechanical and electrical connection structure between each part. The timing on/off of the power supply is controlled by the timing on/off device, and the socket can provide power to the electrical appliances connected to it according to the set time. Timing sockets are generally divided into mechanical timing sockets and electronic timing sockets.
机械式定时插座的设计是利用钟表的齿轮机构计时原理,结合连杆触发机构控制开关实现电源的定时通断,它以电磁力作为动力源,目前生产的厂家较多。机械定时插座一般由三个部分组成,第一部分是时间设定机构,通常由若干个滑片安装在带有齿轮的基座上组成一个表盘,每个滑片代表固定的时长,所有滑片代表的时长之和是24小时,滑片的按下或抬起代表了此时间段内是开或关,用此种方式实现在某段时间内的开关状态设置。第二部分是动力和计时装置,一般由一个电磁感应线圈、安装了磁极的初级齿轮、减速齿轮系组成,当定时插座通电后初级齿轮在电磁感应线圈产生的电磁力作用下开始按照固定的速度转动,初级齿轮带动减速齿轮系逐级传递动力并降低转速,轮系的最后一个齿轮与表盘啮合,拖动表盘按照固定的速度缓慢转动实现表盘走时,可见此种定时插座的走时和计时是由机械齿轮系完成的。第三部分是开关触发机构,通常由一个杠杆和一个按动开关组成。杠杆的一端(A)贴近表盘的滑片,另一端(B)贴近按动开关的按键,表盘转动时,当某个按下的滑片转动到杠杆A端时,杠杆A端被滑片顶起,杠杆B端即压下按动开关的按键,此时开关导通, 插座可以输出电源,反之,当某个抬起的滑片转动到杠杆A端时,杠杆A端不受顶起的力,与杠杆B端贴合的按动开关的按键弹起,此时开关断开,插座没有输出电源。机械式定时插座结构精密,故障率低,动作灵敏,操作简单,定时设置直观,但受限于动力和计时装置的物理特性,走时不准,累积误差较大,且在走时过程中发出齿轮啮合噪音。The design of the mechanical timing socket is based on the timing principle of the gear mechanism of the clock, combined with the connecting rod trigger mechanism to control the switch to realize the timing on-off of the power supply. It uses the electromagnetic force as the power source, and there are many manufacturers currently producing it. The mechanical timing socket is generally composed of three parts. The first part is the time setting mechanism, which usually consists of several sliders mounted on a base with gears to form a dial. Each slider represents a fixed time duration, and all sliders represent The sum of the duration is 24 hours, and the pressing or lifting of the slider represents whether it is on or off during this period of time. In this way, the switch state setting within a certain period of time is realized. The second part is the power and timing device, which generally consists of an electromagnetic induction coil, a primary gear with magnetic poles installed, and a reduction gear train. When the timing socket is energized, the primary gear starts to follow a fixed speed under the action of the electromagnetic force generated by the electromagnetic induction coil. Rotation, the primary gear drives the reduction gear train to transmit power step by step and reduce the speed, the last gear of the gear train meshes with the dial, drag the dial to rotate slowly at a fixed speed to realize the dial travel time, it can be seen that the travel time and timing of this timing socket are determined by The mechanical gear train is completed. The third part is the switch trigger mechanism, which usually consists of a lever and a push switch. One end (A) of the lever is close to the slider of the dial, and the other end (B) is close to the button of the push switch. When the dial rotates, when a pressed slider rotates to end A of the lever, the end A of the lever is pushed by the slider. Start, the lever B side presses the button that presses the switch, the switch is turned on at this time, and the socket can output power. On the contrary, when a lifted slider rotates to the lever A side, the lever A side is not lifted up. force, the button of the push switch attached to the B end of the lever bounces up. At this time, the switch is disconnected and the socket has no output power. The mechanical timing socket has precise structure, low failure rate, sensitive action, simple operation, and intuitive timing setting, but limited by the physical characteristics of the power and timing device, the running time is inaccurate, the accumulated error is large, and the gear meshing occurs during the running process. noise.
电子型定时插座是一个使用芯片控制的可以设置在特定的时间段自动通、断电源的插座产品,主要的组成部分包括触发插座、继电器、继电器控制电路、定时电路。外壳上是除了插孔外,还有显示屏和定时设置按钮。当需要在某个时间段使用插座时,可以通过显示屏和定时设置按钮设置好定时的时间,当时间到了,继电器控制电路会收到一个控制信号,使插座电路导通或关断。电子型定时插座走时精确,故障率低,动作灵敏,功能丰富。The electronic timing socket is a socket product controlled by a chip that can be set to automatically turn on and off the power supply at a specific time period. The main components include trigger sockets, relays, relay control circuits, and timing circuits. In addition to the jack, the casing is also equipped with a display and timer setting buttons. When the socket needs to be used for a certain period of time, the timing can be set through the display screen and the timing setting button. When the time is up, the relay control circuit will receive a control signal to turn the socket circuit on or off. The electronic timing socket has accurate travel time, low failure rate, sensitive action and rich functions.
电子型定时插座的定时设置程序一般如下:The timing setting procedure of the electronic timing socket is generally as follows:
1按“设定”键,即可进入定时模式设置,屏幕上显示“1 ON”,表示当前是设置第一组“ON”的时间。1 Press the "SET" button to enter the timing mode setting, and "1 ON" is displayed on the screen, indicating that the current time is to set the first group of "ON".
2按“小时”、“分钟”和“星期”,即第一组“定时开”开始工作的时间。其中,按“星期”键,可选择不同星期组合模式,可根据需求,定时插座只在设定的星期数中工作。2 Press "hour", "minute" and "week", that is the time when the first group of "timer on" starts to work. Among them, press the "week" key to select different week combination modes, and according to the needs, the timing socket only works in the set number of weeks.
3再按“设定”键,屏幕上显示“1 OFF”,即第一组“定时关”触发的时间,时间设置参考“1 ON”设置方法。依次类推,可设置多组开与关。3 Press the "Set" button again, and the screen displays "1 OFF", which is the time when the first group of "Timer OFF" is triggered. The time setting refers to the "1 ON" setting method. By analogy, multiple groups of on and off can be set.
4设置完成后按“时钟”键返回当前时间。4 Press the "Clock" key to return to the current time after the setting is completed.
注:1)如果每天不需要已设定的多组全部工作,通常需要逐一调整时间设置或清除设置。Note: 1) If you don't need all the set tasks every day, you usually need to adjust the time settings or clear the settings one by one.
2)如因多组设定的时间之间有冲突而发生通断输出与预期不符时,需要仔细检查每组时间设置才能发现并排除。2) If the on-off output does not meet the expectations due to the conflict between the set times of multiple groups, it is necessary to carefully check the time settings of each group to find and eliminate them.
从上述的定时设置程序可以看出,电子型定时插座的缺点是定时设置操作复杂繁琐,不能直观显示设置好的定时状态,不便于理解。It can be seen from the above-mentioned timing setting procedure that the disadvantage of the electronic timing socket is that the timing setting operation is complicated and cumbersome, the set timing state cannot be visually displayed, and it is inconvenient to understand.
发明内容SUMMARY OF THE INVENTION
有鉴于此,有必要针对上述的问题,提供一种定时插座及其定时开/关设置方法,通过控制拨码开关,采用直观的物理设置开关加电子控制器的方式来控制插座的定时开/关,操作简单直观、显示一目了然。In view of this, it is necessary to provide a timing socket and its timing on/off setting method in view of the above-mentioned problems. By controlling the dial switch, an intuitive physical setting switch and an electronic controller are used to control the timing on/off of the socket. Off, the operation is simple and intuitive, and the display is clear at a glance.
为实现上述目的,本发明是根据以下技术方案实现的:To achieve the above object, the present invention is realized according to the following technical solutions:
一方面,本发明提供一种定时插座,包括:控制器、至少一个拨码开关、微动开关、显示模块、继电器和LED指示灯;其中,核心部件为拨码开关和控制器;In one aspect, the present invention provides a timing socket, comprising: a controller, at least one DIP switch, a micro switch, a display module, a relay and an LED indicator; wherein the core components are the DIP switch and the controller;
所述控制器通过控制电路与继电器和LED指示灯进行电连接;所述拨码开关通过接口电路与控制器进行电连接;所述微动开关和显示模块直接与控制器进行电连接;The controller is electrically connected to the relay and the LED indicator through a control circuit; the dial switch is electrically connected to the controller through an interface circuit; the micro switch and the display module are directly electrically connected to the controller;
所述控制器用于检测拨码开关的状态并进行逻辑判断,完成定时插座通断控制;The controller is used to detect the state of the DIP switch and make a logical judgment to complete the timing socket on-off control;
所述拨码开关用于控制定时插座的工作模式以及定时开/关的时间段;The DIP switch is used to control the working mode of the timing socket and the time period of timing on/off;
所述微动开关用于调整定时插座当前时间;The micro switch is used to adjust the current time of the timing socket;
所述显示模块用于显示定时插座当前时间;The display module is used to display the current time of the timing socket;
所述继电器为根据控制信号调节电源通断的器件;The relay is a device that adjusts the power on and off according to the control signal;
所述LED指示灯用于表征定时插座的导通和断开。The LED indicator is used to characterize the turn-on and turn-off of the timing socket.
进一步地,所述定时插座还包括电源电路、外部电源/备用电池;所述外部电源/备用电池通过电源电路与控制器电连接,用于给定时插座供电。Further, the timing socket further includes a power supply circuit and an external power supply/backup battery; the external power supply/backup battery is electrically connected to the controller through the power supply circuit for supplying power to the timing socket.
进一步地,所述拨码开关还包括模式选择键,用于进行定时插座的工作模式选择。所述定时插座包括手动模式和定时模式两种工作模式。Further, the DIP switch further includes a mode selection key, which is used to select the working mode of the timing socket. The timing socket includes two working modes: manual mode and timing mode.
进一步地,所述定时插座还包括手动开关,所述手动开关直接与控制器进行电连接,所述手动开关用于在手动模式下手动控制继电器和LED指示灯的导通和断开。Further, the timing socket further includes a manual switch, the manual switch is directly electrically connected to the controller, and the manual switch is used to manually control the on and off of the relay and the LED indicator light in the manual mode.
进一步地,所述定时插座还包括电路板和壳体;所述控制器、拨码开关、微动开关、手动开关、显示模块、继电器、LED指示灯、外部电源/备用电池、控制电路、接口电路和电源电路均设置于电路板上,所述电路板设置于壳体中。Further, the timing socket also includes a circuit board and a housing; the controller, the DIP switch, the micro switch, the manual switch, the display module, the relay, the LED indicator light, the external power supply/backup battery, the control circuit, the interface Both the circuit and the power supply circuit are arranged on the circuit board, and the circuit board is arranged in the casing.
进一步地,所述拨码开关为一位、两位、三位或者多位开关。Further, the DIP switch is a one-digit, two-digit, three-digit or multi-digit switch.
进一步地,所述拨码开关(也叫DIP开关,拨动开关,超频开关,地址开关,拨拉开关,数码开关,指拨开关)是一款用来操作控制的地址开关,采用的是0/1(关/开)的二进制编码原理,即每一位拨码开关均有关、开两个状态分别代表二进制数字编码技术的0、1,多位拨码开关组合使用,形成一串0、1的排列组合即二进制编码,用于表征数据信息。Further, the DIP switch (also called a DIP switch, a toggle switch, an overclocking switch, an address switch, a toggle switch, a digital switch, a DIP switch) is an address switch used for operation control, using 0/1 The principle of binary coding (off/on), that is, each DIP switch is related, and the two states of ON respectively represent 0 and 1 of the binary digital coding technology. Permutation and combination are binary codes, which are used to represent data information.
进一步地,所述拨码开关安装在定时插座的电路板上,他们的数据输出通过接口电路变换后传输给控制器,由控制器(如单片机、ARM等)进行处理(如ADC转换采样或直接读取等),计算出拨码开关的具体数量和状态。Further, the DIP switches are installed on the circuit board of the timing socket, and their data outputs are transformed through the interface circuit and then transmitted to the controller, and processed by the controller (such as single-chip microcomputer, ARM, etc.) (such as ADC conversion sampling or direct read, etc.), and calculate the specific number and status of the DIP switches.
另一方面,本发明还提供一种定时插座的定时开/关设置方法,包括以下步骤:On the other hand, the present invention also provides a timing on/off setting method of a timing socket, comprising the following steps:
步骤S1:控制器获取定时插座当前时间,控制器通过接口电路获取拨码开关的状态;Step S1: the controller obtains the current time of the timing socket, and the controller obtains the state of the DIP switch through the interface circuit;
步骤S2:控制器将获取的状态和当前时间进行比较,如果当前时间对应的拨码开关状态为导通,则通过控制电路使继电器闭合、LED指示灯点亮,否则就使继电器断开、LED指示灯熄灭。Step S2: The controller compares the acquired state with the current time. If the state of the DIP switch corresponding to the current time is on, the relay is closed and the LED indicator is turned on through the control circuit; otherwise, the relay is disconnected and the LED is turned on. The indicator light goes out.
进一步地,于步骤S1之前,还包括步骤S01:设定定时插座当前时间,设定好的定时插座当前时间被发送至控制器并进行存储;控制器驱动显示模块显示出时间值。Further, before step S1, it also includes step S01: setting the current time of the timing socket, the set current time of the timing socket is sent to the controller and stored; the controller drives the display module to display the time value.
进一步地,于步骤S01之中,还包括步骤:读取定时插座当前时间,判断是否需要修改当前时间,若是,则用微动开关设定定时插座当前时间。Further, in step S01, it also includes the step of: reading the current time of the timing socket, judging whether the current time needs to be modified, and if so, setting the current time of the timing socket with a micro switch.
进一步地,于步骤S1之前、步骤S01之后,还包括步骤S02:设定定时插座的工作模式:通过拨码开关的模式选择键选择定时插座处于定时模式或手动模式,所述拨码开关的状态被发送至控制器并进行存储。Further, before step S1 and after step S01, it also includes step S02: setting the working mode of the timing socket: selecting the timing socket to be in timing mode or manual mode through the mode selection key of the dial switch, the state of the dial switch is sent to the controller and stored.
进一步地,于步骤S1之前,步骤S02之后,还包括步骤S03:设定定时插座定时开/关的时间段,每个拨码开关对应一个时间段;拨码开关的开/关状态对应着该时段的定时开/关状态;所述拨码开关的开/关状态被发送至控制器并进行存储。Further, before step S1 and after step S02, it also includes step S03: setting the time period for the timing socket to be turned on/off regularly, each dial switch corresponds to a time period; the on/off state of the dial switch corresponds to the The timing on/off state of the time period; the on/off state of the DIP switch is sent to the controller and stored.
进一步地,于步骤S03之中,还包括:每个拨码开关的地址通过接口电路 进行定义,所述拨码开关的地址被发送至控制器并进行存储。Further, in step S03, it also includes: the address of each DIP switch is defined by the interface circuit, and the address of the DIP switch is sent to the controller and stored.
进一步地,于步骤S1之中,具体包括以下步骤:控制器获取定时插座当前时间、控制器通过接口电路获取拨码开关的模式选择键所对应的工作模式、控制器通过接口电路获取拨码开关对应定时插座定时开/关时间段的开/关状态。Further, in step S1, it specifically includes the following steps: the controller obtains the current time of the timing socket, the controller obtains the working mode corresponding to the mode selection key of the DIP switch through the interface circuit, and the controller obtains the DIP switch through the interface circuit. Corresponds to the ON/OFF state of the timing socket timing ON/OFF time period.
进一步地,于步骤S2之中,还包括以下步骤:Further, in step S2, it also includes the following steps:
步骤S21:控制器获取定时插座的工作模式,如果定时插座开启了定时模式,则进行步骤S22,否则进行步骤S24;Step S21: the controller obtains the working mode of the timing socket, if the timing socket has the timing mode turned on, go to step S22, otherwise go to step S24;
步骤S22:控制器获取定时插座当前时间,判断当前时间处于定时开/关对应的时间段,调用该时间段对应的拨码开关的开/关状态,如果该状态为开,则进行步骤S23,否则进行步骤S24;Step S22: the controller obtains the current time of the timing socket, determines that the current time is in the time period corresponding to the timing on/off, and invokes the on/off state of the DIP switch corresponding to the time period, and if the state is on, proceed to step S23, Otherwise, go to step S24;
步骤S23:控制器驱动控制电路使继电器闭合实现定时插座导通功能;控制器驱动控制电路点亮LED指示灯提醒用户定时插座处于导通状态;Step S23: the controller drives the control circuit to close the relay to realize the conduction function of the timing socket; the controller drives the control circuit to light up the LED indicator light to remind the user that the timing socket is in the conduction state;
步骤S24:控制器驱动控制电路使继电器断开实现定时插座断开功能;控制器驱动控制电路熄灭LED指示灯提醒用户定时插座处于断开状态。Step S24 : the controller drives the control circuit to disconnect the relay to realize the function of disconnecting the timing socket; the controller drives the control circuit to turn off the LED indicator to remind the user that the timing socket is in a disconnected state.
与现有技术相比,本发明的优点和积极效果至少体现在:Compared with the prior art, the advantages and positive effects of the present invention are at least reflected in:
1、与背景技术中介绍的机械定时插座相比,本发明的定时插座具有无运行噪音、结构简单、走时精确、故障率低的优点,且因其更高的电子化程度使得生产过程更多使用自动化的电子产品生产设备,减少了机械零件的人工组装,有效提高生产的自动化水平和生产效率。1. Compared with the mechanical timing socket introduced in the background art, the timing socket of the present invention has the advantages of no running noise, simple structure, accurate travel time, and low failure rate, and because of its higher degree of electronization, the production process is more The use of automated electronic product production equipment reduces the manual assembly of mechanical parts and effectively improves the automation level and production efficiency of production.
2、与背景技术中介绍的电子定时插座相比,本发明的定时插座因采用了直观的物理设置开关加电子控制器的方式,在保留了电子控制定时插座的优点的同时,本发明的定时插座具有人机交互界面简单、直观的优点,定时操作流程一目了然,降低了使用产品的学习难度,更方便大众群体的使用。2. Compared with the electronic timing socket introduced in the background art, the timing socket of the present invention adopts the intuitive physical setting switch and electronic controller method, while retaining the advantages of the electronically controlled timing socket, the timing of the present invention is The socket has the advantages of simple and intuitive human-computer interaction interface, and the timing operation process is clear at a glance, which reduces the learning difficulty of using the product and is more convenient for the public to use.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明的定时插座结构示意图;1 is a schematic structural diagram of a timing socket of the present invention;
图2为本发明的定时开/关设置方法流程示意图。FIG. 2 is a schematic flowchart of a method for setting timing on/off according to the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面将结合附图和具体的实施例对本发明的技术方案进行详细说明。需要指出的是,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the above objects, features and advantages of the present invention more clearly understood, the technical solutions of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be pointed out that the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, those of ordinary skill in the art can obtain all the Other embodiments fall within the protection scope of the present invention.
实施例1Example 1
如图1所示,一方面,本发明提供一种定时插座,主要包括:控制器、至少一个拨码开关、微动开关、显示模块、继电器和LED指示灯。其中,核心部件为拨码开关和控制器。As shown in FIG. 1 , in one aspect, the present invention provides a timing socket, which mainly includes: a controller, at least one DIP switch, a micro switch, a display module, a relay and an LED indicator. Among them, the core components are DIP switches and controllers.
所述控制器通过控制电路与继电器和LED指示灯进行电连接;所述拨码开关通过接口电路与控制器进行电连接;所述微动开关和显示模块直接与控制器进行电连接;The controller is electrically connected to the relay and the LED indicator through a control circuit; the dial switch is electrically connected to the controller through an interface circuit; the micro switch and the display module are directly electrically connected to the controller;
控制器即定时插座的主板部分,用于检测拨码开关的状态并进行逻辑判断,完成定时插座通断控制;The controller is the main board part of the timing socket, which is used to detect the state of the DIP switch and make logical judgments to complete the on-off control of the timing socket;
所述微动开关用于调整定时插座当前时间;The micro switch is used to adjust the current time of the timing socket;
所述显示模块用于显示定时插座当前时间;The display module is used to display the current time of the timing socket;
所述继电器为根据控制信号调节电源通断的器件;The relay is a device that adjusts the power on and off according to the control signal;
所述LED指示灯用于表征定时插座的导通和断开。The LED indicator is used to characterize the turn-on and turn-off of the timing socket.
实施例2Example 2
如图1所示,本实施例在实施例1的基础上,对定时插座作了进一步描述和说明。所述定时插座还包括电源电路、外部电源/备用电池;所述外部电源/备用电池通过电源电路与控制器电连接,用于给定时插座供电。As shown in FIG. 1 , on the basis of Embodiment 1, this embodiment further describes and illustrates the timing socket. The timing socket further includes a power supply circuit and an external power supply/backup battery; the external power supply/backup battery is electrically connected to the controller through the power supply circuit, and is used to supply power to the timing socket.
所述拨码开关还包括模式选择键,用于进行定时插座的工作模式选择。所 述定时插座包括手动模式和定时模式两种工作模式。The DIP switch also includes a mode selection key, which is used to select the working mode of the timing socket. The timing socket includes two working modes: manual mode and timing mode.
所述定时插座还包括手动开关,所述手动开关直接与控制器进行电连接,所述手动开关用于在手动模式下手动控制继电器和LED指示灯的导通和断开。The timing socket further includes a manual switch, the manual switch is directly electrically connected with the controller, and the manual switch is used to manually control the on and off of the relay and the LED indicator light in the manual mode.
所述定时插座还包括电路板和壳体;所述控制器、拨码开关、微动开关、手动开关、显示模块、继电器、LED指示灯、外部电源/备用电池、控制电路、接口电路和电源电路均设置于电路板上,所述电路板设置于壳体中。The timing socket also includes a circuit board and a housing; the controller, the DIP switch, the micro switch, the manual switch, the display module, the relay, the LED indicator light, the external power supply/backup battery, the control circuit, the interface circuit and the power supply The circuits are all arranged on the circuit board, and the circuit board is arranged in the casing.
此外,对于本发明所述定时插座的两种工作模式的工作过程,作一个具体的说明:In addition, for the working process of the two working modes of the timing socket according to the present invention, a specific description is made:
手动模式:用户读取定时插座当前时间,判断是否需要修改当前时间,若是,则通过微动开关设定定时插座当前时间,设定好的定时插座当前时间被发送至控制器并进行存储,控制器驱动显示模块显示出时间值;通过拨码开关的模式选择键选择定时插座处于手动模式,所述拨码开关的状态被发送至控制器并进行存储;用户通过手动开关在手动模式下手动控制继电器和LED指示灯的导通和断开,然后根据LED指示灯的点亮和熄灭状态判断定时插座目前处于导通或者断开状态。Manual mode: The user reads the current time of the timing socket and determines whether the current time needs to be modified. If so, the current time of the timing socket is set through the micro switch, and the set current time of the timing socket is sent to the controller and stored. Control The controller drives the display module to display the time value; selects the timing socket to be in manual mode through the mode selection key of the DIP switch, and the state of the DIP switch is sent to the controller and stored; the user manually controls the manual mode through the manual switch The relay and the LED indicator are turned on and off, and then according to the on and off status of the LED indicator, it is judged that the timing socket is currently on or off.
定时模式:用户读取定时插座当前时间,判断是否需要修改当前时间,若是,则通过微动开关设定定时插座当前时间,设定好的定时插座当前时间被发送至控制器并进行存储,控制器驱动显示模块显示出时间值;通过拨码开关的模式选择键选择定时插座处于定时模式,所述拨码开关的状态被发送至控制器并进行存储;设定定时插座定时开/关的时间段,每个拨码开关对应一个时间段;拨码开关的开/关状态对应着该时段的定时开/关状态,所述拨码开关的开/关状态被发送至控制器并进行存储;控制器获取定时插座当前时间,判断当前时间处于定时开/关对应的时间段,调用该时间段对应的拨码开关的开/关状态:如果该状态为开,则控制器驱动控制电路使继电器闭合实现定时插座导通功能,并点亮LED指示灯提醒用户定时插座处于导通状态;如果该状态为关,则控制器驱动控制电路使继电器断开实现定时插座断开功能,并熄灭LED指示灯提醒用户定时插座处于断开状态。Timing mode: The user reads the current time of the timing socket and determines whether the current time needs to be modified. If so, the current time of the timing socket is set through the micro switch, and the set current time of the timing socket is sent to the controller for storage and control. The controller drives the display module to display the time value; select the timing socket to be in the timing mode through the mode selection key of the DIP switch, the state of the DIP switch is sent to the controller and stored; set the timing of the timing socket on/off time Each DIP switch corresponds to a time period; the ON/OFF state of the DIP switch corresponds to the timing ON/OFF state of the period, and the ON/OFF state of the DIP switch is sent to the controller and stored; The controller obtains the current time of the timing socket, judges that the current time is in the time period corresponding to the timing on/off, and calls the on/off state of the DIP switch corresponding to the time period: if the state is on, the controller drives the control circuit to make the relay Close to realize the timing socket conduction function, and light up the LED indicator to remind the user that the timing socket is in the conduction state; if the state is off, the controller drives the control circuit to disconnect the relay to realize the timing socket disconnection function, and turns off the LED indication A light alerts the user that the timing socket is disconnected.
实施例3Example 3
进一步地,本实施例在实施例2的基础上,对核心部件即拨码开关进行更加细致的说明。与传统的电子型定时插座最大的不同是本发明的定时插座还包括了拨码开关。拨码开关可以选用一位、两位、三位......或者多位开关。Further, on the basis of Embodiment 2, this embodiment provides a more detailed description of the core component, that is, the DIP switch. The biggest difference from the traditional electronic timing socket is that the timing socket of the present invention also includes a DIP switch. The DIP switch can be one-digit, two-digit, three-digit...or a multi-digit switch.
进一步地,所述拨码开关(也叫DIP开关,拨动开关,超频开关,地址开关,拨拉开关,数码开关,指拨开关)是一款用来操作控制的地址开关,采用的是0/1(关/开)的二进制编码原理,即每一位拨码开关均有关、开两个状态分别代表二进制数字编码技术的0、1,多位拨码开关组合使用,形成一串0、1的排列组合即二进制编码,用于表征数据信息。Further, the DIP switch (also called a DIP switch, a toggle switch, an overclocking switch, an address switch, a toggle switch, a digital switch, a DIP switch) is an address switch used for operation control, using 0/1 The principle of binary coding (off/on), that is, each DIP switch is related, and the two states of ON respectively represent 0 and 1 of the binary digital coding technology. Permutation and combination are binary codes, which are used to represent data information.
而且,所述拨码开关还包括模式选择键,用于进行定时插座的工作模式选择。Moreover, the DIP switch further includes a mode selection key, which is used to select the working mode of the timing socket.
进一步地,上述拨码开关安装在定时插座的电路板上,他们的数据输出通过必要的接口电路变换后传输给控制器,由控制器(如单片机、ARM等)进行处理(如ADC转换采样或直接读取等),计算出拨码开关的具体数量和状态。当然,也可以选取市面上成熟的接口转换模块,通过各种通信接口如ADC、I2C、SPI、串口、单总线等获取到拨码开关的具体数量和状态。Further, the above-mentioned DIP switches are installed on the circuit board of the timing socket, and their data output is transformed through the necessary interface circuit and transmitted to the controller, and processed by the controller (such as single-chip microcomputer, ARM, etc.) (such as ADC conversion sampling or Direct reading, etc.), calculate the specific number and status of the DIP switches. Of course, the mature interface conversion module on the market can also be selected, and the specific number and status of the DIP switches can be obtained through various communication interfaces such as ADC, I2C, SPI, serial port, single bus, etc.
在设计控制器和控制电路时,对每一位拨码开关均定义了各自的地址,主控制器根据地址可识别每个开关;在应用拨码开关时,可以利用现成的多位拨码开关组,也可以按所需结构定制拨码开关组。When designing the controller and control circuit, each DIP switch is defined with its own address, and the main controller can identify each switch according to the address; when applying the DIP switch, the off-the-shelf multi-position DIP switch can be used. DIP switch group can also be customized according to the required structure.
所述拨码开关也可以用锁定开关来代替。锁定开关(也即是自锁开关)是一种按钮开关,在开关按钮第一次按时,开关接通并保持,即自锁,在开关按钮第二次按时,开关断开,同时开关按钮弹出来。The DIP switch can also be replaced by a lock switch. The locking switch (that is, the self-locking switch) is a kind of button switch. When the switch button is pressed for the first time, the switch is turned on and maintained, that is, self-locking. When the switch button is pressed for the second time, the switch is turned off and the switch button pops up Come.
实施例4Example 4
如图2所示,另一方面,本发明还提供一种定时插座的定时开/关设置方法,其核心步骤包括:As shown in FIG. 2 , on the other hand, the present invention also provides a timing on/off setting method for a timing socket, the core steps of which include:
步骤S1:控制器获取定时插座当前时间,控制器通过接口电路获取拨码开关的状态;Step S1: the controller obtains the current time of the timing socket, and the controller obtains the state of the DIP switch through the interface circuit;
步骤S2:控制器将获取的状态和当前时间进行比较,如果当前时间对应的拨码开关状态为导通,则通过控制电路使继电器闭合、LED指示灯点亮,否则 就使继电器断开、LED指示灯熄灭。Step S2: The controller compares the acquired state with the current time. If the state of the DIP switch corresponding to the current time is on, the relay is closed and the LED indicator is turned on through the control circuit; otherwise, the relay is disconnected and the LED is turned on. The indicator light goes out.
实施例5Example 5
如图2所示,本实施例在实施例4的基础上,为了对定时开/关设置方法进行详细说明,还于步骤S1之前,加入了以下步骤:As shown in FIG. 2 , on the basis of Embodiment 4, in order to describe the timing on/off setting method in detail, the following steps are added before step S1:
步骤S01:设定定时插座当前时间,设定好的定时插座当前时间被发送至控制器并进行存储;控制器驱动显示模块显示出时间值。Step S01 : setting the current time of the timing socket, the set current time of the timing socket is sent to the controller and stored; the controller drives the display module to display the time value.
步骤S02:设定定时插座的工作模式:通过拨码开关的模式选择键选择定时插座处于定时模式或手动模式,所述拨码开关的状态被发送至控制器并进行存储。Step S02: Set the working mode of the timing socket: select the timing socket to be in the timing mode or the manual mode through the mode selection key of the DIP switch, and the state of the DIP switch is sent to the controller and stored.
步骤S03:设定定时插座定时开/关的时间段,每个拨码开关对应一个时间段;拨码开关的开/关状态对应着该时段的定时开/关状态;所述拨码开关的开/关状态被发送至控制器并进行存储。Step S03: Set the time period for the timing socket to be turned on/off regularly, and each DIP switch corresponds to a time period; the ON/OFF state of the DIP switch corresponds to the timing ON/OFF state of the time period; The on/off status is sent to the controller and stored.
于步骤S01之中,还包括步骤:读取定时插座当前时间,判断是否需要修改当前时间,若是,则用微动开关设定定时插座当前时间。用户判断显示时间是否与当前标准时间一致,如果不一致则可修改到一致。In step S01, it also includes the step of: reading the current time of the timing socket, and judging whether the current time needs to be modified, and if so, setting the current time of the timing socket with a micro switch. The user judges whether the displayed time is consistent with the current standard time, and if it is inconsistent, it can be modified to be consistent.
于步骤S03之中,还包括:每个拨码开关的地址通过接口电路进行定义,所述拨码开关的地址被发送至控制器并进行存储。In step S03, the method further includes: the address of each DIP switch is defined by the interface circuit, and the address of the DIP switch is sent to the controller and stored.
实施例6Example 6
本实施例在实施例5的基础上,对步骤S1的具体步骤进行了说明,具体而言包括以下步骤:控制器获取定时插座当前时间、控制器通过接口电路获取拨码开关的模式选择键所对应的工作模式、控制器通过接口电路获取拨码开关对应定时插座定时开/关时间段的开/关状态。On the basis of Embodiment 5, this embodiment describes the specific steps of step S1, and specifically includes the following steps: the controller obtains the current time of the timing socket, the controller obtains the mode selection key of the DIP switch through the interface circuit. The corresponding working mode, the controller obtains the ON/OFF state of the DIP switch corresponding to the timing ON/OFF time period of the timing socket through the interface circuit.
实施例7Example 7
如图2所示,本实施例在实施例4-6的基础上,对步骤S2的具体步骤进行了说明,具体而言还包括以下步骤:As shown in FIG. 2 , on the basis of Embodiments 4-6, the present embodiment describes the specific steps of step S2, and specifically includes the following steps:
步骤S21,控制器获取定时插座的工作模式,如果定时插座开启了定时模式,则进行步骤S22,否则进行步骤S24;Step S21, the controller obtains the working mode of the timing socket, if the timing socket has the timing mode turned on, go to step S22, otherwise go to step S24;
步骤S22,控制器获取定时插座当前时间,判断当前时间处于定时开/关对 应的时间段,调用该时间段对应的拨码开关的开/关状态,如果该状态为开,则进行步骤S23,否则进行步骤S24;Step S22, the controller obtains the current time of the timing socket, judges that the current time is in the time period corresponding to the timing on/off, and invokes the on/off state of the DIP switch corresponding to the time period, if the state is on, proceed to step S23, Otherwise, go to step S24;
步骤S23,控制器驱动控制电路使继电器闭合实现定时插座导通功能;控制器驱动控制电路点亮LED指示灯提醒用户定时插座处于导通状态;Step S23, the controller drives the control circuit to close the relay to realize the conduction function of the timing socket; the controller drives the control circuit to light up the LED indicator light to remind the user that the timing socket is in the conduction state;
步骤S24,控制器驱动控制电路使继电器断开实现定时插座断开功能;控制器驱动控制电路熄灭LED指示灯提醒用户定时插座处于断开状态。Step S24, the controller drives the control circuit to disconnect the relay to realize the function of disconnecting the timing socket; the controller drives the control circuit to turn off the LED indicator to remind the user that the timing socket is in the disconnected state.
实施例8Example 8
本实施例在上述所有实施例(即实施例1-7)的基础上,给出了一个具体应用的实施例。在本实施例中,使用本发明的电子型定时插座对鱼缸照明灯进行定时开/关控制,先按动微动开关设定好当前时间,再开启定时功能,接着根据面板上拨动开关周围的文字提示,把8点-18点对应的多个拨动开关拨向关闭状态,把18点-8点对应的多个拨动开关拨向导通状态,这样就设定了定时插座在8点-18点关断鱼缸照明灯,在18点-第二天8点导通鱼缸照明灯。On the basis of all the above-mentioned embodiments (ie, Embodiments 1-7), this embodiment provides a specific application embodiment. In this embodiment, the electronic timing socket of the present invention is used to control the timing on/off of the fish tank lighting. First, press the micro switch to set the current time, and then turn on the timing function. The text prompt, turn the multiple toggle switches corresponding to 8:00-18:00 to the off state, and turn the multiple toggle switches corresponding to 18:00-8:00 to the ON state, thus setting the timing socket at 8:00 - Turn off the fish tank lighting at 18:00, and turn on the fish tank lighting at 18:00 - 8:00 the next day.
此时,定时插座将开始工作,检测拨动开关状态,并发送至控制器。同时,电子型定时插座的当前时间也一直刷新,当时间刷新到8点-18点之间时就关断鱼缸照明灯,当时间刷新到18点-第二天8点导通鱼缸照明灯。At this point, the timing socket will start to work, detect the toggle switch status, and send it to the controller. At the same time, the current time of the electronic timing socket is always refreshed. When the time is refreshed between 8:00 and 18:00, the fish tank lighting will be turned off, and when the time is refreshed between 18:00 and 8:00 the next day, the fish tank lighting will be turned on.
从上述具体应用实例中可以看出,本发明所述定时插座通过控制拨码开关,采用直观的物理设置开关加电子控制器的方式,操作简单直观、显示一目了然。It can be seen from the above specific application examples that the timing socket of the present invention adopts an intuitive physical setting switch plus an electronic controller by controlling the dial switch, so that the operation is simple and intuitive, and the display is clear at a glance.
本发明的优点和积极效果是:The advantages and positive effects of the present invention are:
1、与背景技术中介绍的机械定时插座相比,本发明的定时插座具有无运行噪音、结构简单、走时精确、故障率低的优点,且因其更高的电子化程度使得生产过程更多使用自动化的电子产品生产设备,减少了机械零件的人工组装,有效提高生产的自动化水平和生产效率。1. Compared with the mechanical timing socket introduced in the background art, the timing socket of the present invention has the advantages of no running noise, simple structure, accurate travel time, and low failure rate, and because of its higher degree of electronization, the production process is more The use of automated electronic product production equipment reduces the manual assembly of mechanical parts and effectively improves the automation level and production efficiency of production.
2、与背景技术中介绍的电子定时插座相比,本发明的定时插座因采用了直观的物理设置开关加电子控制器的方式,在保留了电子控制定时插座的优点的同时,本发明的定时插座具有人机交互界面简单、直观的优点,定时操作流程一目了然,降低了使用产品的学习难度,更方便大众群体的使用。2. Compared with the electronic timing socket introduced in the background art, the timing socket of the present invention adopts the intuitive physical setting switch and electronic controller method, while retaining the advantages of the electronically controlled timing socket, the timing of the present invention is The socket has the advantages of simple and intuitive human-computer interaction interface, and the timing operation process is clear at a glance, which reduces the learning difficulty of using the product and is more convenient for the public to use.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细, 但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as limiting the scope of the patent of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the appended claims.

Claims (17)

  1. 一种定时插座,其特征在于,包括:控制器、至少一个拨码开关、微动开关、控制电路、接口电路、显示模块、继电器和LED指示灯;A timing socket is characterized by comprising: a controller, at least one DIP switch, a micro switch, a control circuit, an interface circuit, a display module, a relay and an LED indicator light;
    所述控制器通过控制电路与继电器和LED指示灯进行电连接;所述拨码开关通过接口电路与控制器进行电连接;所述微动开关和显示模块直接与控制器进行电连接;The controller is electrically connected to the relay and the LED indicator through a control circuit; the dial switch is electrically connected to the controller through an interface circuit; the micro switch and the display module are directly electrically connected to the controller;
    所述控制器用于检测拨码开关的状态并进行逻辑判断,完成定时插座通断控制;The controller is used to detect the state of the DIP switch and make a logical judgment to complete the timing socket on-off control;
    所述拨码开关用于控制定时插座的工作模式以及定时开/关的时间段;The DIP switch is used to control the working mode of the timing socket and the time period of timing on/off;
    所述微动开关用于调整定时插座当前时间;The micro switch is used to adjust the current time of the timing socket;
    所述显示模块用于显示定时插座当前时间;The display module is used to display the current time of the timing socket;
    所述继电器为根据控制信号调节电源通断的器件;The relay is a device that adjusts the power on and off according to the control signal;
    所述LED指示灯用于表征定时插座的导通和断开。The LED indicator is used to characterize the turn-on and turn-off of the timing socket.
  2. 根据权利要求1所述的定时插座,其特征在于,所述定时插座还包括电源电路、外部电源/备用电池;所述外部电源/备用电池通过电源电路与控制器电连接,用于给定时插座供电。The timing socket according to claim 1, wherein the timing socket further comprises a power supply circuit and an external power supply/backup battery; the external power supply/backup battery is electrically connected to the controller through the power supply circuit, and is used for a given timing socket powered by.
  3. 根据权利要求2所述的定时插座,其特征在于,所述拨码开关还包括模式选择键,用于进行定时插座的工作模式选择。The timing socket according to claim 2, wherein the DIP switch further comprises a mode selection key for selecting the working mode of the timing socket.
  4. 根据权利要求3所述的定时插座,其特征在于,所述定时插座包括手动模式和定时模式两种工作模式。The timing socket according to claim 3, wherein the timing socket includes two working modes: a manual mode and a timing mode.
  5. 根据权利要求4所述的定时插座,其特征在于,所述定时插座还包括手动开关,所述手动开关直接与控制器进行电连接,所述手动开关用于在手动模式下手动控制继电器和LED指示灯的导通和断开。The timing socket according to claim 4, wherein the timing socket further comprises a manual switch, the manual switch is directly electrically connected with the controller, and the manual switch is used to manually control the relay and the LED in the manual mode ON and OFF of the indicator light.
  6. 根据权利要求5所述的定时插座,其特征在于,所述定时插座还包括电路板和壳体;所述控制器、拨码开关、微动开关、手动开关、显示模块、继电器、LED指示灯、外部电源/备用电池、控制电路、接口电路和电源电路均设置于电路板上,所述电路板设置于壳体中。The timing socket according to claim 5, characterized in that, the timing socket further comprises a circuit board and a housing; the controller, the DIP switch, the micro switch, the manual switch, the display module, the relay, and the LED indicator light , external power supply/backup battery, control circuit, interface circuit and power supply circuit are all arranged on the circuit board, and the circuit board is arranged in the casing.
  7. 根据权利要求6所述的定时插座,其特征在于,所述拨码开关为一位、两位、三位或者多位开关。The timing socket according to claim 6, wherein the DIP switch is a one-position switch, a two-position switch, a three-position switch or a multi-position switch.
  8. 根据权利要求6所述的定时插座,其特征在于,所述拨码开关是一款用来操作控制的地址开关,采用的是0/1的二进制编码原理,即每一位拨码开关均有关、开两个状态分别代表二进制数字编码技术的0、1,多位拨码开关组合使用,形成一串0、1的排列组合即二进制编码,用于表征数据信息。The timing socket according to claim 6, wherein the DIP switch is an address switch used for operation control, and adopts the 0/1 binary coding principle, that is, each DIP switch is related to The two states of , open respectively represent 0 and 1 of the binary digital coding technology. The multi-bit DIP switches are used in combination to form a string of 0 and 1 permutation and combination, that is, binary coding, which is used to represent data information.
  9. 根据权利要求6所述的定时插座,其特征在于,所述拨码开关安装在定时插座的电路板上,他们的数据输出通过接口电路变换后传输给控制器,由控制器进行处理,计算出拨码开关的具体数量和状态。The timing socket according to claim 6, wherein the DIP switches are installed on the circuit board of the timing socket, and their data outputs are converted by the interface circuit and then transmitted to the controller, where the controller processes and calculates The specific quantity and status of the DIP switches.
  10. 一种定时开/关设置方法,应用于如权利要求1-9任一所述的定时插座,其特征在于,包括以下步骤:A timing on/off setting method, applied to the timing socket according to any one of claims 1-9, characterized in that, comprising the following steps:
    步骤S1:控制器获取定时插座当前时间,控制器通过接口电路获取拨码开关的状态;Step S1: the controller obtains the current time of the timing socket, and the controller obtains the state of the DIP switch through the interface circuit;
    步骤S2:控制器将获取的状态和当前时间进行比较,如果当前时间对应的拨码开关状态为导通,则通过控制电路使继电器闭合、LED指示灯点亮,否则就使继电器断开、LED指示灯熄灭。Step S2: The controller compares the acquired state with the current time. If the state of the DIP switch corresponding to the current time is on, the relay is closed and the LED indicator is turned on through the control circuit; otherwise, the relay is disconnected and the LED is turned on. The indicator light goes out.
  11. 根据权利要求10所述的定时开/关设置方法,其特征在于,于步骤S1之前,还包括步骤S01:设定定时插座当前时间,设定好的定时插座当前时间被发送至控制器并进行存储;控制器驱动显示模块显示出时间值。The method for setting timing on/off according to claim 10, further comprising step S01 before step S1: setting the current time of the timing socket, the set current time of the timing socket is sent to the controller and performing Storage; the controller drives the display module to display the time value.
  12. 根据权利要求11所述的定时开/关设置方法,其特征在于,于步骤S01之中,还包括:读取定时插座当前时间,判断是否需要修改当前时间,若是,则用微动开关设定定时插座当前时间。The method for setting timing on/off according to claim 11, wherein in step S01, it further comprises: reading the current time of the timing socket, judging whether the current time needs to be modified, and if so, setting it with a micro switch Timed socket current time.
  13. 根据权利要求12所述的定时开/关设置方法,其特征在于,于步骤S1之前、步骤S01之后,还包括步骤S02:设定定时插座的工作模式:通过拨码开关的模式选择键选择定时插座处于定时模式或手动模式,所述拨码开关的状态被发送至控制器并进行存储。The timing on/off setting method according to claim 12, characterized in that, before step S1 and after step S01, further comprising step S02: setting the working mode of the timing socket: selecting the timing through the mode selection key of the DIP switch The socket is in timed mode or manual mode, and the state of the dip switch is sent to the controller and stored.
  14. 根据权利要求13所述的定时开/关设置方法,其特征在于,于步骤S1之前,步骤S02之后,还包括步骤S03:设定定时插座定时开/关的时间段,每个拨码开关对应一个时间段;拨码开关的开/关状态对应着该时段的定时开/关状态;所述拨码开关的开/关状态被发送至控制器并进行存储。The method for setting timing on/off according to claim 13, characterized in that before step S1 and after step S02, it further comprises step S03: setting the time period for timing on/off of the timing socket, and each dial switch corresponds to A period of time; the ON/OFF state of the DIP switch corresponds to the timing ON/OFF state of the period; the ON/OFF state of the DIP switch is sent to the controller and stored.
  15. 根据权利要求14所述的定时开/关设置方法,其特征在于,于步骤S03之中,还包括:每个拨码开关的地址通过接口电路进行定义,所述拨码开关的地址被发送至控制器并进行存储。The timing on/off setting method according to claim 14, wherein in step S03, it further comprises: the address of each DIP switch is defined by an interface circuit, and the address of the DIP switch is sent to controller and store.
  16. 根据权利要求15所述的定时开/关设置方法,其特征在于,于步骤S1之中,具体包括以下步骤:控制器获取定时插座当前时间、控制器通过接口电路获取拨码开关的模式选择键所对应的工作模式、控制器通过接口电路获取拨码开关对应定时插座定时开/关时间段的开/关状态。The timing on/off setting method according to claim 15, wherein in step S1, it specifically includes the following steps: the controller obtains the current time of the timing socket, and the controller obtains the mode selection key of the DIP switch through the interface circuit The corresponding working mode, the controller obtains the ON/OFF state of the timing ON/OFF time period corresponding to the timing socket of the DIP switch through the interface circuit.
  17. 根据权利要求16所述的定时开/关设置方法,其特征在于,于步骤S2之中,还包括以下步骤:The timing on/off setting method according to claim 16, characterized in that, in step S2, it further comprises the following steps:
    步骤S21:控制器获取定时插座的工作模式,如果定时插座开启了定时模式,则进行步骤S22,否则进行步骤S24;Step S21: the controller obtains the working mode of the timing socket, if the timing socket has the timing mode turned on, go to step S22, otherwise go to step S24;
    步骤S22:控制器获取定时插座当前时间,判断当前时间处于定时开/关对应的时间段,调用该时间段对应的拨码开关的开/关状态,如果该状态为开,则进行步骤S23,否则进行步骤S24;Step S22: The controller obtains the current time of the timing socket, judges that the current time is in the time period corresponding to the timing on/off, and calls the on/off state of the DIP switch corresponding to the time period, and if the state is on, proceed to step S23, Otherwise, go to step S24;
    步骤S23:控制器驱动控制电路使继电器闭合实现定时插座导通功能;控制器驱动控制电路点亮LED指示灯提醒用户定时插座处于导通状态;Step S23: the controller drives the control circuit to close the relay to realize the conduction function of the timing socket; the controller drives the control circuit to light up the LED indicator light to remind the user that the timing socket is in the conduction state;
    步骤S24:控制器驱动控制电路使继电器断开实现定时插座断开功能;控制器驱动控制电路熄灭LED指示灯提醒用户定时插座处于断开状态。Step S24: The controller drives the control circuit to disconnect the relay to realize the function of disconnecting the timing socket; the controller drives the control circuit to turn off the LED indicator to remind the user that the timing socket is in a disconnected state.
PCT/CN2021/082223 2021-03-17 2021-03-23 Timer socket and timed on/off setting method thereof WO2022193333A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110286785.3A CN113054493B (en) 2021-03-17 2021-03-17 Timing socket and timing on/off setting method thereof
CN202110286785.3 2021-03-17

Publications (1)

Publication Number Publication Date
WO2022193333A1 true WO2022193333A1 (en) 2022-09-22

Family

ID=76513037

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082223 WO2022193333A1 (en) 2021-03-17 2021-03-23 Timer socket and timed on/off setting method thereof

Country Status (2)

Country Link
CN (1) CN113054493B (en)
WO (1) WO2022193333A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957060A (en) * 2012-11-20 2013-03-06 无锡商业职业技术学院 Automatically switched-on/off socket
US20130169049A1 (en) * 2011-12-31 2013-07-04 Ocean Team Development Limited Ac power strip device having interchangeable control modules
CN105633749A (en) * 2014-10-29 2016-06-01 江苏金迪电子科技有限公司 Multifunctional controllable socket and control method thereof
CN205828809U (en) * 2016-07-18 2016-12-21 苏州经贸职业技术学院 A kind of SCM Based Intelligent fixed time socket
CN212588314U (en) * 2020-08-17 2021-02-23 西安龙德科技发展有限公司 Time programmable electronic switch

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE355609C (en) * 1920-09-07 1922-06-30 Hartung Elek Zitaets Ges M B H Power socket with lever switch
CN2131255Y (en) * 1992-04-04 1993-04-28 王吉生 Multifunctional microcomputer timing controller
CN2170575Y (en) * 1993-09-07 1994-06-29 佛山市富达电力设备实业公司 Time relay
CN2445472Y (en) * 2000-09-19 2001-08-29 杜立新 Intelligent socket
CN201369471Y (en) * 2009-03-19 2009-12-23 南京林业大学 Multi-functional safe energy-saving timing socket
CN203260838U (en) * 2013-05-23 2013-10-30 侯鹏庆 Special energy-saving power strip for computer and television
CN104022408B (en) * 2014-06-20 2016-01-13 大连交通大学 Time control socket
CN105119108A (en) * 2015-08-06 2015-12-02 上海应用技术学院 Independent controllable intelligent remote control timing socket
US20180301852A1 (en) * 2017-04-18 2018-10-18 Maria Galkowski Power-saving outlet
CN209880974U (en) * 2018-11-10 2019-12-31 慈溪市一栋电子有限公司 Timer socket with backlight large-screen display
PH22018001564U1 (en) * 2018-12-13 2019-05-31 Cebu Technological Univ Main Campus Electrical outlet apparatus
CN109599702A (en) * 2019-02-18 2019-04-09 张伟 The safety-type countdown socket of a kind of second grade Self-disconnecting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130169049A1 (en) * 2011-12-31 2013-07-04 Ocean Team Development Limited Ac power strip device having interchangeable control modules
CN102957060A (en) * 2012-11-20 2013-03-06 无锡商业职业技术学院 Automatically switched-on/off socket
CN105633749A (en) * 2014-10-29 2016-06-01 江苏金迪电子科技有限公司 Multifunctional controllable socket and control method thereof
CN205828809U (en) * 2016-07-18 2016-12-21 苏州经贸职业技术学院 A kind of SCM Based Intelligent fixed time socket
CN212588314U (en) * 2020-08-17 2021-02-23 西安龙德科技发展有限公司 Time programmable electronic switch

Also Published As

Publication number Publication date
CN113054493A (en) 2021-06-29
CN113054493B (en) 2023-03-28

Similar Documents

Publication Publication Date Title
WO2022193333A1 (en) Timer socket and timed on/off setting method thereof
CN104898519A (en) Intelligent scenario power switch
CN112530714A (en) Intelligent electronic switch and control method thereof
CN2807542Y (en) Timing control multi-way socket
CN210868272U (en) Control circuit and switch of intelligent mobile switch
CN212784082U (en) Wall timing socket based on rotary coding switch with keys
CN108322967A (en) A kind of intelligent switch device
CN201294300Y (en) Connection board with timing power supply and current failure
CN201117978Y (en) Intelligent socket
CN111625106B (en) Method and device capable of customizing trigger position of keyboard switch
CN202994982U (en) Keyboard plate test tool
CN212717320U (en) Remote control speed regulation timing extension line for breeze electric fan
CN204790405U (en) Intelligence sight switch
CN219831686U (en) Start-stop controller
CN112068461B (en) Controller, control circuit and method for controlling intelligent equipment by using control circuit
CN201351906Y (en) Timer with small night light
CN213240481U (en) Simulation current load box
CN203896569U (en) Actuator applicable to EnOcean switch
CN2192985Y (en) Source time apparatus cabable for multiple controlled
CN220857117U (en) Outdoor timer with remote control
JPH10223378A (en) Two-wire type multi-directional switch device for illumination
CN215069706U (en) Single live wire intelligent remote control switch and switch remote controller
CN201548860U (en) Automatic temperature controller displaying by number
CN219875201U (en) Controller of distribution box
CN210776226U (en) Bell striking device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21930922

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21930922

Country of ref document: EP

Kind code of ref document: A1