Timing electronic switch circuit and timing control method

文档序号:1580172 发布日期:2020-01-31 浏览:11次 中文

阅读说明:本技术 定时电子开关电路及定时控制方法 (Timing electronic switch circuit and timing control method ) 是由 万飞 于 2019-10-20 设计创作,主要内容包括:本发明公开了一种定时电子开关电路,包括主控单元电路、按键、指示灯、执行电路、电源电路,本发明还公开了一种连击定时控制方法和一种长按定时控制方法。本发明可以实现对负载的定时开启或定时关闭功能,并且用户能够快速实现定时时间的设置,无需复杂的人机交互,无需屏幕显示支持,仅需指示灯进行简单视觉反馈,非常方便用户使用,同时可显著降低硬件成本。(The invention discloses timing electronic switch circuits, which comprise a main control unit circuit, a key, an indicator light, an execution circuit and a power supply circuit, and also discloses continuous-click timing control methods and long-press timing control methods.)

The timing electronic switch circuit is characterized by comprising a main control unit circuit, a key, an indicator light, an execution circuit and a power supply circuit, wherein the main control unit circuit, the key, the indicator light, the execution circuit and the power supply circuit are connected with a reference ground, and the key, the indicator light, the execution circuit and the power supply circuit are connected with the main control unit circuit.

2. The timing electronic switch circuit of claim 1, wherein the master control unit circuit is configured to recognize and process user gestures, perform timing logic operations, control the indicator lights, and send load control signals, the keys are configured to collect user gestures and transmit the gesture signals to the master control unit circuit for recognition and processing, the indicator lights are configured to send visual feedback signals to a user, the execution circuit is configured to execute the load control signals sent by the master control unit circuit, and the power supply circuit is configured to supply power to the master control unit circuit.

3. The timed electronic switch circuit according to claim 1, wherein said keys are in the form of mechanical contact keys, touch-sensitive keys, but not limited to.

4, continuous-click timing control method, characterized in that, when the user performs continuous-click operation through the key,

firstly, the main control unit circuit calculates the timing time required to be set according to the identified continuous striking frequency, and the calculation formula is as follows:

Figure 299696DEST_PATH_IMAGE001

then, the main control unit circuit performs timing according to the calculated timing time, and simultaneously, under the control of the main control unit circuit, the indicator lamp starts to periodically change the self light-emitting state;

and finally, when the timing time is up, the main control unit circuit sends a control signal for turning on or off the load to the execution circuit, and simultaneously, the indicator lamp stops periodically to change the self-lighting state under the control of the main control unit circuit.

5, Long-press timing control method, characterized in that, when the user performs long-press operation through the key,

firstly, the main control unit circuit calculates the timing time required to be set according to the identified pressing time length, and the calculation formula is as follows:

Figure 160653DEST_PATH_IMAGE005

then, the main control unit circuit performs timing according to the calculated timing time, and simultaneously, under the control of the main control unit circuit, the indicator lamp starts to periodically change the self light-emitting state;

and finally, when the timing time is up, the main control unit circuit sends a control signal for turning on or off the load to the execution circuit, and simultaneously, the indicator lamp stops periodically to change the self-lighting state under the control of the main control unit circuit.

6. The continuous hit timing control method according to claim 4,

Figure 9157DEST_PATH_IMAGE004

7. The long press timing control method of claim 5,

Figure 369305DEST_PATH_IMAGE004

Technical Field

The invention relates to the field of electronic switches, in particular to a timing electronic switch circuit and a timing control method.

Background

The timing control function of the electronic switch has good practicability, and can provide a great deal of convenience for users, such as: when the installation position of sitting room switch is more far away from the bedroom, if the user intends to enter the bedroom for rest, in order to avoid walking into the bedroom in the dark environment, the user can set the timing closing time, and walk into the bedroom before the illumination is automatically closed, and similar use scenes are many, and are not described herein any more.

Electronic switch on the market at present possesses timing control function rarely, and possess similar function's product, its use step is more loaded down with trivial details usually, need comparatively complicated operation just can accomplish the setting to the timing time, the user uses very inconveniently, this timing function that leads to originally very practical basically sinks for the setting, and for normal human-computer interaction, often still need show information such as data relevant with human-computer interaction, this needs the support of hardware such as display screen undoubtedly, the complexity and the hardware cost of product must be increased.

Disclosure of Invention

The invention aims to solve the problems of complex man-machine interaction and high hardware cost of the existing electronic switch product with the timing function in the technical background.

In order to achieve the purpose, the invention provides timing electronic switch circuits, which comprise a main control unit circuit, a key, an indicator light, an execution circuit and a power supply circuit, wherein the main control unit circuit, the key, the indicator light, the execution circuit and the power supply circuit are connected with a reference ground, and the key, the indicator light, the execution circuit and the power supply circuit are connected with the main control unit circuit.

The main control unit circuit is used for recognizing and processing user gestures, performing timing logic operation, controlling the indicator light and sending a load control signal; the key is used for collecting user gestures and transmitting gesture signals to the main control unit circuit for recognition and processing; the indicator light is used for sending a visual feedback signal to a user; the execution circuit is used for executing a load control signal sent by the main control unit circuit; and the power supply circuit is used for supplying power to the main control unit circuit.

It should be noted that the form of the key includes, but is not limited to, a mechanical contact type key and a touch sensitive type key.

When the power supply circuit supplies power to the main control unit circuit, the main control unit circuit starts to work and continuously identifies and processes the gesture signals sent by the keys.

In order to simplify human-computer interaction and realize quick setting of timing time, the invention also provides continuous-click timing control methods:

when the user performs continuous clicking operation through the key,

firstly, the main control unit circuit calculates the timing time required to be set according to the identified continuous striking frequency, and the calculation formula is as follows:

Figure 708019DEST_PATH_IMAGE001

wherein the content of the first and second substances,

Figure 100002_DEST_PATH_IMAGE002

is a timed time;the number of continuous hits;

Figure 100002_DEST_PATH_IMAGE004

fixed values are taken as calculation parameters for the stepping time;

then, the main control unit circuit performs timing according to the calculated timing time, and simultaneously, under the control of the main control unit circuit, the indicator lamp starts to periodically change the self light-emitting state;

and finally, when the timing time is up, the main control unit circuit sends a control signal for turning on or off the load to the execution circuit, and simultaneously, the indicator lamp stops periodically to change the self-lighting state under the control of the main control unit circuit.

Preferably, the first and second electrodes are formed of a metal,get

Figure 973675DEST_PATH_IMAGE005

Seconds as a calculation parameter, wherein

Figure 100002_DEST_PATH_IMAGE006

Taking an integer.

The click-through operation requires continuous clicking at a faster speed like using a mouse , and users with less flexibility may not be able to perform the click-through operation well, such as the elderly, for whom the long press operation will be better choices, so that the improvement of is that the invention further provides long press timing control methods:

when the user performs long-time pressing operation through the key,

firstly, the main control unit circuit calculates the timing time required to be set according to the identified pressing time length, and the calculation formula is as follows:

Figure 476463DEST_PATH_IMAGE007

wherein the content of the first and second substances,is a timed time;

Figure 100002_DEST_PATH_IMAGE008

the length of pressing time;

Figure 284068DEST_PATH_IMAGE004

fixed values are taken as calculation parameters for the stepping time;

then, the main control unit circuit performs timing according to the calculated timing time, and simultaneously, under the control of the main control unit circuit, the indicator lamp starts to periodically change the self light-emitting state;

and finally, when the timing time is up, the main control unit circuit sends a control signal for turning on or off the load to the execution circuit, and simultaneously, the indicator lamp stops periodically to change the self-lighting state under the control of the main control unit circuit.

Preferably, the first and second electrodes are formed of a metal,

Figure 46750DEST_PATH_IMAGE004

get

Figure 43524DEST_PATH_IMAGE005

Seconds as a calculation parameter, wherein

Figure 99205DEST_PATH_IMAGE006

Taking an integer.

The beneficial effects obtained by the invention are as follows:

by the aid of the two methods, users at all ages can set timing time quickly through the keys, daily use of the users is facilitated to the maximum extent, timing functions can be played really, and hardware cost is reduced greatly as the man-machine interaction process does not need support of a display screen.

Drawings

FIG. 1 is a circuit diagram of kinds of timing electronic switch circuits according to the preferred embodiment of the present invention.

Detailed Description

The technical solutions of the present invention are described in detail below with reference to the drawings and examples, so that those skilled in the art can fully and completely implement the technical solutions of the present invention on the basis of reading the present specification.

It should be noted that the following is only a preferred embodiment of the present invention, and not to limit the scope of the invention, and it will be apparent to those skilled in the art that several modifications and improvements can be made without departing from the inventive concept of the present invention, and these should fall within the scope of the present invention, and therefore, all changes in equivalent structure or equivalent flow process that can be made by using the contents of the present specification and drawings, or applied directly or indirectly to other related technical fields, and other embodiments obtained by those skilled in the art based on the embodiments given in the present invention without creative efforts will fall within the scope of the present invention.

As shown in FIG. 1, the preferred embodiment of the present invention provides kinds of timing electronic switch circuits, which include a main control unit circuit U1, a key S1, an indicator light D1, an execution circuit U2, and a power circuit U3, wherein the main control unit circuit U1, the key S1, the indicator light D1, the execution circuit U2, and the power circuit U3 are commonly connected to a reference ground, and the key S1, the indicator light D1, the execution circuit U2, and the power circuit U3 are commonly connected to the main control unit circuit U1.

When the power circuit U3 supplies power to the master unit circuit U1, the master unit circuit U1 starts to operate and continuously recognizes and processes the gesture signals sent by the keys S1.

In this embodiment, the step time

Figure 429035DEST_PATH_IMAGE004

Get

Figure DEST_PATH_IMAGE009

Seconds are used as calculation parameters.

When the user performs the continuous-click operation through the key S1, it is assumed that the user continuously clicks 3 times,

first, the master unit circuit U1 is based on the formula

Figure 556260DEST_PATH_IMAGE001

The timing time is calculated as follows:

Figure DEST_PATH_IMAGE010

second;

then, the main control unit circuit U1 times according to the calculated timing time, and simultaneously, under the control of the main control unit circuit U1, the indicator lamp D1 starts to periodically change the self-luminous state;

finally, when the timing time reaches 120 seconds, the main control unit circuit U1 sends a control signal for turning on or off the load to the execution circuit U2, and the indicator light D1 stops periodically changing its own light emitting state under the control of the main control unit circuit U1.

When the user performs a long-press operation through the key S1, assuming that the user presses for 3 seconds for a long time,

first, the master unit circuit U1 is based on the formula

Figure 971323DEST_PATH_IMAGE007

The timing time is calculated as follows:

Figure DEST_PATH_IMAGE011

second;

then, the main control unit circuit U1 times according to the calculated timing time, and simultaneously, under the control of the main control unit circuit U1, the indicator lamp D1 starts to periodically change the self-luminous state;

finally, when the timing time reaches 180 seconds, the main control unit circuit U1 sends a control signal for turning on or off the load to the execution circuit U2, and the indicator light D1 stops periodically changing its own light emitting state under the control of the main control unit circuit U1.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于控制灯具的方法、装置及控制系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!