CN105262600A - Method for implementing timed switch-on/off of optical modem and optical modem having timed switch-on/off function - Google Patents
Method for implementing timed switch-on/off of optical modem and optical modem having timed switch-on/off function Download PDFInfo
- Publication number
- CN105262600A CN105262600A CN201510556135.0A CN201510556135A CN105262600A CN 105262600 A CN105262600 A CN 105262600A CN 201510556135 A CN201510556135 A CN 201510556135A CN 105262600 A CN105262600 A CN 105262600A
- Authority
- CN
- China
- Prior art keywords
- light cat
- switch
- main control
- control module
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Electric Clocks (AREA)
Abstract
The invention relates to a method for implementing timed switch-on/off of an optical modem and an optical modem having a timed switch-on/off function. The method for implementing timed switch-on/off of the optical modem and the optical modem having the timed switch-on/off function are characterized in that a timing mode and a normal mode are set. Different running modes can be selected specific to different user groups. A bilateral switch and a unilateral switch being linked with each other are used in matching way, the bilateral switch is used for selecting a working mode, and the unilateral switch is linked with the bilateral switch in order to control switch-on/off of a working power supply of a main control module, thereby realizing switching of the working mode. The main control module is implemented on the basis of a single chip microcomputer. Through a comparison between a real-time clock and a set time period, control signal generation time is accurate, and minor errors are generated. Moreover, the main control module is implemented by means of edition based on the single chip microcomputer, so that a setting operation becomes easier and more direct.
Description
Technical field
The present invention relates to a kind of light cat, more particularly, relate to a kind of method realizing light cat timing switch, and a kind of light cat with timed switching function.
Background technology
Nowadays, light cat has become one of indispensable domestic electronic appliances of every household, the light cat that family uses, because of people be on duty, rest at night time can not use, now should be closed, but owing to can use light cat at other times, user often can not switch light cat continually, and this just makes light cat heat run, power consumption.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of method realizing light cat timing switch can carrying out arranging power supply break-make is as required provided, and the light cat with timed switching function corresponding with described method.
Technical scheme of the present invention is as follows:
A kind of method realizing light cat timing switch, be provided with timing mode and general mode, when selecting timing mode, working power is that main control module is powered, control light cat according to arranging is opened and the time point of closing, main control module correspondence transmission opening signal and shutdown signal, to the switch module of light cat, control opening and closedown of light cat; When selecting general mode, disconnecting working power is the power supply of main control module, main control module power-off, is not light cat transmission opening signal and shutdown signal, and opening of light cat is determined by switch module with closing.
As preferably, the transmission of setting controls light cat and opens and contrast with the time point of closing and timer clock, and when timer clock arrives the time point opened with cut out of setting, main control module sends opening signal and shutdown signal accordingly.
As preferably, select timing mode or general mode by bidirectional switch, single-way switch and bidirectional switch link; When timing mode selected by bidirectional switch, single-way switch interlock is closed, and working power is that main control module is powered; When general mode selected by bidirectional switch, single-way switch interlock disconnects, main control module power-off.
As preferably, after needing to open the control light cat arranged and resetting with the time point of closing, then reset new control light cat and open and the time point of closing.
As preferably, arrange light cat and open and the time period of closing, the future time point that the time period that light cat is opened terminates is the time point controlling the closedown of light cat, and the future time point that the time period that light cat is closed terminates is the time point that control light cat is opened.
Have a light cat for timed switching function, the switch module of light cat connects timing switch circuit, and timing switch circuit controls light cat and opens and the time period of closing; Timing switch circuit comprises working power, main control module, bidirectional switch, single-way switch; Bidirectional switch and single-way switch link, and single-way switch is arranged between working power and main control module, and the switch module of light cat is connected with bidirectional switch, and bidirectional switch is provided with timing gear, common gear;
When bidirectional switch is placed in timing gear, single-way switch interlock is closed, and working power is communicated with main control module, and main control module works on power, and the output of main control module is connected with the switch module of light cat;
When bidirectional switch is placed in common gear, single-way switch interlock disconnects, and working power and main control module disconnect, and main control module power-off does not work, and the output of main control module and the switch module of light cat disconnect.
As preferably, main control module comprises main control chip, clock chip, control signal sending module, input unit, arrange light cat by input unit to open and the time period of closing, clock chip produces real-time clock, real-time clock and light cat are opened and contrast with the time period of closing, the future time point that the time period that light cat is opened terminates is the time point controlling the closedown of light cat, main control chip produces opening signal, the future time point that the time period that light cat is closed terminates is the time point that control light cat is opened, main control chip produces shutdown signal, opening signal and shutdown signal are sent to the switch module of light cat by control signal sending module.
As preferably, main control module comprises and also comprises reseting module, and reseting module is used for opening the light cat in front setting emptying with the time period of closing, and resets new light cat and opens and the time period of closing.
As preferably, main control module comprises and also comprises display module, opens and the time period of closing for display light cat.
Beneficial effect of the present invention is as follows:
Of the present inventionly realize the method for light cat timing switch and there is the light cat of timed switching function, be provided with timing mode and general mode, for the optional different operational mode of different user crowd, by interlock bidirectional switch and single-way switch with the use of, mode of operation selected by bidirectional switch, single-way switch and bidirectional switch link, and control the break-make of the working power of main control module, and then realize the switching of mode of operation.Main control module realizes based on single-chip microcomputer, is contrasted by the time period of real-time clock and setting, and the time producing control signal is accurate, and error is little.And realized by editor based on single-chip microcomputer, setting operation is more directly simple.
Accompanying drawing explanation
Fig. 1 is the principle schematic of light cat.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The present invention can only open in order to the light cat solving prior art and close two kinds of stationary states, needs manual-lock when not in use, needs manual unlocking when deployed, and after light cat opens, all need to wait for a few minutes, even within tens minutes, just can complete whole start-up course, extremely inconvenient.And if be in open mode throughout the year, just make light cat heat run, power consumption, and the deficiency such as the lost of life, a kind of method realizing light cat timing switch is provided, is provided with timing mode and general mode, when selecting timing mode, working power is that main control module is powered, control light cat according to arranging is opened and the time point of closing, and main control module correspondence transmission opening signal and shutdown signal, to the switch module of light cat, control opening and closedown of light cat; When selecting general mode, disconnecting working power is the power supply of main control module, main control module power-off, not for light cat sends opening signal and shutdown signal, opening of light cat is determined by switch module with closing, and namely the switch module of light cat is in open mode, and light cat is open mode always, switch module is in closed condition, and light cat is closed condition always.
In order to open with the setting of the time period of closing more directly perceived to light cat, the present invention adopts 24 h cycle reverse countdowns, take timer clock as basis of reference, the transmission of setting control light cat is opened and contrasts with the time point of closing and timer clock, when timer clock arrives the time point opened with cut out arranged, main control module sends opening signal and shutdown signal accordingly.Wherein, arrange light cat and open and the time period of closing, the future time point that the time period that light cat is opened terminates is the time point controlling the closedown of light cat, and the future time point that the time period that light cat is closed terminates is the time point that control light cat is opened.
In the present invention, select timing mode or general mode by bidirectional switch QF1, single-way switch QF2 and bidirectional switch QF1 links, and single-way switch QF2 is closed or disconnection according to the operational module selected.As shown in Figure 1, when bidirectional switch QF1 selects timing mode, single-way switch QF2 links closed, and working power is that main control module is powered; When bidirectional switch QF1 selects general mode, single-way switch QF2 links disconnection, main control module power-off.
Method of the present invention allows the control light cat arranged to open to carry out reset with the time point of closing to reset, and again coordinates.After needing to open reset with the time point of closing to the control light cat arranged, then reset new control light cat and open and the time point of closing.
Based on the described method realizing light cat timing switch, the present invention also provides a kind of light cat with timed switching function, and as shown in Figure 1, the switch module of light cat connects timing switch circuit, and timing switch circuit controls light cat and opens and the time period of closing; Timing switch circuit comprises working power, main control module, bidirectional switch QF1, single-way switch QF2; Bidirectional switch QF1 and single-way switch QF2 links, and single-way switch QF2 is arranged between working power and main control module, and the switch module of light cat is connected with bidirectional switch QF1, and bidirectional switch QF1 is provided with timing gear, common gear.
When bidirectional switch QF1 is placed in timing gear, namely select timing mode, single-way switch QF2 links closed, and working power is communicated with main control module, and main control module works on power, and the output of main control module is connected with the switch module of light cat;
When bidirectional switch QF1 is placed in common gear, namely select general mode, single-way switch QF2 links disconnection, and working power and main control module disconnect, and main control module power-off does not work, and the output of main control module and the switch module of light cat disconnect.
Main control module comprises main control chip, clock chip, control signal sending module, input unit, arrange light cat by input unit to open and the time period of closing, clock chip produces real-time clock, and real-time clock and light cat are opened and contrast with the time period of closing.The future time point that the time period that light cat is opened terminates is the time point controlling the closedown of light cat, main control chip produces opening signal, the future time point that the time period that light cat is closed terminates is the time point that control light cat is opened, main control chip produces shutdown signal, and opening signal and shutdown signal are sent to the switch module of light cat by control signal sending module.
Method of the present invention allows the control light cat arranged to open to carry out reset with the time point of closing to reset, and again coordinates.Corresponding, in smooth cat of the present invention, main control module comprises and also comprises reseting module, and reseting module is used for opening the light cat in front setting emptying with the time period of closing, and resets new light cat and opens and the time period of closing.
Conveniently observe, in the present invention, main control module comprises and also comprises display module, opens and the time period of closing for display light cat.
When smooth cat of the present invention is in timing mode, clock chip produces real-time clock, the time period that input unit (as keyboard) sets delivers to main control chip, the time situation of setting is demonstrated by display module, the time of input and real-time clock contrast by main control chip, produce control signal (opening signal or shutdown signal), controlled the closed of the switch module of light cat by control signal sending module, light cat is run or stops.
Above-described embodiment is only used to the present invention is described, and is not used as limitation of the invention.As long as according to technical spirit of the present invention, change above-described embodiment, modification etc. all will be dropped in the scope of claim of the present invention.
Claims (9)
1. one kind realizes the method for light cat timing switch, it is characterized in that, be provided with timing mode and general mode, when selecting timing mode, working power is that main control module is powered, control light cat according to arranging is opened and the time point of closing, and main control module correspondence transmission opening signal and shutdown signal, to the switch module of light cat, control opening and closedown of light cat; When selecting general mode, disconnecting working power is the power supply of main control module, main control module power-off, is not light cat transmission opening signal and shutdown signal, and opening of light cat is determined by switch module with closing.
2. the method realizing light cat timing switch according to claim 1, it is characterized in that, the transmission control light cat arranged is opened and contrasts with the time point of closing and timer clock, when timer clock arrives the time point opened with cut out arranged, main control module sends opening signal and shutdown signal accordingly.
3. the method realizing light cat timing switch according to claim 1, is characterized in that, select timing mode or general mode by bidirectional switch, single-way switch and bidirectional switch link; When timing mode selected by bidirectional switch, single-way switch interlock is closed, and working power is that main control module is powered; When general mode selected by bidirectional switch, single-way switch interlock disconnects, main control module power-off.
4. the method realizing light cat timing switch according to claim 1, is characterized in that, after needing to open reset with the time point of closing to the control light cat arranged, then resets new control light cat and opens and the time point of closing.
5. the method realizing light cat timing switch according to claim 1, it is characterized in that, arrange light cat to open and the time period of closing, the future time point that the time period that light cat is opened terminates is the time point controlling the closedown of light cat, and the future time point that the time period that light cat is closed terminates is the time point that control light cat is opened.
6. have a light cat for timed switching function, it is characterized in that, the switch module of light cat connects timing switch circuit, and timing switch circuit controls light cat and opens and the time period of closing; Timing switch circuit comprises working power, main control module, bidirectional switch, single-way switch; Bidirectional switch and single-way switch link, and single-way switch is arranged between working power and main control module, and the switch module of light cat is connected with bidirectional switch, and bidirectional switch is provided with timing gear, common gear;
When bidirectional switch is placed in timing gear, single-way switch interlock is closed, and working power is communicated with main control module, and main control module works on power, and the output of main control module is connected with the switch module of light cat;
When bidirectional switch is placed in common gear, single-way switch interlock disconnects, and working power and main control module disconnect, and main control module power-off does not work, and the output of main control module and the switch module of light cat disconnect.
7. the light cat with timed switching function according to claim 6, it is characterized in that, main control module comprises main control chip, clock chip, control signal sending module, input unit, arrange light cat by input unit to open and the time period of closing, clock chip produces real-time clock, real-time clock and light cat are opened and contrast with the time period of closing, the future time point that the time period that light cat is opened terminates is the time point controlling the closedown of light cat, main control chip produces opening signal, the future time point that the time period that light cat is closed terminates is the time point that control light cat is opened, main control chip produces shutdown signal, opening signal and shutdown signal are sent to the switch module of light cat by control signal sending module.
8. the light cat with timed switching function according to claim 7, it is characterized in that, main control module comprises and also comprises reseting module, and reseting module is used for opening the light cat in front setting emptying with the time period of closing, and resets new light cat and opens and the time period of closing.
9. the light cat with timed switching function according to claim 7, it is characterized in that, main control module comprises and also comprises display module, opens and the time period of closing for display light cat.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510556135.0A CN105262600A (en) | 2015-09-02 | 2015-09-02 | Method for implementing timed switch-on/off of optical modem and optical modem having timed switch-on/off function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510556135.0A CN105262600A (en) | 2015-09-02 | 2015-09-02 | Method for implementing timed switch-on/off of optical modem and optical modem having timed switch-on/off function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105262600A true CN105262600A (en) | 2016-01-20 |
Family
ID=55102121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510556135.0A Pending CN105262600A (en) | 2015-09-02 | 2015-09-02 | Method for implementing timed switch-on/off of optical modem and optical modem having timed switch-on/off function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105262600A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2422753Y (en) * | 2000-04-28 | 2001-03-07 | 龙铭起 | Mechanical switch socket with timer |
US20120104871A1 (en) * | 2010-10-27 | 2012-05-03 | Thomas Strothmann | Energy efficient compact electronic timer for an electrical load |
CN202712622U (en) * | 2012-08-29 | 2013-01-30 | 惠州市格普森能源服务有限公司 | Intelligent energy-saving socket |
CN103178410A (en) * | 2011-12-26 | 2013-06-26 | 弈天电子科技(上海)有限公司 | Intelligent socket and intelligent socket control equipment |
-
2015
- 2015-09-02 CN CN201510556135.0A patent/CN105262600A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2422753Y (en) * | 2000-04-28 | 2001-03-07 | 龙铭起 | Mechanical switch socket with timer |
US20120104871A1 (en) * | 2010-10-27 | 2012-05-03 | Thomas Strothmann | Energy efficient compact electronic timer for an electrical load |
CN103178410A (en) * | 2011-12-26 | 2013-06-26 | 弈天电子科技(上海)有限公司 | Intelligent socket and intelligent socket control equipment |
CN202712622U (en) * | 2012-08-29 | 2013-01-30 | 惠州市格普森能源服务有限公司 | Intelligent energy-saving socket |
Non-Patent Citations (1)
Title |
---|
张秀再等: "多模式智能路灯控制系统", 《南京信息工程大学学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103226347A (en) | Personalized switch device and control method thereof | |
CN201657418U (en) | RF905 module based intelligent wall lighting switch | |
CN103425077A (en) | Household wireless encoding/decoding remote control switching device | |
CN103594875A (en) | Smart power-saving switch socket | |
CN105262600A (en) | Method for implementing timed switch-on/off of optical modem and optical modem having timed switch-on/off function | |
CN202276521U (en) | Control switch capable of adjusting luminous intensity of lamp | |
CN203827354U (en) | Optical interface power supply control device for intelligent substation test equipment | |
CN202649756U (en) | Household wireless encoding/decoding remote control switch device | |
CN201131248Y (en) | A timing mosquito-repelling device | |
CN211557555U (en) | Intelligence house list fire switch | |
CN201781472U (en) | Intelligent electronic switch | |
CN205787645U (en) | A kind of Simple LED lamp intervalometer | |
CN204118399U (en) | A kind of energy-saving socket with WIFI hot spot function | |
CN203028978U (en) | Timing water heater | |
CN201060392Y (en) | Intelligent electricity-saving device | |
CN203242852U (en) | Wireless intelligent socket | |
CN202602991U (en) | Alternating current control device for LED lighting | |
CN103928798A (en) | Intelligent wiring board device and control method thereof | |
CN202043322U (en) | Power restoration detection and automatic power off switch | |
CN204598007U (en) | A kind of can the wireless router of timing switch | |
CN202259979U (en) | Intelligent control electric socket | |
CN204498419U (en) | A kind of multifunction remote-control LED adapter | |
CN202254111U (en) | Air conditioner control device | |
CN202382358U (en) | Energy-saving switch of air conditioner | |
CN203596467U (en) | Intelligent energy-saving switch socket |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160120 |
|
RJ01 | Rejection of invention patent application after publication |