TWI839213B - Intelligent socket device and schedule setting method thereof - Google Patents

Intelligent socket device and schedule setting method thereof Download PDF

Info

Publication number
TWI839213B
TWI839213B TW112117415A TW112117415A TWI839213B TW I839213 B TWI839213 B TW I839213B TW 112117415 A TW112117415 A TW 112117415A TW 112117415 A TW112117415 A TW 112117415A TW I839213 B TWI839213 B TW I839213B
Authority
TW
Taiwan
Prior art keywords
control circuit
power source
current value
mode
setting
Prior art date
Application number
TW112117415A
Other languages
Chinese (zh)
Inventor
林京元
Original Assignee
象量科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 象量科技股份有限公司 filed Critical 象量科技股份有限公司
Priority to TW112117415A priority Critical patent/TWI839213B/en
Application granted granted Critical
Publication of TWI839213B publication Critical patent/TWI839213B/en

Links

Images

Landscapes

  • Dc-Dc Converters (AREA)
  • Electrotherapy Devices (AREA)

Abstract

An intelligent socket device and its schedule setting method are disclosed. The intelligent socket device comprises a receptacle, a plug, an adjustment circuit, a sensing circuit, a control circuit, and a button. The receptacle is configured to output a first power. The plug is configured to receive a second power. The adjustment circuit is configured to adjust the current value of the first power. The sensing circuit is configured to sense the current value of the first power. The control circuit operates in an operating mode, wherein the operating mode comprises a setting mode and a cycling mode. The button is configured to generate a first switching instruction to control the control circuit to switch the operating mode of the control circuit. When the control circuit operates in the setting mode, the control circuit is configured to store the change of the current value of the first power in the predetermined cycle into a log file. When the predetermined cycle ends, the control circuit switches the operating mode of the control circuit to the cycling mode.

Description

智能插座裝置及其排程設定方法Smart socket device and scheduling setting method thereof

本案係有關於排程設定功能,特別是有關於一種智能插座裝置及其排程設定方法。This case is about a scheduling setting function, and in particular, about a smart socket device and a scheduling setting method thereof.

隨著時代的變遷,現代人的生活步調逐漸加快並忙碌於工作中。現代人經常因為趕時間或健忘而於出門時並未關閉電器的電源開關,進而導致電源浪費的問題。因此,目前市面上存有多種類型之定時插座以協助現代人自動關閉電器的電源開關,例如機械式定時插座或數位式定時插座等。As the times change, the pace of life of modern people is gradually accelerating and they are busy at work. Modern people often do not turn off the power switch of electrical appliances when they go out because they are in a hurry or forgetful, which leads to the problem of power waste. Therefore, there are many types of timer sockets on the market to help modern people automatically turn off the power switch of electrical appliances, such as mechanical timer sockets or digital timer sockets.

然而,現存之定時插座具有幾個問題。首先,現存之定時插座的操作複雜,因此不適合老人或小孩使用。此外,現存之機械式定時插座的最小定時單位為15分鐘。其中,現存之機械式定時插座需要96段開關方能實現15分鐘之定時單位。因此,現存之機械式定時插座無法實現更短時間單位的定時功能(理論上,現存之機械式定時插座需要1440段開關以實現1分鐘之定時單位,然而目前並不存在具有1440段開關的機械式定時插座)。再者,現存之定時插座的硬體結構複雜,因此其使用壽命及耐久度也是待解決的問題之一。However, the existing timer sockets have several problems. First, the operation of the existing timer sockets is complicated, so they are not suitable for use by the elderly or children. In addition, the minimum timing unit of the existing mechanical timer sockets is 15 minutes. Among them, the existing mechanical timer sockets require 96-stage switches to achieve a timing unit of 15 minutes. Therefore, the existing mechanical timer sockets cannot achieve the timing function of shorter time units (theoretically, the existing mechanical timer sockets require 1440-stage switches to achieve a timing unit of 1 minute, but there is currently no mechanical timer socket with 1440-stage switches). Furthermore, the hardware structure of the existing timer sockets is complicated, so its service life and durability are also one of the problems to be solved.

為了解決上述問題,本案提出第一實施例之智能插座裝置。第一實施例之智能插座裝置包含:一插座,用以輸出一第一電源;一插頭,電性連接於插座,用以接收一第二電源;一調整電路,設置於插座與插頭之間,用以調整第一電源之電流值;一感測電路,電性連接於插座及插頭,用以感測第一電源之電流值;一控制電路,電性連接於調整電路及感測電路,控制電路係操作於一操作模式,其中操作模式包含一普通模式、一設定模式及一循環模式;以及一按鍵,電性連接於控制電路,用以產生一第一切換指令以控制控制電路將控制電路之操作模式切換為設定模式。其中,當控制電路操作於設定模式時,控制電路用以將一預設週期內第一電源之電流值的變化儲存為一記錄檔,並且當預設週期結束時,控制電路切換控制電路之操作模式為循環模式;當控制電路操作於循環模式時,控制電路用以根據預設週期及記錄檔中第一電源之電流值隨時間的變化而循環控制調整電路調整第一電源之電流值。In order to solve the above problems, the present invention proposes a first embodiment of a smart socket device. The first embodiment of the smart socket device includes: a socket for outputting a first power source; a plug electrically connected to the socket for receiving a second power source; an adjustment circuit disposed between the socket and the plug for adjusting the current value of the first power source; a sensing circuit electrically connected to the socket and the plug for sensing the current value of the first power source; a control circuit electrically connected to the adjustment circuit and the sensing circuit, the control circuit is operated in an operation mode, wherein the operation mode includes a normal mode, a setting mode and a cycle mode; and a button electrically connected to the control circuit for generating a first switching instruction to control the control circuit to switch the operation mode of the control circuit to the setting mode. Among them, when the control circuit operates in the setting mode, the control circuit is used to store the change of the current value of the first power supply within a preset cycle as a record file, and when the preset cycle ends, the control circuit switches the operation mode of the control circuit to the cycle mode; when the control circuit operates in the cycle mode, the control circuit is used to cyclically control the adjustment circuit to adjust the current value of the first power supply according to the preset cycle and the change of the current value of the first power supply in the record file over time.

在一些實施例中,智能插座裝置更包含一顯示電路,其中顯示電路電性連接於控制電路,用以指示控制電路所操作之操作模式。In some embodiments, the smart socket device further includes a display circuit, wherein the display circuit is electrically connected to the control circuit to indicate the operation mode operated by the control circuit.

在一些實施例中,控制電路更用以傳輸記錄檔至一第三外部裝置。In some embodiments, the control circuit is further configured to transmit the log file to a third external device.

在一些實施例中,感測電路更用以感測第二電源之電流值;其中,當控制電路操作於設定模式時,控制電路用以將預設週期內第二電源之電流值的變化儲存為記錄檔,並且當預設週期結束時,控制電路切換控制電路之操作模式為循環模式;當控制電路操作於循環模式時,控制電路用以根據預設週期及記錄檔中第二電源之電流值隨時間的變化而循環控制調整電路調整第一電源之電流值。In some embodiments, the sensing circuit is further used to sense the current value of the second power source; wherein, when the control circuit operates in a setting mode, the control circuit is used to store the change of the current value of the second power source within a preset cycle as a record file, and when the preset cycle ends, the control circuit switches the operation mode of the control circuit to a cyclic mode; when the control circuit operates in the cyclic mode, the control circuit is used to cyclically control the adjustment circuit to adjust the current value of the first power source according to the preset cycle and the change of the current value of the second power source in the record file over time.

本案另提出第二實施例之智能插座裝置。第二實施例之智能插座裝置包含:一插座,用以輸出一第一電源;一插頭,電性連接於插座,用以接收一第二電源;一調整電路,設置於插座與插頭之間,用以調整第一電源之電流值;一感測電路,電性連接於插座及插頭,用以感測第一電源之電流值;一控制電路,電性連接於調整電路及感測電路,控制電路係操作於一操作模式,其中操作模式包含一普通模式、一設定模式;以及一按鍵,電性連接於控制電路,用以產生一第一切換指令以控制控制電路將控制電路之操作模式切換為設定模式,以及產生一第二切換指令以控制控制電路將控制電路之操作模式切換為普通模式;其中,當控制電路操作於設定模式時,控制電路用以將一設定週期內第一電源之電流值的變化儲存為一記錄檔,並且當設定週期結束時,控制電路切換控制電路之操作模式為普通模式,其中設定週期之開始時點為按鍵產生第一切換指令之時點,設定週期之結束時點為按鍵產生第二切換指令之時點。The present invention also proposes a second embodiment of a smart socket device. The second embodiment of the smart socket device includes: a socket for outputting a first power source; a plug electrically connected to the socket for receiving a second power source; an adjustment circuit disposed between the socket and the plug for adjusting the current value of the first power source; a sensing circuit electrically connected to the socket and the plug for sensing the current value of the first power source; a control circuit electrically connected to the adjustment circuit and the sensing circuit, the control circuit being operated in an operation mode, wherein the operation mode includes a normal mode and a setting mode; and a button electrically connected to the control circuit for generating a first switching indicator. The control circuit is controlled to switch the operation mode of the control circuit to the setting mode, and a second switching instruction is generated to control the control circuit to switch the operation mode of the control circuit to the normal mode; wherein, when the control circuit operates in the setting mode, the control circuit is used to store the change of the current value of the first power supply within a setting cycle as a record file, and when the setting cycle ends, the control circuit switches the operation mode of the control circuit to the normal mode, wherein the starting time point of the setting cycle is the time point when the key generates the first switching instruction, and the ending time point of the setting cycle is the time point when the key generates the second switching instruction.

在一些實施例中,操作模式更包含一單次模式,並且按鍵更用以產生一第三切換指令以控制控制電路將控制電路之操作模式切換為單次模式;其中,當控制電路操作於單次模式時,控制電路用以根據設定週期及記錄檔中第一電源之電流值隨時間的變化而控制調整電路調整第一電源之電流值。In some embodiments, the operating mode further includes a single mode, and the button is further used to generate a third switching instruction to control the control circuit to switch the operating mode of the control circuit to the single mode; wherein, when the control circuit operates in the single mode, the control circuit is used to control the adjustment circuit to adjust the current value of the first power source according to the set cycle and the change of the current value of the first power source in the record file over time.

在一些實施例中,感測電路更用以感測第二電源之電流值;其中,當控制電路操作於設定模式時,控制電路用以將設定週期內第二電源之電流值的變化儲存為記錄檔。In some embodiments, the sensing circuit is further used to sense the current value of the second power source; wherein, when the control circuit operates in the setting mode, the control circuit is used to store the change of the current value of the second power source during the setting cycle as a record file.

在一些實施例中,操作模式更包含一單次模式,並且按鍵更用以產生一第三切換指令以控制控制電路將控制電路之操作模式切換為單次模式;其中,當控制電路操作於單次模式時,控制電路用以根據設定週期及記錄檔中第二電源之電流值隨時間的變化而控制調整電路調整第一電源之電流值。In some embodiments, the operating mode further includes a single mode, and the button is further used to generate a third switching instruction to control the control circuit to switch the operating mode of the control circuit to the single mode; wherein, when the control circuit operates in the single mode, the control circuit is used to control the adjustment circuit to adjust the current value of the first power source according to the set cycle and the change of the current value of the second power source in the record file over time.

本案提出一種智能插座裝置之循環排程設定方法,包含:接收一第一切換指令以切換一控制電路之操作模式為一設定模式;當控制電路操作於該設定模式時,感測第一電源之電流值,並將一預設週期內第一電源之電流值隨時間的變化儲存為一記錄檔;當預設週期結束時,切換控制電路之操作模式為一循環模式;以及當控制電路操作於循環模式時,根據預設週期及記錄檔中第一電源之電流值隨時間的變化而循環控制一調整電路調整第一電源之電流值。This case proposes a cyclic scheduling setting method for a smart socket device, including: receiving a first switching instruction to switch the operation mode of a control circuit to a setting mode; when the control circuit operates in the setting mode, sensing the current value of a first power source, and storing the change of the current value of the first power source over time in a preset cycle as a record file; when the preset cycle ends, switching the operation mode of the control circuit to a cyclic mode; and when the control circuit operates in the cyclic mode, cyclically controlling an adjustment circuit to adjust the current value of the first power source according to the preset cycle and the change of the current value of the first power source in the record file over time.

在一些實施例中,智能插座裝置之循環排程設定方法更包含:當控制電路操作於設定模式時,感測第二電源之電流值,並將預設週期內第二電源之電流值隨時間的變化儲存為記錄檔;以及當控制電路操作於循環模式時,根據預設週期及記錄檔中第二電源之電流值隨時間的變化而循環控制調整電路調整第一電源之電流值。In some embodiments, the cyclic scheduling setting method of the smart socket device further includes: when the control circuit operates in the setting mode, sensing the current value of the second power source, and storing the change of the current value of the second power source over time in a preset cycle as a record file; and when the control circuit operates in the cyclic mode, cyclically controlling the adjustment circuit to adjust the current value of the first power source according to the preset cycle and the change of the current value of the second power source in the record file over time.

本案另提出一種智能插座裝置之單次排程設定方法,包含:接收一第一切換指令以切換一控制電路之操作模式為一設定模式;當控制電路操作於設定模式時,感測第一電源之電流值;接收一第二切換指令以切換控制電路之操作模式為一普通模式;以及將一設定週期內第一電源之電流值隨時間的變化儲存為一記錄檔,其中設定週期之開始時點為控制電路接收第一切換指令之時點,設定週期之結束時點為控制電路接收第二切換指令之時點。The present case also proposes a single scheduling setting method for a smart socket device, including: receiving a first switching instruction to switch the operation mode of a control circuit to a setting mode; when the control circuit operates in the setting mode, sensing the current value of a first power source; receiving a second switching instruction to switch the operation mode of the control circuit to a normal mode; and storing the change of the current value of the first power source over time in a setting cycle as a record file, wherein the starting time point of the setting cycle is the time point when the control circuit receives the first switching instruction, and the ending time point of the setting cycle is the time point when the control circuit receives the second switching instruction.

在一些實施例中,智能插座裝置之單次排程設定方法更包含:當控制電路操作於普通模式時,接收一第三切換指令以切換控制電路之操作模式為一單次模式;當控制電路操作於單次模式時,根據設定週期及記錄檔中第一電源之電流值隨時間的變化而控制一調整電路調整第一電源之電流值;以及當設定週期結束時,切換控制電路之操作模式為普通模式。In some embodiments, the one-time scheduling setting method of the smart socket device further includes: when the control circuit operates in the normal mode, receiving a third switching instruction to switch the operation mode of the control circuit to a one-time mode; when the control circuit operates in the one-time mode, controlling an adjustment circuit to adjust the current value of the first power source according to the setting cycle and the change of the current value of the first power source over time in the record file; and when the setting cycle ends, switching the operation mode of the control circuit to the normal mode.

在一些實施例中,智能插座裝置之單次排程設定方法更包含:當控制電路操作於設定模式時,感測第一電源之電流值;以及將設定週期內第二電源之電流值隨時間的變化儲存為記錄檔,其中設定週期之開始時點為接收第一切換指令之時點,設定週期之結束時點為接收第二切換指令之時點。In some embodiments, the single schedule setting method of the smart socket device further includes: when the control circuit operates in the setting mode, sensing the current value of the first power source; and storing the change of the current value of the second power source over time during the setting cycle as a record file, wherein the start time of the setting cycle is the time when the first switching command is received, and the end time of the setting cycle is the time when the second switching command is received.

在一些實施例中,智能插座裝置之單次排程設定方法更包含:當控制電路操作於普通模式時,接收一第三切換指令以切換控制電路之操作模式為一單次模式;當該控制電路操作於單次模式時,根據設定週期及記錄檔中第二電源之電流值隨時間的變化而控制一調整電路調整第一電源之電流值;以及當設定週期結束時,切換控制電路之操作模式為普通模式。In some embodiments, the one-time scheduling setting method of the smart socket device further includes: when the control circuit operates in the normal mode, receiving a third switching instruction to switch the operation mode of the control circuit to a one-time mode; when the control circuit operates in the one-time mode, controlling an adjustment circuit to adjust the current value of the first power source according to the setting cycle and the change of the current value of the second power source in the record file over time; and when the setting cycle ends, switching the operation mode of the control circuit to the normal mode.

綜上所述,依據一些實施例,智能插座裝置係可透過感測第一電源之電流值以記錄第一外部裝置的狀態變化,進而記錄現代人使用電器(即第一外部裝置)的習慣。因此,即便第一外部裝置之開關並未關閉,智能插座裝置係可改變第一電源之電流值而使得第一外部裝置進入閒置狀態或低功率狀態,進而避免第一外部裝置忘記被關閉而導致電源浪費的問題。In summary, according to some embodiments, the smart socket device can record the state change of the first external device by sensing the current value of the first power source, thereby recording the habit of modern people using electrical appliances (i.e., the first external device). Therefore, even if the switch of the first external device is not turned off, the smart socket device can change the current value of the first power source to make the first external device enter an idle state or a low-power state, thereby avoiding the problem of the first external device forgetting to be turned off and causing power waste.

請參照圖1及圖2。圖1是依據第一實施例之智能插座裝置10的模組方塊圖。圖2是依據一些實施例之智能插座裝置10電性連接於第一外部裝置20及第二外部裝置30的示意圖。智能插座裝置10包含一插座100、一插頭110、一調整電路120、一感測電路130、一控制電路140以及一按鍵150。智能插座裝置10係透過插座100以電性連接於一第一外部裝置20,並透過插頭110以電性連接於一第二外部裝置30。其中,插頭110電性連接於插座100。插頭110係用以接收第二外部裝置30所產生之一第二電源P2,並將第二電源P2傳送至插座100,以自插座100供應電源(以下稱第一電源P1)給電性連接於第一外部裝置20。Please refer to FIG. 1 and FIG. 2. FIG. 1 is a module block diagram of a smart socket device 10 according to a first embodiment. FIG. 2 is a schematic diagram of a smart socket device 10 electrically connected to a first external device 20 and a second external device 30 according to some embodiments. The smart socket device 10 includes a socket 100, a plug 110, an adjustment circuit 120, a sensing circuit 130, a control circuit 140, and a button 150. The smart socket device 10 is electrically connected to a first external device 20 through the socket 100, and is electrically connected to a second external device 30 through the plug 110. Among them, the plug 110 is electrically connected to the socket 100. The plug 110 is used to receive a second power P2 generated by the second external device 30 and transmit the second power P2 to the socket 100 so as to supply power (hereinafter referred to as the first power P1 ) from the socket 100 to electrically connect to the first external device 20 .

調整電路120設置於插座100與插頭110之間,用以調整第一電源P1之電流值。感測電路130電性連接於插座100及插頭110用以感測第一電源P1之電流值。控制電路140電性連接於調整電路120及感測電路130。按鍵150電性連接於控制電路140。The adjusting circuit 120 is disposed between the socket 100 and the plug 110 to adjust the current value of the first power source P1. The sensing circuit 130 is electrically connected to the socket 100 and the plug 110 to sense the current value of the first power source P1. The control circuit 140 is electrically connected to the adjusting circuit 120 and the sensing circuit 130. The button 150 is electrically connected to the control circuit 140.

控制電路140係操作於一操作模式,此操作模式包含一普通模式、一設定模式及一循環模式。其中,這些模式可以根據使用者按壓按鍵150以進行切換。例如,在初始狀態下,控制電路140之操作模式係預設為普通模式,此時智能插座裝置10的工作方式與尋常的插座無異。當使用者按壓按鍵150時會對控制電路140發出一第一切換指令,使得控制電路140之操作模式自普通模式切換為設定模式。當控制電路140操作於設定模式時,控制電路140會將一預設週期內之第一電源P1之電流值的變化儲存為一記錄檔。並且,當預設週期結束時,控制電路140之操作模式會進一步切換為循環模式。當控制電路140操作於循環模式時,控制電路140會根據預設週期及記錄檔中第一電源P1之電流值隨時間的變化而循環地控制調整電路120調整第一電源P1之電流。換言之,使用者由始自終只需要按壓一次按鍵150,智能插座裝置10便會在預設週期內記錄插設於插座100之第一外部裝置20的工作行為,並且在預設週期結束之後自動循環地運作,未涉及任何繁瑣的操作程序。The control circuit 140 operates in an operation mode, which includes a normal mode, a setting mode and a cycle mode. Among them, these modes can be switched according to the user pressing the button 150. For example, in the initial state, the operation mode of the control circuit 140 is preset to the normal mode, and the working method of the intelligent socket device 10 is no different from that of an ordinary socket. When the user presses the button 150, a first switching instruction will be issued to the control circuit 140, so that the operation mode of the control circuit 140 is switched from the normal mode to the setting mode. When the control circuit 140 operates in the setting mode, the control circuit 140 will store the change of the current value of the first power source P1 within a preset cycle as a record file. In addition, when the preset cycle ends, the operation mode of the control circuit 140 will be further switched to the cycle mode. When the control circuit 140 operates in the cyclic mode, the control circuit 140 will cyclically control the adjustment circuit 120 to adjust the current of the first power source P1 according to the preset cycle and the current value of the first power source P1 in the record file over time. In other words, the user only needs to press the button 150 once from beginning to end, and the smart socket device 10 will record the working behavior of the first external device 20 plugged into the socket 100 within the preset cycle, and automatically operate in a cycle after the preset cycle ends, without involving any complicated operating procedures.

在一些實施例中,插座100為符合美國電器製造商協會(National Electrical Manufacturers Association,NEMA)之標準的插座,例如但不限於二孔插座、三孔插座或鎖固插座。在一些實施例中,插頭110為符合NEMA之標準的插頭,例如但不限於二頭插頭、三頭插頭或鎖固插頭。In some embodiments, the socket 100 is a socket that complies with the standards of the National Electrical Manufacturers Association (NEMA), such as but not limited to a two-pin socket, a three-pin socket, or a locking socket. In some embodiments, the plug 110 is a plug that complies with the standards of NEMA, such as but not limited to a two-pin plug, a three-pin plug, or a locking plug.

在一些實施例中,第一外部裝置20為一電器,例如但不限於電風扇、冷氣、電燈、路燈、微波爐或烤箱。其中,第一外部裝置20係透過一插頭21插設於智能插座裝置10上(如圖2所示)。在一些實施例中,當第一外部裝置20之開關被開啟時,第一外部裝置20係電性連接於智能插座裝置10;當第一外部裝置20之開關被關閉時,第一外部裝置20與智能插座裝置10之間係開路(Open)。In some embodiments, the first external device 20 is an electrical appliance, such as but not limited to an electric fan, an air conditioner, an electric lamp, a street lamp, a microwave oven or an oven. The first external device 20 is plugged into the smart socket device 10 through a plug 21 (as shown in FIG. 2 ). In some embodiments, when the switch of the first external device 20 is turned on, the first external device 20 is electrically connected to the smart socket device 10; when the switch of the first external device 20 is turned off, the circuit between the first external device 20 and the smart socket device 10 is open.

在一些實施例中,第二外部裝置30為具有供應電源之功能的裝置,例如但不限於交流電源插座、直流電源插座或發電機。其中,第二電源P2之電壓值例如為100伏特或110伏特,不以此為限。第二電源P2之電流值例如為10安培或15安培,不以此為限。In some embodiments, the second external device 30 is a device with a power supply function, such as but not limited to an AC power socket, a DC power socket, or a generator. The voltage value of the second power source P2 is, for example, 100 volts or 110 volts, but not limited thereto. The current value of the second power source P2 is, for example, 10 amperes or 15 amperes, but not limited thereto.

在一些實施例中,調整電路120為具有開關功能的裝置,例如但不限於繼電器(Relay),金氧半場效電晶體(MOSFET)或雙極性接面電晶體(BJT)。其中,當調整電路120導通時,插座100係電性連接於插頭110,此時第一電源P1之電壓值等於第二電源P2之電壓值。當調整電路120關斷時,插座100與插頭110之間係開路,此時第一電源P1之電壓值為0伏特。In some embodiments, the adjustment circuit 120 is a device with a switch function, such as but not limited to a relay, a metal oxide semi-field effect transistor (MOSFET) or a bipolar junction transistor (BJT). When the adjustment circuit 120 is turned on, the socket 100 is electrically connected to the plug 110, and the voltage value of the first power source P1 is equal to the voltage value of the second power source P2. When the adjustment circuit 120 is turned off, the socket 100 and the plug 110 are open circuited, and the voltage value of the first power source P1 is 0 volts.

在另一些實施例中,調整電路120為具有電流調節功能的裝置,例如但不限於調光電路(Dimming circuit)、電流調節器(Current regulator)或電流轉換器(Current converter)。其中,調整電路120係可於一電流值範圍內任意調整第一電源P1之電流值。舉例來說,當第二電源P2之電流值為15安培時,第一電源P1之電流值係可被調整為0安培至15安培之範圍中的一任意值。In other embodiments, the regulating circuit 120 is a device with a current regulating function, such as but not limited to a dimming circuit, a current regulator, or a current converter. The regulating circuit 120 can arbitrarily adjust the current value of the first power source P1 within a current value range. For example, when the current value of the second power source P2 is 15 amperes, the current value of the first power source P1 can be adjusted to any value within the range of 0 amperes to 15 amperes.

在一些實施例中,感測電路130為具有電流感測功能之裝置,例如但不限於功率計(Power meter)或電流感測器。In some embodiments, the sensing circuit 130 is a device having an inductive flow sensing function, such as but not limited to a power meter or an inductive flow detector.

在一些實施例中,控制電路140例如為微控制單元(MCU)、系統單晶片(SoC)、現場可程式化邏輯閘陣列(FPGA)或複雜可程式化邏輯裝置(CPLD),不以此為限。In some embodiments, the control circuit 140 is, for example, a micro control unit (MCU), a system on a chip (SoC), a field programmable gate array (FPGA), or a complex programmable logic device (CPLD), but is not limited thereto.

在一些實施例中,按鍵150係可透過多種方式以產生第一切換指令,例如但不限於短按一下、長按N秒(N為一正整數)或連續短按二下等。舉例來說,當對著按鍵150長按3秒鐘時,按鍵150係產生第一切換指令以控制控制電路140將其操作模式切換為設定模式。In some embodiments, the button 150 can generate the first switching command in a variety of ways, such as but not limited to a short press, a long press for N seconds (N is a positive integer), or two consecutive short presses, etc. For example, when the button 150 is long pressed for 3 seconds, the button 150 generates the first switching command to control the control circuit 140 to switch its operating mode to the setting mode.

請參照圖3,圖3是圖1中智能插座裝置10之一些實施例的運作流程圖。當智能插座裝置10開始運作時,智能插座裝置10係插設於第二外部裝置30上以接收第二電源P2。此時,智能插座裝置10之控制電路140係預設操作於一普通模式。當控制電路140係接收智能插座裝置10之按鍵150所產生之一第一切換指令時,控制電路140之操作模式係自普通模式切換為一設定模式(步驟S100)。當控制電路140操作於設定模式時,智能插座裝置10之感測電路130係感測第一電源P1之電流值,並將一預設週期內第一電源P1之電流值隨時間的變化儲存為一記錄檔(步驟S110)。隨後,當預設週期結束時,控制電路140係切換其操作模式為一循環模式(步驟S120)。最後,當控制電路140操作於循環模式時,控制電路140係根據預設週期及記錄檔中第一電源P1之電流值隨時間的變化而循環控制智能插座裝置10之調整電路120調整第一電源P1之電流值(步驟S130)。Please refer to FIG. 3 , which is an operation flow chart of some embodiments of the smart socket device 10 in FIG. 1 . When the smart socket device 10 starts to operate, the smart socket device 10 is plugged into the second external device 30 to receive the second power source P2. At this time, the control circuit 140 of the smart socket device 10 is preset to operate in a normal mode. When the control circuit 140 receives a first switching command generated by the button 150 of the smart socket device 10, the operation mode of the control circuit 140 is switched from the normal mode to a setting mode (step S100). When the control circuit 140 operates in the setting mode, the sensing circuit 130 of the smart socket device 10 senses the current value of the first power source P1, and stores the change of the current value of the first power source P1 over time in a preset cycle as a record file (step S110). Then, when the preset cycle ends, the control circuit 140 switches its operation mode to a cyclic mode (step S120). Finally, when the control circuit 140 operates in the cyclic mode, the control circuit 140 cyclically controls the adjustment circuit 120 of the smart socket device 10 to adjust the current value of the first power source P1 according to the preset cycle and the change of the current value of the first power source P1 over time in the record file (step S130).

在一些實施例中,當控制電路140操作於循環模式時,控制電路140係進一步判斷智能插座裝置10是否產生第一切換指令(步驟S140)。若是,代表控制電路140之操作模式係被切換為設定模式,此時控制電路140係再次執行步驟S100及其後續步驟以重新感測預設週期內第一電源P1之電流值隨時間的變化並儲存為新的記錄檔。若否,控制電路140係維持操作於循環模式。In some embodiments, when the control circuit 140 operates in the cycle mode, the control circuit 140 further determines whether the smart socket device 10 generates a first switching command (step S140). If so, it means that the operation mode of the control circuit 140 is switched to the setting mode. At this time, the control circuit 140 executes step S100 and subsequent steps again to re-sense the change of the current value of the first power source P1 over time in the preset cycle and store it as a new record file. If not, the control circuit 140 maintains operation in the cycle mode.

請參照圖3及圖4,圖4是圖1中第一電源P1之第一實施例的電流示意圖。其中,圖4之橫軸為時間,單位為小時(hr)。圖4之縱軸為第一電源P1之電流值I1,單位為安培(A)。需注意的是,本實施例係以繼電器為例來說明調整電路120之功能,並以電風扇為例來說明第一外部裝置20之狀態。Please refer to FIG. 3 and FIG. 4. FIG. 4 is a current diagram of the first embodiment of the first power source P1 in FIG. 1. The horizontal axis of FIG. 4 is time, and the unit is hour (hr). The vertical axis of FIG. 4 is the current value I1 of the first power source P1, and the unit is ampere (A). It should be noted that this embodiment uses a relay as an example to illustrate the function of the adjustment circuit 120, and uses an electric fan as an example to illustrate the state of the first external device 20.

以下將以圖4來說明第一外部裝置20之運作流程。於時點t1時,第一外部裝置20之開關係被開啟而使得第一外部裝置20處於運作狀態(例如打開電風扇之電源)。於時點t2時,第一外部裝置20之開關係被關閉而使得第一外部裝置20處於閒置狀態(例如關閉電風扇電源)。於時點t3時,第一外部裝置20之開關再次被開啟而處於運作狀態。至此之後(即時點t3之後),第一外部裝置20之開關即不再被控制而維持開啟狀態。The operation process of the first external device 20 will be described below with reference to FIG. 4. At time t1, the switch of the first external device 20 is turned on and the first external device 20 is in operation (e.g., the power of the electric fan is turned on). At time t2, the switch of the first external device 20 is turned off and the first external device 20 is in idle state (e.g., the power of the electric fan is turned off). At time t3, the switch of the first external device 20 is turned on again and is in operation. After this (i.e., after time t3), the switch of the first external device 20 is no longer controlled and remains in the on state.

以下將以圖4來說明智能插座裝置10之運作流程。於時點t1時,控制電路140係接收按鍵150所產生之一第一切換指令,使得控制電路140之操作模式自一普通模式切換為一設定模式(對應於步驟S100)。也就是說,在預設週期Tpre中,控制電路140係操作於設定模式。當控制電路140操作於設定模式時,感測電路130係感測第一電源P1之電流值I1,並將預設週期Tpre內第一電源P1之電流值I1隨時間的變化儲存為一記錄檔(對應於步驟S110)。其中,在一些實施例中,預設週期Tpre例如為24小時,不以此為限。The operation process of the smart socket device 10 will be described below with reference to FIG. 4 . At time t1, the control circuit 140 receives a first switching command generated by the button 150, so that the operation mode of the control circuit 140 is switched from a normal mode to a setting mode (corresponding to step S100 ). That is, in the preset period Tpre, the control circuit 140 operates in the setting mode. When the control circuit 140 operates in the setting mode, the sensing circuit 130 senses the current value I1 of the first power source P1 , and stores the change of the current value I1 of the first power source P1 over time in the preset period Tpre as a record file (corresponding to step S110 ). In some embodiments, the preset period Tpre is, for example, 24 hours, but is not limited thereto.

隨後,當預設週期Tpre結束時(對應於時點t4),控制電路140係切換其操作模式為一循環模式(對應於步驟S120)。也就是說,在循環週期Tcyc中,控制電路140係操作於循環模式。最後,當控制電路140操作於循環模式時,控制電路140係根據預設週期Tpre及記錄檔中第一電源P1之電流值I1隨時間的變化而循環控制智能插座裝置10之調整電路120調整第一電源P1之電流值I1(對應於步驟S130)。在一些實施例中,控制電路140係以循環週期Tcyc為一週期而循環控制調整電路120調整第一電源P1之電流值I1。其中,循環週期Tcyc之長度係等於預設週期Tpre之長度。Subsequently, when the preset period Tpre ends (corresponding to time point t4), the control circuit 140 switches its operation mode to a cyclic mode (corresponding to step S120). That is, in the cyclic period Tcyc, the control circuit 140 operates in the cyclic mode. Finally, when the control circuit 140 operates in the cyclic mode, the control circuit 140 cyclically controls the adjustment circuit 120 of the smart socket device 10 to adjust the current value I1 of the first power source P1 according to the preset period Tpre and the current value I1 of the first power source P1 in the record file over time (corresponding to step S130). In some embodiments, the control circuit 140 cyclically controls the regulating circuit 120 to adjust the current value I1 of the first power source P1 with a cycle period Tcyc as one cycle. The length of the cycle period Tcyc is equal to the length of the preset cycle Tpre.

在本實施例中,當控制電路140操作於設定模式時(即在預設週期Tpre中),第一電源P1之電流值I1隨時間的變化係由第一外部裝置20所控制。其中,當第一外部裝置20處於運作狀態時(如時點t1與時點t2之間所示),第一外部裝置20係消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一高位準(例如為15安培)。因此,感測電路130係感測到第一電源P1之電流值I1為15安培。當第一外部裝置20處於閒置狀態時(如時點t2與時點t3之間所示),第一外部裝置20係停止消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一低位準(例如為0安培)。因此,感測電路130係感測到第一電源P1之電流值I1為0安培。In this embodiment, when the control circuit 140 operates in the setting mode (i.e., in the preset period Tpre), the change of the current value I1 of the first power source P1 over time is controlled by the first external device 20. When the first external device 20 is in operation (as shown between time point t1 and time point t2), the first external device 20 consumes the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a high level (e.g., 15 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 15 amperes. When the first external device 20 is in an idle state (as shown between time point t2 and time point t3), the first external device 20 stops consuming the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a low level (e.g., 0 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 0 ampere.

在本實施例中,當控制電路140操作於循環模式時(即在循環週期Tcyc中),控制電路140係根據預設週期Tpre及記錄檔中第一電源P1之電流值I1隨時間的變化而控制智能插座裝置10之調整電路120調整第一電源P1之電流值I1。其中,記錄檔係儲存預設週期Tpre內第一電源P1之電流值I1隨時間的變化(如時點t1至時點t4之間所示)。In this embodiment, when the control circuit 140 operates in the cycle mode (i.e., in the cycle period Tcyc), the control circuit 140 controls the adjustment circuit 120 of the smart socket device 10 to adjust the current value I1 of the first power source P1 according to the preset period Tpre and the change of the current value I1 of the first power source P1 over time in the record file. The record file stores the change of the current value I1 of the first power source P1 over time in the preset period Tpre (as shown between time point t1 and time point t4).

舉例來說,控制電路140係根據記錄檔中時點t1至時點t2之間的第一電源P1之電流值I1以控制調整電路120調整時點t4至時點t5之間的第一電源P1之電流值I1。同理,控制電路140係根據記錄檔中時點t2至時點t3之間的第一電源P1之電流值I1以控制調整電路120調整時點t5至時點t6之間的第一電源P1之電流值I1,並且控制電路140係根據記錄檔中時點t3至時點t4之間的第一電源P1之電流值I1以控制調整電路120調整時點t6至時點t7之間的第一電源P1之電流值I1。For example, the control circuit 140 controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t4 and time point t5 according to the current value I1 of the first power source P1 between time point t1 and time point t2 in the record file. Similarly, the control circuit 140 controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t5 and time point t6 according to the current value I1 of the first power source P1 between time point t2 and time point t3 in the record file, and the control circuit 140 controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t6 and time point t7 according to the current value I1 of the first power source P1 between time point t3 and time point t4 in the record file.

換言之,在圖4中,於時點t1至時點t4之間,智能插座裝置10係透過感測第一電源P1之電流值I1以記錄第一外部裝置20之狀態變化。於時點t4之後,智能插座裝置10係透過控制電路140控制調整電路120以調整第一電源P1之電流值I1,進而改變第一外部裝置20之狀態變化。因此,即便於時點t3後第一外部裝置20之開關仍維持開啟狀態,控制電路140係可控制調整電路120將第一電源P1之電流值I1調整為0安培,使得第一外部裝置20無法消耗第一電源P1之電能而處於閒置狀態(如時點t5至時點t6之間所示)。In other words, in FIG. 4 , between time t1 and time t4, the smart socket device 10 records the state change of the first external device 20 by sensing the current value I1 of the first power source P1. After time t4, the smart socket device 10 controls the adjustment circuit 120 through the control circuit 140 to adjust the current value I1 of the first power source P1, thereby changing the state change of the first external device 20. Therefore, even if the switch of the first external device 20 remains turned on after time t3, the control circuit 140 can control the adjustment circuit 120 to adjust the current value I1 of the first power source P1 to 0 amperes, so that the first external device 20 cannot consume the power of the first power source P1 and is in an idle state (as shown between time t5 and time t6).

請參照圖3及圖5,圖5是圖1中第一電源P1之第二實施例的電流示意圖。其中,圖5之橫軸為時間,單位為小時(hr)。圖5之縱軸為第一電源P1之電流值I1,單位為安培(A)。需注意的是,本實施例係以調光電路為例來說明調整電路120之功能,並以檯燈為例來說明第一外部裝置20之狀態。Please refer to FIG. 3 and FIG. 5 . FIG. 5 is a current diagram of the second embodiment of the first power source P1 in FIG. 1 . The horizontal axis of FIG. 5 is time, and the unit is hour (hr). The vertical axis of FIG. 5 is the current value I1 of the first power source P1, and the unit is ampere (A). It should be noted that this embodiment uses a dimming circuit as an example to illustrate the function of the adjustment circuit 120, and uses a desk lamp as an example to illustrate the state of the first external device 20.

以下將以圖5來說明第一外部裝置20之運作流程。於時點t1時,第一外部裝置20之開關係被開啟而使得第一外部裝置20處於運作狀態(例如打開檯燈之電源),並且第一外部裝置20之功率係被調整為中等(例如檯燈之亮度被調整為中等)。於時點t2時,第一外部裝置20之功率係被調整為最大(例如檯燈之亮度被調整為最強)。於時點t3時,第一外部裝置20之功率係被調整為最小(例如檯燈之亮度被調整為最弱)。至時點t4之後,第一外部裝置20之功率係被調整為最大而不再改變。The operation process of the first external device 20 will be described below with reference to FIG. 5. At time t1, the switch of the first external device 20 is turned on, so that the first external device 20 is in operation (for example, the power of the desk lamp is turned on), and the power of the first external device 20 is adjusted to medium (for example, the brightness of the desk lamp is adjusted to medium). At time t2, the power of the first external device 20 is adjusted to maximum (for example, the brightness of the desk lamp is adjusted to the strongest). At time t3, the power of the first external device 20 is adjusted to minimum (for example, the brightness of the desk lamp is adjusted to the weakest). After time t4, the power of the first external device 20 is adjusted to maximum and does not change.

在本實施例中,當控制電路140操作於設定模式時(即在預設週期Tpre中),第一電源P1之電流值I1隨時間的變化係由第一外部裝置20所控制。其中,當第一外部裝置20之功率為中等時(如時點t1與時點t2之間所示),第一外部裝置20係消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一中位準(例如為10安培)。因此,感測電路130係感測到第一電源P1之電流值I1為10安培。當第一外部裝置20之功率為最大時(如時點t2與時點t3之間所示),第一外部裝置20係消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一高位準(例如為15安培)。因此,感測電路130係感測到第一電源P1之電流值I1為15安培。當第一外部裝置20之功率為最小時(如時點t3與時點t4之間所示),第一外部裝置20係消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一低位準(例如為5安培)。因此,感測電路130係感測到第一電源P1之電流值I1為5安培。In this embodiment, when the control circuit 140 operates in the setting mode (i.e., in the preset period Tpre), the change of the current value I1 of the first power source P1 over time is controlled by the first external device 20. When the power of the first external device 20 is medium (as shown between time point t1 and time point t2), the first external device 20 consumes the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a medium level (e.g., 10 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 10 amperes. When the power of the first external device 20 is maximum (as shown between time point t2 and time point t3), the first external device 20 consumes the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a high level (e.g., 15 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 15 amperes. When the power of the first external device 20 is minimum (as shown between time point t3 and time point t4), the first external device 20 consumes the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a low level (e.g., 5 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 5 amperes.

在本實施例中,當控制電路140操作於循環模式時(即在循環週期Tcyc中),控制電路140係根據預設週期Tpre及記錄檔中第一電源P1之電流值I1隨時間的變化而控制智能插座裝置10之調整電路120調整第一電源P1之電流值I1。其中,記錄檔係儲存預設週期Tpre內第一電源P1之電流值I1隨時間的變化(如時點t1至時點t4之間所示)。In this embodiment, when the control circuit 140 operates in the cycle mode (i.e., in the cycle period Tcyc), the control circuit 140 controls the adjustment circuit 120 of the smart socket device 10 to adjust the current value I1 of the first power source P1 according to the preset period Tpre and the change of the current value I1 of the first power source P1 over time in the record file. The record file stores the change of the current value I1 of the first power source P1 over time in the preset period Tpre (as shown between time point t1 and time point t4).

舉例來說,控制電路140係根據記錄檔中時點t1至時點t2之間的第一電源P1之電流值I1以控制調整電路120調整時點t4至時點t5之間的第一電源P1之電流值I1。同理,控制電路140係根據記錄檔中時點t2至時點t3之間的第一電源P1之電流值I1以控制調整電路120調整時點t5至時點t6之間的第一電源P1之電流值I1,並且控制電路140係根據記錄檔中時點t3至時點t4之間的第一電源P1之電流值I1以控制調整電路120調整時點t6至時點t7之間的第一電源P1之電流值I1。For example, the control circuit 140 controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t4 and time point t5 according to the current value I1 of the first power source P1 between time point t1 and time point t2 in the record file. Similarly, the control circuit 140 controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t5 and time point t6 according to the current value I1 of the first power source P1 between time point t2 and time point t3 in the record file, and the control circuit 140 controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t6 and time point t7 according to the current value I1 of the first power source P1 between time point t3 and time point t4 in the record file.

換言之,在圖5中,於時點t1至時點t4之間,智能插座裝置10係透過感測第一電源P1之電流值I1以記錄第一外部裝置20之狀態變化。於時點t4之後,智能插座裝置10係透過控制電路140控制調整電路120以調整第一電源P1之電流值I1,進而改變第一外部裝置20之狀態變化。因此,即便於時點t4後第一外部裝置20之功率仍為最大,控制電路140係可控制調整電路120以調整第一電源P1之電流值I1,使得第一外部裝置20消耗較少第一電源P1之電能。In other words, in FIG. 5 , between time point t1 and time point t4, the smart socket device 10 records the state change of the first external device 20 by sensing the current value I1 of the first power source P1. After time point t4, the smart socket device 10 controls the adjustment circuit 120 through the control circuit 140 to adjust the current value I1 of the first power source P1, thereby changing the state change of the first external device 20. Therefore, even if the power of the first external device 20 is still the maximum after time point t4, the control circuit 140 can control the adjustment circuit 120 to adjust the current value I1 of the first power source P1, so that the first external device 20 consumes less power of the first power source P1.

舉例來說,如時點t4至時點t5之間所示,第一電源P1之電流值I1係維持10安培。因此,即便第一外部裝置20之功率為最大,第一外部裝置20只能消耗電流值為10安培的電能。又如時點t6至時點t7之間所示,第一電源P1之電流值I1係維持5安培。因此,即便第一外部裝置20之功率為最大,第一外部裝置20只能消耗電流值為5安培的電能。For example, as shown between time point t4 and time point t5, the current value I1 of the first power source P1 is maintained at 10 amperes. Therefore, even if the power of the first external device 20 is at its maximum, the first external device 20 can only consume electric energy with a current value of 10 amperes. As shown between time point t6 and time point t7, the current value I1 of the first power source P1 is maintained at 5 amperes. Therefore, even if the power of the first external device 20 is at its maximum, the first external device 20 can only consume electric energy with a current value of 5 amperes.

請參照圖6,圖6是依據第二實施例之智能插座裝置10A的模組方塊圖。其中,智能插座裝置10A係對應於圖1所示之智能插座裝置10,控制電路140A係對應於圖1所示之控制電路140,並且按鍵150A係對應於圖1所示之按鍵150。以下將說明智能插座裝置10A與圖1所示之智能插座裝置10之間的差異。Please refer to FIG. 6 , which is a module block diagram of a smart socket device 10A according to the second embodiment. The smart socket device 10A corresponds to the smart socket device 10 shown in FIG. 1 , the control circuit 140A corresponds to the control circuit 140 shown in FIG. 1 , and the button 150A corresponds to the button 150 shown in FIG. 1 . The difference between the smart socket device 10A and the smart socket device 10 shown in FIG. 1 will be described below.

在本實施例中,控制電路140A係操作於一操作模式中,此操作模式包含一普通模式及一設定模式。其中,這些模式可以根據使用者按壓按鍵150A以進行切換。例如,在初始狀態下,控制電路140A之操作模式係預設為普通模式,此時智能插座裝置10的工作方式與尋常的插座無異。當使用者按壓按鍵150A時會對控制電路140A發出一第一切換指令,使得控制電路140A之操作模式自普通模式切換為設定模式。當控制電路140A操作於設定模式時,控制電路140A會將一設定週期內之第一電源P1之電流值的變化儲存為一記錄檔。其中,當使用者再次按壓按鍵150A時會對控制電路140A發出一第二切換指令,使得控制電路140A之操作模式自設定模式切換為普通模式。也就是說,設定週期之開始時點為按鍵150A產生第一切換指令之時點,設定週期之結束時點為按鍵150A產生第二切換指令之時點。換言之,使用者只需要按壓兩次按鍵150,智能插座裝置10便會在任意的設定週期內記錄插設於插座100之第一外部裝置20的工作行為。In the present embodiment, the control circuit 140A operates in an operation mode, which includes a normal mode and a setting mode. Among them, these modes can be switched according to the user pressing the button 150A. For example, in the initial state, the operation mode of the control circuit 140A is preset to the normal mode, and the working method of the intelligent socket device 10 is no different from that of an ordinary socket. When the user presses the button 150A, a first switching instruction is issued to the control circuit 140A, so that the operation mode of the control circuit 140A is switched from the normal mode to the setting mode. When the control circuit 140A operates in the setting mode, the control circuit 140A will store the change of the current value of the first power source P1 within a setting cycle as a record file. When the user presses the button 150A again, a second switching command is issued to the control circuit 140A, so that the operation mode of the control circuit 140A is switched from the setting mode to the normal mode. In other words, the start time of the setting cycle is the time when the button 150A generates the first switching command, and the end time of the setting cycle is the time when the button 150A generates the second switching command. In other words, the user only needs to press the button 150 twice, and the smart socket device 10 will record the working behavior of the first external device 20 plugged into the socket 100 within any setting cycle.

在一些實施例中,控制電路140A更包含一單次模式,並且按鍵150A更用以產生一第三切換指令以控制控制電路140A將控制電路140A之操作模式切換為單次模式。其中,當控制電路140A操作於單次模式時,控制電路140A用以根據設定週期及記錄檔中第一電源P1之電流值隨時間的變化而控制調整電路120調整第一電源P1之電流值。換言之,使用者只需要再按壓一次按鍵150A,智能插座裝置10便會重現在設定週期內插設於插座100之第一外部裝置20的工作行為。In some embodiments, the control circuit 140A further includes a single mode, and the button 150A is further used to generate a third switching command to control the control circuit 140A to switch the operation mode of the control circuit 140A to the single mode. When the control circuit 140A operates in the single mode, the control circuit 140A is used to control the adjustment circuit 120 to adjust the current value of the first power source P1 according to the setting cycle and the change of the current value of the first power source P1 in the record file over time. In other words, the user only needs to press the button 150A once more, and the smart socket device 10 will reproduce the working behavior of the first external device 20 plugged into the socket 100 during the setting cycle.

請參照圖7,圖7是圖6中智能插座裝置10A之第一實施例的運作流程圖。當智能插座裝置10A開始運作時,智能插座裝置10A之控制電路140A係接收智能插座裝置10A之按鍵150A所產生之一第一切換指令,使得控制電路140A之操作模式自一普通模式切換為一設定模式(步驟S200)。當控制電路140A操作於設定模式時,智能插座裝置10A之感測電路130係感測第一電源P1之電流值I1(步驟S210)。隨後,控制電路140A係接收按鍵150A所產生之一第二切換指令,使得控制電路140A之操作模式自設定模式切換為普通模式(步驟S220)。最後,控制電路140A係將一設定週期內第一電源P1之電流值I1隨時間的變化儲存為一記錄檔。其中,設定週期之開始時點為控制電路140A接收第一切換指令之時點,並且設定週期之結束時點為控制電路140A接收第二切換指令之時點(步驟S230)。Please refer to FIG. 7, which is an operation flow chart of the first embodiment of the smart socket device 10A in FIG. 6. When the smart socket device 10A starts to operate, the control circuit 140A of the smart socket device 10A receives a first switching command generated by the button 150A of the smart socket device 10A, so that the operation mode of the control circuit 140A is switched from a normal mode to a setting mode (step S200). When the control circuit 140A operates in the setting mode, the sensing circuit 130 of the smart socket device 10A senses the current value I1 of the first power source P1 (step S210). Subsequently, the control circuit 140A receives a second switching command generated by the button 150A, so that the operation mode of the control circuit 140A is switched from the setting mode to the normal mode (step S220). Finally, the control circuit 140A stores the change of the current value I1 of the first power source P1 over time in a setting cycle as a record file, wherein the starting time point of the setting cycle is the time point when the control circuit 140A receives the first switching instruction, and the ending time point of the setting cycle is the time point when the control circuit 140A receives the second switching instruction (step S230).

請進一步參照圖8,圖8是圖6中智能插座裝置10A之第二實施例的運作流程圖。在一些實施例中,接續步驟S230,當控制電路140A操作於普通模式時,控制電路140A係接收按鍵150A所產生之一第三切換指令,使得控制電路140A之操作模式自普通模式切換為單次模式(步驟S240)。當控制電路140A操作於單次模式時,控制電路140A係根據設定週期及記錄檔中第一電源P1之電流值I1隨時間的變化而控制調整電路120調整第一電源P1之電流值I1(步驟S250)。最後,當設定周期結束時,控制電路140A係切換其操作模式為普通模式(步驟S260)。Please further refer to FIG. 8 , which is an operation flow chart of the second embodiment of the smart socket device 10A in FIG. 6 . In some embodiments, following step S230 , when the control circuit 140A operates in the normal mode, the control circuit 140A receives a third switching command generated by the button 150A, so that the operation mode of the control circuit 140A is switched from the normal mode to the single mode (step S240 ). When the control circuit 140A operates in the single mode, the control circuit 140A controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 according to the setting cycle and the change of the current value I1 of the first power source P1 over time in the record file (step S250 ). Finally, when the setting cycle ends, the control circuit 140A switches its operation mode to the normal mode (step S260 ).

請參照圖7至圖9,圖9是圖6中第一電源P1之第一實施例的電流示意圖。其中,圖9之橫軸為時間,單位為秒(s)。圖9之縱軸為第一電源P1之電流值I1,單位為安培(A)。需注意的是,本實施例係以繼電器為例來說明調整電路120之功能,並以微波爐為例來說明第一外部裝置20之狀態。Please refer to Figures 7 to 9. Figure 9 is a current diagram of the first embodiment of the first power source P1 in Figure 6. The horizontal axis of Figure 9 is time, and the unit is seconds (s). The vertical axis of Figure 9 is the current value I1 of the first power source P1, and the unit is ampere (A). It should be noted that this embodiment uses a relay as an example to illustrate the function of the adjustment circuit 120, and uses a microwave oven as an example to illustrate the state of the first external device 20.

以下將以圖9來說明第一外部裝置20之運作流程。於時點t1時,第一外部裝置20之開關係被開啟而使得第一外部裝置20處於運作狀態(例如打開微波爐之電源)。於時點t2時,第一外部裝置20之開關係被關閉而使得第一外部裝置20處於閒置狀態(例如關閉微波爐電源)。至此之後(即時點t2之後),第一外部裝置20之開關係被開啟並維持開啟狀態。The operation process of the first external device 20 will be described below with reference to FIG. 9. At time t1, the switch of the first external device 20 is turned on, so that the first external device 20 is in an operating state (for example, turning on the power of the microwave oven). At time t2, the switch of the first external device 20 is turned off, so that the first external device 20 is in an idle state (for example, turning off the power of the microwave oven). Thereafter (i.e., after time t2), the switch of the first external device 20 is turned on and remains in an on state.

以下將以圖9來說明智能插座裝置10A之運作流程。於時點t1時,控制電路140A係接收按鍵150A所產生之一第一切換指令,使得控制電路140之操作模式自一普通模式切換為一設定模式(對應於步驟S200)。於時點t3時,控制電路140A係接收按鍵150A所產生之一第二切換指令,使得控制電路140之操作模式自設定模式切換為普通模式(對應於步驟S220)。其中,時點t1與時點t3之間的時段即為設定週期Tset。也就是說,在設定週期Tset中,控制電路140A係操作於設定模式。當控制電路140A操作於設定模式時,感測電路130係感測第一電源P1之電流值I1(對應於步驟S210),並將設定週期Tset內第一電源P1之電流值I1隨時間的變化儲存為一記錄檔(對應於步驟S230)。其中,在一些實施例中,設定週期Tset例如為60秒,不以此為限。The operation flow of the smart socket device 10A is described below with reference to FIG. 9 . At time t1, the control circuit 140A receives a first switching command generated by the button 150A, so that the operation mode of the control circuit 140 is switched from a normal mode to a setting mode (corresponding to step S200 ). At time t3, the control circuit 140A receives a second switching command generated by the button 150A, so that the operation mode of the control circuit 140 is switched from the setting mode to the normal mode (corresponding to step S220 ). The time period between time t1 and time t3 is the setting period Tset. That is, in the setting period Tset, the control circuit 140A operates in the setting mode. When the control circuit 140A operates in the setting mode, the sensing circuit 130 senses the current value I1 of the first power source P1 (corresponding to step S210), and stores the change of the current value I1 of the first power source P1 over time in the setting period Tset as a record file (corresponding to step S230). In some embodiments, the setting period Tset is, for example, 60 seconds, but is not limited thereto.

在一些實施例中,當設定週期Tset結束(對應於時點t3)後一段時間,控制電路140A係接收按鍵150A所產生之一第三切換指令(對應於時點t4),使得控制電路140A之操作模式自普通模式切換為單次模式(對應於步驟S240)。也就是說,在單次週期Tsin中,控制電路140A係操作於單次模式。當控制電路140A操作於單次模式時,控制電路140A係根據設定週期Tset及記錄檔中第一電源P1之電流值I1隨時間的變化而控制調整電路120調整第一電源P1之電流值I1(對應於步驟S250)。其中,單次週期Tsin之長度係等於設定週期Tset之長度。最後,當設定週期Tset(即單次週期Tsin)結束時(對應於時點t6),控制電路140係切換其操作模式為普通模式(對應於步驟S260)。In some embodiments, after a period of time after the setting period Tset ends (corresponding to time point t3), the control circuit 140A receives a third switching command (corresponding to time point t4) generated by the button 150A, so that the operation mode of the control circuit 140A is switched from the normal mode to the single mode (corresponding to step S240). In other words, in the single period Tsin, the control circuit 140A operates in the single mode. When the control circuit 140A operates in the single mode, the control circuit 140A controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 according to the setting period Tset and the change of the current value I1 of the first power source P1 in the record file over time (corresponding to step S250). Among them, the length of the single period Tsin is equal to the length of the setting period Tset. Finally, when the set period Tset (ie, the single period Tsin) ends (corresponding to time point t6), the control circuit 140 switches its operation mode to the normal mode (corresponding to step S260).

在本實施例中,當控制電路140A操作於設定模式時(即在設定週期Tset中),第一電源P1之電流值I1隨時間的變化係由第一外部裝置20所控制。其中,當第一外部裝置20處於運作狀態時(如時點t1與時點t2之間所示),第一外部裝置20係消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一高位準(例如為15安培)。因此,感測電路130係感測到第一電源P1之電流值I1為15安培。當第一外部裝置20處於閒置狀態時,第一外部裝置20係停止消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一低位準(例如為0安培)。因此,感測電路130係感測到第一電源P1之電流值I1為0安培。In this embodiment, when the control circuit 140A operates in the setting mode (i.e., in the setting period Tset), the change of the current value I1 of the first power source P1 over time is controlled by the first external device 20. When the first external device 20 is in operation (as shown between time point t1 and time point t2), the first external device 20 consumes the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a high level (e.g., 15 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 15 amperes. When the first external device 20 is in an idle state, the first external device 20 stops consuming the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a low level (e.g., 0 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 0 ampere.

在本實施例中,當控制電路140A操作於單次模式時(即在單次週期Tsin中),控制電路140A係根據設定週期Tset及記錄檔中第一電源P1之電流值I1隨時間的變化而控制智能插座裝置10A之調整電路120調整第一電源P1之電流值I1。其中,記錄檔係儲存設定週期Tset內第一電源P1之電流值I1隨時間的變化(如時點t1至時點t3之間所示)。In this embodiment, when the control circuit 140A operates in the single mode (i.e., in a single cycle Tsin), the control circuit 140A controls the adjustment circuit 120 of the smart socket device 10A to adjust the current value I1 of the first power source P1 according to the set cycle Tset and the change of the current value I1 of the first power source P1 over time in the record file. The record file stores the change of the current value I1 of the first power source P1 over time in the set cycle Tset (as shown between time point t1 and time point t3).

舉例來說,控制電路140A係根據記錄檔中時點t1至時點t2之間的第一電源P1之電流值I1以控制調整電路120調整時點t4至時點t5之間的第一電源P1之電流值I1。同理,控制電路140A係根據記錄檔中時點t2至時點t3之間的第一電源P1之電流值I1以控制調整電路120調整時點t5至時點t6之間的第一電源P1之電流值I1。For example, the control circuit 140A controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t4 and time point t5 according to the current value I1 of the first power source P1 between time point t1 and time point t2 in the record file. Similarly, the control circuit 140A controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t5 and time point t6 according to the current value I1 of the first power source P1 between time point t2 and time point t3 in the record file.

換言之,在圖8中,於時點t1至時點t3之間,智能插座裝置10A係透過感測第一電源P1之電流值I1以記錄第一外部裝置20之狀態變化。於時點t3之後,智能插座裝置10係透過控制電路140A控制調整電路120以調整第一電源P1之電流值I1,進而改變第一外部裝置20之狀態變化。因此,即便於時點t3後第一外部裝置20之開關仍維持開啟狀態,控制電路140A係可控制調整電路120將第一電源P1之電流值I1調整為0安培,使得第一外部裝置20無法消耗第一電源P1之電能而處於閒置狀態(如時點t5至時點t6之間所示)。In other words, in FIG8 , between time point t1 and time point t3, the smart socket device 10A records the state change of the first external device 20 by sensing the current value I1 of the first power source P1. After time point t3, the smart socket device 10 controls the adjustment circuit 120 through the control circuit 140A to adjust the current value I1 of the first power source P1, thereby changing the state change of the first external device 20. Therefore, even if the switch of the first external device 20 remains turned on after time point t3, the control circuit 140A can control the adjustment circuit 120 to adjust the current value I1 of the first power source P1 to 0 amperes, so that the first external device 20 cannot consume the power of the first power source P1 and is in an idle state (as shown between time point t5 and time point t6).

請參照圖7、圖8及圖10,圖10是圖6中第一電源P1之第二實施例的電流示意圖。其中,圖10之橫軸為時間,單位為秒(s)。圖10之縱軸為第一電源P1之電流值I1,單位為安培(A)。需注意的是,本實施例係以電流調節器為例來說明調整電路120之功能,並以微波爐為例來說明第一外部裝置20之狀態。Please refer to FIG. 7, FIG. 8 and FIG. 10. FIG. 10 is a current diagram of the second embodiment of the first power source P1 in FIG. 6. The horizontal axis of FIG. 10 is time, and the unit is second (s). The vertical axis of FIG. 10 is the current value I1 of the first power source P1, and the unit is ampere (A). It should be noted that this embodiment uses a current regulator as an example to illustrate the function of the adjustment circuit 120, and uses a microwave oven as an example to illustrate the state of the first external device 20.

以下將以圖10來說明第一外部裝置20之運作流程。於時點t1時,第一外部裝置20之開關係被開啟而使得第一外部裝置20處於運作狀態(例如打開微波爐之電源),並且第一外部裝置20之功率係被調整為最大(例如微波爐之加熱功率被調整為最強)。於時點t2時,第一外部裝置20之功率係被調整為最小(例如微波爐之加熱功率被調整為最弱)。於時點t3時,第一外部裝置20之開關係被關閉而使得第一外部裝置20處於閒置狀態(例如關閉微波爐電源)。至時點t4之後,第一外部裝置20之開關係再次被開啟,並且第一外部裝置20之功率係被調整為最大。The operation process of the first external device 20 will be described below with reference to FIG. 10. At time t1, the switch of the first external device 20 is turned on, so that the first external device 20 is in an operating state (for example, the power of the microwave oven is turned on), and the power of the first external device 20 is adjusted to the maximum (for example, the heating power of the microwave oven is adjusted to the strongest). At time t2, the power of the first external device 20 is adjusted to the minimum (for example, the heating power of the microwave oven is adjusted to the weakest). At time t3, the switch of the first external device 20 is turned off, so that the first external device 20 is in an idle state (for example, the power of the microwave oven is turned off). After time t4, the switch of the first external device 20 is turned on again, and the power of the first external device 20 is adjusted to the maximum.

在本實施例中,當控制電路140A操作於設定模式時(即在設定週期Tset中),第一電源P1之電流值I1隨時間的變化係由第一外部裝置20所控制。其中,當第一外部裝置20之功率為最大時(如時點t1與時點t2之間所示),第一外部裝置20係消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一高位準(例如為15安培)。因此,感測電路130係感測到第一電源P1之電流值I1為15安培。當第一外部裝置20之功率為最小時(如時點t2與時點t3之間所示),第一外部裝置20係消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一中位準(例如為5安培)。因此,感測電路130係感測到第一電源P1之電流值I1為5安培。當第一外部裝置20處於閒置狀態時(如時點t3與時點t4之間所示),第一外部裝置20係停止消耗第一電源P1之電能而使得第一電源P1之電流值I1維持在一低位準(例如為0安培)。因此,感測電路130係感測到第一電源P1之電流值I1為0安培。In this embodiment, when the control circuit 140A operates in the setting mode (i.e., in the setting period Tset), the change of the current value I1 of the first power source P1 over time is controlled by the first external device 20. Among them, when the power of the first external device 20 is maximum (as shown between time point t1 and time point t2), the first external device 20 consumes the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a high level (for example, 15 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 15 amperes. When the power of the first external device 20 is minimum (as shown between time point t2 and time point t3), the first external device 20 consumes the electric energy of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a medium level (for example, 5 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 5 amperes. When the first external device 20 is in an idle state (as shown between time points t3 and t4), the first external device 20 stops consuming the power of the first power source P1 so that the current value I1 of the first power source P1 is maintained at a low level (e.g., 0 amperes). Therefore, the sensing circuit 130 senses that the current value I1 of the first power source P1 is 0 amperes.

在本實施例中,當控制電路140A操作於單次模式時(即在單次週期Tsin中),控制電路140A係根據設定週期Tset及記錄檔中第一電源P1之電流值I1隨時間的變化而控制智能插座裝置10之調整電路120調整第一電源P1之電流值I1。其中,記錄檔係儲存設定週期Tset內第一電源P1之電流值I1隨時間的變化(如時點t1至時點t4之間所示)。In this embodiment, when the control circuit 140A operates in the single mode (i.e., in a single cycle Tsin), the control circuit 140A controls the adjustment circuit 120 of the smart socket device 10 to adjust the current value I1 of the first power source P1 according to the set cycle Tset and the change of the current value I1 of the first power source P1 over time in the record file. The record file stores the change of the current value I1 of the first power source P1 over time in the set cycle Tset (as shown between time point t1 and time point t4).

舉例來說,控制電路140A係根據記錄檔中時點t1至時點t2之間的第一電源P1之電流值I1以控制調整電路120調整時點t5至時點t6之間的第一電源P1之電流值I1。同理,控制電路140A係根據記錄檔中時點t2至時點t3之間的第一電源P1之電流值I1以控制調整電路120調整時點t6至時點t7之間的第一電源P1之電流值I1,並且控制電路140A係根據記錄檔中時點t3至時點t4之間的第一電源P1之電流值I1以控制調整電路120調整時點t7至時點t8之間的第一電源P1之電流值I1。For example, the control circuit 140A controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t5 and time point t6 according to the current value I1 of the first power source P1 between time point t1 and time point t2 in the record file. Similarly, the control circuit 140A controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t6 and time point t7 according to the current value I1 of the first power source P1 between time point t2 and time point t3 in the record file, and the control circuit 140A controls the adjustment circuit 120 to adjust the current value I1 of the first power source P1 between time point t7 and time point t8 according to the current value I1 of the first power source P1 between time point t3 and time point t4 in the record file.

換言之,在圖10中,於時點t1至時點t4之間,智能插座裝置10A係透過感測第一電源P1之電流值I1以記錄第一外部裝置20之狀態變化。於時點t4之後,智能插座裝置10A係透過控制電路140A控制調整電路120以調整第一電源P1之電流值I1,進而改變第一外部裝置20之狀態變化。因此,即便於時點t4後第一外部裝置20之開關被開啟並且第一外部裝置20之功率被調整為最大,控制電路140A係可控制調整電路120以調整第一電源P1之電流值I1,使得第一外部裝置20消耗較少第一電源P1之電能。In other words, in FIG. 10 , between time t1 and time t4, the smart socket device 10A records the state change of the first external device 20 by sensing the current value I1 of the first power source P1. After time t4, the smart socket device 10A controls the adjustment circuit 120 through the control circuit 140A to adjust the current value I1 of the first power source P1, thereby changing the state change of the first external device 20. Therefore, even if the switch of the first external device 20 is turned on and the power of the first external device 20 is adjusted to the maximum after time t4, the control circuit 140A can control the adjustment circuit 120 to adjust the current value I1 of the first power source P1, so that the first external device 20 consumes less power of the first power source P1.

請參照圖11,圖11是依據第三實施例之智能插座裝置10B的模組方塊圖。其中,智能插座裝置10B對應於圖1所示之智能插座裝置10及圖6所示之智能插座裝置10A。在一些實施例中,智能插座裝置10B更包含一顯示電路160,其中,顯示電路160電性連接於控制電路140,並且用以指示控制電路140所操作之操作模式。在一些實施例中,顯示電路160可以是一發光裝置或一顯示裝置,例如但不限於LED指示燈或液晶顯示器(LCD)。Please refer to FIG. 11, which is a module block diagram of a smart socket device 10B according to the third embodiment. The smart socket device 10B corresponds to the smart socket device 10 shown in FIG. 1 and the smart socket device 10A shown in FIG. 6. In some embodiments, the smart socket device 10B further includes a display circuit 160, wherein the display circuit 160 is electrically connected to the control circuit 140 and is used to indicate the operation mode operated by the control circuit 140. In some embodiments, the display circuit 160 can be a light-emitting device or a display device, such as but not limited to an LED indicator light or a liquid crystal display (LCD).

以智能插座裝置10及LED指示燈為例。在一些實施例中,顯示電路160係發出綠光以指示控制電路140操作於普通模式,顯示電路160係發出紅光以指示控制電路140操作於設定模式,並且顯示電路160係發出藍光以指示控制電路140操作於循環模式。Taking the smart socket device 10 and the LED indicator light as an example, in some embodiments, the display circuit 160 emits green light to indicate that the control circuit 140 operates in the normal mode, the display circuit 160 emits red light to indicate that the control circuit 140 operates in the setting mode, and the display circuit 160 emits blue light to indicate that the control circuit 140 operates in the cycle mode.

又以智能插座裝置10A及LED指示燈為例。在一些實施例中,顯示電路160係發出綠光以指示控制電路140操作於普通模式,顯示電路160係發出紅光以指示控制電路140操作於設定模式,並且顯示電路160係發出藍光以指示控制電路140操作於單次模式。Taking the smart socket device 10A and the LED indicator light as an example, in some embodiments, the display circuit 160 emits green light to indicate that the control circuit 140 operates in the normal mode, the display circuit 160 emits red light to indicate that the control circuit 140 operates in the setting mode, and the display circuit 160 emits blue light to indicate that the control circuit 140 operates in the single mode.

在一些實施例中,控制電路140、140A更用以傳輸記錄檔至一第三外部裝置。其中,第三外部裝置為另一個智能插座裝置10。也就是說,複數智能插座裝置10、10A之間係可透過各自的控制電路140、140A以傳輸記錄檔。如此一來,智能插座裝置10、10A不需要重新設定即可根據記錄檔以直接調整第一電源P1之電流值I1。In some embodiments, the control circuit 140, 140A is further used to transmit the record file to a third external device. The third external device is another smart socket device 10. In other words, the plurality of smart socket devices 10, 10A can transmit the record file through their respective control circuits 140, 140A. In this way, the smart socket devices 10, 10A can directly adjust the current value I1 of the first power source P1 according to the record file without resetting.

在一些實施例中,感測電路130更用以感測第二電源P2之電流值。其中,第二外部裝置30為已經存有一記錄檔之另一個智能插座裝置10、10A。當智能插座裝置10、10A透過插頭110插設於第二外部裝置30之插座31上時,智能插座裝置10、10A係可感測並記錄第二外部裝置30之插座31之電流值隨時間的變化(即對應於智能插座裝置10、10A之第一電源P1之電流值I1)。也就是說,智能插座裝置10、10A之感測電路130所感測第二電源P2之電流值即為另一個智能插座裝置10、10A中第一電源P1之電流值I1。如此一來,在不需要重新操作第一外部裝置20之開關或功率的前提之下,智能插座裝置10、10A依舊可以感測並記錄另一個智能插座裝置10、10A之記錄檔以調整第一電源P1之電流值I1,進而改變第一外部裝置20之狀態變化。In some embodiments, the sensing circuit 130 is further used to sense the current value of the second power source P2. The second external device 30 is another smart socket device 10, 10A that has a record file stored. When the smart socket device 10, 10A is plugged into the socket 31 of the second external device 30 through the plug 110, the smart socket device 10, 10A can sense and record the change of the current value of the socket 31 of the second external device 30 over time (i.e., corresponding to the current value I1 of the first power source P1 of the smart socket device 10, 10A). In other words, the current value of the second power source P2 sensed by the sensing circuit 130 of the smart socket device 10, 10A is the current value I1 of the first power source P1 in the other smart socket device 10, 10A. In this way, without having to re-operate the switch or power of the first external device 20, the smart socket device 10, 10A can still sense and record the record file of another smart socket device 10, 10A to adjust the current value I1 of the first power source P1, thereby changing the state change of the first external device 20.

綜上所述,依據一些實施例,智能插座裝置係可透過感測第一電源之電流值以記錄第一外部裝置的狀態變化,進而記錄現代人使用電器(即第一外部裝置)的習慣。因此,即便第一外部裝置之開關並未被關閉,智能插座裝置係可改變第一電源之電流值而使得第一外部裝置進入閒置狀態或低功率狀態,進而避免第一外部裝置忘記被關閉而導致電源浪費的問題。In summary, according to some embodiments, the smart socket device can record the state change of the first external device by sensing the current value of the first power source, thereby recording the habit of modern people using electrical appliances (i.e., the first external device). Therefore, even if the switch of the first external device is not turned off, the smart socket device can change the current value of the first power source to make the first external device enter an idle state or a low-power state, thereby avoiding the problem of the first external device forgetting to be turned off and causing power waste.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明之創作,任何所屬技術領域中具有通常知識者,在不脫離本揭露內容之精神和範圍內,當可作些許之修改與變化,惟該些許之修改與變化仍然在本發明之申請專利範圍內。Although the present invention has been disclosed as above by way of embodiments, it is not intended to limit the invention. Anyone with ordinary knowledge in the relevant technical field may make some modifications and changes without departing from the spirit and scope of the present disclosure. However, such modifications and changes are still within the scope of the patent application of the present invention.

10:智能插座裝置 10A:智能插座裝置 10B:智能插座裝置 100:插座 110:插頭 120:調整電路 130:感測電路 140,140A:控制電路 150,150A:按鍵 160:顯示電路 20:第一外部裝置 21:插頭 30:第二外部裝置 31:插座 I1:電流值 P1:第一電源 P2:第二電源 t1~t8:時點 S100~S140:步驟 S200~S260:步驟 Tcyc:循環週期 Tpre:預設週期 Tset:設定週期 Tsin:單次週期10: Intelligent socket device 10A: Intelligent socket device 10B: Intelligent socket device 100: Socket 110: Plug 120: Adjustment circuit 130: Sensing circuit 140,140A: Control circuit 150,150A: Button 160: Display circuit 20: First external device 21: Plug 30: Second external device 31: Socket I1: Current value P1: First power source P2: Second power source t1~t8: Time point S100~S140: Step S200~S260: Step Tcyc: Cycle period Tpre: Default period Tset: Set period Tsin: Single period

圖1是依據第一實施例之智能插座裝置的模組方塊圖。 圖2是依據一些實施例之智能插座裝置電性連接於第一外部裝置及第二外部裝置的示意圖。 圖3是圖1中智能插座裝置之一些實施例的運作流程圖。 圖4是圖1中第一電源之第一實施例的電流示意圖。 圖5是圖1中第一電源之第二實施例的電流示意圖。 圖6是依據第二實施例之智能插座裝置的模組方塊圖。 圖7是圖6中智能插座裝置之第一實施例的運作流程圖。 圖8是圖6中智能插座裝置之第二實施例的運作流程圖。 圖9是圖6中第一電源之第一實施例的電流示意圖。 圖10是圖6中第一電源之第二實施例的電流示意圖。 圖11是依據第三實施例之智能插座裝置的模組方塊圖。 FIG. 1 is a block diagram of a module of a smart socket device according to a first embodiment. FIG. 2 is a schematic diagram of a smart socket device electrically connected to a first external device and a second external device according to some embodiments. FIG. 3 is an operation flow chart of some embodiments of the smart socket device in FIG. 1. FIG. 4 is a current diagram of a first embodiment of the first power source in FIG. 1. FIG. 5 is a current diagram of a second embodiment of the first power source in FIG. 1. FIG. 6 is a block diagram of a module of a smart socket device according to a second embodiment. FIG. 7 is an operation flow chart of a first embodiment of the smart socket device in FIG. 6. FIG. 8 is an operation flow chart of a second embodiment of the smart socket device in FIG. 6. FIG. 9 is a current diagram of a first embodiment of the first power source in FIG. 6. FIG. 10 is a current diagram of a second embodiment of the first power source in FIG. 6. Figure 11 is a module block diagram of the smart socket device according to the third embodiment.

10:智能插座裝置 10: Smart socket device

100:插座 100: socket

110:插頭 110: Plug

120:調整電路 120: Adjust the circuit

130:感測電路 130: Sensing circuit

140:控制電路 140: Control circuit

150:按鍵 150:Key

Claims (16)

一種智能插座裝置,包含: 一插座(Receptacle),用以輸出一第一電源; 一插頭,電性連接於該插座,用以接收一第二電源; 一調整電路,設置於該插座與該插頭之間,用以調整該第一電源之電流值; 一感測電路,電性連接於該插座及該插頭,用以感測該第一電源之電流值; 一控制電路,電性連接於該調整電路及該感測電路,該控制電路係操作於一操作模式,其中該操作模式包含一普通模式、一設定模式及一循環模式;以及 一按鍵,電性連接於該控制電路,用以產生一第一切換指令以控制該控制電路將該控制電路之操作模式切換為該設定模式; 其中,當該控制電路操作於該設定模式時,該控制電路用以將一預設週期內該第一電源之電流值的變化儲存為一記錄檔,並且當該預設週期結束時,該控制電路切換該控制電路之操作模式為該循環模式; 當該控制電路操作於該循環模式時,該控制電路用以根據該預設週期及該記錄檔中該第一電源之電流值隨時間的變化而循環控制該調整電路調整該第一電源之電流值。 A smart socket device includes: A socket (receptacle) for outputting a first power source; A plug, electrically connected to the socket, for receiving a second power source; An adjustment circuit, arranged between the socket and the plug, for adjusting the current value of the first power source; A sensing circuit, electrically connected to the socket and the plug, for sensing the current value of the first power source; A control circuit, electrically connected to the adjustment circuit and the sensing circuit, the control circuit operates in an operation mode, wherein the operation mode includes a normal mode, a setting mode and a cycle mode; and A button, electrically connected to the control circuit, for generating a first switching instruction to control the control circuit to switch the operation mode of the control circuit to the setting mode; Wherein, when the control circuit operates in the setting mode, the control circuit is used to store the change of the current value of the first power source in a preset cycle as a record file, and when the preset cycle ends, the control circuit switches the operation mode of the control circuit to the cycle mode; When the control circuit operates in the cycle mode, the control circuit is used to cyclically control the adjustment circuit to adjust the current value of the first power source according to the preset cycle and the change of the current value of the first power source in the record file over time. 如請求項1所述之智能插座裝置,更包含一顯示電路,其中該顯示電路電性連接於該控制電路,用以指示該控制電路所操作之該操作模式。The smart socket device as described in claim 1 further includes a display circuit, wherein the display circuit is electrically connected to the control circuit to indicate the operating mode operated by the control circuit. 如請求項1所述之智能插座裝置,其中該控制電路更用以傳輸該記錄檔至一第三外部裝置。An intelligent socket device as described in claim 1, wherein the control circuit is further used to transmit the record file to a third external device. 如請求項1所述之智能插座裝置,其中該感測電路更用以感測該第二電源之電流值; 其中,當該控制電路操作於該設定模式時,該控制電路用以將該預設週期內該第二電源之電流值的變化儲存為該記錄檔,並且當該預設週期結束時,該控制電路切換該控制電路之操作模式為該循環模式; 當該控制電路操作於該循環模式時,該控制電路用以根據該預設週期及該記錄檔中該第二電源之電流值隨時間的變化而循環控制該調整電路調整該第一電源之電流值。 The smart socket device as described in claim 1, wherein the sensing circuit is further used to sense the current value of the second power source; Wherein, when the control circuit operates in the setting mode, the control circuit is used to store the change of the current value of the second power source in the preset cycle as the record file, and when the preset cycle ends, the control circuit switches the operation mode of the control circuit to the cycle mode; When the control circuit operates in the cycle mode, the control circuit is used to cyclically control the adjustment circuit to adjust the current value of the first power source according to the preset cycle and the change of the current value of the second power source in the record file over time. 一種智能插座裝置,包含: 一插座(Receptacle),用以輸出一第一電源; 一插頭,電性連接於該插座,用以接收一第二電源; 一調整電路,設置於該插座與該插頭之間,用以調整該第一電源之電流值; 一感測電路,電性連接於該插座及該插頭,用以感測該第一電源之電流值; 一控制電路,電性連接於該調整電路及該感測電路,該控制電路係操作於一操作模式,其中該操作模式包含一普通模式及一設定模式;以及 一按鍵,電性連接於該控制電路,用以產生一第一切換指令以控制該控制電路將該控制電路之操作模式切換為該設定模式,以及產生一第二切換指令以控制該控制電路將該控制電路之操作模式切換為該普通模式; 其中,當該控制電路操作於該設定模式時,該控制電路用以將一設定週期內該第一電源之電流值的變化儲存為一記錄檔,並且當該設定週期結束時,該控制電路切換該控制電路之操作模式為該普通模式,其中該設定週期之開始時點為該按鍵產生該第一切換指令之時點,該設定週期之結束時點為該按鍵產生該第二切換指令之時點。 A smart socket device includes: A socket (receptacle) for outputting a first power source; A plug, electrically connected to the socket, for receiving a second power source; An adjustment circuit, arranged between the socket and the plug, for adjusting the current value of the first power source; A sensing circuit, electrically connected to the socket and the plug, for sensing the current value of the first power source; A control circuit, electrically connected to the adjustment circuit and the sensing circuit, the control circuit operates in an operation mode, wherein the operation mode includes a normal mode and a setting mode; and A button, electrically connected to the control circuit, for generating a first switching instruction to control the control circuit to switch the operation mode of the control circuit to the setting mode, and generating a second switching instruction to control the control circuit to switch the operation mode of the control circuit to the normal mode; When the control circuit operates in the setting mode, the control circuit is used to store the change of the current value of the first power source in a setting cycle as a record file, and when the setting cycle ends, the control circuit switches the operation mode of the control circuit to the normal mode, wherein the starting time point of the setting cycle is the time point when the button generates the first switching instruction, and the ending time point of the setting cycle is the time point when the button generates the second switching instruction. 如請求項5所述之智能插座裝置,更包含一顯示電路,其中該顯示電路電性連接於該控制電路,用以指示該控制電路所操作之該操作模式。The smart socket device as described in claim 5 further includes a display circuit, wherein the display circuit is electrically connected to the control circuit to indicate the operating mode operated by the control circuit. 如請求項5所述之智能插座裝置,其中該控制電路更用以傳輸該記錄檔至一第三外部裝置。An intelligent socket device as described in claim 5, wherein the control circuit is further used to transmit the record file to a third external device. 如請求項5所述之智能插座裝置,其中該操作模式更包含一單次模式,並且該按鍵更用以產生一第三切換指令以控制該控制電路將該控制電路之操作模式切換為該單次模式; 其中,當該控制電路操作於該單次模式時,該控制電路用以根據該設定週期及該記錄檔中該第一電源之電流值隨時間的變化而控制該調整電路調整該第一電源之電流值。 The smart socket device as described in claim 5, wherein the operation mode further includes a single mode, and the button is further used to generate a third switching instruction to control the control circuit to switch the operation mode of the control circuit to the single mode; Wherein, when the control circuit operates in the single mode, the control circuit is used to control the adjustment circuit to adjust the current value of the first power source according to the setting cycle and the change of the current value of the first power source in the record file over time. 如請求項5所述之智能插座裝置,其中該感測電路更用以感測該第二電源之電流值; 其中,當該控制電路操作於該設定模式時,該控制電路用以將該設定週期內該第二電源之電流值的變化儲存為該記錄檔。 The smart socket device as described in claim 5, wherein the sensing circuit is further used to sense the current value of the second power source; wherein, when the control circuit operates in the setting mode, the control circuit is used to store the change of the current value of the second power source during the setting cycle as the record file. 如請求項9所述之智能插座裝置,其中該操作模式更包含一單次模式,並且該按鍵更用以產生一第三切換指令以控制該控制電路將該控制電路之操作模式切換為該單次模式; 其中,當該控制電路操作於該單次模式時,該控制電路用以根據該設定週期及該記錄檔中該第二電源之電流值隨時間的變化而控制該調整電路調整該第一電源之電流值。 The smart socket device as described in claim 9, wherein the operation mode further includes a single mode, and the button is further used to generate a third switching instruction to control the control circuit to switch the operation mode of the control circuit to the single mode; Wherein, when the control circuit operates in the single mode, the control circuit is used to control the adjustment circuit to adjust the current value of the first power source according to the setting cycle and the change of the current value of the second power source in the record file over time. 一種智能插座裝置之循環排程設定方法,包含: 接收一第一切換指令以切換一控制電路之操作模式為一設定模式; 當該控制電路操作於該設定模式時,感測一第一電源之電流值,並將一預設週期內該第一電源之電流值隨時間的變化儲存為一記錄檔; 當該預設週期結束時,切換該控制電路之操作模式為一循環模式;以及 當該控制電路操作於該循環模式時,根據該預設週期及該記錄檔中該第一電源之電流值隨時間的變化而循環控制一調整電路調整該第一電源之電流值。 A method for setting a cyclic schedule of a smart socket device includes: Receiving a first switching instruction to switch the operation mode of a control circuit to a setting mode; When the control circuit operates in the setting mode, sensing the current value of a first power source, and storing the change of the current value of the first power source over time in a preset cycle as a record file; When the preset cycle ends, switching the operation mode of the control circuit to a cyclic mode; and When the control circuit operates in the cyclic mode, cyclically controlling an adjustment circuit to adjust the current value of the first power source according to the preset cycle and the change of the current value of the first power source over time in the record file. 如請求項11所述之智能插座裝置之循環排程設定方法,更包含: 當該控制電路操作於該設定模式時,感測一第二電源之電流值,並將該預設週期內該第二電源之電流值隨時間的變化儲存為該記錄檔;以及 當該控制電路操作於該循環模式時,根據該預設週期及該記錄檔中該第二電源之電流值隨時間的變化而循環控制該調整電路調整該第一電源之電流值。 The cyclic scheduling setting method of the smart socket device as described in claim 11 further includes: When the control circuit operates in the setting mode, the current value of a second power source is sensed, and the change of the current value of the second power source over time in the preset cycle is stored as the record file; and When the control circuit operates in the cyclic mode, the adjustment circuit is cyclically controlled to adjust the current value of the first power source according to the preset cycle and the change of the current value of the second power source over time in the record file. 一種智能插座裝置之單次排程設定方法,包含: 接收一第一切換指令以切換一控制電路之操作模式為一設定模式; 當該控制電路操作於該設定模式時,感測一第一電源之電流值; 接收一第二切換指令以切換該控制電路之操作模式為一普通模式;以及 將一設定週期內該第一電源之電流值隨時間的變化儲存為一記錄檔,其中該設定週期之開始時點為該控制電路接收該第一切換指令之時點,該設定週期之結束時點為該控制電路接收該第二切換指令之時點。 A single scheduling setting method for a smart socket device includes: receiving a first switching instruction to switch the operation mode of a control circuit to a setting mode; when the control circuit operates in the setting mode, sensing the current value of a first power source; receiving a second switching instruction to switch the operation mode of the control circuit to a normal mode; and storing the change of the current value of the first power source over time in a setting cycle as a record file, wherein the starting time point of the setting cycle is the time point when the control circuit receives the first switching instruction, and the ending time point of the setting cycle is the time point when the control circuit receives the second switching instruction. 如請求項13所述之智能插座裝置之單次排程設定方法,更包含: 當該控制電路操作於該普通模式時,接收一第三切換指令以切換該控制電路之操作模式為一單次模式; 當該控制電路操作於該單次模式時,根據該設定週期及該記錄檔中該第一電源之電流值隨時間的變化而控制一調整電路調整該第一電源之電流值;以及 當該設定週期結束時,切換該控制電路之操作模式為該普通模式。 The one-time scheduling setting method of the smart socket device as described in claim 13 further includes: When the control circuit operates in the normal mode, a third switching instruction is received to switch the operation mode of the control circuit to a one-time mode; When the control circuit operates in the one-time mode, an adjustment circuit is controlled to adjust the current value of the first power source according to the setting cycle and the change of the current value of the first power source in the record file over time; and When the setting cycle ends, the operation mode of the control circuit is switched to the normal mode. 如請求項13所述之智能插座裝置之單次排程設定方法,更包含: 當該控制電路操作於該設定模式時,感測該第一電源之電流值;以及 將該設定週期內一第二電源之電流值隨時間的變化儲存為該記錄檔,其中該設定週期之開始時點為接收該第一切換指令之時點,該設定週期之結束時點為接收該第二切換指令之時點。 The single-time scheduling setting method of the smart socket device as described in claim 13 further includes: When the control circuit operates in the setting mode, the current value of the first power source is sensed; and The change of the current value of a second power source over time during the setting cycle is stored as the record file, wherein the starting time point of the setting cycle is the time point of receiving the first switching instruction, and the ending time point of the setting cycle is the time point of receiving the second switching instruction. 如請求項15所述之智能插座裝置之單次排程設定方法,更包含: 當該控制電路操作於該普通模式時,接收一第三切換指令以切換該控制電路之操作模式為一單次模式; 當該控制電路操作於該單次模式時,根據該設定週期及該記錄檔中該第二電源之電流值隨時間的變化而控制一調整電路調整該第一電源之電流值;以及 當該設定週期結束時,切換該控制電路之操作模式為該普通模式。 The one-time scheduling setting method of the smart socket device as described in claim 15 further includes: When the control circuit operates in the normal mode, a third switching instruction is received to switch the operation mode of the control circuit to a one-time mode; When the control circuit operates in the one-time mode, an adjustment circuit is controlled to adjust the current value of the first power source according to the setting cycle and the change of the current value of the second power source in the record file over time; and When the setting cycle ends, the operation mode of the control circuit is switched to the normal mode.
TW112117415A 2023-05-10 2023-05-10 Intelligent socket device and schedule setting method thereof TWI839213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112117415A TWI839213B (en) 2023-05-10 2023-05-10 Intelligent socket device and schedule setting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112117415A TWI839213B (en) 2023-05-10 2023-05-10 Intelligent socket device and schedule setting method thereof

Publications (1)

Publication Number Publication Date
TWI839213B true TWI839213B (en) 2024-04-11

Family

ID=91618666

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112117415A TWI839213B (en) 2023-05-10 2023-05-10 Intelligent socket device and schedule setting method thereof

Country Status (1)

Country Link
TW (1) TWI839213B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020002690A1 (en) * 2000-01-27 2002-01-03 Lai Ho M. Hot-plug memory cartridge power control logic
TW539273U (en) * 2002-08-27 2003-06-21 Hugewin Electronics Co Ltd Wireless remote control timer socket device
TWM463454U (en) * 2013-06-11 2013-10-11 Kun-Mu Du Intelligent socket adapter
CN104597813A (en) * 2014-12-23 2015-05-06 李凤兰 Intelligent socket capable of automatically identifying electric appliance running state
US20200344378A1 (en) * 2017-07-28 2020-10-29 Advanced Micro Devices, Inc. Buffer management for plug-in architectures in computation graph structures
US20200341529A1 (en) * 2019-04-24 2020-10-29 Qualcomm Incorporated Smart socket power monitoring and coordination

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020002690A1 (en) * 2000-01-27 2002-01-03 Lai Ho M. Hot-plug memory cartridge power control logic
TW539273U (en) * 2002-08-27 2003-06-21 Hugewin Electronics Co Ltd Wireless remote control timer socket device
TWM463454U (en) * 2013-06-11 2013-10-11 Kun-Mu Du Intelligent socket adapter
CN104597813A (en) * 2014-12-23 2015-05-06 李凤兰 Intelligent socket capable of automatically identifying electric appliance running state
US20200344378A1 (en) * 2017-07-28 2020-10-29 Advanced Micro Devices, Inc. Buffer management for plug-in architectures in computation graph structures
US20200341529A1 (en) * 2019-04-24 2020-10-29 Qualcomm Incorporated Smart socket power monitoring and coordination

Similar Documents

Publication Publication Date Title
US20190342962A1 (en) Voice Controlled Artificial Intelligent Smart Illumination Device
US20180263094A1 (en) Switching Signal Responding Illumination Device
US8892913B2 (en) Load control device having a low-power mode
CN102804917B (en) For the power interface with LED of alternating current triode dimmer
CN203951654U (en) A kind of LED adjusting control circuit
CN104053283A (en) LED dimming control circuit
US10798802B2 (en) Dimmable lighting device
US20090026980A1 (en) Dimming system powered by two current sources and having an operation indicator module
TWI839213B (en) Intelligent socket device and schedule setting method thereof
CN216751719U (en) Multi-key awakening identification circuit and electronic equipment
WO2020037596A1 (en) Circuit control system and control method therefor, and series control device
CN110740553A (en) Method and device for controlling lamp and control system
CN207782053U (en) A kind of intelligent socket and control system
TWI809794B (en) Intelligent single live wire control device
CN217011244U (en) Color-changing lamp with memory
CN211656442U (en) Switch color temperature adjusting circuit
TWI377541B (en) Switch apparatus, light source appratus using the same, and method for controlling light source apparatus
CN105742973A (en) Intermittent controller capable of adjusting turning-off time length
CN213122647U (en) Single live wire intelligence switch
US11357091B1 (en) Timer control circuit
CN109089344A (en) The circuit of power switch adjustment electrical parameter
CN217656610U (en) Self-starting circuit
CN112068461B (en) Controller, control circuit and method for controlling intelligent equipment by using control circuit
TWM631428U (en) Intelligent single live wire control device
JPH11195494A (en) Power source control device