TW477919B - Timer capable of controlling power - Google Patents

Timer capable of controlling power Download PDF

Info

Publication number
TW477919B
TW477919B TW89114796A TW89114796A TW477919B TW 477919 B TW477919 B TW 477919B TW 89114796 A TW89114796 A TW 89114796A TW 89114796 A TW89114796 A TW 89114796A TW 477919 B TW477919 B TW 477919B
Authority
TW
Taiwan
Prior art keywords
power
timer
timing
time
output
Prior art date
Application number
TW89114796A
Other languages
Chinese (zh)
Inventor
Chin-Pao Hung
Original Assignee
Tsai Chung Rong
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 Tsai Chung Rong filed Critical Tsai Chung Rong
Priority to TW89114796A priority Critical patent/TW477919B/en
Application granted granted Critical
Publication of TW477919B publication Critical patent/TW477919B/en

Links

Abstract

The conventional timer is mainly divided into mechanical and electronic timers, in which the function of timer is not beyond the scope of conducting switch control of power at the specific time in order to output full-load or load-less power for the load. The present invention combines microprocessor, special-purpose timer chip, electricity and electronics related technique to design a timer capable of controlling power. Therefore, the timer is made to be able to perform on/off timing control of the general electric products. In addition, the output power at a specific moment of the timer can be arbitrarily planned and is not limited to perform only the function of full load or load-less switch control. By combining the function of special-purpose timing chip, accuracy of setting time can be increased; additionally, the timer-related setting data is stored in the memory of the timing chip such that function setting of timing is not affected by power failure. Consequently, the function of conventional timer and its application range can be greatly increased.

Description

477919 五、發明說明(1) 【發明領域】 本發明主要是有關於定時器的設計及操作方法。定時 · 器在日常生活中普遍的被使用,可增加生活上的便利性。 例如清晨時電鍋的起動或其他家電產品的定時起動等。而 本發明則進一步對傳統定時器作全面性的改良,除具備習 用定時器之功能外,更具備有輸出功率可變、即時功率控 制及定時循環週期可調的功能,以提昇其使用範圍。 【發明背景】 一般市面上習用的定時器依其所採取的定時結構概可 分為機械式定時器及電子式定時器。不論是機械式定時器 ® 或電子式定時器,其主要功能係針對受控負載於所設定的 時間執行全載或無載的開與關控制。機械式定時器的操作 簡單,但定時的精度卻不夠準確。電子式定時器可進行較 精確的定時控制,定時的週期較長。但無論是機械定時器 或電子式定時器,其定時的功能僅能對負載的功率進行全 載或無載的控制,在使用上的彈性較受限制。例如在一般 的智慧型家庭防盜系統中,當主人長期不在家時,可模擬 家電用品在特定時間的自動啟動,如燈光的控制。但燈光 的控制如欲隨夜的深淺作亮度的改變,習式的定時器則無 . 法達成此一功能。因此開發一具備輸出功率可變功能的定 ® 時器,以提昇傳統定時器之功能,為本發明的動機來源。 【發明目的】 如前所述,本發明之主要目的是提供一具備輸出功率477919 V. Description of the invention (1) [Field of the invention] The present invention is mainly related to the design and operation method of the timer. Timing devices are commonly used in daily life, which can increase convenience in life. For example, the start of the electric pan in the early morning or the regular start of other home appliances. The present invention further comprehensively improves the traditional timer. In addition to the functions of a conventional timer, it also has functions of variable output power, real-time power control, and adjustable timing cycle to increase its use range. [Background of the Invention] The timers commonly used in the general market can be divided into mechanical timers and electronic timers according to the timing structure they adopt. Whether it is a mechanical timer ® or an electronic timer, its main function is to perform full load or unloaded on and off control for a controlled load at a set time. The operation of the mechanical timer is simple, but the accuracy of the timing is not accurate enough. The electronic timer can perform more precise timing control, and the timing period is longer. However, whether it is a mechanical timer or an electronic timer, its timing function can only control the load power at full load or no load, and its flexibility in use is more limited. For example, in a general smart home anti-theft system, when the owner is away from home for a long time, it can simulate the automatic start of home appliances at a specific time, such as the control of lights. However, if the light control is to change the brightness according to the darkness of the night, the conventional timer cannot achieve this function. Therefore, the development of a timer with a variable output power function to enhance the function of the traditional timer is the motivation source of the present invention. [Objective of the Invention] As mentioned above, the main object of the present invention is to provide an output power

第4頁 477919 五、發明說明(2) 可變的定時器,藉由控制開關晶体的觸發相角改變,以控 制定時器插座的輸出功率。 而為充分發揮微處理器的功能,藉由控制軟体程式的 規畫,本發明的再一目的為提供一具備數位即時負載功率 調整的計時器,即透過簡單按鈕的操作,可以即時調整定 時器插座的輸出功率。 而為了提昇定時器的功能,本發明的再一目的為提供 定時週期可任意調整的定時器,本案之實施例其最小循環 週期為分。 【發明特徵】 為達成本發明所揭示之目的及功效,本發明主要結合 了微處理器、專用計時晶片及電力電子等相關電路的技術 ,以使得、定時器插座的輸出功率可進行調整。其主要技術 特徵係將、定時器的插座串聯一功率開關晶体,該晶体可藉 由導通角度的調整改變插座的輸出功率。而功率晶体導通 角度的控制係根據微處理器於某定時點送出功率的設定值 ,與計時電路從每一電源週期的零點開始計時的值相比較 ,相等則送出導通的觸發信號,以改變功率晶体的導通角 度而達成,輸出功率的控制。 同時為了避免斷電對系統相關的設定產生影響,並確 保定時器長時間使用時的精確度,本案的再一特徵係將系 統時間由專用的計時晶片產生,同時利用計時晶片所保留 的記憶体來儲存定時時間點及功率的設定值。由於計時晶Page 4 477919 V. Description of the invention (2) The variable timer controls the output power of the timer socket by controlling the phase angle change of the switch crystal. In order to give full play to the function of the microprocessor and through the planning of the control software program, another object of the present invention is to provide a timer with digital real-time load power adjustment, that is, the timer can be adjusted in real time through the operation of a simple button. Output power of the socket. In order to improve the function of the timer, another object of the present invention is to provide a timer whose timing period can be arbitrarily adjusted. In the embodiment of the present invention, the minimum cycle period is divided into minutes. [Inventive Features] In order to achieve the purpose and effect disclosed in the present invention, the present invention mainly combines the technologies of a microprocessor, a dedicated timing chip, and related circuits such as power electronics, so that the output power of the timer socket can be adjusted. The main technical feature is that a power switch crystal is connected in series with the socket of the timer. The crystal can change the output power of the socket by adjusting the conduction angle. The control of the conduction angle of the power crystal is based on the set value of the power sent by the microprocessor at a certain time point, and compared with the value of the timing circuit starting from the zero point of each power cycle. If the value is equal, a trigger signal is sent to change the power The conduction angle of the crystal is achieved, and the output power is controlled. At the same time, in order to avoid the power-off from affecting the system-related settings and ensuring the accuracy of the timer when it is used for a long time, another feature of this case is that the system time is generated by a dedicated timing chip, while using the memory reserved by the timing chip To save the time and the set value of power. Since the chronograph

第5頁 477919 五、發明說明(3) 片内含有鋰電池,即使斷電亦可保有重要的系統設定資料 ,而可使系統的運作不受電力中斷的影響。 而一般定時器的定時週期通常以日或月為單位,無法 作短循環週期的設定,為解決短時間循週期的設定問題, 本發明之再一特徵為利用定時點上的時間設定欄位(曰、 時、分)給予一特定的值,以表示以日或時或分為單位的 循環週期。藉此可將定時的循環週期縮小至分。而利用此 一功能,例如可使一般電扇作自然風之運轉。 為使 貴審查委員能進一步了解本案之技術特徵、功效 及本案之進步性,茲配合圖示說明如下。 【較佳實施例】 如圖一所示為本發明之基本功能方塊圖,1為電源電 路,主要係利用全波整流以產生可控功率定時器所需之直 流電源 (5伏特)。2則為零點檢知電路,由於功率控制是 透過在每一弦波週期中的導通角度來控制,因此零點檢知 主要是檢測電源電壓通過電壓值為零時的時間點,藉以可 供作導通角度計時的基準點。無穩態振盪電路3則提供作 為計時的基本脈波。當檢知零點後,此基本脈波送進計數 電路6計數,其計數值代表從電壓零點後所經過的時間。 微處理器5的程式流程裡,當定時的時間到達時,會經由 輸出埠送出該時間點的相對功率設定值(0〜2 5 5 ),此設定 值透過硬体的比較電路8進行比對,相等則送出功率晶体 1 0的觸發信號,藉以控制在每一電源週期的晶体導通時間Page 5 477919 V. Description of the invention (3) Lithium battery is included in the chip, even if the power is off, important system setting data can be kept, and the operation of the system is not affected by power interruption. The timing period of a general timer is usually in the unit of day or month. Short cycle periods cannot be set. In order to solve the problem of setting short cycle periods, another feature of the present invention is to use the time at the timing point to set the field ( (Day, hour, minute) to give a specific value to indicate the cycle period in days or hours or minutes. This can reduce the timing cycle to minutes. With this function, for example, ordinary electric fans can be used for natural wind operation. In order to allow your reviewers to better understand the technical characteristics, efficacy, and progress of this case, the following illustrations are provided with illustrations. [Preferred Embodiment] The basic functional block diagram of the present invention is shown in Fig. 1. 1 is a power supply circuit, which mainly uses a full-wave rectification to generate a DC power supply (5 volts) required for a controllable power timer. 2 is the zero point detection circuit. Since the power control is controlled by the conduction angle in each sine wave period, the zero point detection is mainly used to detect the time point when the power supply voltage passes through the zero value, which can be used for conduction. The reference point for angle timing. The steady-state oscillation circuit 3 provides a basic pulse wave for timing. When the zero point is detected, this basic pulse wave is fed into the counting circuit 6 for counting, and the count value represents the time elapsed since the voltage zero point. In the program flow of the microprocessor 5, when the time is up, the relative power setting value (0 ~ 2 5 5) at that time point will be sent through the output port. This setting value is compared through the hardware comparison circuit 8. , If they are equal, the trigger signal of the power crystal 10 will be sent to control the on-time of the crystal in each power cycle

第6頁 477919 五、發明說明(4) 長短,達到功率控制的目的。液晶顯示介面4及輸入設定 介面7為人機介面的部分,提供按鍵輸入及畫面顯示的功 能。為簡化操作按鍵,設定可控功率定時器的按鍵為共四 個,搭配液晶顯示的提示,可容易操作定時器(稍後配合 軟体控制流程作說明)。計時記憶晶片9則作為時間的計 時,並利用其内部的記憶体儲存所設定的重要資料,及其 内部鋰電池來防止斷電造成設定資料的流失。 圖二與圖三則為較細部之電路圖。各虛線方塊的編號 相同於圖一。請參考圖二及圖三。2為零點檢知電路。當 電源正緣通過零點時其輸出端2 A產生一脈沖信號,此脈沖 信號同時致能振盪電路3動作,及清除計數電路6。零點 檢知電路的設計可採用一個週期檢知一個或兩個零點,本 實施例採用檢知正緣的零點。例如檢測出一個正緣零點, 而負載功率的等級為2 5 6 (八位元解析度),則此時振盪電 路的頻率為60x 256x 1 = 15360 Hz。每一正緣零點開始, 由7 4 1 9 3所組成的八位元計數器便開始計數。如微處理器 於某一定時點送出的功率等級為1 2 8 (半載),則比較電路 將於每一正緣零點後之1 2 8 / 1 5 3 6 0 = 1 / 1 2 0秒後觸發導通, 亦即在一電源週期内(1 / 6 0秒)僅一半的時間導通。如零點 檢知電路是檢出、正負半週之零點,則無穩態振盪電路之頻 率可作其他之調整,以達到相同之功能。本發明的功率晶 体觸發角度的控制係部份透過硬体電路來達成,微處理器 5則專司人機介面信號之處理及各定時點之時間設定、功 率設定及時間比對。如圖三所不’微處理器5利用液晶顯Page 6 477919 V. Description of the invention (4) Length, to achieve the purpose of power control. LCD display interface 4 and input settings Interface 7 is part of the man-machine interface, and provides functions of key input and screen display. In order to simplify the operation of the buttons, there are four buttons for the controllable power timer. With the prompt of the LCD display, the timer can be operated easily (to be explained later with the software control process). The timing memory chip 9 is used as a time counter, and uses its internal memory to store the set important data and its internal lithium battery to prevent the setting data from being lost due to power failure. Figures 2 and 3 are detailed circuit diagrams. The dotted squares are numbered the same as in Figure 1. Please refer to Figure 2 and Figure 3. 2 is the zero detection circuit. When the positive edge of the power supply passes the zero point, a pulse signal is generated at its output 2A. This pulse signal simultaneously enables the oscillation circuit 3 to operate and clears the counting circuit 6. The zero point detection circuit can be designed to detect one or two zero points in one cycle. In this embodiment, zero points of positive edges are detected. For example, if a positive edge zero is detected and the load power level is 2 5 6 (octet resolution), then the frequency of the oscillating circuit is 60x 256x 1 = 15360 Hz. Each positive edge zero starts, and the eight-bit counter consisting of 7 4 1 9 3 starts counting. If the power level sent by the microprocessor at a certain timing is 1 2 8 (half load), the comparison circuit will be 1 2 8/1 5 3 6 0 = 1/1 2 0 seconds after each positive edge zero. The trigger is turned on, that is, it is turned on only half of the time in a power cycle (1/60 seconds). If the zero-point detection circuit detects zero points of positive and negative half cycles, the frequency of the non-steady-state oscillation circuit can be adjusted to achieve the same function. The control angle of the power crystal triggering angle of the present invention is partly achieved through a hardware circuit. The microprocessor 5 specializes in the processing of human-machine interface signals and the time setting, power setting and time comparison of each timing point. As shown in Figure 3, the microprocessor 5 uses a liquid crystal display.

第7頁 477919 五、發明說明(5)Page 7 477919 V. Description of the invention (5)

示器4作為系統時間顯示,及相關設定之提示(請參考次 頁之操作說明),而輸入設定介面7則由簡單的四個按鍵 所組成。微處理器配合輸入介面與顯示介面可容易進行相 關的設定值輸入,以執行不同的功能操作,其動作流程將 配合軟体流程於稍後作說有。9為專用計時晶片,雖微處 理器本身亦提供計時計數器的功能,惟其計時之動作所需 之軟体規晝較為複雜,且計時之精度較差,計時值易因電 溽供應中斷產生錯誤。因此本發明採用專用計時晶片作為 系統時間的計時,微處理器再透過資料線、位址線及控制 線進行相關時間資料的傳輸。而由於專用計時晶片内含 1 2 8by t e s的記憶体及鋰電池,可確保儲存於計時晶片上的 時間及相關設定資料,不致於因斷電造成資料流失而影響 定時器的功能 。 【軟体控制流程及操作說明】The indicator 4 is used as the system time display and related setting prompts (please refer to the operating instructions on the next page), while the input setting interface 7 is composed of four simple keys. The microprocessor cooperates with the input interface and the display interface to easily perform related set value input to perform different functional operations. The operation flow will be described later in cooperation with the software flow. 9 is a dedicated timing chip. Although the microprocessor itself also provides the function of a timing counter, the software required for its timing operation is more complicated and the accuracy of timing is poor. The timing value is prone to errors due to interruption of power supply. Therefore, the present invention uses a dedicated timing chip as the system time for timing, and the microprocessor then transmits the relevant time data through the data line, address line and control line. And because the dedicated timing chip contains 1 2 8by t e s of memory and lithium battery, it can ensure that the time and related setting data stored on the timing chip will not affect the function of the timer due to data loss caused by power failure. [Software control process and operation instructions]

本發明所設計主程式之軟体控制流程示於圖四。除了 初始的設定外,主程式的設計主要包含系統時間設定、負 載定時及功率設定,即時負載功率控制及可控功率定時系 統的啟動與停止四大功能。而中斷程式主要的功能為以一 預定週期讀取系統時間加以顯示,並進行定時時間點的比 對,判斷是否輸出各插座之功率控制。 系統時間設定係透過微處理器接收輸入介面的輸入設 定值,將精確的初始時間寫入DS1 2 88 7晶片。當完成此一 寫入動作後,計時的工作便完全由計時晶片負責。而微處The software control flow of the main program designed by the present invention is shown in Figure 4. In addition to the initial settings, the design of the main program mainly includes four functions: system time setting, load timing and power setting, real-time load power control, and start and stop of the controllable power timing system. The main function of the interrupt program is to read the system time and display it at a predetermined period, and compare it at regular time points to determine whether to output the power control of each socket. The system time setting is the input setting value of the input interface through the microprocessor, and the precise initial time is written into the DS1 2 88 7 chip. When this writing operation is completed, the timing chip is completely responsible for the timing chip. And the slightest

第8頁 477919 五、發明說明(6) 理器於每一預定的時間(中斷週期)内,會週期性來讀取此 一時間資料,以穫知正確的系統時間。 負載時間功率設定則主要用以設定各組輸出的時間及 功率的大小,亦即何時啟動電源的輸出,輸出多少功率。 本發明可同時對兩個負載作可控功率之定時控制,微處理 器接收所輸入的定時時間點及功率設定值後會將這些設定 值轉寫入專用計時晶片中所對應的記憶体。讀取系統時間 時,亦同時與所設定之定時點作比較。一旦所設定的定時 點到達時,便將該定時點所設定之輸出功率設定值送到輸 出埠,比較電路係隨時將輸出埠之值與計數電路之值進行 比較,以產生功率晶体導通所需之觸發信號,完成可控功 率的定時功能。 即時負載功率設定則類似手動之操作模式,使用者可 任意設定每一輸出開關的輸出功率。此一功能為可控功率 定時器的附屬功能,類似電子調光器,其差別在於將習用 類比式之電子調光器改成數位式。 可控功率定時系統的啟動與停止則是決定系統的功能 是否啟動。在設定完所需之設定值後,必須將系統設定為 啟動狀態,此時系統即可進入可控功率的定時模式工作。 以下配合操作方式進一步對主程式的細部操作流程作說 明。 可控功率定時器啟動後,便處在待機狀態下運作。此 時使用者可對可控功率定時器作規畫,以遂行其所欲之動 作。在程式設計的架構下,主要提供有四個功能選項。而 477919 五、發明說明(7) 操作之按鍵則簡化為四個U(Up)、D(Down)、E(Enter)及 S( Shi ft)鍵。開機後LCD首先顯示系統現在日期、時間。 畫面如下所示: 89-07-17 M0N PM 03:49:36Page 8 477919 V. Description of the invention (6) The processor will periodically read this time data at every predetermined time (interruption period) to know the correct system time. The load time power setting is mainly used to set the time and power of each group of output, that is, when to start the output of the power supply and how much power is output. The invention can control the timing of controllable power of two loads at the same time. After receiving the input timing point and power setting value, the microprocessor will transfer these setting values to the corresponding memory in the dedicated timing chip. When reading the system time, it is also compared with the set timing point. Once the set timing point is reached, the output power set value set at this timing point is sent to the output port. The comparison circuit compares the value of the output port with the value of the counting circuit at any time to generate the power crystal conduction The trigger signal completes the timing function of controllable power. The real-time load power setting is similar to the manual operation mode. The user can arbitrarily set the output power of each output switch. This function is an accessory function of the controllable power timer, similar to an electronic dimmer, the difference is that the conventional analog dimmer is changed to a digital type. The start and stop of the controllable power timing system is to determine whether the function of the system is started. After setting the required settings, the system must be set to the start-up state, at which time the system can enter the timing mode of controllable power. The following describes the detailed operation flow of the main program in cooperation with the operation mode. After the controllable power timer starts, it operates in standby mode. At this time, the user can plan the controllable power timer to do what he wants. Under the programming framework, there are mainly four functional options. And 477919 V. Description of Invention (7) The keys for operation are simplified to four U (Up), D (Down), E (Enter) and S (Shi ft) keys. After booting, the LCD first displays the current date and time of the system. The screen looks like this: 89-07-17 M0N PM 03:49:36

此時按S鍵則進入第一個功能顯示晝面 A>P0WER CONTROL B>L0AD TIME SETAt this time, press the S key to enter the first function display Day & Time A > P0WER CONTROL B > L0AD TIME SET

按U鍵可在四個功能顯項中移動,移到第C及D顯項時會出 現第二個功能顯示畫面 OSYSTEM TIME SET D>L0AD ON OFF 此四個功能選項之設定功能分別代表 功能A :即時負載功率控制 功能B :負載定時啟動及功率之設定 功能C :糸統時間的更改及設定 功能D :負載定時控制之啟動和停止 按U移到所需顯項時按D鍵即可進一步進入該選項之設定, 按E則回到目前時間顯示。 選項A為即時負載功率之控制:亦即可通過此一選項即時 更改輸送到負載之功率大小,選擇A選項後,其顯示畫面 如下所示; A>0UT_1 B>0UT_2Press the U key to move through the four function display items. When you move to the C and D display items, the second function display screen will appear. OSYSTEM TIME SET D > L0AD ON OFF The setting function of these four function options respectively represents function A. : Real-time load power control function B: Load timing start and power setting function C: System time change and setting function D: Load timing control start and stop Press U to move to the desired display item and press the D key to further Enter the setting of this option, press E to return to the current time display. Option A is the control of real-time load power: you can also change the power delivered to the load in real time through this option. After selecting option A, the display screen is as follows; A > 0UT_1 B > 0UT_2

第10頁 477919 五、發明說明(8) ^ 此時按ϋ可選擇第一組或第二組輸出,按D則確定選項,按 E貝丨回到顯示現在時刻畫面。例如選擇OUT—1,顯示之書面 如下: 一 L = _ % = 000 此時按S鍵可在左右兩個選項切換,若選擇左邊按u/D可切 ,負載作〇N/〇FF,選右邊選項按U/D可增減輸出功率的設 疋值。若此時有外接負載(如燈泡),在增減功率設定值時 I7 了馬上見輸出功率的改變(明亮度改變)。 逛,B為負載定時啟動及功率的設定,選擇B選項後,顯示 之畫面為 1、Page 10 477919 V. Description of the invention (8) ^ At this time, press ϋ to select the first or second group of output, press D to confirm the option, and press E to return to the screen displaying the current time. For example, if OUT-1 is selected, the displayed text is as follows:-L = _% = 000 At this time, press the S key to switch between the two options on the left and right. If you select u / D on the left, you can switch and the load is 〇N / 〇FF. On the right, press U / D to increase or decrease the output power setting. If there is an external load (such as a light bulb) at this time, when the power setting value is increased or decreased, I7 will immediately see the output power change (brightness change). B, B is the load timing start and power setting. After selecting the B option, the displayed screen is 1.

A>〇UT〜1 B>0UT一2 ^ % ^ 1鍵可作第—組或第二組之輸出選擇,按D確定選 】示i畫鍵Λ示現在時刻晝面。例如選擇第一組輸出後, 1 88-12-17 °/〇=128 AM 11:12:13A > 〇UT ~ 1 B > 0UT one 2 ^% ^ 1 key can be used to select the output of the first group or the second group. Press D to confirm the selection. For example, after selecting the first group of outputs, 1 88-12-17 ° / 〇 = 128 AM 11:12:13

按S鍵可在各選項中作選擇,按U/X 值,按E跳回上一頁。 、j 了牦減系統之設定Press S key to choose among various options, press U / X value, press E to return to the previous page. , J is the setting of the reduction system

左上角之數字(卜6)表示設定時 依序設定組別—日—時—分—秒〜功\點之組別,按δ鍵 環),時間點之組別係指當同一貞裁力在率不設定值Of序循 功率輸出時,可設定多組不同啟動時5日、間而要不 組別數之多寡可依可用之記憶 以六組來不範其可控功率之功能。此功能所設定之The number in the upper left corner (b. 6) indicates that the groups are set in sequence when setting—day—hour—minute—second to work \ point group, press the δ key ring), the group of time point refers to when the same virginity When the rate does not set the value of the sequential power output, you can set multiple groups of 5 days at different start times, or the number of groups can be set according to the available memory to control the power of six groups. Set by this function

第11頁 477919 五、發明說明(9) 間以月設定值循環,例如設定1 7日,每月1 7日的設定時間 定時器即會動作。若需有較小時間之循環控制,本發明以 曰設定成 0 0表示以日設定值循環。例如時分秒的設定值 為AM 1 1 : 1 2 : 1 3,則每天的AM 1 1 ·· 1 2 ·· 1 3會動作。而若 將時設定成0 0則表示以時設定值循環。例如分秒的設定值 為1 2 : 1 3,則每小時的第1 2 : 1 3系統會動作。同理,若將 分設定成6 0則表示以分設定值循環,例如秒設為1 3,則每 一分1 3秒系統會動作。藉此一短時間循環功能的設計,可 提昇定時器的應用層次。例如將系統設定成以分為循週期 ,於一分鐘内設定六個定時點,每一定時點給予不同的功 率設值,則此時的外接負載普通電扇,則可輸出自然風的 功能。 選項C是調整系統時間。進入選項C後,此時顯示器顯示如 下(以8 8年1 2月1 7日1 1時1 2分1 3秒為例)。 88-12-17 TUE AM 11:12:13 首先游標在年份閃躍,代表按U及D兩鍵可以進行年份 的調整。若已調整妥當,按S鍵則跑到月份等待調整,以 此類推就可以把現在時間調整妥當。調整完畢按E鍵就可 以回到目前時間顯示。 選項D為負載定時功能設定的起動和停止,其顯示之畫面 如下。Page 11 477919 V. Description of the invention (9) Cycles with the monthly set value, for example, setting the setting time on the 17th, and the setting time on the 17th of each month The timer will operate. If cycle control with smaller time is required, in the present invention, if it is set to 0, the cycle is set at the daily setting value. For example, the setting value of hour, minute, and second is AM 1 1: 1 2: 1 3, then AM 1 1 ·· 1 2 ·· 1 3 will operate every day. If you set the hour to 0 0, it means to cycle with the hour set value. For example, if the setting value of minute is 1 2: 1 3, the system will operate at the 12: 1 3 every hour. Similarly, if the minute is set to 60, it means to cycle with the set value of the minute. For example, if the second is set to 13, the system will operate every 13 minutes. The design of a short-time loop function can improve the application level of the timer. For example, the system is set to be divided into cycles, and six timing points are set in one minute, and each timing point is given a different power setting value. At this time, an external load ordinary fan can output the function of natural wind. Option C is to adjust the system time. After entering option C, the display at this time will be as follows (Take 1988, February 17th, 11th, 12th, 13th, and 3 seconds as an example). 88-12-17 TUE AM 11:12:13 First, the cursor blinks in the year, which means the year can be adjusted by pressing the U and D keys. If it is adjusted properly, press S key to go to the month and wait for adjustment, and so on to adjust the current time properly. After the adjustment, press E to return to the current time display. Option D is the start and stop of the load timing function setting. The displayed screen is as follows.

第12頁 477919 五、發明說明(ίο)Page 12 477919 V. Description of the Invention (ίο)

A>OUT_l L=OFF B>OUT_2 L=OFF 此時按S鍵可切換第一組或第二組輸出之控制,按u / D則可 切換該組輸出之功能ON或OFF。按E則回到顯示現在時刻畫 面。A > OUT_l L = OFF B > OUT_2 L = OFF At this time, press the S key to switch the control of the first group or the second group of output, and press u / D to switch the function of the group of outputs ON or OFF. Press E to return to the current moment screen.

完成所欲功能選項之操作,系統即回到待機狀態,主 程式等待是否有按鍵輸入。而可控功率定時器部分的執 行,則由中斷程式來負責。如圖五(A)所示為第一中斷副 程式,此一中斷副程式之觸發係相對於計時晶片之中斷請 求。請參考圖三,計時晶片以一預定頻率透過I RQ接腳通 知微處理機讀取系統時間,此可確保系統計時值已穩定, 避免微處理器讀到計時晶片的暫態值。進入第一中斷副程 式後,微處理器先從計時晶片上的記憶体讀取各時間欄位 值,並將之轉存到微處理器on ch i p之記憶体。對on ch i p 之時間欄位作必要之處理(A S C I I C 0 D E轉換),再將之顯示 於液晶螢幕上,回到主程式。圖五(B )則為第二中斷副程 式,此中斷副程式是規畫微處理器内部之計時/計數器, 以一預定頻率對微處理器提出中斷請求。此一頻率小於第 一中斷程式之執行頻率。其主要功能是進行定時時間點的 時間比對及功率輸出控制。本案之實施例每一輸出插座可 同時設定六組定時點,這些定時點的各時間欄位於主程式 執行時已寫入記時晶片内部之記憶体。執行此第二中斷副 程式時,微處理器先讀取第一組定時點的資料,再與目前 時間的各攔位進行比對。首先是進行循環週期之判斷。例After completing the operation of the desired function option, the system will return to the standby state, and the main program waits for any key input. The execution of the controllable power timer is the responsibility of the interrupt program. Figure 5 (A) shows the first interrupt subroutine. The trigger of this interrupt subroutine is relative to the interrupt request of the timing chip. Please refer to Figure 3. The timing chip informs the microprocessor to read the system time through the I RQ pin at a predetermined frequency. This can ensure that the system timing value is stable and prevent the microprocessor from reading the transient value of the timing chip. After entering the first interrupt subroutine, the microprocessor first reads each time field value from the memory on the timing chip and transfers it to the memory of the microprocessor on chip. Make necessary processing to the time field of on ch i p (A S C I I C 0 D E conversion), then display it on the LCD screen and return to the main program. Figure 5 (B) shows the second interrupt subroutine. This interrupt subroutine is to plan the timer / counter inside the microprocessor, and to make an interrupt request to the microprocessor at a predetermined frequency. This frequency is less than the execution frequency of the first interrupt program. Its main function is to perform time comparison and power output control at timing points. In the embodiment of this case, each output socket can be set with six sets of timing points at the same time. Each time column of these timing points is located in the memory of the timekeeping chip when the main program is executed. When the second interrupt subroutine is executed, the microprocessor first reads the data of the first group of timing points, and then compares it with the blocks of the current time. The first is to judge the cycle. example

第13頁 477919 五、發明說明(π) 如日的時間欄位為0 0,則代表以日為循環週期,只需比對 時分秒來決定開啟時間是否已到,相等則讀取該時間點的 功率值,輸出到對應之輸出璋。同理,如時的時間欄位為 0 0,則表示以小時為循環週期,只需比對分秒來決定開啟 時間是否已到,相等則讀取該時間點的功率值,輸出到對 應之輸出埠。而其他循環週期的動作原理可依此類推。依 序比對各組定時點,一有相等則輸出該組定時點之功率設 定值,並返回主程式。若比對完所有組數仍無相等者,則 返回主程式。Page 13 477919 V. Description of the invention (π) If the time field of the day is 0 0, it means that the day is a cyclic cycle. You only need to compare the hours, minutes, and seconds to determine whether the opening time has arrived. If the time is equal, read the time The power value of the point is output to the corresponding output 璋. Similarly, if the time field is 0 0, it means that the cycle is in hours. You only need to compare the minutes and seconds to determine whether the opening time has reached. If they are equal, read the power value at that time point and output it to the corresponding one. Output port. The operation principle of other cycles can be deduced by analogy. The timing points of each group are compared in sequence. Once there is an equal value, the power setting value of the group of timing points is output and returned to the main program. If there are still no equal numbers after comparing all the groups, it returns to the main program.

圖六為依據本發明技術特徵所試作之成品,經發明人 多次長時間之測試,確能發揮本案所揭示之功效。明顯優 於傳統機械式定時器或電子式定時器之功效,其主要優點 可歸納如下: 一 ·結合微處理器及電力電子及專用計時晶片之技 術,使定時器之輸出具備輸出功率可調之功能,定時的時 間精準,且不受斷電之影響。 二·經由設定時間點的特定值,如日時設成0 0,分設 成6 0表示分別表示短時間循環週期(日、時、分),可彈性 調整定時器之循環週期,提昇定時器的應用層次。Fig. 6 is a trial product made according to the technical features of the present invention, and after many long-term tests by the inventor, it can indeed exert the effects disclosed in this case. The effect is obviously better than the traditional mechanical timer or electronic timer. Its main advantages can be summarized as follows: 1. Combined with the technology of microprocessor and power electronics and special timing chip, the output of the timer has adjustable output power. Function, the timing is accurate and not affected by power failure. Second, through the specific value of the set time point, such as the day time is set to 0 0, the minute is set to 60 to indicate the short time cycle (day, hour, minute) respectively, the timer cycle can be flexibly adjusted to improve the timer Application level.

三·具備數位電子調光器之功能,透過簡單按鍵之操 作,可即時更改插座之輸出功率。 綜上所述,本發明深具產業之利用性。且查市面之相 關產品及已核准之專利公告中,並未見與本發明雷同者。3. It has the function of digital electronic dimmer, and the output power of the socket can be changed in real time through the operation of simple keys. In summary, the present invention has deep industrial applicability. The related products and approved patent announcements on the market have not been found to be similar to the present invention.

第14頁 477919 五、發明說明(12) 本案所請合乎產業利用性、新穎性及進步性之法定專利申 請要件’爰依法提出專利申請。懇請 貴審查委貝能早曰 賜予本案專利,以確保申請人之權益。惟以上所揭露 者,僅為本發明之較佳實施例而已,自不能以此限定本發 明之權利範圍。凡依本發明精神所作之等效變化或修飾 者,仍涵蓋於本發明之申請專利範圍中。Page 14 477919 V. Description of the invention (12) The statutory patent application requirements for industrial use, novelty, and advancement requested by this case 'are to file a patent application according to law. We kindly urge your review committee to grant the patent in this case early to ensure the applicant's rights. However, what is disclosed above is only a preferred embodiment of the present invention, and the scope of rights of the present invention cannot be limited by this. Any equivalent changes or modifications made in accordance with the spirit of the present invention are still covered by the scope of patent application of the present invention.

第15頁 c C 。圖 圖圖圖圖程 塊路路程流。 方電電流式圖 能部部式程觀 功細細程斷外 AMV Av AMVc4b F0 器器器器器器 寺寺夺夺夺寺 ηρ ΩΜ ΠΡ DM nQ Q 定定定定定定 率率率率率率 —nv Αν —ny ^^/^^^^/ 控控控控控控 I 1 \··I \F •I〆'·- 1 \··_ ! \·· 1 可可可 可可可 月 月 月 月 月 月 月 印 印 印 印 印 印 印 說發發發發發發 單本本本本本本 簡............ 式圖圖圖圖圖圖 圖一二三四五六 第第第第第 477919 圖式簡單說明 元件符號說明】 電源電路 8 比較電路 零點檢知電路 9計時記憶晶片 無穩態振盪電路 1 0功率驅動電路 液晶顯示介面 1 1負載 微處理器 2 A零點檢知信號 計數電路 3A振盪器輸出信號 輸入設定介面 8A功率晶体觸發信號P. 15 c C. Map map map map block flow path flow. Fang Dian electric current type map energy department type Chengguangong fine detail external breakage AMV Av AMVc4b F0 器 器 器 器 器 器 器 Temple rob the temple ηρ ΩΜ Π DM DM nQ Q Αν —ny ^^ / ^^^^ / 控 控 控 控 控 控 I 1 \ ·· I \ F • I〆 '·-1 \ ·· _! \ ·· 1 Cocoa Cocoa Cocoa Month Month Month Month Monthly printing, printing, printing, printing, printing, printing, printing, printing, printing, printing, copying ... Figure 477919 Brief description of component symbols] Power supply circuit 8 Comparison circuit Zero point detection circuit 9 Timing memory chip without steady state oscillation circuit 1 0 Power drive circuit LCD display interface 1 1 Load microprocessor 2 A Zero detection signal counting circuit 3A oscillator output signal input setting interface 8A power crystal trigger signal

第16頁Page 16

Claims (1)

477919 六、申請專利範圍 【專利申請範圍】 1. 一種可控功率定時器,主要係指一具備定時及功率控制 之定時器,包括: 一微處理器,液晶顯示介面,按鍵輸入介面,專用計時晶 片,振盪電路,計時電路,比較電路,功率開關晶体,功 率開關晶体驅動電路,零點檢知電路,電源供應電路及輸 出插座。其主要技術特徵係將定時器的輸出插座串聯一功 率開關晶体,該晶体可藉由導通角度的調整改變插座的輸 出功率。 2. 如專利申請範圍第1項所述之可控功率定時器,其功率 晶体導通角度的控制係根據微處理器於某定時時間點送出 功率的設定值,與計數電路從每一電源週期的零點開始計 數的值相比較,相等則比較電路送出導通的觸發信號使功 率晶体導通,以改變功率晶体的導通角度而達成輸出功率 的控制。 3. 如專利申請範圍第1項所述之可控功率定時器,其中振 盪電路的振盪頻率為交流電源頻率、功率設定等級及每一 電源週期的檢知零點數目之乘積。 4. 如專利申請範圍第2項所述之可控功率定時器,微處理 器係以一預定週期從計時晶片讀取系統的時間值,並將系 統時間與儲存於計時晶片的定時時間點相比較,相等則微 處理器的輸出埠送出該時間點的功率設定值至比較電路。 5. 如專利申請範圍第1項所述之可控功率定時器,其中微 處理器可藉由輸入按鍵輸入定時的時間點及功率的設定477919 VI. Scope of patent application [Scope of patent application] 1. A controllable power timer mainly refers to a timer with timing and power control, including: a microprocessor, LCD display interface, key input interface, dedicated timing Chip, oscillator circuit, timing circuit, comparison circuit, power switch crystal, power switch crystal drive circuit, zero detection circuit, power supply circuit and output socket. The main technical feature is that a power switch crystal is connected in series with the output socket of the timer. The crystal can change the output power of the socket by adjusting the conduction angle. 2. The controllable power timer according to item 1 of the scope of patent application, the control of the conduction angle of the power crystal is based on the set value of the power sent by the microprocessor at a certain timing point, and the counting circuit from each power cycle The value of the zero-point count is compared. When the values are equal, the comparison circuit sends a conduction trigger signal to make the power crystal conduct, so as to change the conduction angle of the power crystal to achieve output power control. 3. The controllable power timer according to item 1 of the scope of patent application, wherein the oscillation frequency of the oscillation circuit is the product of the AC power frequency, the power setting level, and the number of detection zeros per power cycle. 4. According to the controllable power timer described in item 2 of the scope of patent application, the microprocessor reads the time value of the system from the timing chip at a predetermined period, and compares the system time with the timing time point stored in the timing chip. When the comparison is equal, the output port of the microprocessor sends the power setting value at the time point to the comparison circuit. 5. The controllable power timer as described in item 1 of the patent application scope, in which the microprocessor can input the timing point and power setting by inputting a button 第17頁 477919 六、申請專利範圍 值,並將所設定之值轉存於計時晶片内部的記憶体。 6. 如專利申請範圍第5項所述之可控功率定時器,其每一 組輸出插座的定時時間點為六組,功率設定值為0至2 5 5。 7. 如專利申請範圍第1項所述之可控功率定時器,其進一 步技術特徵為每一組輸出插座的輸出功率可進行線上即時 、控制,透過按鍵即時增減功率設定值,可立即更改輸出插 座的輸出功率。Page 17 477919 6. The value of the patent application, and the set value is transferred to the memory inside the timing chip. 6. The controllable power timer as described in item 5 of the scope of patent application, the timing point of each group of output sockets is six groups, and the power setting value is 0 to 2 5 5. 7. The controllable power timer as described in item 1 of the patent application scope, its further technical feature is that the output power of each group of output sockets can be real-time and controlled online, and the power set value can be increased or decreased immediately by pressing a button, which can be changed immediately. Output power of the output socket. 8. 如如專利申請範圍第1項所述之可控功率定時器,其内 定的時間循環週期為月。而其再一技術特徵為該循環週期 為可調,最小循環週期為分。其循環週期的設定係透過定 時時間棚位的特定值作調整。將日期的棚位設為0 0表不以 日為循環週期,時的欄位設為0 0表示以時為循環週期,分 的攔位設為6 0表示以分為循環週期。8. The controllable power timer as described in item 1 of the scope of the patent application, the default time cycle of which is a month. Yet another technical feature is that the cycle period is adjustable and the minimum cycle period is minutes. The setting of its cycle period is adjusted through the specific value of the time slot. Setting the date booth to 0 0 indicates that the day is a cyclic cycle. The hour column is set to 0 0 to indicate the hour as a cycle cycle. The minute stop is set to 60 to indicate a cycle cycle. 第18頁Page 18
TW89114796A 2000-07-21 2000-07-21 Timer capable of controlling power TW477919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW89114796A TW477919B (en) 2000-07-21 2000-07-21 Timer capable of controlling power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW89114796A TW477919B (en) 2000-07-21 2000-07-21 Timer capable of controlling power

Publications (1)

Publication Number Publication Date
TW477919B true TW477919B (en) 2002-03-01

Family

ID=21660526

Family Applications (1)

Application Number Title Priority Date Filing Date
TW89114796A TW477919B (en) 2000-07-21 2000-07-21 Timer capable of controlling power

Country Status (1)

Country Link
TW (1) TW477919B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807275A (en) * 2016-09-08 2018-03-16 广东美的生活电器制造有限公司 A kind of power offset value correcting device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807275A (en) * 2016-09-08 2018-03-16 广东美的生活电器制造有限公司 A kind of power offset value correcting device and method
CN107807275B (en) * 2016-09-08 2024-04-12 广东美的生活电器制造有限公司 Power deviation value correction device and method

Similar Documents

Publication Publication Date Title
US20110211425A1 (en) Electronic timer with graphic time scale display panel
US6167000A (en) Multiple timer display
CN102447960A (en) Intelligent showdown control method and system applicable to set top box
US20100309754A1 (en) Alarm Clock With Nap Timer
CN109388157A (en) Knob controller and method
JP2001153972A5 (en) Rechargeable electronic clock
US20090316533A1 (en) Electronic timer with graphic time scale display panel
CN201303369Y (en) TV remote control for timing power-on and channel switch
TW477919B (en) Timer capable of controlling power
CN209373447U (en) Knob controller
EP2071417A1 (en) Electronic timer with graphic time scale display panel
US20060232139A1 (en) One button programmable timer
JPH1152035A (en) Variation trend indicator of storage energy, electronic apparatus and electronic watch
US10470281B2 (en) 24 hour programmable timer custom integrated circuits
TWI240158B (en) Auxiliary alarm clock system for a personal computer
WO2004080368A1 (en) A method of automatic switching on or off timely which is set synchronous
CN105159708A (en) Information processing method and electronic device
CN205248555U (en) Intelligent socket
TWI806380B (en) Wearable electronic device and control method thereof
CN107797443A (en) A kind of integrated multi digital dock system for including the accurate time reminding of multiple spot
KR20020079123A (en) Multipurpose timer
ITMC20090183A1 (en) HAND WATCH, FOR HOUSEHOLD APPLIANCES, IN PARTICULAR FOR OVEN.
JP2601507Y2 (en) Remote control for bath kettle
KR200280643Y1 (en) Time cut off device
Usman et al. Universal programmable digital timer switch

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees