Time switch and method for controlling the time switch
The time switch addresses the issue of overlapping program periods by prioritizing one program over others, ensuring correct execution and timing through a switch section, storage, and control unit configuration.
Patent Information
- Application Number
- JP2021099926
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-16
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-06-16
AI Technical Summary
Existing time switches with interval functions struggle to appropriately switch between multiple programs when their operating periods overlap, leading to potential misexecution or incorrect timing settings.
A time switch with a switch section, storage for multiple programs, and a control unit that selects priority based on priority information to manage overlapping program periods, ensuring appropriate execution of one program over others.
Enables seamless switching between multiple programs by prioritizing one program during overlapping periods, preventing misexecution and ensuring accurate timing operations.
Smart Images

Figure 0007570977000001 
Figure 0007570977000002 
Figure 0007570977000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a time switch that turns a load on and off according to a time schedule set by a user, and a method for controlling the time switch. [Background technology]
[0002] A time switch is a device that turns a load on and off according to a time schedule set by a user. As such a time switch, Patent Document 1 discloses a time switch that can select an operation pattern for controlling a load by an operation pattern selection means provided in the time switch. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 09-269387 Summary of the Invention [Problem to be solved by the invention]
[0004] Some time switches have an interval function that repeatedly turns on and off at a specified time interval. In such a time switch, if there are multiple programs to realize the interval function, it is desirable to be able to switch between the multiple programs appropriately.
[0005] Therefore, the present invention provides a time switch that can appropriately switch between a plurality of programs for realizing an interval function, and a method for controlling the time switch. [Means for solving the problem]
[0006] A time switch according to one embodiment of the present invention comprises a switch unit which opens and closes an electrical connection between a load and a power source, a memory unit which stores a plurality of programs which execute an interval function, a first acquisition unit which acquires priority information regarding a program which is to be executed preferentially among the plurality of programs, and a control unit which controls the opening and closing of the switch unit, wherein when the operation periods of two or more of the plurality of programs overlap, the control unit selects from the two or more programs a program to be executed during the overlapping period in which the operation periods overlap based on the priority information, and controls the opening and closing of the switch unit during the overlapping period based on the selected program.
[0007] A method for controlling a time switch according to one embodiment of the present invention includes the steps of obtaining priority information regarding a program to be executed with priority among a plurality of programs stored in a memory unit and performing an interval function, and controlling the opening and closing of a switch unit that opens and closes an electrical connection between a load and a power source, and when the operating periods of two or more of the plurality of programs overlap, the controlling step selects from the two or more programs a program to be executed during the overlapping period in which the operating periods overlap based on the priority information, and controls the opening and closing of the switch unit during the overlapping period based on the selected program. Effect of the Invention
[0008] According to one aspect of the present invention, it is possible to realize a time switch or the like that can appropriately switch between multiple programs for realizing an interval function. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is an external perspective view of a time switch according to an embodiment. [Diagram 2] FIG. 2 is a block diagram illustrating a functional configuration of a time switch according to an embodiment. [Diagram 3]FIG. 3 is a flowchart showing the operation of the time switch according to the embodiment. [Figure 4] FIG. 4 is a diagram showing an example of a program for realizing the interval function according to the embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of priority information according to the embodiment. [Figure 6A] FIG. 6A is a diagram showing a first operation example in the case of the priority content No. 1 shown in FIG. [Figure 6B] FIG. 6B is a diagram showing a second operation example in the case of the priority content No. 1 shown in FIG. [Figure 7A] FIG. 7A is a diagram showing a first operation example in the case of the priority content No. 2 shown in FIG. [Figure 7B] FIG. 7B is a diagram showing a second operation example in the case of the priority content No. 2 shown in FIG. [Figure 8A] FIG. 8A is a diagram showing a first operation example in the case of the priority content No. 3 shown in FIG. [Figure 8B] FIG. 8B is a diagram showing a second operation example in the case of the priority content No. 3 shown in FIG. [Figure 9A] FIG. 9A is a diagram showing a first operation example in the case of the priority content No. 4 shown in FIG. [Figure 9B] FIG. 9B is a diagram showing a second operation example in the case of the priority content No. 4 shown in FIG. [Figure 10] FIG. 10 is a block diagram showing a functional configuration of a time switch according to a modification of the embodiment. [Figure 11] FIG. 11 is a flowchart showing a first example of a program switching operation of a time switch according to a modified example of the embodiment. [Figure 12] FIG. 12 is a flowchart showing a second example of the program switching operation of the time switch according to the modified example of the embodiment. [Figure 13] FIG. 13 is a flowchart showing a third example of the program switching operation of the time switch according to the modified example of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments will be described in detail with reference to the drawings. Note that the embodiments described below are all comprehensive or specific examples. The numerical values, shapes, components, the arrangement and connection forms of the components, steps, and the order of steps shown in the following embodiments are merely examples and are not intended to limit the present invention. For example, in this specification, terms indicating the relationship between elements such as the same time, as well as numerical values and numerical ranges, are not expressions that express only the strict meaning, but are expressions that mean that they include a substantially equivalent range, for example, a difference of about several percent (for example, about 5%). In addition, among the components in the following embodiments, components that are not described in the independent claims are described as optional components.
[0011] In addition, each figure is a schematic diagram and is not necessarily illustrated precisely. Therefore, for example, the scales in each figure do not necessarily match. In addition, in each figure, substantially the same configurations are given the same reference numerals, and duplicated explanations are omitted or simplified.
[0012] (Embodiment) Hereinafter, a time switch according to the present embodiment will be described with reference to FIGS. 1 to 9B.
[0013] [1. Time switch configuration] First, the configuration of a time switch according to the present embodiment will be described with reference to Figures 1 and 2. Figure 1 is an external perspective view of a time switch 10 according to the present embodiment. Figure 2 is a block diagram showing the functional configuration of the time switch 10 according to the present embodiment.
[0014] 1 and 2, the time switch 10 includes a terminal unit 11, a switch unit 12, a setting reception unit 13, a display unit 14, a memory unit 15, a control unit 16, a timing unit 17, a communication unit 18, and a sensor unit 19. The time switch 10 is a device that turns on and off the electrical connection between a load (not shown) and a power source (not shown) connected to the terminal unit 11 (hereinafter also simply referred to as "turning a load on (off)") in accordance with a time schedule set through the setting reception unit 13. Turning on and off is also referred to as opening and closing.
[0015] A load and a power source are connected to the terminal unit 11. The load includes an interval operation device. The load is a device capable of performing an interval operation in which it is repeatedly turned on and off at a predetermined time interval, and is, for example, a fountain (a pump for a fountain), a spray device that generates mist, etc., but is not limited thereto, and may be a street light, a light, a signboard, etc. The terminal unit 11 has a structure for fixing the load and the power source with, for example, a screw. There is no particular limitation on the circuit configuration of the terminal unit 11. The circuit configuration of the terminal unit 11 may be a voltage output configuration in which a power source voltage is applied between terminals to which the load is connected, or a non-voltage output configuration in which a power source voltage is not applied between terminals to which the load is connected. A plurality of loads may be attached to the terminal unit 11.
[0016] The switch unit 12 is an opening / closing unit that turns on and off an electrical connection between the load and the power source connected to the terminal unit 11. The switch unit 12 is realized, for example, by a relay element and a drive circuit for the relay element, but may also be realized by a power transistor and a drive circuit for the power transistor. The contact configuration of the switch unit 12 is not particularly limited. The switch unit 12 may have a c-contact configuration (i.e., single-pole double-throw) or an a-contact configuration (i.e., single-pole single-throw). When multiple loads are attached to the terminal unit 11, the time switch 10 may include multiple switch units 12 corresponding to the multiple loads.
[0017] The setting reception unit 13 is a user interface that receives various settings related to the time switch 10. The setting reception unit 13 receives settings for the on time when the switch unit 12 is turned on and the off time when the switch unit 12 is turned off (one example of settings related to the operation of the switch unit 12). The setting reception unit 13 may also receive at least one of a plurality of programs that execute an interval function and priority information related to a program that is to be executed with priority among the plurality of programs. The setting reception unit 13 may, for example, receive (acquire) the priority information. For example, the setting reception unit 13 may acquire the priority information by receiving an operation for setting the priority information.
[0018] Although the details will be described later, the interval function is an operation that repeatedly turns on and off for a certain period of time. Also, each of the multiple programs that execute the interval function is a program that can be executed by acquiring (setting) the start time and end time of the program, the ON period during which power is supplied, and the OFF period during which power is not supplied.
[0019] The setting reception unit 13 is realized by, for example, a hardware key (hardware button) and a slide switch, but may also be realized by a touch panel. In this embodiment, the setting reception unit 13 is realized by including a plurality of hardware buttons (hereinafter also referred to as buttons). The setting reception unit 13 may also receive various settings by voice-based information. The setting reception unit 13 is an example of a first acquisition unit. Hereinafter, the plurality of programs that execute the interval function will also be simply referred to as a plurality of programs.
[0020] The display unit 14 displays information for the user to confirm the setting contents, information indicating a program currently being executed among the multiple programs, and the like. The display unit 14 displays, for example, information indicating a program executed during an overlapping period in which the operation periods of two or more programs among the multiple programs overlap. The display unit 14 may also display, for example, information indicating that the operation periods of two or more programs among the multiple programs overlap, information indicating that control is being performed by a selected program during the overlapping period, and the like. The display unit 14 displays, for example, each of the multiple programs in a different display mode. The information indicating the program is, for example, a program number, the control contents of the program, and the like, but is not limited thereto. The operation period is the period between the start time and the end time of the program that executes the interval function.
[0021] The display unit 14 is realized by, for example, a liquid crystal panel, but may be realized by other display panels such as an organic EL (Electro Luminescence) panel, etc. The display unit 14 may also have a backlight.
[0022] The storage unit 15 is a storage device in which various settings accepted by the setting acceptance unit 13 are stored as setting information. The storage unit 15 stores a plurality of programs for implementing the interval function, and priority information (see FIG. 5 described later) regarding a program to be executed with priority among the plurality of programs. The plurality of programs and the priority information are examples of setting information.
[0023] Furthermore, the storage unit 15 may store one or more programs that do not realize the interval function (for example, a program that performs on and off once each). The storage unit 15 is realized by, for example, a semiconductor memory.
[0024] The control unit 16 is a control device that controls the on and off of the switch unit 12 (i.e., the on and off of the electrical connection between the load and the power source). The control unit 16 transmits a control signal to the switch unit 12 based on a plurality of programs stored in the storage unit 15.
[0025] Furthermore, when the operation periods of two or more of the multiple programs overlap, the control unit 16 selects one program to be executed during the overlapping period based on the priority information stored in the storage unit 15 from among the two or more programs, and controls the opening and closing of the switch unit 12 during the overlapping period based on the selected one program. It can also be said that the control unit 16 determines one program to be executed from the two or more programs based on the priority information when the operation periods of two or more of the multiple programs overlap. In this way, when the operation periods of two or more programs overlap, the control unit 16 does not control the operation of the two or more programs based on a uniformly set condition. For example, the control unit 16 can control one program according to the intention of the user based on the priority information input by the user.
[0026] Furthermore, the control unit 16 may further select one program to be executed during the overlapping period from among two or more programs based on the measurement results obtained from the sensor unit 19. It can also be said that the control unit 16 determines which of the two or more programs to select as the one program based on the measurement results obtained from the sensor unit 19. The control unit 16 has a function as a determination unit.
[0027] The control unit 16 is realized by, for example, a microcomputer or a processor. The storage unit 15 may be built into the control unit 16. The storage unit 15 may be, for example, a non-volatile memory built into the microcomputer.
[0028] The clock unit 17 is a timer device that measures the current date and time and is realized by, for example, a real-time clock.
[0029] The communication unit 18 is a communication module for the time switch 10 to communicate with an external device. The time switch 10 may acquire at least one of a program and priority information from an external device through communication. The communication unit 18 functions as a first acquisition unit that acquires priority information through communication. The external device is, for example, a terminal device such as a smartphone or a personal computer, but is not limited to this.
[0030] Furthermore, the communication unit 18 may transmit to an external device information for the user to confirm the setting contents, information indicating a currently executed program among the multiple programs, and the like. For example, the communication unit 18 may transmit to an external device information indicating one of the programs being executed during an overlapping period in which the operation periods of two or more of the multiple programs overlap. In this manner, the communication unit 18 may function as a transmission unit. The information indicating the currently executed program is, for example, a program number, the contents of the program, and the like. Furthermore, the information indicating the currently executed program may be, for example, information indicating that a program that realizes an interval function is being executed.
[0031] There is no particular limitation on the communication method used for communication by the communication unit 18, and it may be wireless communication or wired communication. Furthermore, there is no particular limitation on the communication standard used for communication.
[0032] The sensor unit 19 measures the surrounding environment (usage environment) of the time switch 10 or the surrounding environment (usage environment) of a load connected to the time switch 10. The sensor unit 19 is configured to be able to measure at least one of the illuminance, temperature, humidity, wind speed, and object (e.g., person) around the time switch 10 or the load connected to the time switch 10. The sensor unit 19 is configured to include at least one of an illuminance sensor, a temperature sensor, a humidity sensor, a wind speed sensor, and a human presence sensor, for example.
[0033] The sensor unit 19 may also perform electrical measurements in the time switch 10. The sensor unit 19 may include, for example, a sensor (for example, a current sensor or a voltage sensor) that measures the current or voltage between the power source and the load when the switch unit 12 is turned on (closed). The sensor measures, for example, the contact current or contact voltage.
[0034] This allows the control unit 16 to determine whether the load exceeds the rated value of the contacts, such as the switching capacity. Information such as the switching capacity may be stored in the storage unit 15.
[0035] The time switch 10 does not necessarily have to include the sensor unit 19 .
[0036] [2. Time switch operation] Next, the operation of the time switch 10 configured as above will be described with reference to Fig. 3 to Fig. 9B. Fig. 3 is a flowchart showing the operation of the time switch 10 according to the present embodiment. In Fig. 3, an example in which various settings are acquired via the setting receiving unit 13 will be described.
[0037] 3, first, the setting reception unit 13 receives initial settings (S11). The initial settings include settings for the current time and the area in which the time switch 10 is used.
[0038] Next, the setting reception unit 13 receives a plurality of programs for executing an interval function (S12). When the setting reception unit 13 receives the settings related to the programs, the storage unit 15 stores the setting information related to the programs.
[0039] Fig. 4 is a diagram showing an example of a program for realizing the interval function according to this embodiment. Fig. 4 shows two programs numbered "1" and "2". The numbers "1" and "2" are identification information for identifying the programs, and are examples of program numbers. Hereinafter, the program numbered "1" will also be referred to as program 1 or the first program, and the program numbered "2" will also be referred to as program 2 or the second program.
[0040] 4, the program includes settings for, for example, the interval start time (start time), the interval end time (end time), the interval on period (on period), and the interval off period (off period). The program may also include settings for, for example, the days of the week on which the program operates.
[0041] For example, program 1 shown in Fig. 4 is a program for turning on the light for one minute every 15 minutes between 10:00 and 14:00 every Monday through Sunday. Program 2 shown in Fig. 4 is a program for turning on the light for one minute every 30 minutes between 14:00 and 17:00 every Monday through Sunday.
[0042] Here, the end time of program 1 and the start time of program 2 are the same. For example, if the operation periods of two programs overlap in part and the first end time of the two programs is uniformly executed with priority, at 14:00, the end of program 1 takes priority over the start of program 2, so that program 2 is not executed. In this way, in the past, when the operation periods of two programs overlap, the program that runs later may not be executed. In other words, in the past, it may not be possible to switch between multiple programs appropriately. Also, it is possible to set the end time of program 1 before the start time of program 2 so that the operation periods of programs 1 and 2 do not overlap so that program 2 is executed after program 1, but setting the end time of program 1 is complicated and there is a possibility of setting the time incorrectly.
[0043] Therefore, in this embodiment, a time switch 10 is realized that can appropriately switch between a plurality of programs even when the operation periods partially overlap as described above.
[0044] 3 again, next, setting reception unit 13 receives priority information of the multiple programs (S13). When setting reception unit 13 receives settings related to the programs to be executed with priority among the multiple programs, the priority information related to the multiple programs is stored in storage unit 15.
[0045] FIG. 5 is a diagram showing an example of priority information according to the present embodiment.
[0046] 5, the priority information includes priority contents (rules) regarding programs to be prioritized. For example, the priority contents may be preset and stored in the storage unit 15, and in step S13, a selection of which priority contents to control may be accepted.
[0047] Examples of the priority include "give priority to programs with lower program numbers," "give priority to programs that start earlier," "give priority to programs that run later," "give priority to a specific program," and "give priority to the end of programs that run later." Note that the priority is not limited to these.
[0048] "Give priority to lower program numbers" indicates that when the operating periods of two or more programs partially overlap, priority is given to executing the program with the lowest (smallest) program number, "Give priority to programs that start earlier" indicates that when the operating periods of two or more programs partially overlap, priority is given to executing the program that started at the earliest time, "Give priority to programs that run later" indicates that when the operating periods of two or more programs partially overlap, priority is given to executing the program that started at the latest time, "Give priority to specific programs" indicates that when the operating periods of two or more programs partially overlap, priority is given to executing a specific program set by the user, and "Give priority to the end of programs that run later" indicates that when the operating periods of two or more programs partially overlap, priority is given to the end time of the program that started at the latest time.
[0049] The priority may include other contents than those described above, such as "give priority to the program with the largest program number" or "give priority to the program that runs first."
[0050] Referring again to FIG. 3, next, the control unit 16 controls the switch unit 12 based on the program (S14). The control unit 16 starts the operation of one of the multiple programs whose start time has come, while none of the multiple programs are in operation. The control unit 16 controls the on and off of the switch unit 12 based on the program stored in the storage unit 15. When the current time measured by the clock unit 17 reaches the start time of the program, the control unit 16 turns on the switch unit 12. Also, the control unit 16 turns off the switch unit 12 when the elapsed time measured by the clock unit 17 since the switch unit 12 was turned on has passed the on period. Also, the control unit 16 turns on the switch unit 12 again when the elapsed time measured by the clock unit 17 since the switch unit 12 was turned off has passed the off period. In this way, the control unit 16 repeats turning on and off until the end time is reached.
[0051] Next, the control unit 16 judges whether two or more programs overlap (S15). For example, the control unit 16 judges whether the operation period of the currently running program overlaps with the operation period of another program. The control unit 16 performs the judgment of step S15 based on, for example, the start time, end time, and operation day of the week.
[0052] Next, when two or more programs overlap (Yes in S15), the control unit 16 determines which program (an example of one program) is to be executed preferentially from the two or more overlapping programs based on the priority information and controls the determined program to be executed during the overlapping period (S16), and when two or more programs do not overlap (No in S15), it continues the interval operation according to that program until the end time of the currently running program arrives. Determining one program means selecting or identifying one program from two or more programs.
[0053] The determination in step S15 may be performed periodically. For example, the control unit 16 may perform the determination in step S15 at predetermined time intervals during the operation of a program for implementing the interval function.
[0054] Here, the specific operation of step S16 will be described with reference to Fig. 6A to Fig. 9B. Fig. 6A is a diagram showing a first operation example in the case of the priority content No. 1 shown in Fig. 5. Fig. 6A shows an operation example in the case where the start time of program 2 is within the operation period of program 1 and the end time of program 2 is after the operation period of program 1.
[0055] The first on / off period is the operation period of program 1, and the second on / off period is the operation period of program 2. Times t1 to t3 are the operation period (first period) of program 1, times t2 to t4 are the operation period (second period) of program 2, and times t2 to t3 are an overlapping period in which the operation periods of program 1 and program 2 overlap. Note that Figures 7A, 8A, and 9A also show operation examples with similar operation periods.
[0056] Moreover, Fig. 6B is a diagram showing a second operation example in the case of the priority content No. 1 shown in Fig. 5. Fig. 6B shows an operation example in the case where the start time and end time of program 1 are included in the operation period of program 2, that is, where the operation period of program 1 is included in the operation period of program 2.
[0057] The period from time t2 to time t3 is an operation period (first period) of program 1, the period from time t1 to time t4 is an operation period (second period) of program 2, and the period from time t2 to time t3 is an overlapping period. Note that Figures 7B, 8B, and 9B also show operation examples in the case of similar operation periods.
[0058] The control contents in the figure show actual control contents based on the determination results of the control unit 16.
[0059] As shown in FIG. 6A, at time t1, it is the start time of program 1, and program 1 is executed. Next, at time t2, it is the start time of program 2. Based on the priority information of "lower program number is given priority", the control unit 16 determines that program 1 is to be prioritized among programs 1 and 2. In other words, the control unit 16 selects program 1 from programs 1 and 2 based on the priority information. It can also be said that the control unit 16 specifies that the program to be executed among programs 1 and 2 is program 1. That is, at time t2, program 1 continues to be executed, and program 2 is not executed. Next, at time t3, it is the end time of program 1, and program 1 is switched to program 2, and control of the switch unit 12 based on program 2 is started. At time t3, the control that prioritizes program 1 (control based on priority information) ends, so program 2 can be executed after time t3. Next, at time t4, it is the end time of program 2, and the interval operation ends. In this way, in the case of FIG. 6A, the programs are switched in the order of program 1 and program 2, program 1 is executed during the overlapping period, and program 2 is executed after the overlapping period.
[0060] In this way, the multiple programs include program 1 (an example of a first program) whose operating period is the first period, and program 2 (an example of a second program) whose operating period partially overlaps with the first period and whose start time is within the first period and whose end time is later than the first period, and program 1 has a program number lower than program 2. In this case, control unit 16 may select program 1, which has the lower program number, of programs 1 and 2 as the single program during the overlapping period in which the first period and the second period overlap, and control the opening and closing of switch unit 12 with program 1 over the first period. Note that the priority information includes giving priority to the program with the lower program number.
[0061] This makes it possible to prevent program 2 from being executed even if the user inputs an incorrect start time for program 2, for example.
[0062] As shown in FIG. 6B, at time t1, it is the start time of program 2, and program 2 is executed. Next, at time t2, it is the start time of program 1. Based on the priority information of "lower program number is prioritized", the control unit 16 determines that program 1 is prioritized among programs 1 and 2. In other words, based on the priority information, the control unit 16 selects program 1 among programs 1 and 2. That is, at time t2, the program to be executed is switched from program 2 to program 1. Between time t2 and time t3, the control of the switch unit 12 is performed based on program 1. Next, at time t3, it is the end time of program 1, and program 1 is switched to program 2, and control of the switch unit 12 based on program 2 is started. Next, at time t4, it is the end time of program 2, and the interval operation is ended. Thus, in the case of FIG. 6B, the programs are switched in the order of program 2, program 1, and program 2, and program 1 is executed during the overlapping period.
[0063] In this way, the multiple programs include program 1 whose operation period is a first period and program 2 whose operation period is a second period that includes the first period, and program 1 has a program number lower than program 2. In this case, control unit 16 may select program 1, which has the lower program number, from programs 1 and 2 as the first program during an overlapping period in which the first period and the second period overlap, and control switch unit 12 with program 1 during the overlapping period in the first period, and control switch unit 12 with program 2, which has been switched from program 1, during the period after the overlapping period in the first period. Note that the priority information includes an indication that a program with a lower program number is given priority.
[0064] As shown in Figures 6A and 6B, each of the multiple programs is associated with a different program number, the priority information includes giving priority to a program with a lower program number, and the control unit 16 may select the program with the lowest program number among two or more programs as one program during an overlapping period.
[0065] Fig. 7A is a diagram showing a first operation example in the case of the priority content No. 2 shown in Fig. 5. Fig. 7B is a diagram showing a second operation example in the case of the priority content No. 2 shown in Fig. 5.
[0066] As shown in FIG. 7A, at time t1, it is the start time of program 1, and program 1 is executed. Next, at time t2, it is the start time of program 2. Based on the priority information of "early start program is prioritized", the control unit 16 determines that program 1, which has an earlier start time, is prioritized between programs 1 and 2. In other words, based on the priority information, the control unit 16 selects program 1 from programs 1 and 2. That is, at time t2, program 1 continues to be executed, and program 2 is not executed. The control after time t2 is the same as in FIG. 6A, and the description is omitted. Thus, in the case of FIG. 7A, the programs are switched in the order of program 1 and program 2, program 1 is executed during the overlap period, and program 2 is executed after the overlap period.
[0067] As shown in FIG. 7B, at time t1, it is the start time of program 2, and program 2 is executed. Next, at time t2, it is the start time of program 1. Based on the priority information of "early started program is prioritized", the control unit 16 determines that program 2 is prioritized among programs 1 and 2. In other words, based on the priority information, the control unit 16 selects program 2 from programs 1 and 2. That is, at time t2, program 2 continues to be executed, and program 1 is not executed. Between time t2 and time t3, the switch unit 12 is controlled based on program 2. Next, at time t3, it is the end time of program 1, but since the operation of program 2 is prioritized, program 2 continues to be executed even after time t3. Next, at time t4, it is the end time of program 2, and the interval operation ends. Thus, in the case of FIG. 7B, only program 2 is executed.
[0068] As shown in Figures 7A and 7B, each of the multiple programs has a start time set, the priority information includes giving priority to the program with the earlier start time, and the control unit 16 may select the program with the earliest start time among two or more programs as one program during the overlapping period.
[0069] Fig. 8A is a diagram showing a first operation example in the case of the priority content No. 3 shown in Fig. 5. Fig. 8B is a diagram showing a second operation example in the case of the priority content No. 3 shown in Fig. 5.
[0070] As shown in FIG. 8A, at time t1, it is the start time of program 1, and program 1 is executed. Next, at time t2, it is the start time of program 2. Based on the priority information of "prioritize the program that runs later", the control unit 16 determines that program 2, which runs later (has a later start time), is to be prioritized among programs 1 and 2. In other words, based on the priority information, the control unit 16 selects program 2 from programs 1 and 2. That is, at time t2, the program to be executed is switched from program 1 to program 2. Between time t2 and time t3, the switch unit 12 is controlled based on program 2. Next, at time t3, it is the end time of program 1, but since the operation of program 2 is prioritized, program 2 continues to be executed even after time t3. Next, at time t4, it is the end time of program 2, and the interval operation ends. Thus, in the case of FIG. 8A, the programs are switched in the order of program 1 and program 2, and program 2 is executed during the overlapping period.
[0071] As shown in FIG. 8B, at time t1, it is the start time of program 2, and program 2 is executed. Next, at time t2, it is the start time of program 1. Based on the priority information of "prioritize the program that runs later", the control unit 16 determines that program 1 is to be prioritized among programs 1 and 2. In other words, based on the priority information, the control unit 16 selects program 1 among programs 1 and 2. That is, at time t2, the program to be executed is switched from program 2 to program 1. Between time t2 and time t3, the control of the switch unit 12 is performed based on program 1. Next, at time t3, it is the end time of program 1, and program 1 is switched to program 2, and the control of the switch unit 12 based on program 2 is started again. Next, at time t4, it is the end time of program 2, and the interval operation is ended. Thus, in the case of FIG. 8B, the programs are switched in the order of program 2, program 1, and program 2, program 1 is executed during the overlap period, and program 2 is executed during the period other than the overlap period.
[0072] As shown in Figures 8A and 8B, each of the multiple programs has a start time set, the priority information includes giving priority to a program that starts operating later, and the control unit 16 may select the program with the latest start time among two or more programs as one program during an overlapping period.
[0073] Fig. 9A is a diagram showing a first operation example in the case of the priority content No. 4 shown in Fig. 5. Fig. 9B is a diagram showing a second operation example in the case of the priority content No. 4 shown in Fig. 5. Note that the specific program in the priority information "give priority to a specific program" is assumed to be program 2.
[0074] As shown in FIG. 9A, at time t1, it is the start time of program 1, and program 1 is executed. Next, at time t2, it is the start time of program 2. Based on the priority information of "prioritize a specific program", the control unit 16 determines that program 2, which is a specific program, is to be prioritized among programs 1 and 2. In other words, the control unit 16 selects program 2 from programs 1 and 2 based on the priority information. That is, at time t2, program 1 is switched to program 2, and between time t2 and time t3, the switch unit 12 is controlled based on program 2. Next, at time t3, it is the end time of program 1, but since the operation of program 2 is prioritized, program 2 continues to be executed after time t3. Next, at time t4, it is the end time of program 2, and the interval operation ends. Thus, in the case of FIG. 9A, the programs are switched in the order of program 1 and program 2, and program 2 is executed after time t2, including the overlapping period.
[0075] As shown in FIG. 9B, at time t1, it is the start time of program 2, and program 2 is executed. Next, at time t2, it is the start time of program 1. Based on the priority information of "prioritize a specific program", the control unit 16 determines that program 2, which is a specific program, is to be prioritized among programs 1 and 2. In other words, the control unit 16 selects program 2 from programs 1 and 2 based on the priority information. That is, at time t2, it is the start time of program 1, but the operation of program 2 is prioritized, so program 2 continues to be executed after time t2. Next, at time t3, it is the end time of program 1, but the operation of program 2 is prioritized, so program 2 continues to be executed after time t3. Next, at time t4, it is the end time of program 2, and the interval operation ends. Thus, in the case of FIG. 9B, only program 2 is executed.
[0076] As shown in Figures 9A and 9B, the priority information includes giving priority to a specific program among multiple programs, and the control unit 16 may select the specific program among two or more programs as one program during the overlapping period.
[0077] As described above, the control unit 16 can determine which program should be executed with priority based on the priority information set by the user or the like, and can appropriately switch between multiple programs to realize the interval function. This enables the time switch 10 to perform a variety of operations.
[0078] The control unit 16 may determine one program to be executed when the operation periods of two or more programs overlap by using the measurement result of the sensor unit 19 in addition to the priority information acquired via the setting reception unit 13, or by using the measurement result instead of the priority condition. An example of the operation when the measurement result is used will be illustrated in the following modified example.
[0079] The priority information may include giving priority to the termination of a program that operates last, and the control unit 16 may select, as one program, the program that operates last among two or more programs during the overlapping period.
[0080] [3. Effects, etc.] As described above, the time switch 10 according to this embodiment includes the switch unit 12 that opens and closes the electrical connection between the load and the power source, the memory unit 15 that stores a plurality of programs that execute an interval function, the setting reception unit 13 (an example of a first acquisition unit) that acquires priority information regarding a program to be executed with priority among the plurality of programs, and the control unit 16 that controls the opening and closing of the switch unit 12. When the operation periods of two or more of the plurality of programs overlap, the control unit 16 selects from the two or more programs one program to be executed during the overlapping period in which the operation periods overlap based on the priority information, and controls the opening and closing of the switch unit 12 during the overlapping period based on the selected one program.
[0081] As a result, in the overlapping period in which the operating periods overlap, one program is executed with priority, and in the period other than the overlapping period, the program whose operating period is that period is executed. In other words, it is possible to switch programs between the overlapping period and the period other than the overlapping period based on the priority information. Therefore, the time switch 10 according to the present embodiment can appropriately switch between multiple programs for realizing the interval function.
[0082] Also, for example, the setting reception unit 13 may acquire the priority information by receiving an operation for setting the priority information.
[0083] This allows the setting reception unit 13 to obtain priority information by a direct operation of the time switch 10 by the user.
[0084] Also, for example, the setting reception unit 13 may obtain the priority information via communication.
[0085] This allows the setting reception unit 13 to obtain the priority information even when the user is remote from the time switch 10. For example, when updating the priority information, the priority information can be stored in the storage unit 15 without the user having to move to the location where the time switch 10 is installed. Therefore, the time switch 10 can easily update the priority information, making it easier to switch programs more appropriately.
[0086] The time switch 10 further includes a sensor unit 19 (an example of a sensor) that measures the surrounding environment. The control unit 16 further selects one program based on the measurement result obtained from the sensor unit 19.
[0087] This allows the time switch 10 to control the switch unit 12 with a program among the multiple programs that corresponds to the surrounding environment during the overlapping period. In other words, the multiple programs can be appropriately switched in terms of being able to switch to a program that corresponds to the surrounding environment. For example, depending on weather conditions, it may be desired to operate the time switch 10 with a different interval sequence. In such a case, the time switch 10 can switch to a program that corresponds to the weather conditions.
[0088] Also, for example, the time switch 10 further includes a display unit 14 that displays information indicating one program during the overlapping period.
[0089] This allows the time switch 10 to display to the user, via the display unit 14, which programs are running during the overlapping period.
[0090] Also, for example, the time switch 10 further includes a communication unit 18 (an example of a transmission unit) that transmits information indicating one program to an external device during the overlapping period.
[0091] This allows the time switch 10 to notify a remote user which programs are running during the overlapping period.
[0092] Also, for example, each of the multiple programs may be associated with a different program number, and the priority information may include giving priority to a program with a lower program number. Then, the control unit 16 may select, as one program, the program with the lowest program number among the two or more programs during the overlapping period.
[0093] This allows the time switch 10 to appropriately switch between a plurality of programs, with a view to giving priority to programs with lower program numbers.
[0094] Also, for example, a start time may be set for each of the multiple programs, and the priority information may include giving priority to a program with an earlier start time. Then, the control unit 16 may select, as one program, the program with the earliest start time among the two or more programs during the overlapping period.
[0095] This allows the time switch 10 to appropriately switch between a plurality of programs, with a view to giving priority to a program that starts earlier.
[0096] Also, for example, a start time may be set for each of the multiple programs, and the priority information may include giving priority to a program that starts operation later. Then, control unit 16 may select, as one program, the program with the latest start time among two or more programs during the overlapping period.
[0097] This allows the time switch 10 to appropriately switch between a plurality of programs, with a view to giving priority to the program that will start operating later.
[0098] Also, for example, the priority information may include a priority for a specific program among a plurality of programs, and the control unit 16 may select the specific program as one program among the two or more programs during the overlapping period.
[0099] This allows the time switch 10 to appropriately switch between a plurality of programs with a view to giving priority to a particular program.
[0100] Also, for example, the multiple programs may include a first program whose operating period is a first period and a second program whose operating period partially overlaps with the first period and whose operating period starts within the first period and ends in a second period after the first period, the first program having a program number lower than the second program, and the priority information may include a preference for the program with the lower program number. Then, during an overlapping period in which the first period and the second period overlap, the control unit 16 may select the first program having the lower program number from the first program and the second program as one program, and control the opening and closing of the switch unit 12 with the first program over the first period.
[0101] This allows the time switch 10 to switch between the first program and the second program in that order.
[0102] Also, for example, the multiple programs may include a first program whose operation period is a first period and a second program whose operation period is a second period that includes the first period, the first program having a program number lower than the second program, and the priority information may include giving priority to the program with the lower program number. Then, in an overlapping period in which the first period and the second period overlap, control unit 16 may select the first program having the lower program number from among the first program and the second program as one program, control switch unit 12 with the first program during the overlapping period in the first period, and control switch unit 12 with the second program switched from the first program during the period after the overlapping period in the first period.
[0103] This allows the time switch 10 to switch between the programs to be operated in the order of the first program, the second program, and the first program.
[0104] As described above, the method for controlling time switch 10 according to this embodiment includes a step (S13) of acquiring priority information on a program to be executed with priority among a plurality of programs stored in storage unit 15 and executing an interval function, and steps (S14-S16) of controlling the opening and closing of switch unit 12, which opens and closes an electrical connection between a load and a power source. When the operation periods of two or more of the plurality of programs overlap, the controlling step selects from the two or more programs one program to be executed during the overlapping period in which the operation periods overlap based on the priority information, and controls the opening and closing of switch unit 12 during the overlapping period based on the selected one program.
[0105] This provides the same effect as the time switch 10 described above.
[0106] (Modification of the embodiment) The time switch according to this modification will be described below with reference to Figures 10 to 13. Note that the following description will focus on differences from the embodiment, and descriptions of contents that are the same as or similar to the embodiment will be omitted or simplified.
[0107] First, the configuration of the time switch according to this modification will be described with reference to Fig. 10. Fig. 10 is a block diagram showing the functional configuration of a time switch 10a according to this modification. The time switch 10a according to this modification differs from the time switch 10 according to the embodiment in that it includes a sensor information acquisition unit 20 instead of the sensor unit 19.
[0108] 10, the time switch 10a includes a terminal unit 11, a switch unit 12, a setting reception unit 13, a display unit 14, a memory unit 15, a control unit 16, a timing unit 17, a communication unit 18, and a sensor information acquisition unit 20. The time switch 10a does not include the sensor unit 19 described in the embodiment, and has a configuration in which the measurement results are acquired from a sensor unit provided outside the time switch 10a.
[0109] The sensor information acquisition unit 20 acquires the measurement results from a sensor unit provided externally. The sensor information acquisition unit 20 acquires the measurement results from, for example, the time switch 10 or a sensor unit that measures the surrounding environment of a load connected to the time switch 10. The sensor information acquisition unit 20 acquires the measurement results, for example, by communication (for example, wireless communication). The sensor information acquisition unit 20 is configured to include, for example, a communication module. The communication method used for communication by the sensor information acquisition unit 20 is not particularly limited, and may be wireless communication or wired communication. In addition, the communication standard used for communication is not particularly limited. The sensor information acquisition unit 20 may be realized by the communication unit 18. The sensor information acquisition unit 20 is an example of a second acquisition unit.
[0110] The control unit 16 selects, based on the measurement results acquired via the sensor information acquisition unit 20, which of the two or more programs is to be the single program.
[0111] The storage unit 15 stores priority information for selecting a program to be prioritized based on a measurement result. The priority information is, for example, a table in which the measurement result is associated with information indicating a program to be prioritized at the time of the measurement result. When the measurement result is temperature, the priority information may include that program 1 is prioritized among programs 1 and 2 when the temperature is equal to or higher than a threshold value, and program 2 is prioritized among programs 1 and 2 when the temperature is lower than the threshold value. The priority information may be acquired via the setting reception unit 13, for example.
[0112] Next, the operation of the time switch 10a configured as above will be described with reference to Figs. 11 to 13. Fig. 11 is a flow chart showing a first example of the program switching operation of the time switch 10a according to this modified example. Note that, although the operation of the time switch 10a will be described below, the operation is similar when using the measurement results of the sensor unit 19 provided in the time switch 10. Also, Figs. 11 to 13 will explain the case where the sensor unit is a temperature sensor and the control unit 16 acquires the ambient temperature of the load as the measurement result.
[0113] 11, when the control unit 16 is controlling the switch unit 12 based on a program whose start time has come (S21), the control unit 16 acquires a measurement result via the sensor information acquisition unit 20 (S22). The control unit 16 acquires the ambient temperature of the load as the measurement result.
[0114] Next, the control unit 16 acquires priority information (S23). The priority information is acquired, for example, before the switch unit 12 is controlled based on a program, and is stored in the storage unit 15. The control unit 16 acquires the priority information by, for example, reading the priority information from the storage unit 15.
[0115] Next, the control unit 16 judges whether or not two or more programs overlap (S24). Step S24 is the same process as step S13 shown in Fig. 3, and therefore a description thereof will be omitted.
[0116] Next, if two or more programs overlap (Yes in S24), the control unit 16 determines which of the two or more overlapping programs will be executed first based on the priority information, and controls to execute the determined program (S25); if two or more programs do not overlap (No in S24), the control unit 16 continues the interval operation corresponding to the currently running program until the end time of that program is reached.
[0117] For example, a case will be described in which priority information indicating that program 1 is prioritized among programs 1 and 2 when the temperature is equal to or higher than the threshold value in step S23 and program 2 is prioritized among programs 1 and 2 when the temperature is lower than the threshold value is acquired, and it is determined that programs 1 and 2 overlap in step S24. In this case, the control unit 16 determines in step S25 that program 1 is prioritized among programs 1 and 2 when the temperature acquired in step S22 is equal to or higher than the threshold value, and determines that program 2 is prioritized among programs 1 and 2 when the temperature acquired in step S22 is lower than the threshold value, and controls the switch unit 12 during the overlap period based on the program determined to be prioritized (an example of one program). In other words, the control unit 16 selects program 1 among programs 1 and 2 when the temperature acquired in step S22 is equal to or higher than the threshold value in step S25, and selects program 2 among programs 1 and 2 when the temperature acquired in step S22 is lower than the threshold value.
[0118] In this way, the control unit 16 may dynamically change the program to be prioritized depending on the external environment.
[0119] This makes it possible to change the operating conditions (priority conditions) of the interval depending on the external environment, so that the on / off of the switch section 12 can be controlled by a program suited to the external environment at that time.
[0120] The processes of steps S22 and S24 may be performed periodically. For example, the control unit 16 may obtain the measurement results at predetermined time intervals and perform the determination of step S24 at the predetermined time intervals.
[0121] As described above, the time switch 10a according to this modification further includes the sensor information acquisition unit 20 (an example of a second acquisition unit) that acquires measurement results from a sensor that measures the surrounding environment. The control unit 16 further selects one program based on the measurement results acquired via the sensor information acquisition unit 20.
[0122] This allows the time switch 10a to control the switch unit 12 with a program among the multiple programs that corresponds to the surrounding environment during the overlapping period. In other words, the time switch 10a can appropriately switch between multiple programs in that it can switch to a program that corresponds to the surrounding environment.
[0123] Next, another operation example according to this modification will be described with reference to Fig. 12. Fig. 12 is a flow chart showing a second example of the program switching operation of the time switch 10a according to this modification. In the operation example shown in Fig. 12, there is one program, and an example will be described in which it is determined whether or not to continue the execution of the program based on the measurement result.
[0124] In the case of the operation example shown in Fig. 12, in step S23, the control unit 16 acquires priority information including, for example, stopping control of the currently operating program when the temperature is below a threshold. The priority information here is information indicating that either continuing or stopping control of the program is prioritized. Note that whether the temperature is equal to or higher than a threshold is an example of a predetermined condition.
[0125] Next, the control unit 16 determines whether or not the measurement result acquired in step S22 satisfies a predetermined condition (S26). For example, if the temperature, which is an example of the measurement result, is equal to or higher than a threshold, the control unit 16 determines that the measurement result satisfies the predetermined condition, and if the temperature is less than the threshold, the control unit 16 determines that the measurement result does not satisfy the predetermined condition.
[0126] Next, if the measurement result satisfies a predetermined condition (Yes in S26), the control unit 16 stops the operation of the currently operating program based on the priority information (S27) and ends the operation. If the measurement result does not satisfy the predetermined condition (No in S26), the control unit 16 continues the operation of the currently operating program, and ends the operation when the end time of the program is reached.
[0127] The processes of steps S22 and S26 may be performed periodically. For example, the control unit 16 may obtain the measurement results at predetermined time intervals and perform the determination of step S26 at the predetermined time intervals.
[0128] Note that the control unit 16 may continue to obtain the measurement results even after step S27. Then, when the temperature becomes equal to or higher than the threshold value after step S27 (when the predetermined condition is satisfied), the control unit 16 may resume the operation of the program stopped in step S27. In this way, when the measurement result satisfies the predetermined condition, the control of the program that executes the interval function can be automatically performed.
[0129] Note that steps S22 to S26 may be performed before step S21, and if step S26 is No, the operation of step S21 may be performed. In other words, the determination in step S26 is not limited to being used to determine whether or not to continue control by the currently running program, and may be used to determine whether or not to start control by that program.
[0130] As described above, when the measurement result satisfies a predetermined condition, the control unit 16 may determine not to operate the program (one example of a program) or to stop the operation.
[0131] Next, another operation example according to this modified example will be described with reference to Fig. 13. Fig. 13 is a flow chart showing a third example of the program switching operation of the time switch 10a according to this modified example. Note that in the operation example shown in Fig. 13, an example will be described in which it is determined whether or not to add another program that executes the interval function based on a measurement result during execution of a program that executes the interval function.
[0132] 13, in step S23, the control unit 16 acquires priority information including, for example, adding a program (e.g., a dedicated program) different from the currently operating program when the temperature is equal to or higher than a threshold value. The priority information here is information indicating that the control of the program to be added is to be prioritized over the control of the currently operating program.
[0133] Incidentally, whether or not the temperature is equal to or higher than a threshold value is one example of the predetermined condition. The added program may be a program the use of which is prohibited when the predetermined condition is not satisfied. The dedicated program is, for example, a program capable of executing an interval operation suitable for when the temperature is equal to or higher than a threshold value. The dedicated program is preset.
[0134] If the measurement result satisfies a predetermined condition (Yes in S26), the control unit 16 determines that a dedicated program should be used for control based on the priority information, controls to execute the determined dedicated program (S28), and ends the operation when the end time of the dedicated program is reached. In step S28, the control unit 16 switches from the program used in step S21 to the dedicated program and continues the interval operation.
[0135] Furthermore, when the measurement result does not satisfy the predetermined condition (No in S26), the control unit 16 continues the interval operation according to the currently running program until the end time of the program.
[0136] The processes of steps S22 and S26 may be performed periodically. For example, the control unit 16 may obtain the measurement results at predetermined time intervals and perform the determination of step S26 at the predetermined time intervals.
[0137] The control unit 16 may continue to obtain the measurement results even after step S28. Then, if the temperature falls below the threshold value after step S28 (if the predetermined condition is no longer satisfied), the control unit 16 may return to the operation of the program that was operating in step S21. This allows automatic control by the dedicated program to be performed when the measurement result satisfies the predetermined condition.
[0138] As described above, the control unit 16 may add a program for implementing the interval function when the measurement result satisfies a predetermined condition.
[0139] (Other embodiments) Although the time switch and the like according to one or more aspects have been described based on the embodiments, the present invention is not limited to these embodiments. As long as the gist of the present invention is not deviated from, various modifications conceived by a person skilled in the art and forms constructed by combining components in different embodiments may also be included in the present invention.
[0140] For example, in the above embodiment, an example in which a sensor unit is built into a time switch has been described, but the sensor unit may be added later. For example, a connection terminal unit to which an external device such as a sensor unit is connected may be provided in the time switch, and the sensor unit may be detachably attached to the connection terminal unit. The connection terminal unit is configured with a terminal corresponding to the standard of the connection terminal of the sensor unit to be connected, and may be, for example, a USB (Universal Serial Bus) terminal, a LIGHTNING (registered trademark) terminal, or a terminal of various connectors.
[0141] Furthermore, the sensor included in the sensor unit according to the above embodiment is not limited to the sensors exemplified in the above embodiment, and may be, for example, at least one of a carbon dioxide concentration sensor, a vibration sensor, and a microphone.
[0142] In the above embodiment, the time switch is described as having either a sensor unit or a sensor information acquisition unit, but the present invention is not limited to this, and the time switch may have both a sensor unit and a sensor information acquisition unit. The control unit may determine a program to be executed with priority when the operation periods of two or more programs overlap, for example, based on the measurement result acquired from the sensor unit and the measurement result of an external sensor unit acquired via the sensor information acquisition unit.
[0143] Furthermore, the control unit in the above-described embodiments and the like may determine (select) one program based on two or more measurement results (for example, temperature and humidity) acquired by the sensor unit.
[0144] Furthermore, the number of programs that overlap during the overlapping period in the above-described embodiment and the like may be three or more.
[0145] In the above embodiments, each component may be implemented by dedicated hardware or by executing a software program suitable for each component. Each component may be implemented by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.
[0146] The order in which the steps are executed in the flowchart is merely an example for specifically explaining the present invention, and an order other than the above may be used. Some of the steps may be executed simultaneously (in parallel) with other steps, or some of the steps may not be executed.
[0147] In addition, the division of functional blocks in the block diagram is an example, and multiple functional blocks may be realized as one functional block, one functional block may be divided into multiple blocks, some functions may be transferred to other functional blocks, and the functions of multiple functional blocks having similar functions may be processed in parallel or in a time-sharing manner by a single piece of hardware or software.
[0148] Moreover, each of the components described in the above embodiments may be realized as software, or may be realized as an LSI, which is typically an integrated circuit. These may be individually integrated into one chip, or may be integrated into one chip to include some or all of them. Here, LSI is used, but it may be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration. Furthermore, the method of integration is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. After LSI manufacture, a programmable FPGA (Field Programmable Gate Array) or a reconfigurable processor that can reconfigure the connection or setting of the circuit cells inside the LSI may be used. Furthermore, if an integrated circuit technology that replaces LSI appears due to the progress of semiconductor technology or a different derived technology, it is natural that the integration of the components may be performed using that technology.
[0149] A system LSI is an ultra-multifunctional LSI manufactured by integrating multiple processing units on a single chip, and specifically, is a computer system that includes a microprocessor, a ROM (Read Only Memory), a RAM (Random Access Memory), etc. Computer programs are stored in the ROM. The system LSI achieves its functions by the microprocessor operating in accordance with the computer program.
[0150] Another aspect of the present invention may be a computer program that causes a computer to execute each of the characteristic steps included in the time switch control method shown in any one of FIG. 3 and FIGS. 11 to 13.
[0151] Also, for example, the program may be a program to be executed by a computer. Another aspect of the present invention may be a computer-readable non-transitory recording medium on which such a program is recorded. For example, such a program may be recorded on a recording medium and distributed or circulated. For example, the distributed program may be installed in a device having another processor, and the program may be executed by the processor, thereby making it possible to cause the device to perform each of the above processes. [Explanation of symbols]
[0152] 10, 10a time switch 12 Switch section 13 Setting reception unit (first acquisition unit) 14 Display section 15 Storage section 16 Control section 18 Communication unit (transmission unit) 19 Sensor section 20 Sensor information acquisition unit (second acquisition unit)
Claims
1. A switch unit that opens and closes an electrical connection between the load and the power source; a storage unit that stores a plurality of programs for executing the interval function; a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs; A control unit that controls opening and closing of the switch unit, the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program; Further comprising a sensor for measuring the surrounding environment; The control unit further selects the one program based on a measurement result obtained from the sensor. Time switch.
2. A switch unit that opens and closes an electrical connection between a load and a power source; a storage unit that stores a plurality of programs for executing the interval function; a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs; A control unit that controls opening and closing of the switch unit, the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program; A second acquisition unit that acquires a measurement result from a sensor that measures the surrounding environment, The control unit further selects the one program based on the measurement result acquired via the second acquisition unit. Time switch.
3. The first acquisition unit acquires the priority information by accepting an operation for setting the priority information.
3. A time switch according to claim 1 or 2.
4. The first acquisition unit acquires the priority information via communication.
3. A time switch according to claim 1 or 2.
5. a display unit that displays information indicating the one program during the overlapping period. The time switch according to any one of claims 1 to 4.
6. a transmission unit that transmits information indicating the one program to an external device during the overlapping period. The time switch according to any one of claims 1 to 5.
7. The plurality of programs are each assigned a different program number; the priority information includes giving priority to a program having a lower program number; The control unit selects, during the overlapping period, a program having a smallest program number among the two or more programs as the one program. A time switch according to any one of claims 1 to 6.
8. A start time is set for each of the plurality of programs; the priority information includes giving priority to a program having an earlier start time; The control unit selects, during the overlapping period, a program having an earliest start time among the two or more programs as the one program. A time switch according to any one of claims 1 to 6.
9. A start time is set for each of the plurality of programs; the priority information includes giving priority to a program that is to be started later; The control unit selects, during the overlapping period, a program having a latest start time among the two or more programs as the one program. A time switch according to any one of claims 1 to 6.
10. the priority information includes prioritizing a specific program among a plurality of programs; The control unit selects the specific program from among the two or more programs as the one program during the overlapping period. A time switch according to any one of claims 1 to 6.
11. A switch unit for opening and closing an electrical connection between a load and a power source; a storage unit that stores a plurality of programs for executing the interval function; a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs; A control unit that controls opening and closing of the switch unit, the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program; the plurality of programs include a first program whose operation period is a first period, and a second program whose operation period partially overlaps with the first period, and whose operation period has a start time within the first period and an end time within a second period that is after the first period; the first program has a program number lower than that of the second program; the priority information includes giving priority to a program having a smaller program number, The control unit selects, as the first program, the first program having the smaller program number from the first program and the second program during an overlapping period in which the first period and the second period overlap, and controls the opening and closing of the switch unit with the first program during the first period, and controls the switch unit with the second program switched from the first program during a period following the overlapping period in the second period. Time switch.
12. A switch unit for opening and closing an electrical connection between a load and a power source; a storage unit that stores a plurality of programs for executing the interval function; a first acquisition unit that acquires priority information regarding a program that is to be executed with priority among the plurality of programs; A control unit that controls opening and closing of the switch unit, the control unit, when operation periods of two or more of the plurality of programs overlap, selects one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controls opening and closing of the switch unit during the overlapping period based on the selected one program; the plurality of programs include a first program, the operation period of which is a first period, and a second program, the operation period of which is a second period that includes the first period; the first program has a program number lower than that of the second program; the priority information includes giving priority to a program having a smaller program number, The control unit selects, as the first program, the first program having the smaller program number among the first program and the second program, during an overlapping period in which the first period and the second period overlap, and controls the switch unit with the first program during the overlapping period in the first period, and controls the switch unit with the second program switched from the first program during the period after the overlapping period in the first period. Time switch.
13. obtaining priority information regarding a program to be executed with priority among a plurality of programs that are stored in a storage unit and that execute an interval function; and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source, the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program; Furthermore, the one program is selected based on a measurement result obtained from a sensor that measures the surrounding environment. How to control a time switch.
14. A step of acquiring priority information regarding a program to be executed with priority among a plurality of programs stored in a storage unit and executing an interval function; and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source, the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program; Furthermore, the one program is selected based on a measurement result acquired via an acquisition unit that acquires the measurement result from a sensor that measures the surrounding environment. How to control a time switch.
15. A step of acquiring priority information regarding a program to be executed with priority among a plurality of programs stored in a storage unit and executing an interval function; and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source, the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program; the plurality of programs include a first program whose operation period is a first period, and a second program whose operation period partially overlaps with the first period, and whose operation period has a start time within the first period and an end time within a second period that is after the first period; the first program has a program number lower than that of the second program; the priority information includes giving priority to a program having a smaller program number, The controlling step includes selecting the first program having the smaller program number from among the first program and the second program as the first program during an overlapping period in which the first period and the second period overlap, controlling the opening and closing of the switch unit with the first program during the first period, and controlling the switch unit with the second program switched from the first program during a period following the overlapping period in the second period. How to control a time switch.
16. A step of acquiring priority information regarding a program to be executed with priority among a plurality of programs stored in a storage unit and executing an interval function; and controlling opening and closing of a switch unit that opens and closes an electrical connection between the load and the power source, the controlling step includes, when operation periods of two or more of the plurality of programs overlap, selecting one program from the two or more programs to be executed during an overlapping period in which the operation periods overlap based on the priority information, and controlling opening and closing of the switch unit during the overlapping period based on the selected one program; the plurality of programs include a first program, the operation period of which is a first period, and a second program, the operation period of which is a second period that includes the first period; the first program has a program number lower than that of the second program; the priority information includes giving priority to a program having a smaller program number, The controlling step includes selecting, as the first program, the first program having the smaller program number among the first program and the second program, during an overlapping period in which the first period and the second period overlap, and controlling the switch unit with the first program during the overlapping period in the first period, and controlling the switch unit with the second program switched from the first program during a period after the overlapping period in the first period. How to control a time switch.
Citation Information
Patent Citations
Computer device
JP1982120159A
Time switch
JP1997251085A
Solar time switch
JP1997269387A
Broadcast receiving apparatus
JP2005102150A
Program timer
JP2017102079A
