Electronic device

文档序号:751112 发布日期:2021-04-02 浏览:23次 中文

阅读说明:本技术 电子设备 (Electronic device ) 是由 伊豆晃一 于 2020-09-22 设计创作,主要内容包括:提供为了维持相同的状态,不需要繁杂的工夫的电子设备。电子设备(100)包括:侦测部(1),侦测人的动作;控制部(10),若侦测部(1)侦测到人(H)的第一动作,则以将动作部(2)从第一状态向第二状态变更,使第二状态的方式仅于第一既定期间维持,控制动作部(2);其中控制部(10),在从第一既定期间的结束时刻之前到结束时刻之后的既定侦测期间内,侦测部(1)侦测到人(H)的第二动作的情况下,以到第一既定期间根据第二动作的状态被变更后的第二既定期间的结束为止,维持第二状态的方式,控制动作部(2)。(To provide an electronic device which does not require a complicated work to maintain the same state. An electronic device (100) includes: a detection unit (1) for detecting a motion of a person; a control unit (10) that controls the operation unit (2) such that the operation unit (2) is changed from the first state to the second state and the second state is maintained only for a first predetermined period when the detection unit (1) detects the first motion of the person (H); wherein the control unit (10) controls the operation unit (2) so that the second state is maintained until the end of the second predetermined period after the first predetermined period is changed in accordance with the state of the second operation when the detection unit (1) detects the second operation of the person (H) in the predetermined detection period from before the end time of the first predetermined period to after the end time.)

1. An electronic device, comprising:

a detecting section for detecting a motion of a person;

a control unit that controls the operation unit so that the operation unit is changed from a first state to a second state and the second state is maintained for a first predetermined period of time if the detection unit detects a first motion of the person; wherein

The control unit controls the operation unit to maintain the second state until a second predetermined period in which the first predetermined period is changed in accordance with the state of the second operation ends, when the detection unit detects the second operation of the person within a predetermined detection period from before an end time of the first predetermined period to after the end time.

2. The electronic device of claim 1,

the control unit controls the operation unit to notify in advance that the operation unit is returned from the second state to the first state during the predetermined detection period.

3. The electronic device of claim 1 or 2,

the predetermined detection period is at least one of a first period from before the end time to after the end time and a second period from after the end time to after the end time.

4. The electronic device of any of claims 1-3,

the control unit changes the length of the second predetermined period based on at least one of the number of times of the second operation and the length of a period in which the second operation continues.

5. The electronic device of any of claims 1-4,

the first state is a state in which the operation unit is stopped and the second state is a state in which the operation unit is operating; alternatively, the first and second electrodes may be,

the first state is a state in which the operation unit is operating and the second state is a state in which the operation unit is stopped.

Technical Field

The present disclosure relates to electronic devices.

Background

A lighting system as an example of an electronic device is used. The illumination system includes an illumination section that emits light, a control section that controls the illumination section, and a detection section that detects a motion of a person. In the illumination system, when a human body sensor, which is an example of a detection unit, detects a first motion of a human body, the lighting state of the illumination unit is maintained only for a predetermined period.

When the lighting system is turned on and the second motion of the person is not detected by the detection portion within the predetermined detection period, the lighting portion is turned off. On the other hand, if the second motion of the person is detected by the detection portion within the predetermined detection period, the illumination system maintains the lighting state of the illumination portion.

Documents of the prior art

Patent document

Patent document 1: japanese patent laid-open publication No. Hei 10-189257 "

Disclosure of Invention

Technical problem to be solved by the invention

According to the above-described illumination system, for example, if a person sits in a toilet and reads a book in a toilet with the illumination section being on, the detection section may not be able to detect the movement of the person. In addition, even if a person rubs shoes in the entrance where the lighting unit is on, the detection unit may not detect the movement of the person.

In these cases, the illumination unit is turned off when a predetermined detection period elapses. Therefore, after the illumination unit is turned off, the person sitting in the toilet or the entrance relives the illumination unit by, for example, waving or shaking his/her head as the second operation described above.

That is, if the person in the vicinity of the illumination unit does not repeatedly perform the second operation every time the end time of the predetermined detection period elapses or every time the end time of the predetermined detection period approaches, the lighting state of the illumination unit cannot be maintained. Therefore, it is necessary to take a lot of time and effort to maintain the lighting unit in a lit state, that is, to maintain the electronic device in the same state.

An aspect of the present disclosure is to provide an electronic device that does not require a complicated operation to maintain the same state.

Means for solving the problems

An electronic device according to an aspect of the present disclosure includes: a detecting section for detecting a motion of a person; a control unit that controls the operation unit so that the operation unit is changed from a first state to a second state and the second state is maintained only for a first predetermined period if the detection unit detects the first motion of the person; wherein the control unit controls the operation unit to maintain the second state until the end of a second predetermined period after the first predetermined period is changed in accordance with the state of the second motion when the detection unit detects the second motion of the person in a predetermined detection period from before the end time of the first predetermined period to after the end time.

Drawings

Fig. 1 is a schematic diagram illustrating a usage state of an electronic device according to embodiment 1.

Fig. 2 is a functional block diagram of an electronic device according to embodiment 1.

Fig. 3 is a first flowchart for explaining an illumination control process executed by the control unit of the electronic apparatus according to embodiment 1.

Fig. 4 is a second flowchart for explaining the illumination control process executed by the control unit of the electronic apparatus according to embodiment 1.

Fig. 5 is a third flowchart for explaining the illumination control process executed by the control unit of the electronic apparatus according to embodiment 1.

Fig. 6 is a flowchart for explaining an illumination control process executed by the control unit of the electronic device according to the modification of embodiment 1.

Fig. 7 is a schematic diagram illustrating an electronic device according to embodiment 2.

Fig. 8 is a schematic diagram illustrating an electronic device according to embodiment 3.

Fig. 9 is a schematic diagram illustrating an electronic device according to embodiment 4.

Detailed Description

Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or equivalent elements are denoted by the same reference numerals, and repetitive description will not be made.

(first embodiment)

Fig. 1 is a schematic diagram illustrating a usage state of an electronic device 100 according to embodiment 1. As is apparent from fig. 1, the electronic device 100 according to the present embodiment is a lighting system installed in the ceiling CE of the toilet room TB.

Inside the toilet room TB, a person H sits on a toilet bowl TS provided on a floor FL. Since the person H holds and reads a book, the posture hardly changes. The electronic apparatus 100 emits light toward the person H below.

Fig. 2 is a functional block diagram of electronic device 100 according to embodiment 1. As shown in fig. 2, the electronic apparatus 100 includes a detection unit 1, an operation unit 2, and a control unit 10.

The operation unit 2 is a bulb-type lighting unit that emits light in the present embodiment. The operation unit 2 is not limited to the illumination unit of the illumination system, and may be any unit that performs some operation, for example, a display of a personal computer, a touch panel of a mobile phone, a fan motor of an air cleaner, or the like. In addition, the bulb constituting the illumination unit as the operation unit 2 may be replaced with another new bulb when consumed.

The detecting section 1 detects a motion of a person. In the present embodiment, the detecting unit 1 is an infrared image sensor. The detecting section 1 detects infrared rays emitted from the person H. Thus, the detection unit 1 stores the image data of the person H in the image processing unit in time series. In the present embodiment, the detection unit 1 detects the motion of the person H or the motion of no person H based on whether the contour image of the image data changes with time.

However, the detection unit 1 may be any other means such as a camera or a video camera capable of acquiring normal color image data in time series, as long as it is not an infrared image sensor but a means capable of detecting the motion of the person H. In the present embodiment, the infrared image sensor is provided as the detection unit 1, which incorporates an imaging element for acquiring image data and an image processing unit for extracting a contour image or the like from an image acquired by the imaging element and processing the image data. However, the detection unit 1 may include an imaging element, and the control unit 10 may include an image processing unit.

The control part 10 changes the state of the operation part 2 based on the detection result of the detection part 1. When the detecting part 1 detects the first motion of the person H, the control part 10 changes the motion part 2 from the first state to the second state. Thereafter, the controller 10 controls the operation unit 2 to maintain the second state for the first predetermined period.

In the present embodiment, the first motion of the person H is mostly an operation of opening the door of the toilet room TB and entering the toilet room TB. The first state is a state in which the operation unit 2 is stopped, specifically, a state in which the illumination unit is turned off. The second state is a state in which the operation unit 2 is operating, specifically, a state in which the illumination unit is on. Therefore, when the person H enters the toilet room TB, the detection unit 1 detects the first motion of the person H and sends the detection result to the control unit 10. Thus, the control unit 10 changes the state of the illumination unit as the operation unit 2 from the turned-off state to the turned-on state.

The first predetermined period is a predetermined value within a certain range, for example, 1 minute to 10 minutes. In the present embodiment, if the first motion of the person H is not detected by the detection portion 1 within 3 minutes, the control portion 10 performs control to change the operation portion 2 from the lit state to the lit state. This control is to prevent the waste of power due to the continuation of the operation unit 2, that is, the continuation of the lighting state of the lighting system.

In the electronic apparatus 100 as described above, the detection unit 1 may detect the second motion of the person H in a predetermined detection period from before the end time of the first predetermined period to after the end time of the first predetermined period. The second motion in this case is, for example, a motion of waving or shaking the hand of the person H to maintain the motion unit 2 in the second state, that is, to maintain the lighting state of the lighting unit.

The first motion and the second motion may be arbitrary motions as long as they are not different from each other and are motions of the human H. However, the first motion is a motion of the person H detected by the detection unit 1 when the motion unit 2 is in the first state, for example, when the illumination unit is in the off state. The second motion is a motion of the person H detected by the detection unit 1 when the motion unit 2 is in the second state, for example, when the illumination unit is in the on state.

When the detection unit 1 detects the second operation, the control unit 10 controls the operation unit 2 to maintain the second state until the second predetermined period after the first predetermined period is extended according to the state of the second operation is ended. In the electronic apparatus 100 of the present embodiment, the person H performs the second action for a period longer than a certain fixed period. Thus, the second predetermined period including the first predetermined period and the extended period longer than the first predetermined period can be set.

Therefore, the person H does not need to move each time the operating unit 2 is changed from the second state to the first state or each time the operating unit 2 is changed from the second state to the first state. More specifically, it is not necessary for the person H to perform the above-described motion such as waving or shaking the hand each time the illumination unit is changed from the on state to the off state or each time the illumination unit is changed from the on state to the off state. As a result, the person H does not need to take a complicated work to maintain the operating unit 2 in the same state, that is, to maintain the lighting unit in the lit state.

As can be seen from the above, if the second predetermined period, which is considerably longer than twice the first predetermined period, is set, the time and effort for maintaining the electronic apparatus 100 in the second state can be reduced. However, in the electronic apparatus 100 according to the present embodiment, the second operation may be executed for a period shorter than a certain predetermined period, and thus a second predetermined period shorter than twice the first predetermined period may be set.

In the present embodiment, the control unit 10 performs control for causing the operating unit 2 to notify the operating unit 2 of the change from the second state to the first state in advance between the time before the end of the first predetermined period and the time before the end of the first predetermined period. Specifically, the control unit 10 performs control for causing the illumination unit to notify the illumination unit of the return from the lit state to the extinguished state in advance between the time before the end time of the lit state and the end time of the lit state. The advance notification is executed, for example, by lighting the lighting unit at a lower illuminance than the normal lighting state, flashing the lighting unit, or lighting the lighting unit at a different color from the normal color.

Under the control of the control unit 10 as described above, the person H notifies the operation unit 2 of the operation unit 2 in advance to return from the second state to the first state before the end time of the first predetermined period. Therefore, the person H can maintain the operating unit 2 in the second state by performing the second operation when it is necessary to prevent the operating unit 2 from being changed from the second state to the first state. Specifically, the person H can maintain the lighting state by the lighting unit by performing the second operation in the lighting state to extend the end timing of the lighting state.

In the present embodiment, the person H performs the second operation to prevent the lighting unit from continuing the off state after the end time of the on state elapses. Accordingly, the person H can return the illumination unit from the first state to the second state, that is, from the turned-off state to the turned-on state, by the second operation.

That is, in the present embodiment, the predetermined detection period is either a first period from the end time of the lighting state of the lighting unit to the end time thereof or a second period from the end time of the lighting state of the lighting unit to the end time thereof.

When the person H performs the second operation in the first period, the operation unit 2 is not changed from the second state to the first state, and continues to be in the second state. Specifically, immediately before the lighting state of the lighting unit is finished, if the person H swings or shakes his hand, the lighting unit is not changed from the lighting state to the turning-off state, and continues to be in the lighting state.

On the other hand, if the person H performs the second operation in the second period, the operation unit 2 is changed to the second state without continuing to be in the first state. More specifically, when the person H swipes or shakes his/her hand immediately after the end time of the lighting state, that is, after the lighting state is turned off, the lighting unit is changed to the lighting state without continuing to be in the lighting state.

However, the predetermined detection period may be only one of a first period from before the end time of the lighting state of the lighting unit to the end time of the lighting state of the lighting unit and a second period from after the end time of the lighting state of the lighting unit to the end time of the lighting state of the lighting unit.

In the present embodiment, the control unit 10 changes the length of the second predetermined period in accordance with the length of the period in which the second operation continues. That is, the length of the extended time of the lighting state of the lighting unit differs depending on the length of the hand waving or shaking of the head of the person H.

For example, if the person keeps waving for 3 seconds, the lighting state of the lighting portion is extended by 3 minutes, if the person keeps waving for 6 seconds, the lighting state of the lighting portion is extended by 6 minutes, and if the person keeps waving for 9 seconds, the lighting state of the lighting portion is extended by 9 minutes. According to the method of determining the extension time, the length of the second predetermined period in which the first predetermined period is extended can be made different according to the intuitive second motion of the person H. The length of the period in which the second operation continues is a total time of adding each of the plurality of second operations when the plurality of second operations are detected.

However, the control unit 10 may change the length of the second predetermined period in accordance with the number of times of the second operation. That is, the control unit 10 may vary the length of the second predetermined period every time the second operation is performed.

Specifically, in this case, for example, the first operation is regarded as one operation from the start to the stop of the operation of moving the hand or the head to the left, or the second operation is regarded as one operation from the start to the stop of the operation of moving the hand or the head to the right. Under this condition, the end timing of the extended lighting state of the lighting unit, that is, the second predetermined period may be determined based on the number of times the person H performs such one second operation.

The control unit 10 may change the length of the second predetermined period based on both the length of the period in which the second operation continues and the number of times of the second operation. That is, the control unit 10 may vary the length of the second predetermined period according to both the length of the period in which the second operation continues and the number of times of the second operation.

As shown in fig. 2, the controller 10 includes timers T1, T2, and T3, and further includes a counter C, a judgment unit 11, and an operation controller 12. The timers T1, T2, and T3 each independently count time. The control unit 10 includes a processor cpu (central Processing unit) and a memory M.

The processor CPU operates the timers T1, T2, and T3, the counter C, and the operation control unit 12 based on the program stored in the memory M. The program may be installed in the memory M from the beginning, but may be installed in the memory M from an external recording medium, or may be installed in the memory M from a server via a telecommunication network.

In the present embodiment, the timer T1 counts the first predetermined period or the second predetermined period with the first predetermined period being extended in the predetermined detection period. The first predetermined period is a time set in advance in a range of, for example, about 1 minute to 10 minutes. The second predetermined period is a time period that differs depending on at least one of the time and the number of times of the second operation of the person H.

The timer T2 is a total value for calculating the time of the second motion of the person H at least once. For example, the timer T2 is used to calculate the total time for each of the plurality of second actions when the person H performs the plurality of second actions.

The timer T3 is configured to count again the time remaining for extending the period of the first predetermined period after the operating unit 2 is changed from the second state to the first state, for example, after the state of the illumination unit is changed from the on state to the off state. The extension time is, for example, about 5 seconds. Therefore, the second predetermined period is a time of about +5 seconds from the first predetermined period.

The counter C counts the number of times of the second motion of the person H, for example, the number of times of one-way movement of the hand or the head of the person H to the front, back, left, and right, respectively. That is, the counter C counts the number of times of the second motion of the person H from the rest state to the next rest state, in other words, the number of times of the motion from the start of the second motion to the stop of the second motion.

The determination unit 11 is provided in the processor CPU, and determines how to cause the operation control unit 12 to control the operation unit 2 based on information of the counted time of each of the timers T1, T2, and T3. The operation control unit 12 controls the state of the operation unit 2 based on the determination result of the determination unit 11.

In the present embodiment, the timers T1, T2, T3 and the counter C are provided outside the processor CPU, but may be realized by the function of the processor CPU.

The operation control unit 12 includes a driver circuit for driving the operation unit 2. Specifically, the driver circuit can adjust the illuminance and color of the light emitted by the illumination unit. The operation control unit 12 may be realized by the function of the processor CPU.

The illumination control process executed by the control unit 10 will be described with reference to fig. 3 to 6. The illumination control process is executed by the processor CPU in the control unit 10 based on a program stored in the memory M. Fig. 3 is a first flowchart for explaining the illumination control process executed by the control unit 10 of the electronic apparatus 100 according to embodiment 1.

In step S1, the detection unit 1 determines whether or not the first motion of the person H is detected. For example, the detection unit 1 detects whether or not the person H has entered the toilet room TB. However, although this is rarely generated, even after the lighting unit as the operating unit 2 is turned off, there is a case where the person H stays in the toilet room TB for a long time without moving. In this case, the detecting unit 1 detects the motion of waving or shaking the hand of the person H as the first motion.

In step S1, the determination unit 11 determines that the detection unit 1 has detected the first motion of the person H. In this case, in step S2, the processor CPU causes the operation control unit 12 to change the operation unit 2 from the first state to the second state, that is, to change the illumination unit from the off state to the on state. In step S1, if the determination unit 11 determines that the first motion of the person H is not detected by the detection unit 1, the processor CPU repeats the process of step S1. That is, the processor CPU maintains the lighting section in the off state.

After that, in step S3, the processor CPU starts a timer T1. Next, in step S4, the determination unit 11 determines whether or not the time from the start of the timer T1 to the advance notice has elapsed. In step S4, if the determination unit 11 determines that the time from the start of the timer T1 to the advance notice has not elapsed, the processor CPU repeats the process of step S4.

When the determination unit 11 determines in step S4 that the time from the start of the timer T1 to the advance notice described above has elapsed, the operation control unit 12 executes control to advance notice of the illumination unit in step S5. Thereby, the predetermined detection period is started. This is also the beginning of the first period described above.

In the present embodiment, the process of notifying the lighting unit of the turning-off state in advance is executed only in step S4 and step S5. However, if the predetermined detection period is within the predetermined detection period, the process of notifying the lighting unit to turn off may be performed later.

Specifically, the operation control unit 12 changes the lighting state of the illumination unit as the operating unit 2, which is the second state, to a lighting state (third state) in which the level of brightness is lower. Thus, the illumination unit notifies the lighting to be completed in advance. By this advance notice, the person H grasps that the end timing of the lighting state is approaching, that is, the turning-off timing is approaching.

Thereafter, in step S6, the determination unit 11 determines whether or not the detection unit 1 detects the second motion of the person H. In step S6, when the judgment unit 11 judges that the detection unit 1 does not detect the second operation of the person H, in step S7, the judgment unit 11 judges whether or not the first predetermined period has elapsed from the start of the timer T1. Thereby, the aforementioned first period ends.

In step S7, the determination unit 11 determines that the first predetermined period has not elapsed since the start of the timer T1. In this case, the control unit 10 repeats the processing of step S6 and step S7.

On the other hand, in step S7, the determination unit 11 determines that the first predetermined period has elapsed since the start of the timer T1. In this case, in step S8, the processor CPU resets the timer T1. Thereafter, in step S9, the processor CPU causes the operation control unit 12 to turn off the illumination unit as the operation unit 2.

In step S6, the determination unit 11 determines that the detection unit 1 has detected the second motion of the person H. In this case, the control section 10 executes the extension processing EXT shown in fig. 4.

Fig. 4 is a second flowchart for explaining the illumination control process executed by the control unit 10 of the electronic apparatus 100 according to embodiment 1.

As shown in fig. 4, in the extension process EXT, in step S51, the processor CPU starts a timer T2. After that, the determination unit 11 determines whether or not the first predetermined period has elapsed from the start of the timer T1. Although not shown, after step S51, the same processing as that of step S4 and step S5 may be executed, whereby the advance notification of the extinguished state is executed.

When the judgment unit 11 judges in step S52 that the first predetermined period has elapsed since the start of the timer T1, the processor CPU calculates in step S57 a second predetermined period based on the total time counted by the timer T2. On the other hand, in step S52, if the determination unit 11 determines that the first predetermined period has not elapsed since the start of the timer T1, the processor CPU executes the process of step S53.

In step S53, the determination unit 11 determines whether or not the second operation of the person H is continued. Whether the second operation continues is determined by whether or not the extracted contour image changes continuously in the present embodiment. The information on whether or not the contour image is continuously changed is sent from the detection unit 1 to the determination unit 11. In step S53, if the determination unit 11 determines that the second operation of the person H continues, the processor CPU repeats the processing of step S52 and step S53.

Through the processing of steps S51 to S53, the timer T2 is set to a state in which the second operation of the person H detected by the detection unit 1 is continued until the first predetermined period elapses. The total time this second action lasts may also be the time of the timing of a series of actions at a time. However, in the case where a plurality of second actions are intermittently detected, the total time for which the second actions are continued may be a total value of a plurality of times.

On the other hand, if the determination unit 11 determines in step S53 that the second operation of the person H has not been continued, the processor CPU stops the timer T2 in step S54. The stop of the timer T2 means a state in which the timer T2 has stopped in a stored state. Therefore, the stopped timer T2 adds the newly counted time to the already counted time when counting is started again.

Thereafter, in step S55, the determination unit 11 determines again whether or not the detection unit 1 has detected the second motion of the person H. In step S55, if the determination unit 11 determines that the detection unit 1 detects the second motion of the person H, the control unit 10 repeats the processing of step S51 to step S55.

On the other hand, in step S55, if the determination unit 11 determines that the second motion of the person H is not detected by the detection unit 1, the processor CPU executes the process of step S56. In step S56, the determination unit 11 determines whether or not the first predetermined period has elapsed since the start of the timer T1.

In step S56, if the determination unit 11 determines that the first predetermined period has not elapsed since the start of the timer T1, the processor CPU repeats the processing of step S55 and step S56. On the other hand, in step S56, when the determination unit 11 determines that the first predetermined period has elapsed since the timer T1 was started, the processor CPU executes the process of step S57.

In step S57, the processor CPU calculates a second predetermined period based on the time counted by the timer T2. The second predetermined period is a time period in which the first predetermined period is extended. Specifically, the processor CPU determines the extended time as the lighting state of the lighting unit of the operation unit 2 based on the total value of the counted time of the timer T2 in which the determination unit 11 determines that the detection unit 1 detects the second operation of the person H. The sum of the extended time and the first predetermined period is the second predetermined period.

The processor CPU replaces the first predetermined period, which is a criterion for determining the time counted by the timer T1, with the second predetermined period, and then executes the process of step S58. For example, when the first predetermined period of 3 minutes is extended by 6 minutes, the second predetermined period of 9 minutes is used as the criterion for determining the time counted by the timer T1.

Next, in step S58, the processor CPU resets the timer T2. Thereafter, in step S59, the determination unit 11 determines whether or not the second predetermined period has elapsed from the start of the timer T1. In step S59, the determination unit 11 determines that the second predetermined period has not elapsed since the start of the timer T1. In this case, in step S60, the determination unit 11 determines whether or not the detection unit 1 has detected the second motion of the person H.

On the other hand, in step S59, the determination unit 11 determines that the second predetermined period has elapsed since the start of the timer T1. In this case, the processor CPU executes the process of step S8 while moving from step S6 to the extension process EXT. On the other hand, the processor CPU executes the process of step S106 when moving from step S105 to the extension process EXT.

In step S60, if the determination unit 11 determines that the detection unit 1 does not detect the second motion of the person H, the processor CPU repeats the processing of step S59 and step S60. On the other hand, in step S60, the determination unit 11 determines that the detection unit 1 has detected the second motion of the person H.

In this case, in step S61, the processor CPU replaces the second predetermined period, which is the criterion for determining the counted time by the timer T1, with the first predetermined period, and then repeats the processing of step S51 to step S61. For example, when the second predetermined period of 9 minutes is used as the criterion, the first predetermined period of 9 minutes is used as the criterion for determining the time counted by the timer T1.

The processing up to steps S1 to S9 and steps S51 to S61 shown in fig. 3 and 4 is processing for preventing the operation unit 2 from being changed from the second state to the first state. In other words, the processing up to the above-described steps S1 to S9 and steps S51 to S61 is processing for preventing the illumination portion from being changed from the on state to the off state.

Fig. 5 is a third flowchart for explaining the illumination control process executed by the control unit 10 of the electronic apparatus 100 according to embodiment 1.

The processing of steps S101 to S104 described later with reference to fig. 5 is processing for changing the operating unit 2 from the second state to the first state and then returning from the first state to the second state. Specifically, the processing of steps S101 to S104 described later with reference to fig. 5 is processing for changing the lighting unit from the on state to the off state and then returning from the off state to the on state.

In step S101, the processor CPU starts a timer T3. Thereby, the second period described above starts. Note that, when the time counted by the timer T3 is a certain long time, although not shown, the same processing as that of steps S4 and S5 may be executed after step S101, whereby the advance notification of turning off of the illumination unit is executed.

Next, in step S102, the determination unit 11 determines whether or not the detection unit 1 detects the second motion of the person H. In step S102, the determination unit 11 determines that the detection unit 1 does not detect the second motion of the person H. In this case, in step S103, the determination unit 11 determines whether or not the third predetermined period has elapsed from the start of the timer T3.

The third predetermined period is, for example, about 5 seconds, and is a relatively short time as compared with the first predetermined period (for example, 3 minutes). The reason for this is that the processing of steps S101 to S106 is processing for extending the lighting state of the lighting unit for a short period of time after the end time of the lighting state of the lighting unit. However, the length of the third predetermined period is not limited to a time considerably shorter than the first predetermined period (for example, 3 minutes).

In step S103, when the determination unit 11 determines that the third predetermined period has not elapsed since the start of the timer T3, the processor CPU repeats the processing of steps S102 to S103.

On the other hand, in step S103, the determination unit 11 may determine that the third predetermined period has elapsed since the start of the timer T3. Thus, the predetermined detection period ends. This is also the end of the second period. In this case, the processor CPU resets the timer T3 in step S104. After that, the processor CPU executes step S101 shown in fig. 3.

In step S102, the determination unit 11 determines that the detection unit 1 detects the second motion of the person H. In this case, the processor CPU changes the operation unit 2 from the first state to the second state, that is, changes the illumination unit from the off state to the on state in step S105. After that, the processor CPU executes the aforementioned extension processing EXT shown in fig. 4.

Next, in step S106, the processor CPU changes the operation unit 2 from the second state to the first state, that is, changes the illumination unit from the on state to the off state in the operation control unit 12. After that, the processor CPU executes the process of step S104.

(electronic device according to modification of the first embodiment)

Fig. 6 is a flowchart for explaining an illumination control process executed by the control unit 10 of the electronic apparatus 100 according to the modification of embodiment 1.

In the electronic apparatus 100 according to the modification of embodiment 1, the processor CPU executes the processing of step S151 to step S157 shown in fig. 6 as the extension processing EXT, instead of step S51 to step S61 shown in fig. 4. The extension processing EXT is executed when the detection unit 1 detects the second motion of the person H in step S6 shown in fig. 3.

Although not shown in fig. 6, the same processing as that of steps S4 and S5 may be executed before step S151, whereby the advance notification of turning off of the illumination unit is executed.

In the extension processing EXT shown in fig. 6, first, in step S151, the processor CPU increments the value of the counter C by only "1". Thereafter, in step S152, the determination unit 11 determines whether or not the detection unit 1 detects the second motion of the person H.

In step S152, if the determination unit 11 determines that the detection unit 1 detects the second motion of the person H, the processor CPU repeats the processing of steps S151 to S152. Thereby, the counter C counts the second motion of the person H.

On the other hand, in step S152, if the determination unit 11 determines that the second motion of the person H is not detected by the detection unit 1, the processor CPU executes the process of step S153. In step S153, the determination unit 11 determines whether or not the first predetermined period has elapsed from the start of the timer T1. In step S153, if the determination unit 11 determines that the first predetermined period has not elapsed since the start of the timer T1, the processor CPU repeats the processing of step S152 and step S153.

On the other hand, in step S153, when the determination unit 11 determines that the first predetermined period has elapsed since the start of the timer T1, the processor CPU executes the process of step S154. That is, the counter C continues the second operation of counting the person H until the first predetermined period elapses.

In step S154, the processor CPU calculates a second predetermined period. The second predetermined period is a time period in which the first predetermined period is extended. Specifically, the processor CPU determines the extension time of the lighting state of the lighting unit as the operation unit 2 based on the total value of the number of times of increase of the counter C. The counter C is incremented when the judgment part 11 judges that the detection part 1 detects the second motion of the person H. The total time of the extended time determined based on the number of times of the counter C and the first predetermined period is the second predetermined period. The processor CPU replaces the first predetermined period, which is a criterion for determining the time counted by the timer T1, with the second predetermined period, and then executes the process of step S155. For example, when the first predetermined period of 3 minutes is extended by 6 minutes, the second predetermined period of 9 minutes is used as the criterion for determining the time counted by the timer T1.

Next, in step S155, the processor CPU resets the counter C. Thereafter, in step S156, the determination unit 11 determines whether or not a second predetermined period has elapsed from the start of the timer T1. If the determination unit 11 determines in step S156 that the second predetermined period has not elapsed since the start of the timer T1, the determination unit 11 determines in step S157 whether or not the detection unit 1 has detected the second motion of the person H.

On the other hand, in step S156, the determination unit 11 may determine that the second predetermined period has elapsed since the start of the timer T1. In this case, the processor CPU executes the process of step S8 while moving from step S6 to the extension process EXT. In addition, the processor CPU executes the processing of step S106 when moving from step S105 to the extension processing EXT.

In step S157, if the determination unit 11 determines that the detection unit 1 does not detect the second motion of the person H, the processor CPU repeats the processing of step S156 and step S157. On the other hand, in step S157, the determination unit 11 determines that the detection unit 1 has detected the second motion of the person H.

In this case, in step S158, the processor CPU replaces the second predetermined period, which is the criterion for determining the time counted by the timer T1, with the first predetermined period, and then repeats the processing of step S151 to step S158. For example, when the second predetermined period of 9 minutes is used as the criterion, the first predetermined period of 9 minutes is used as the criterion for determining the time counted by the timer T1.

(second embodiment)

Next, a second embodiment will be described. Note that description will not be repeated for the same points as those in the first embodiment. The present embodiment is different from the first embodiment in that the electronic device 100 is a personal computer. Only the differences between the present embodiment and embodiment 1 will be described below.

Fig. 7 is a schematic diagram illustrating the electronic device 100 according to embodiment 2. The electronic device 100 of the present embodiment is a personal computer. The detecting section 1 includes a mouse for moving a pointer on a display of a personal computer or a keyboard for displaying text information on the display. The operation unit 2 includes a display. The controller 10 is built in a personal computer, and includes timers T1, T2, T3, a counter C, a processor CPU, a memory M, and an operation controller 12, which are similar to those of embodiment 1.

The personal computer as the electronic device 100 of the present embodiment controls the display as the operating unit 2 to an off state as the first state in order to reduce power consumption. At this time, the control unit 10 of the personal computer detects a movement of the mouse as the operation unit 2 or an operation of the keyboard as the operation unit 2 as a first operation. Thereby, the control unit 10 of the personal computer brings the display as the operation unit 2 into a lighting state as the second state.

Further, before the display is turned off, the control unit 10 of the personal computer lowers the luminance of the display to be lower than normal, and makes the user know that the end time of the on state is close.

In addition, when the personal computer is in the lighting state or after the lighting state is finished, the movement of the mouse or the operation of the keyboard is detected as the second action. In this case, the control unit 10 of the personal computer returns the display from the turned-off state to the turned-on state until the turned-on state of the display is extended or the extended time period ends.

In the present embodiment, the second motion of the person H may be detected by the detection unit 1 in a predetermined detection period from before the end time of the first predetermined period to after the end time. In this case, the controller 10 controls the operating unit 2 to maintain the second state until the second predetermined period in which the first predetermined period is extended in accordance with the state of the second operation ends.

The state of the second action is the time or number of movements of the mouse or the time or number of patterns of key values of the keyboard. Therefore, even with the personal computer as the electronic apparatus 100 of the present embodiment, no troublesome work is required to maintain the display as the operation unit 2 in the same state (lit state).

(third embodiment)

Next, a third embodiment will be described. Note that description will not be repeated for the same points as those in the first embodiment. The present embodiment is different from the first embodiment in that the electronic device 100 is a mobile communication terminal.

Fig. 8 is a schematic diagram of the electronic device 100 according to embodiment 3 for explanation. The electronic device 100 of the present embodiment is a mobile communication terminal, more specifically, a smartphone. The detection unit 1 includes a touch panel of a smart phone operated by a human finger. The operation unit 2 also includes a touch panel. That is, in the present embodiment, the touch panel of the smartphone functions as both the detection unit 1 and the operation unit 2. The control unit 10 is built in a smartphone, and incorporates timers T1, T2, T3, a counter C, a processor CPU, a memory M, and an operation control unit 12 similar to those of embodiment 1.

The smartphone, which is the electronic device 100 of the present embodiment, controls the display, which is the operating unit 2, to be in the off state, which is the first state, in order to reduce power consumption. At this time, the control unit 10 of the smartphone detects that the touch panel as the operation unit 2 is operated by the finger of the person H as the first operation. Thus, the control unit 10 of the smartphone sets the display as the operation unit 2 to the lighting state as the second state.

Further, before the display is turned off, the smartphone lowers the brightness of the display to be lower than usual, and the user knows that the end time of the lighting state is close.

In addition, there is a case where the touch panel as the detection unit 1 of the smartphone is operated in the lighting state or after the lighting state is completed, and the touch panel is detected as the second operation. In this case, the control unit 10 of the touch panel returns the display from the turned-off state to the turned-on state until the turned-on state of the display is extended or the extended time period ends.

In the present embodiment, the second motion of the person H may be detected by the detection unit 1 in a predetermined detection period from before the end time of the first predetermined period to after the end time. In this case, the control unit 10 controls the operation unit 2 to maintain the second state until the state according to the second operation in the first predetermined period, more specifically, the end of the second predetermined period in which the touch operation time or the number of touch operations of the touch panel is extended. Therefore, even with the smartphone as the electronic device 100 of the present embodiment, no troublesome work is required to maintain the touch panel as the operating unit 2 in the same state (lit state).

(fourth embodiment)

Next, a fourth embodiment will be explained. Note that description will not be repeated for the same points as those in the first embodiment. The present embodiment is different from the first embodiment in that the electronic device 100 is an air cleaner.

The air cleaner of the present embodiment generates ions, diffuses the ions indoors, and sterilizes the ions. Therefore, the air cleaner is controlled to be in an operating state when a person is not present near the air cleaner, and is controlled to be in a stopped state when a person is present near the air cleaner.

Fig. 9 is a schematic diagram for explaining an electronic device according to embodiment 4. The electronic device 100 of the present embodiment is an air cleaner. The detection unit 1 is an infrared image sensor similar to that of embodiment 1. The operation unit 2 includes a fan and a fan motor. The controller 10 is incorporated in the air cleaner, and incorporates timers T1, T2, T3, a counter C, a processor CPU, a memory M, and an operation controller 12, which are similar to those of embodiment 1.

The air cleaner as the electronic device 100 of the present embodiment controls the fan motor as the operating unit 2 to be in a stopped state as a first state. At this time, the air cleaner is detected by the infrared image sensor as the detecting section 1 as a first action. Thereby, the air cleaner sets the fan motor to the second operating state.

Before the fan motor as the operation unit 2 is in the operation state, the air cleaner is rotated at a speed lower than normal rotation speed of the fan motor, so that the user can know that the end time of the operation state of the fan motor is close.

When the air cleaner is in a stopped state or after the stopped state is completed, the second motion of the person is detected by the infrared image sensor, and the air cleaner returns to the stopped state until the stopped state is extended or the extended time is completed.

In the present embodiment, the second motion of the person H may be detected by the detection unit 1 in a predetermined detection period from before the end time of the first predetermined period to after the end time. In this case, the control unit 10 controls the operation unit 2 to maintain the second state (stopped state) until the first predetermined period is in accordance with the state of the second operation, more specifically, until the second predetermined period in which the length or the number of times of the time for which the human H is detected by the detection unit 1 is extended ends. Therefore, even with the air cleaner as the electronic apparatus 100 of the present embodiment, no troublesome work is required to maintain the fan motor as the operation unit 2 in the same state (stopped state).

(fifth embodiment)

Next, a fifth embodiment will be described. Note that description will not be repeated for the same points as those in the first embodiment. The present embodiment is different from the first embodiment in the following point.

In the present embodiment, the detection unit 1 may detect the second motion of the person H in the predetermined detection period. In this case, in the present embodiment, the control unit 10 controls the operation unit 2 so as to maintain the second state until the end of the second predetermined period in which the first predetermined period is shortened in accordance with the state of the second operation. Specifically, in step S57 of fig. 4 or step S154 of fig. 6, the control unit 10 shortens the second predetermined period to be shorter than the first predetermined period. According to this, the timing of returning from the first state to the second state can be made earlier. However, the second predetermined period can be shortened to a case where the remaining time that is shorter than the first predetermined period and is the first predetermined period is sufficiently left.

In this way, if the second predetermined period is a period after the first predetermined period is changed, the first predetermined period may be extended or the first predetermined period may be shortened.

Description of the reference numerals

A detection portion; an action part; 10.. a control portion; an electronic device; human being

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种紫外线杀菌灯的驱动电路及消毒杀菌设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!