CN1287238C - Automatic timing open-close method with synchronous set - Google Patents
Automatic timing open-close method with synchronous set Download PDFInfo
- Publication number
- CN1287238C CN1287238C CN 03113943 CN03113943A CN1287238C CN 1287238 C CN1287238 C CN 1287238C CN 03113943 CN03113943 CN 03113943 CN 03113943 A CN03113943 A CN 03113943A CN 1287238 C CN1287238 C CN 1287238C
- Authority
- CN
- China
- Prior art keywords
- mcu
- time
- circuit
- timing
- electrical equipment
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G15/00—Time-pieces comprising means to be operated at preselected times or after preselected time intervals
- G04G15/006—Time-pieces comprising means to be operated at preselected times or after preselected time intervals for operating at a number of different times
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Abstract
The present invention relates to a synchronously set automatic timing start-close method, which is suitable for a device having a microprocessor (MCU). The present invention has the method that an MCU drives a switch setting circuit to make controlled electric appliances start or close when a user issues the starting or closing demands by a switch setting circuit, and simultaneously, the present invention carries out the following steps: A, the inner part of the MCU synchronously starts to time when the MCU drives the switch controlling circuit; B, the MCU receives a setting command opposite to the step A sent by the switch setting circuit or the timing of the MCU reaches the time length T1 which is preset at the inner part; C, the MCU drives the switch controlling circuit to make the controlled electric appliances close or start, and the operating condition is opposite to that of the controlled appliances in the step A; D, the MCU continuously times to reach the circulation time length To which is preset at the inner part; E, the MCU drives the switch controlling circuit to make the controlled electric appliances start or close, and the operating condition is the same as that of the controlled electric appliances before the To time; F, the steps from A to E are repeatedly and circularly run. The present invention improves the automatic timing operation and the timing setting modes of the existing electric appliances.
Description
Technical field
The present invention relates to the automatic technology processing procedure, relate in particular to a kind of method of automatic time switch machine of electrical installation, it is applicable to the have microprocessor device of (MCU).
Background technology
Increasing electrical equipment needs automatically to press customer requirements or custom timing open and close machine, timing start-up can make things convenient for and guarantee user's timely use, and timing shutdown then avoids the user to forget or inconvenient seasonal electrical equipment long-term work causes the wasting of resources and electrical equipment Acceptable life to shorten.
But now, the realization of timed power on/off and the method for setting operation are all very complicated mostly, and time set is all cooperated by display screen, clock circuit, a several setting button that shows current time and setting-up time usually.If we need the six o'clock work in the morning of an electrical equipment, 6 halfs quit work, and just need use three buttons at least under the cooperation of a time display screen, through the operation of the step more than about ten, we have just obtained the setting operation of a time switch of an electrical equipment.If set the timing of a plurality of times, just need several times workload.This switching on and shutting down time setting method, not only hardware configuration complexity, cost are very high, volume is very big, also need the multi-mode operation step of strict order, and corresponding big length instructions is indispensable.If the user little educational, have defective vision, or lost the instructions of this setting operation, or forgotten the establishing method of this fixed cycle operator, a damage is arranged in perhaps above-mentioned a plurality of parts, operation just can not finish and realize that this function will be lost.And a lot of high intelligent function of much senior electrical equipment is had direct relation with the complicated operations Programming Methodology exactly by on the shelf for a long time at present.
Therefore, develop that a kind of intelligent degree is very high, the method for the but very simple timing setting of operation steps and control is most important.
Summary of the invention
The method that the purpose of this invention is to provide a kind of automatic time switch machine of synchronization settings, on service routine, can simplify the operation steps that the user sets greatly, even do not need the user specially to do the timing setting operation, just can realize and finish very complicated timed power on/off function by customer requirements and custom, user's operation convenience, simplification are greatly improved, also improved the intelligent degree and the dependability of suitable electrical equipment simultaneously.
Purpose of the present invention can reach by following measure:
A kind of method of automatic time switch machine of synchronization settings, be applicable to and have microprocessor (MCU, be designated hereinafter simply as MCU) device, comprise user's configuration switch circuit, MCU and peripheral circuit thereof, gauge tap circuit, controlled electrical appliance part in the suitable devices, it is for guaranteeing time-controlled finishing, and the user does the operation of timing setting and tries one's best simply, and this method comprises the steps:
1, user's configuration switch circuit is assigned the setting command of start or shutdown;
2, MCU receives the setting command that the configuration switch circuit is sent here, and the drive controlling on-off circuit makes controlled electrical equipment start or shutdown;
3, MCU continues to carry out following steps:
In the time of A, MCU drive controlling on-off circuit, MCU inside picks up counting synchronously;
B, MCU timing are to the inner binding hours length T that presets
1, perhaps at T
1In the time span, MCU receives the setting command opposite with 1 step that the configuration switch circuit transmits;
C, MCU drive controlling on-off circuit make controlled electrical equipment shutdown or start, and be opposite with the duty of controlled electrical equipment in 2 steps;
D, MCU continue timing, reach length T cycling time that presets inside
0
E, MCU drive controlling on-off circuit make controlled electrical equipment start or shutdown, with T
0The duty of controlled electrical equipment is identical before time, and MCU is to T simultaneously
0The timing zero clearing;
F, bring into operation to step e circular flow again from steps A.
Described method comprises many steps of A to F, and described each step is arranged in chronological order successively and carried out, and can each step closely arrange ground operation continuously, also can allow the step of interspersed other meaning to carry out successively discontinuously between each step.
Allow to have successively in described step D repeatedly to use step 1, formed a plurality of step 1 to 3 series are independent of each other, and Horizon is capable carries out for connection; Or make that a plurality of series of steps are nested connectedly mutually carries out.
The inventive method is since 1 step, finish the one action flow process after arriving the E step, later workflow is all moved automatically from A to E step, all the time circulation, the MCU in suitable devices of the present invention by other programmed instruction withdraw from the fixed cycle operator step of the inventive method, zero clearing or the suitable devices of being reset has a power failure.
Cycle time T in the inventive method
0Design, can solve periodically time-controlled setting problem well, because it is a length value, irrelevant with the concrete moment, therefore not needing needs a real time execution, shows clock circuit and display circuit current and the regularly moment that as traditional timing mode hardware cost and operation steps are all greatly saved.
Binding hours T in the inventive method
1Design can prevent well that suitable devices from entering invalid recurrent state, has avoided the user not set under the situation of shutdown only having set start, causes suitable devices the start in a single day just meaningless loss state and the time-controlled disarmed state of long-term start.T
1Also be to have nothing to do in a length value and the concrete moment.
T
0And T
1Can be the deviser according to one group of time span of the operating position regulation of electrical equipment, also can be several groups of time spans to be arranged by wherein a group of allowing the user to select voluntarily to determine in program design of MCU.
MCU in the inventive method suitable devices is a core devices, it is a kind of intelligent micro programming controller of known embedded software program design, the deviser can work out the in house software program with its language that is suitable for, and writes to make it have certain processing capacity among the MCU in producing or using.
MCU both can aim at this timing controlled function independent design, also can be that other function is required in the suitable devices, and MCU also allows to store other running program except that the base program that stores the inventive method.
User's configuration switch circuit in the inventive method suitable devices is a personal-machine interface, be responsible for user's setting command is converted into the acceptable electric signal of MCU, it can be the Mechanical Contact formula button that is simply triggered by user action, switch, button or pressure type touch-screen, pressure-sensitive device etc., also can be that user's hand-held device is (as Digiplex, telephone remote control, radio frequency, magnetic card, IC-card etc.) the corresponding configuration switch circuit structure that reads also can be that the user biological feature is (as fingerprint, palmmprint, vocal print, stria retinae, human body infrared etc.) identification read configuration switch circuit structure etc.
Gauge tap circuit in the inventive method suitable devices is the driving topworks of a MCU, be responsible for controlling according to the order of MCU the open and close machine duty of controlled electrical equipment, it can be any electronic switch (transistor, field effect transistor, controllable silicon, solid-state relay etc.), electric mechanical switch (relay, contactor etc.).
Controlled electrical equipment in the inventive method suitable devices is a controlled terminal apparatus, can be any controllable electrical equipment, electric component unit.
The inventive method can be used on the time-controlled electrical equipment of various needs, can improve the automatic work and the timing setting pattern of existing a lot of electrical equipment fully, all need be in every day or weekly, cycle sex work such as every month, and have the electrical equipment of power supply supply especially suitable all the time.
The present invention and traditional timing setting method maximum different are synchronous real-time.Tradition timing setting method can be set any one timing and on off state at any time, irrelevant with the setting operation moment and the duty of electrical equipment itself at that time, therefore must the extra clock circuit of a cover move, adjust and show current real-time time, its establishing method and relevant hardware be just inevitable very complicated.And method of the present invention must be used the setting in real time of carrying out at that time synchronously of switch state at the electrical equipment of user's operation, the user of this method is hardly with specially removing to set fixed cycle operator, as long as on request or the normal device of using the inventive method design that uses of custom---start or shutdown, just synchronization settings finishes, and other all steps is finished by MCU work, operation same after a cycling time of presetting can have been carried out again automatically, can do artificial operation again.
In specific implementation process of the present invention, can adopt method and thought of the present invention by concrete condition design implementation step and time parameter wherein.
Description of drawings
Fig. 1 is the exemplary block diagram of automatic time switch machine method suitable devices of the present invention;
Fig. 2 is the process flow diagram of automatic time switch machine method of the present invention:
Fig. 3 is the process flow diagram of the automatic time switch machine method of one embodiment of the present of invention;
Embodiment
The present invention is further described below in conjunction with accompanying drawing:
As shown in Figure 1, a kind of method of automatic time switch machine of synchronization settings is applicable to the have microprocessor device of (MCU is designated hereinafter simply as MCU).Its suitable devices is set by the user on-off circuit, MCU and peripheral circuit thereof, gauge tap circuit, controlled electrical appliance part formation, user's operation or setting command pass to MCU by user's configuration switch circuit, MCU has contained the control program of the inventive method, under the help of its peripheral circuit, the drive controlling on-off circuit goes to carry out user's order or the order that internal processes sends, and goes to control the duty of controlled electrical equipment---start or shutdown.
As shown in Figure 2, method of the present invention is: for guaranteeing time-controlled finishing, and the user to do the operation of timing setting simple as far as possible, this method comprises the steps:
1, user's configuration switch circuit is assigned the setting command of start or shutdown;
2, MCU receives the setting command that the configuration switch circuit is sent here, and the drive controlling on-off circuit makes controlled electrical equipment start or shutdown;
3, MCU continues to carry out following steps:
In the time of A, MCU drive controlling on-off circuit, MCU inside picks up counting synchronously;
B, MCU timing are to the inner binding hours length T that presets
1, perhaps at T
1In the time span, MCU receives the setting command opposite with 1 step that the configuration switch circuit transmits;
C, MCU drive controlling on-off circuit make controlled electrical equipment shutdown or start, and be opposite with the duty of controlled electrical equipment in 2 steps:
D, MCU continue timing, reach length T cycling time that presets inside
0
E, MCU drive controlling on-off circuit make controlled electrical equipment start or shutdown, with T
0The duty of controlled electrical equipment is identical before time, and MCU is to T simultaneously
0The timing zero clearing;
F, bring into operation to step e circular flow again from steps A.
On concrete enforcement, the inventive method can bring into operation after one 1 step, and periodic duty all the time, finish the work of timed power on/off, the MCU in suitable devices of the present invention by other programmed instruction withdraw from the fixed cycle operator step of the inventive method, zero clearing or the suitable devices of being reset has a power failure.
On concrete enforcement, if the user wants to change an existing timing setting, can adopt reset zero clearing or with ways such as suitable devices power failures with MCU, afterwards just can be again do the switching on and shutting down timing setting between in due course.
One cycling time length T
0In, the user can have multiple switching machine timing setting, in described step D, set effectively, and produce another or the series of steps of several steps 1 to 3 in addition equally, if use in each series of steps preset T
0And T
1Time span is identical, then forms a plurality of time switch controls parallel with original series of steps; If that uses in each series of steps presets T
0And T
1The time span difference then forms a plurality of time switch controls with the nested operation of original series of steps.
Embodiment 1: with electronic medicine box explanation the inventive method and application thereof.
The effect of electronic medicine box is to abide by to advise according to the doctor to send the sound on time in due order and remind the user to take medicine.The built-in electronic timing alarm set of this electronic medicine box, this device comprise one set button (user's configuration switch), microprocessor (MCU) chip and peripheral circuit, news are rung acoustical generator (controlled electrical equipment), a timing setting and working routine have been designed by method of the present invention in this microprocessor (MCU), and the gauge tap circuit is contained, the on off state of its energy timing controlled news sound acoustical generator in inside.In this embodiment, the MCU timing of electronic medicine box and user's start operation are synchronous, the binding hours length T that wherein presets
1Be 3 minutes, length T cycling time that presets
0It is 24 hours.Bring back first day needs that electronic medicine box goes home the user and set regularly, the user clicks the button on the electronic medicine box when taking medicine for the first time in the morning, and news are rung acoustical generator will send prompting sound, 3 minutes (T of polyphony
1), if during the user pressed this setting key once more, sound just stops.Setting work is this time promptly done and is over.To same moment the next morning (after 24 hours, T
0), electronic medicine box does not need any operation of user, and its news are rung acoustical generator and are just sounded 3 minutes (T automatically
1) interior user picks up medicine box by setting key once, sound has just stopped; If nobody comes button, 3 minutes (T
1) after also can stop sounding automatically.So, in the same moment of every morning, electronic medicine box all can sound automatically and remind the user to take medicine.Shown in the accompanying drawing 3 setting and workflow once.
If (length T cycling time that presets within a day
0Be 24 hours) need eat medicine three times, the user just can take in first day of medicine box, presses the setting button on the electronic medicine box in morning, noon and afternoon three suitable time of taking medicine, and has also configured taking medicine the time of later every day when taking medicine on time.As a same reason, in three same moment of second day morning, noon and afternoon, electronic medicine box will sound automatically.Be not always the case every day later on.During such user is provided with, owing to the T that presets that uses during three times users set
0And T
1Time span is identical, has formed three parallel series of steps exactly, and three timed power on/offs are arranged.
Adopt the electronic medicine box of the present invention's design, because hardware configuration is very simple, the cost of electronic installation is low, volume is little, is beneficial to penetration and promotion in enormous quantities; Also because timing setting and use are all very simple, the user of almost any age, eyesight and schooling can use (comprising blind person etc.).And existing electronic medicine box has two kinds of regularly schemes; (1) band clock circuit, clock LCDs and a plurality of button, need the user to configure the time of jingle bell when taking medicine on request in advance, this scheme just needs the user that 2 ~ 4 buttons are gone on foot by correct step operation 10 ~ 30 if set 2 ~ 3 timings, very trouble; (2) countdown circuit, 1 ~ 2 button of band set time, generally all did countdown for the set time by 4 hours, the user clicks key at every turn when taking medicine, will the jingle bell prompting take medicine once more after 4 hours, the benefit of this scheme is that the user is simple to operate, and problem also has three: (1) all needs when taking medicine to remember by primary key at every turn, otherwise the next time of jingle bell prompting automatically; Require during (2) one days take medicine for the last time not remove button, otherwise after 4 hours again with jingle bell, but need not take medicine this moment, may influence sleep and waiting other lives; (3) time of countdown is fixed, and not necessarily is fit to user's the habits and customs or the use regulation of medicine.Therefore the electronic medicine box that adopts the present invention program to design is an advantage of having drawn existing two kinds of design proposals, farthest reduced user's operation complexity, also reduced manufacturing cost, also farthest satisfied user's habits and customs and medication regulation, traditional electronic medicine box product is radiated the vigour of youth.
In the present embodiment, the microprocessor (MCU) that contains the inventive method program has carried out time synchronisation to start input each time, and all at whole 24 hours (T
0) after the moment send the start operational order, ring acoustical generator work from command of execution news.The inventive method has significantly been improved the self-timing work and the timing setting pattern of existing electronic medicine box on the basis of use habit that keeps the user and individual character requirement, reached the timing controlled prompting and taken medicine and all very simple purpose of user's operating performance.
By the elaboration of above embodiment, adopt timing setting method of the present invention very simple and practical as can be seen, its application product also has good intelligence and ease of use, has broad prospects.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.
Claims (1)
1, a kind of method of automatic time switch machine of synchronization settings, be applicable to device with microprocessor MCU, comprise user's configuration switch circuit, MCU and peripheral circuit thereof, gauge tap circuit, controlled electrical appliance part in the suitable devices, it is characterized in that: this method comprises the steps:
(1) user's configuration switch circuit is assigned the setting command of start or shutdown;
(2) MCU receives the setting command that the configuration switch circuit is sent here, and the drive controlling on-off circuit makes controlled electrical equipment start or shutdown;
(3) MCU continues to carry out following steps:
(A), MCU drive controlling on-off circuit the time, MCU inside picks up counting synchronously;
(B), the MCU timing is to the inner binding hours length T 1 that presets, perhaps in the T1 time span, MCU receive that the configuration switch circuit transmits with the opposite setting command of (1) step;
(C), MCU drive controlling on-off circuit makes shutdown of controlled electrical equipment or start, and is opposite with the duty of controlled electrical equipment in (2) step;
(D), MCU continues timing, reaches the length T 0 cycling time that presets inside;
(E), MCU drive controlling on-off circuit makes start of controlled electrical equipment or shutdown, with T0 before the time duty of controlled electrical equipment identical, MCU is to the timing zero clearing of T0 simultaneously;
(F), bring into operation to step (E), circular flow from step (A) again.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03113943 CN1287238C (en) | 2003-03-14 | 2003-03-14 | Automatic timing open-close method with synchronous set |
AU2003255067A AU2003255067A1 (en) | 2003-03-14 | 2003-06-26 | A method of automatic switching on or off timely which is set synchronous |
PCT/CN2003/000494 WO2004080368A1 (en) | 2003-03-14 | 2003-06-26 | A method of automatic switching on or off timely which is set synchronous |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03113943 CN1287238C (en) | 2003-03-14 | 2003-03-14 | Automatic timing open-close method with synchronous set |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1530783A CN1530783A (en) | 2004-09-22 |
CN1287238C true CN1287238C (en) | 2006-11-29 |
Family
ID=32968458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03113943 Expired - Fee Related CN1287238C (en) | 2003-03-14 | 2003-03-14 | Automatic timing open-close method with synchronous set |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN1287238C (en) |
AU (1) | AU2003255067A1 (en) |
WO (1) | WO2004080368A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010000117A1 (en) * | 2008-07-04 | 2010-01-07 | Zhou Xiangjun | Intelligent physiological parameter detecting apparatus |
CN101650550B (en) * | 2008-12-30 | 2012-09-12 | 周湘峻 | Timing device and method thereof and audio device using same |
CN101853004B (en) * | 2009-04-01 | 2012-04-25 | 泰怡凯电器(苏州)有限公司 | Device with automatic timing function and self-movement robot with device |
WO2011094945A1 (en) * | 2010-02-05 | 2011-08-11 | Zhou Xiangjun | Timing equipment and method and audio equipment using timing equipment |
CN102722114B (en) * | 2012-06-26 | 2014-06-11 | 宁波毕士达智能洁具有限公司 | Method for setting fixed-time power on and off of electrical appliance device with microprocessor |
CN107228404A (en) * | 2017-06-13 | 2017-10-03 | 芜湖桑乐金电子科技有限公司 | The method of heating picture time opening |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2388949Y (en) * | 1999-08-11 | 2000-07-26 | 上海龙图科技发展有限公司 | Bottle cap with function of reminding taking medicine at regular time |
CN2493215Y (en) * | 2001-08-22 | 2002-05-29 | 许义雄 | Alarm for medicine taking |
-
2003
- 2003-03-14 CN CN 03113943 patent/CN1287238C/en not_active Expired - Fee Related
- 2003-06-26 WO PCT/CN2003/000494 patent/WO2004080368A1/en not_active Application Discontinuation
- 2003-06-26 AU AU2003255067A patent/AU2003255067A1/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
WO2004080368A1 (en) | 2004-09-23 |
CN1530783A (en) | 2004-09-22 |
AU2003255067A1 (en) | 2004-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5124942A (en) | Machine interface with cyclically displayed hierarchical menus and user selection of menu items by actuation of a single switch | |
CN101650550B (en) | Timing device and method thereof and audio device using same | |
CN109965846A (en) | A kind of intelligent mattress with sleep management function | |
CN1287238C (en) | Automatic timing open-close method with synchronous set | |
CN103607758A (en) | Terminal screen power saving processing method, device thereof and terminal | |
CN102147140B (en) | Timing appointment method of air conditioner | |
TW201300974A (en) | Smart waking device and smart waking method thereof | |
US20130208575A1 (en) | Remotely deactivated alarm clock | |
CN1845624A (en) | Standby processing method and device for mobile terminal | |
CN102346436A (en) | Natural awakening device and method | |
CN102722114B (en) | Method for setting fixed-time power on and off of electrical appliance device with microprocessor | |
EP1424624A3 (en) | Method and apparatus for setting the operational mode of electronic devices | |
CN114942696B (en) | Key mouse equipment with sterilization function and key mouse sterilization method | |
CN108681234A (en) | A kind of wake-up device, the method for adjustment of system and wake-up device | |
CN103179358A (en) | Operation state control method of television and television | |
CN203799194U (en) | Timing device | |
CN113639424A (en) | Method and device for controlling air conditioner and air conditioner | |
CN1845623A (en) | Method for displaying time on handset | |
CN209343165U (en) | A kind of blue-tooth intelligence switch controller | |
CN102496207A (en) | Active-type single-key password input method | |
CN104965759B (en) | A kind of method and terminal of control terminal | |
CN108958012A (en) | A kind of method of adjustment of wake-up device, system and wake-up device | |
CN105280438A (en) | Wireless intelligent switch panel having timing motion function and method | |
CN214013317U (en) | Timer socket | |
CN109788620B (en) | Automatic switch switching control method based on cycle mode for intelligent lighting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20061129 Termination date: 20160314 |