Electronic device, method of controlling electronic device, and program

The electronic device adjusts thresholds based on user input to accurately determine its status, addressing erroneous judgments due to varying wearing styles and environments, enhancing operational precision and power efficiency.

JP2025183476APending Publication Date: 2025-12-17CASIO COMPUTER CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024091085
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2025-12-17

AI Technical Summary

Technical Problem

Conventional electronic devices fail to accurately determine their status when the manner of wearing or external environment deviates from predetermined assumptions, leading to erroneous judgments.

Method used

An electronic device that includes a control unit to accept input information about its status, sets thresholds for determination processes, and adjusts these thresholds based on user input to match the actual wearing state and environment, using sensors like a wearing/removing sensor, pulse wave sensor, motion sensor, and illuminance sensor to enhance accuracy.

Benefits of technology

The device can appropriately determine its status, reducing false judgments by dynamically adjusting thresholds based on user input, ensuring accurate operation and power conservation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025183476000001_ABST
    Figure 2025183476000001_ABST
Patent Text Reader

Abstract

To appropriately determine a status of an electronic device.SOLUTION: An electronic device includes a control unit. The control unit receives an input of information related to a status of the electronic device, and sets a threshold value such that the result of the determination process for determining the status of the electronic device based on the predefined threshold value agrees with an input status which is a status corresponding to the input information. A method of controlling an electronic device executed by a computer in the electronic device receives an input of information related to a status of the electronic device, and sets a threshold value such that the result of the determination process for determining the status of the electronic device based on the predefined threshold value corresponds with an input status which is a status corresponding to the input information.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an electronic device, a control method for an electronic device, and a program. [Background technology]

[0002] Conventionally, electronic devices are known that determine their own status based on whether or not a predetermined determination condition is met, and perform operations according to the status. For example, Patent Document 1 discloses a wristwatch that outputs sound and displays a predetermined message on a display unit when it is determined that the wristwatch is worn by a user. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2004-028918 Summary of the Invention [Problem to be solved by the invention]

[0004] However, in conventional electronic devices, the judgment conditions are set and fixed on the assumption that the electronic device is worn in a predetermined manner and is in a predetermined external environment, etc., so there is a problem that if the manner of wearing the electronic device or the external environment, etc. differs from the assumptions, the judgment conditions become inappropriate and an erroneous judgment of the situation occurs.

[0005] The present invention aims to appropriately determine the status of an electronic device. [Means for solving the problem]

[0006] In order to solve the above problems, the electronic device according to the present invention comprises: An electronic device including a control unit, The control unit Accepting input of information relating to the status of the electronic device; The threshold is set so that the result of a determination process for determining the status of the electronic device based on a predetermined threshold matches an input status, which is a status corresponding to the input information. [Effects of the Invention]

[0007] According to the present invention, the status of an electronic device can be appropriately determined. [Brief explanation of the drawings]

[0008] [Figure 1] FIG. 2 is a block diagram showing the functional configuration of the electronic timepiece. [Figure 2] FIG. 2 is a diagram showing a display unit in a mounted state. [Figure 3] FIG. 2 is a diagram showing the display unit in an unworn state. [Figure 4] FIG. 2 is a side view of the electronic timepiece. [Figure 5] 10A and 10B are diagrams illustrating a method for determining whether the device is worn or not; [Figure 6] 10A and 10B are diagrams illustrating an adjustment operation of the first threshold value when the determination result is incorrect. [Figure 7] 10A and 10B are diagrams illustrating an adjustment operation of the second threshold value when the determination result is incorrect. [Figure 8] 10A and 10B are diagrams illustrating an adjustment operation of the first threshold value when the determination result is correct. [Figure 9] 10A and 10B are diagrams illustrating an adjustment operation of the second threshold value when the determination result is correct. [Figure 10] 10 is a flowchart showing a control procedure for a mounting / detachment determination process. [Figure 11] 10 is a flowchart showing a control procedure for threshold adjustment processing. [Figure 12] FIG. 10 illustrates the operation of adjusting both the first and second thresholds. [Figure 13] FIG. 10 illustrates the operation of adjusting both the first and second thresholds. DETAILED DESCRIPTION OF THE INVENTION

[0009] A first embodiment of the present invention will be described below with reference to the drawings. The electronic watch 1 (electronic device) of this embodiment, whose functional configuration is shown in Figure 1, is a wristwatch (wearable device) worn on a user's wrist by wrapping a band 3 (see Figure 4) around the wrist. The electronic watch 1 comprises a CPU (Central Processing Unit) 11 (control unit, control means), a RAM 12 (Random Access Memory), a storage unit 13, a display unit 14 (output unit), an illumination unit 15 (illumination), an operation unit 16, a sensor unit 17, a timing unit 18, and an alarm unit 19. The various units of the electronic watch 1 are connected via a data transmission path such as a bus.

[0010] The CPU 11 is a processor that functions as a control unit that controls the operation of the electronic watch 1 by reading and executing the program 131 stored in the storage unit 13 and performing various arithmetic processing. The electronic watch 1 may have multiple processors (e.g., multiple CPUs), and the multiple processes performed by the CPU 11 of this embodiment may be executed by these multiple processors. In this case, the control unit is made up of the multiple processors. In this case, the multiple processors may be involved in a common process, or the multiple processors may independently execute different processes in parallel.

[0011] The RAM 12 provides the CPU 11 with working memory space and stores temporary data. The RAM 12 stores a status flag 121. The status flag 121 is one-bit data that indicates the status of the electronic watch 1. In the first embodiment, when the status flag 121 is "1", this indicates that the electronic watch 1 is in a "wearing state" where it is worn on the user's wrist, and when the status flag 121 is "0", this indicates that the electronic watch 1 is in an "unwearing state" where it is removed from the user's wrist. The "wearing state" corresponds to a "first status", and the "unwearing state" corresponds to a "second status".

[0012] The storage unit 13 is a non-transitory recording medium readable by the CPU 11 as a computer, and stores a program 131 and various data. The storage unit 13 has a non-volatile memory such as a flash memory. The program 131 is stored in the storage unit 13 in the form of a computer-readable program code. The data stored in the storage unit 13 includes threshold data 132 that is referenced in the attachment / detachment determination process described below.

[0013] As shown in Figures 2 and 3, the display unit 14 is equipped with a liquid crystal panel that combines segment and dot matrix technology. The display unit 14 also has a drive circuit (not shown) for driving the liquid crystal panel. The display unit 14 digitally displays the time, date, day of the week, etc. on the liquid crystal panel in accordance with control signals and image data sent from the CPU 11 to the drive circuit. The display unit 14 is also capable of displaying a worn mark 141 (shown in Figure 2) and a non-worn mark 142 (shown in Figure 3). If the CPU 11 determines that the electronic timepiece 1 is in a worn state, i.e., if the value of the status flag 121 is "1," it causes the display unit 14 to display the worn mark 141 consisting of the word "WEAR." If the CPU 11 determines that the electronic timepiece 1 is in an unworn state, i.e., if the value of the status flag 121 is "0," it causes the display unit 14 to display the non-worn mark 142 consisting of the word "T-OFF."

[0014] The illumination unit 15 includes a light source such as an LED (Light Emitting Diode). The light source is provided at a position inside the main body 2 where it can illuminate the display surface of the display unit 14. The illumination unit 15 illuminates the display surface of the display unit 14 by causing the light source to emit light in accordance with a control signal transmitted from the CPU 11.

[0015] 2 and 3, and outputs operation signals indicating the operation content of these operation means to the CPU 11. The operation unit 16 may also be provided with other operation means such as a touch panel.

[0016] The sensor unit 17 includes a wearing / removing sensor 171 (sensor), a pulse wave sensor 172, a motion sensor 173, an illuminance sensor 174, and a tilt switch 175, and outputs the detection results of each sensor to the CPU 11. As shown in FIG. 4, the wearing / removing sensor 171 includes a light-emitting unit 171a and a light-receiving unit 171b. The light-emitting unit 171a and the light-receiving unit 171b are located on the back surface of the main body 2 of the electronic timepiece 1, i.e., near the surface that touches the user's wrist when worn. The light-emitting unit 171a emits light, for example, in the infrared wavelength range, from the back surface of the main body 2 toward the outside. When the electronic timepiece 1 is worn on the user's wrist, the light emitted from the light-emitting unit 171a is reflected by the skin of the wrist. The light-receiving unit 171b is located in a position where it can receive this reflected light. Therefore, the amount of light detected by the light-receiving unit 171b when the electronic timepiece 1 is worn is greater than the amount of light detected when the electronic timepiece 1 is not worn. The attachment / detachment sensor 171 is equipped with an AD converter (not shown) and converts the amount of light detected by the light receiving section 171b into a digital data detection value and outputs it to the CPU 11. The CPU 11 determines whether the electronic timepiece 1 is attached or detached based on the light amount detection value output from the attachment / detachment sensor 171 and the threshold value registered in the threshold data 132. The method for determining whether the electronic timepiece 1 is attached or detached will be described later.

[0017] Pulse wave sensor 172 includes a light-emitting element that emits green light that is easily absorbed by hemoglobin in the blood and a light-receiving element that detects the light reflected by the skin, and detects the pulse wave (biometric information) at the user's wrist based on changes in the amount of light detected by the light-receiving element. Pulse wave sensor 172 includes an AD converter (not shown), which converts the amount of detected light into digital data and outputs it to CPU 11. CPU 11 identifies the waveform of the pulse wave from the data output from pulse wave sensor 172 and derives the heart rate (pulse rate) based on the waveform. Note that the attachment / detachment sensor 171 may have the function of pulse wave sensor 172, and pulse wave sensor 172 may be omitted. In this case, light-emitting unit 171a of attachment / detachment sensor 171 may be configured to emit the above-mentioned green light.

[0018] The motion sensor 173 has a three-axis acceleration sensor and a three-axis angular velocity sensor, and detects the acceleration and angular velocity occurring in the electronic timepiece 1 in response to the movement of the user's wrist. The motion sensor 173 also has an AD converter (not shown), and converts the detected value into digital data by the AD converter (not shown) and outputs it to the CPU 11.

[0019] The illuminance sensor 174 has a light-receiving element that outputs a signal according to the intensity of incident light, and detects the brightness (illuminance) around the electronic timepiece 1. The illuminance sensor 174 has an AD converter (not shown), and converts the detected illuminance into digital data by the AD converter (not shown) and outputs it to the CPU 11.

[0020] The tilt switch 175 includes, for example, a metal ball, a passage through which the metal ball can move in one direction, and a contact point at one end of the passage. When the electronic timepiece 1 is tilted in a predetermined direction, the metal ball moves to one end of the passage, establishing electrical contact and outputting an ON signal to the CPU 11. The state in which the tilt switch 175 outputs the ON signal corresponds to the ON state. In this embodiment, the orientation of the tilt switch 175 is adjusted so that the tilt switch 175 is in the ON state when the user is tilting the electronic timepiece 1 with the wrist wearing the electronic timepiece 1 held up in front of their face and gazing at the electronic timepiece 1. The CPU 11 determines that the user is gazing at the electronic timepiece 1 when the tilt switch 175 remains in the ON state for a certain period of time or more. The CPU 11 switches the operation of the electronic timepiece 1 depending on whether the user is gazing at the electronic timepiece 1. For example, if the user is gazing at the electronic timepiece 1 and the CPU 11 determines that the electronic timepiece 1 is in a dark environment based on the illuminance detected by the illuminance sensor 174, the CPU 11 turns on the illumination unit 15.

[0021] The timekeeping unit 18 includes an oscillation circuit, a frequency dividing circuit, a timekeeping circuit, etc. The frequency dividing circuit divides the clock signal generated by the oscillation circuit, and the timekeeping circuit counts the divided signal, thereby deriving and holding the current date and time.

[0022] The notification unit 19 includes a sound output unit and a vibration unit (not shown). The notification unit 19 issues a notification of a predetermined pattern by at least one of a sound emitted by the sound output unit and a vibration by the vibration unit in accordance with a control signal transmitted from the CPU 11.

[0023] Next, the operation of the electronic watch 1 will be described. The CPU 11 of the electronic watch 1 of this embodiment executes a determination process using a predetermined determination method to determine whether the electronic watch 1 is in a worn state or an unworn state, and updates the value of the status flag 121 according to the determination result of the determination process. The determination result of the determination process is used to control the operation of the electronic watch 1. For example, the CPU 11 displays either the worn mark 141 in FIG. 2 or the unworn mark 142 in FIG. 3 on the display unit 14 according to the determination result. The CPU 11 also operates the pulse wave sensor 172 only when it is determined that the electronic watch 1 is in a worn state, and stops the operation of the pulse wave sensor 172 when it is determined that the electronic watch 1 is in an unworn state because a pulse wave cannot be detected. The CPU 11 may also perform other control to reduce power consumption when it is determined that the electronic watch 1 is in an unworn state, such as stopping the second display on the display unit 14 from updating every second.

[0024] With reference to Figure 5, a method for determining whether the electronic timepiece 1 is in a worn state and a method for determining whether the electronic timepiece 1 is in an unworn state will be described. The bottom part of Figure 5 shows the change over time in the light intensity detection value V detected by the attachment / detachment sensor 171. The top part of Figure 5 shows the actual state of the electronic timepiece 1 at each point in time and the determination results of the determination process by the CPU 11. If the determination result is "worn state," the CPU 11 sets the value of the state flag 121 to "1" and causes the display unit 14 to display the worn mark 141. If the determination result is "unworn state," the CPU 11 sets the value of the state flag 121 to "0" and causes the display unit 14 to display the unworn mark 142.

[0025] In FIG. 5, the user is not wearing the electronic watch 1 until time t1, at which point the user is wearing the electronic watch 1. Furthermore, for the period prior to time t1, the determination result is "not wearing state," i.e., the status flag 121 is "0." When the status flag 121 is "0," the CPU 11 executes a first determination process to determine whether the electronic watch 1 is being worn. In the first determination process, the CPU 11 determines whether the electronic watch 1 has changed from an unworn state to a worn state based on the magnitude relationship between the light intensity detection value V from the wearing / detaching sensor 171 and a first threshold value TA (here, the initial value TA1 of the first threshold value TA). The CPU 11 acquires the detection value V from the wearing / detaching sensor 171 at a predetermined frequency and compares it with the first threshold value TA each time it is acquired. The frequency of acquiring the detection value V is not particularly limited, but may be, for example, once per second or more. In FIG. 5, the detection value V changes to a value equal to or greater than the first threshold value TA at time t1. In response, the CPU 11 determines that the electronic timepiece 1 is in the worn state, rewrites the value of the status flag 121 to "1," and displays the worn mark 141. That is, the CPU 11 outputs the result of the first determination process to the display unit 14, which serves as an output unit. Note that the electronic timepiece 1 may be determined to be in the worn state if the detection value V is equal to or greater than the first threshold value TA a predetermined number of times in succession.

[0026] In FIG. 5, the user removes the electronic watch 1 at time t2. When the determination result is "wearing state," i.e., when the status flag 121 is "1," as in the period from time t1 to time t2, the CPU 11 executes a second determination process to determine whether the electronic watch 1 is in an unworn state. In the second determination process, the CPU 11 determines whether the electronic watch 1 has changed from a wearing state to an unworn state based on the magnitude relationship between the light intensity detection value V from the wearing / detaching sensor 171 and a second threshold value TB (here, the initial value TB1 of the second threshold value TB), which is smaller than the first threshold value TA. The CPU 11 acquires the detection value V from the wearing / detaching sensor 171 at the frequency described above and compares it with the second threshold value TB each time it is acquired. In FIG. 5, the detection value V changes to a value equal to or less than the second threshold value TB at time t2. In response, the CPU 11 determines that the electronic watch 1 has entered an unworn state, rewrites the value of the status flag 121 to "0," and displays the unworn mark 142. That is, the CPU 11 outputs the result of the second determination process to the display unit 14 as an output unit. Note that it may be determined that the device is not being worn when the detection value V is equal to or less than the second threshold value TB for a predetermined number of consecutive times.

[0027] In this way, by using one of the first threshold value TA and the second threshold value TB for the judgment depending on the value of the status flag 121 at each time point, hysteresis is imparted to the judgment result. This makes it possible to prevent a false judgment as an unworn state even if the detected light amount fluctuates somewhat after a judgment as an worn state. Also, it makes it possible to prevent a false judgment as an worn state even if the detected light amount fluctuates somewhat after a judgment as an unworn state. The initial value TA1 of the first threshold value TA and the initial value TB1 of the second threshold value TB are predetermined and registered in the threshold data 132.

[0028] The light intensity detection value V detected by the wear sensor 171 can vary depending on how the electronic watch 1 is worn and the external environment. For example, the looser the electronic watch 1 is attached to the wrist and the brighter the surroundings, the greater the light intensity detection value V is likely to be. Therefore, if the initial value TA1 of the first threshold value TA and the initial value TB1 of the second threshold value TB are used as is, the results of the judgment process may be inappropriate depending on how the user uses the electronic watch 1. Therefore, the CPU 11 of the electronic watch 1 of this embodiment accepts input of information related to the status of the electronic watch 1 from the user, and if the results of the judgment process differ from the input status, which is the status corresponding to the input information, changes the first threshold value TA and / or the second threshold value TB so that the results of the judgment process match the input status. Hereinafter, the initial value TA1 of the first threshold value TA and the changed values ​​TA2, TA3, etc. will be referred to as the first threshold values ​​TA1, TA2, TA3, etc., respectively. The initial value TB1 of the second threshold value TB and the changed values ​​TB2, TB3, ... are referred to as second threshold values ​​TB1, TB2, TB3, .... The user inputs information using the operation buttons 161 to 164. By pressing the operation button 161 (hereinafter referred to as the "wearing input button 161"), the user can input information indicating that the electronic timepiece 1 is being worn. By pressing the operation button 162 (hereinafter referred to as the "not wearing input button 162"), the user can input information indicating that the electronic timepiece 1 is not being worn. By pressing the operation button 163 (hereinafter referred to as the "correct answer input button 163"), the user can input information indicating that the determination result of the determination process by the CPU 11 is correct. By pressing the operation button 164 (hereinafter referred to as the "incorrect answer input button 164"), the user can input information indicating that the determination result of the determination process by the CPU 11 is incorrect.

[0029] A method for changing the first threshold value TA will be described with reference to FIG. 6. In FIG. 6, the user wears the electronic timepiece 1 at time t3, and the actual situation changes from a non-wearing state to a wearing state. However, because the light intensity detection value V by the wearing / detaching sensor 171 does not reach the first threshold value TA1, the CPU 11 determines that the electronic timepiece 1 is in an unwearing state in the first determination process executed at time t3. The user can recognize that the determination result is incorrect because the non-wearing mark 142 is displayed even though the electronic timepiece 1 is actually being worn. If the determination result indicates a non-wearing state even though the user is actually wearing the electronic timepiece 1, the user can perform operation A to input information indicating that the determination result is incorrect. In other words, the CPU 11 displays the results of the determination process on the display unit 14 and then accepts the input of the above information. Here, operation A is an operation of pressing the wearing input button 161 or the incorrect input button 164. That is, when the wearing input button 161 corresponding to the value "1" of the status flag 121 is operated while the status flag 121 is "0", the CPU 11 determines that the value "0" of the current status flag 121 is incorrect. Furthermore, when the incorrect answer input button 164 is operated, the CPU 11 determines that the value of the current status flag 121 is incorrect regardless of the value of the current status flag 121. The input status (first input status) corresponding to the information input by operation A is "wearing state".

[0030] When operation A is performed at time t4 in FIG. 6, the CPU 11 changes the first threshold value TA so that the result of the first determination process matches the input status corresponding to operation A, i.e., the "wearing state." In other words, when information indicating that the result of the first determination process is incorrect is input, the CPU 11 changes the first threshold value TA so that the correct result can be obtained by the first determination process. Specifically, the CPU 11 changes the first threshold value TA1 to a first threshold value TA2 that is equal to or less than the detection value V last acquired before time t4 when operation A was performed. Thereafter, by using the first threshold value TA2 that reflects the user's wearing state and the external environment, it becomes possible to correctly determine that the device is in the wearing state. It is preferable that the first threshold value TA2 be a value smaller than the latest detection value V by a difference d1. This allows for correct determination even if the detection value V in the wearing state varies slightly. Specifically, if the electronic watch 1 is worn loosely on the wrist or if the surroundings are darker than when the first threshold value TA1 was set, the non-wearing mark 142 may be displayed even though the user is wearing the electronic watch 1. Even in such cases, the first threshold value TA1 can be changed to an appropriate value according to how the electronic watch 1 is worn on the wrist at that time and the surrounding brightness, thereby making it possible to more accurately determine the "wearing state."

[0031] A method for changing the second threshold value TB will be described with reference to FIG. 7. In FIG. 7, the user removes the electronic timepiece 1 at time t5, changing the actual state from the worn state to the unworn state. However, because the light intensity detection value V by the attachment / detachment sensor 171 does not fall below the second threshold value TB1, the CPU 11 determines that the electronic timepiece 1 is worn in the second determination process executed at time t5. The user can recognize that the determination result is incorrect because the worn mark 141 is displayed even though the electronic timepiece 1 is not actually being worn. When the determination result shows that the electronic timepiece 1 is worn even though the user is not actually wearing the electronic timepiece 1, the user can perform operation B to input information indicating that the determination result is incorrect. Here, operation B is an operation of pressing the unworn input button 162 or the incorrect input button 164. In other words, when the status flag 121 is set to "1," the CPU 11 determines that the current value "1" of the status flag 121 is incorrect because the unworn input button 162, which corresponds to the value "0" of the status flag 121, is operated. The input status (second input status) corresponding to the information input by operation B is "non-mounted state."

[0032] When operation B is performed at time t6 in FIG. 7, the CPU 11 changes the second threshold value TB so that the result of the second determination process matches the input status corresponding to operation B, i.e., the "non-wearing state." In other words, when information indicating that the result of the determination process is incorrect is input, the CPU 11 changes the second threshold value TB so that the correct result can be obtained by the second determination process. Specifically, the CPU 11 changes the second threshold value TB1 to a second threshold value TB2 that is equal to or greater than the detection value V last acquired before time t6 when operation B is performed. Thereafter, by using the second threshold value TB2 that reflects the user's wearing mode and the external environment, it becomes possible to correctly determine the non-wearing state. It is preferable that the second threshold value TB2 be a value greater than the most recent detection value V by a difference d2. This allows for accurate determination even if the detection value V in the non-wearing state varies slightly. The difference d2 may be the same as or different from the difference d1 described above.

[0033] The above describes the operations when operations A and B are performed to input information indicating that the judgment result is incorrect, but if the judgment result is correct, the user can also perform an operation to input information indicating that the judgment result is correct. Below, we will explain examples of operations corresponding to these operations.

[0034] In FIG. 8 , the user wears the electronic timepiece 1 at time t7, and the actual situation changes from the non-wearing state to the wearing state. Also, at time t7, the changed first threshold value TA2 is used in the first determination process. In FIG. 8 , the amount of light detected by the attachment / detachment sensor 171 changes to or exceeds the first threshold value TA2 at time t7, so the CPU 11 correctly determines that the electronic timepiece 1 is being worn at time t7. The user can recognize that the determination result is correct because the attachment mark 141 is displayed when the electronic timepiece 1 is being worn after time t7. In such a case, the user can perform operation C to input information indicating that the determination result is correct. Here, operation C is an operation of pressing the wearing input button 161 or the correct answer input button 163. That is, when the status flag 121 is set to "1," the CPU 11 determines that the current value "1" of the status flag 121 is correct by operating the wearing input button 161 corresponding to the value "1" of the status flag 121. Furthermore, when the correct answer input button 163 is operated, the CPU 11 determines that the value of the current situation flag 121 is correct regardless of the value of the current situation flag 121. The input situation corresponding to the information input by operation C is "wearing state."

[0035] When operation C is performed at time t8 in FIG. 8 , the CPU 11 changes (increases) the first threshold value TA2 to the first threshold value TA3 so as to increase the difference between the first threshold value TA and the second threshold value TB within a range in which the result of the first determination process does not change. The phrase "within a range in which the result of the first determination process does not change" can also be rephrased as "within a range in which the result of the first determination process matches the 'wearing state', which is the input status corresponding to operation C," or "within a range equal to or less than the latest detection value V." This prevents the first threshold value TA and the second threshold value TB from becoming too close, which would reduce hysteresis. In this case, it is preferable to set the first threshold value TA3 to a value smaller than the latest detection value V by the difference d3. This allows accurate determination even if the detection value V in the wearing state varies slightly.

[0036] In FIG. 9 , at time t9, the user removes the electronic watch 1, changing the actual state from the worn state to the unworn state. Also, at time t9, the changed second threshold value TB2 is used in the second determination process. In FIG. 9 , the amount of light detected by the attachment / detachment sensor 171 changes to or below the second threshold value TB2 at time t9, so the CPU 11 correctly determines that the electronic watch 1 is unworn at time t9. The user can recognize that the determination result is correct because the unworn mark 142 is displayed after time t9 when the electronic watch 1 is removed. In this case, the user can perform operation D to input information indicating that the determination result is correct. Here, operation D is an operation of pressing the unworn input button 162 or the correct input button 163. That is, when the unworn input button 162 corresponding to the value "0" of the status flag 121 is operated while the status flag 121 is set to "0," the CPU 11 determines that the current value "0" of the status flag 121 is correct. The input status corresponding to the information input by operation D is "non-mounted state."

[0037] When operation D is performed at time t10 in FIG. 9 , the CPU 11 changes (reduces) the second threshold value TB2 to the second threshold value TB3 so as to increase the difference between the first threshold value TA and the second threshold value TB within a range in which the result of the second determination process does not change. The phrase "within a range in which the result of the second determination process does not change" can also be rephrased as "within a range in which the result of the second determination process matches the 'non-wearing state', which is the input status corresponding to operation D," or "within a range equal to or greater than the latest detected value V." This prevents the first threshold value TA and the second threshold value TB from becoming too close, which would reduce hysteresis. In this case, the second threshold value TB3 is preferably set to a value greater than the latest detected value V by the difference d4. This allows accurate determination even if the detected value V in the wearing state varies slightly.

[0038] Next, the processing executed by the CPU 11 to realize the above-mentioned operation will be described. First, the control procedure for the wear / removal determination processing for determining whether the electronic timepiece 1 is worn or removed will be described with reference to Figure 10. The wear / removal determination processing is started when the electronic timepiece 1 is powered on. When the wear / removal determination processing is started, the CPU 11 provisionally sets the status flag 121 to "0" (step S101). The CPU 11 also causes the display unit 14 to display the non-wearing mark 142 (step S102).

[0039] The CPU 11 determines whether it is time to perform a wear / removal determination (step S103). The determination timing is set to a predetermined frequency, such as N times per second. If it determines that it is not time to perform the determination ("NO" in step S103), the CPU 11 determines whether an operation to turn off the power to the electronic timepiece 1 has been performed (step S104). If the CPU 11 determines that such an operation has not been performed ("NO" in step S104), the process returns to step S103, and if it determines that such an operation has been performed ("YES" in step S104), the CPU 11 ends the wear / removal determination process.

[0040] On the other hand, if it is determined that it is time to make a determination ("YES" in step S103), the CPU 11 acquires the light intensity detection value V detected by the attachment / detachment sensor 171 (step S105). The CPU 11 determines whether the detection value V is equal to or greater than a first threshold value TA (step S106). Here, an initial value TA1 is initially used as the first threshold value TA. If the first threshold value TA has been changed in a threshold value adjustment process (described later), the changed value is used. If it is determined that the detection value V is less than the first threshold value TA ("NO" in step S106), the CPU 11 returns the process to step S103. If it is determined that the detection value V is equal to or greater than the first threshold value TA ("YES" in step S106), the CPU 11 determines that the device is in an attached state, changes the status flag 121 to "1" (step S107), and causes the display unit 14 to display the attached mark 141 (step S108). The CPU 11 also terminates the display of the non-attached mark 142. If the electronic watch 1 is worn when it is turned on, the processing contents of steps S101 and S102 will be contrary to the actual situation, but by branching to "YES" in step S106 and executing steps S107 and S108, the status flag 121 and mark display will be updated to the appropriate ones. Steps S103 to S108 correspond to the first determination processing.

[0041] When step S108 is completed, the CPU 11 determines whether it is time to perform a wear / removal determination (step S109). If it determines that it is not time to perform the determination ("NO" in step S109), the CPU 11 determines whether an operation to turn off the power to the electronic timepiece 1 has been performed (step S110). If the CPU 11 determines that such an operation has not been performed ("NO" in step S110), the process returns to step S109, and if it determines that such an operation has been performed ("YES" in step S110), the CPU 11 ends the wear / removal determination process.

[0042] On the other hand, if it is determined that it is time to make a determination ("YES" in step S109), the CPU 11 acquires the detection value V of the light intensity detected by the attachment / detachment sensor 171 (step S111). The CPU 11 determines whether the detection value V is equal to or less than a second threshold value TB (step S112). Here, an initial value TB1 is initially used as the second threshold value TB, and if it has been changed in a threshold value adjustment process described later, the changed value is used. If it is determined that the detection value V is greater than the second threshold value TB ("NO" in step S112), the CPU 11 returns the process to step S109. If it is determined that the detection value V is equal to or less than the second threshold value TB ("YES" in step S112), the CPU 11 determines that the device is in an unattached state, changes the status flag 121 to "0" (step S113), and causes the display unit 14 to display the unattached mark 142 (step S114). The CPU 11 also terminates the display of the attached mark 141. Steps S109 to S114 correspond to the first determination process.

[0043] Next, a control procedure of the threshold adjustment process for adjusting the first threshold TA and the second threshold TB will be described with reference to Fig. 11. When the threshold adjustment process is started, the CPU 11 repeatedly determines whether or not the user has input information using the operation buttons 161 to 164 (step S201). If the CPU 11 determines that the information has been input ("YES" in step S201), it executes the processes from step S202 onwards for changing the thresholds. The determination process in step S201 is performed in parallel with the attachment / detachment determination process, and if the process branches to "YES" in step S201, the interrupt process from step S202 onwards is executed.

[0044] The CPU 11 determines whether the information input in step S201 is information indicating that the determination result of the first determination process or the second determination process is incorrect (i.e., information input by the above-described operation A or operation B) (step S202). If it is determined that the information indicates that the determination result of the determination process is incorrect (“YES” in step S202), the CPU 11 determines that the determination result of the determination process last executed before the information was input is incorrect. The CPU 11 also determines whether the status flag 121 is “0” (step S203). If the status flag 121 is “0” (“YES” in step S203), the determination result of “non-wearing state” is incorrect, and the actual state is “wearing state.” Therefore, as shown in FIG. 6, the CPU 11 changes the first threshold value TA to a value equal to or less than the latest detection value V, and registers the changed value in the threshold data 132 (step S204). On the other hand, if the status flag 121 is "1" ("NO" in step S203), the determination result of "attached state" is incorrect, and the actual status is "unattached state." Therefore, as shown in FIG. 7, the CPU 11 changes the second threshold value TB to a value equal to or greater than the latest detected value V, and registers the changed value in the threshold value data 132 (step S205). When step S204 or step S205 ends, the CPU 11 shifts the process to step S210.

[0045] On the other hand, if the process branches to "NO" in step S202, the CPU 11 determines whether the information input in step S201 is information indicating that the determination result of the first determination process or the second determination process is correct (i.e., information input by the above-mentioned operation C or operation D) (step S206). If it is determined that the information indicates that the determination result of the determination process is correct ("YES" in step S206), the CPU 11 determines that the determination result of the determination process last executed before the information was input is correct. The CPU 11 also determines whether the status flag 121 is "1" (step S207). If the status flag 121 is "1" ("YES" in step S207), the determination result of "wearing state" is correct. In this case, the CPU 11 increases the first threshold value TA within a range equal to or less than the latest detection value V, as shown in FIG. 8, and registers the changed value in the threshold data 132 (step S208). On the other hand, if the status flag 121 is "0" ("NO" in step S207), the determination result of "non-wearing state" is correct. In this case, as shown in FIG. 9, the CPU 11 reduces the second threshold value TB within a range equal to or greater than the latest detection value V, and registers the changed value in the threshold value data 132 (step S209). When step S208 or S209 is completed, or when the process branches to "NO" in step S206, the CPU 11 shifts the process to step S210.

[0046] In step S210, the CPU 11 determines whether or not an operation has been performed to turn off the power of the electronic watch 1. If the CPU 11 determines that the operation has not been performed ("NO" in step S210), the process returns to step S201, and if the CPU 11 determines that the operation has been performed ("YES" in step S210), the threshold adjustment process ends.

[0047] Next, a first modification of the first embodiment will be described. In the first embodiment, an example has been described in which one of the first threshold value TA and the second threshold value TB is changed at a certain time point. However, instead, both the first threshold value TA and the second threshold value TB may be changed. For example, as shown in FIG. 12, if the light intensity detected by the attachment / detachment sensor 171 is lower than both the first threshold value TA1 and the second threshold value TB1 at time point t4 when the user performs operation A, the CPU 11 changes the first threshold value TA1 and the second threshold value TB1 to the first threshold value TA4 and the second threshold value TB4, respectively, so that the first threshold value TA1 and the second threshold value TB1 are equal to or lower than the detection value V. Also, as shown in FIG. 13, if the light intensity detected by the attachment / detachment sensor 171 is higher than both the first threshold value TA1 and the second threshold value TB1 at time point t6 when the user performs operation B, the CPU 11 changes the first threshold value TA1 and the second threshold value TB1 to the first threshold value TA5 and the second threshold value TB5, respectively, so that the first threshold value TA1 and the second threshold value TB1 are equal to or higher than the detection value V.

[0048] 6, when the detection value V is between the first threshold value TA and the second threshold value TB at time t4 when the user performs operation A, the first threshold value TA may be decreased, and the second threshold value TB may be decreased at the same time. This is because the detection value V does not reach the first threshold value TA, and therefore the user's wearing state and the external environment are likely to result in a low amount of light detected by the attachment / detachment sensor 171. Furthermore, when the detection value V is between the first threshold value TA and the second threshold value TB at time t6 when the user performs operation B, the second threshold value TB may be increased, and the first threshold value TA may be increased at the same time. This is because the detection value V is not below the second threshold value TB, and therefore the user's wearing state and the external environment are likely to result in a high amount of light detected by the attachment / detachment sensor 171.

[0049] Next, a second modification of the first embodiment will be described. This modification may be combined with the first modification. In the above embodiment, the results of the first and second determination processes were output by displaying the attached mark 141 or the unattached mark 142. However, this output may be omitted, and the results may be stored internally in the electronic timepiece 1. In this modification, the user cannot know the results of the CPU 11's determination. Instead, the user inputs information related to the actual status of the electronic timepiece 1 using the attached mark 161 or the unattached mark 162, rather than using the correct input button 163 or the incorrect input button 164. The threshold adjustment process performed in response to the input of this information is the same as that shown in FIG. 11. In this modification, the attached mark 141 and the unattached mark 142 may be used to indicate the content of the information entered by the user. That is, the attached mark 141 may be displayed when the attached input button 161 is pressed, and the unattached mark 142 may be displayed when the unattached input button 162 is pressed.

[0050] Next, a third modification of the first embodiment will be described. The third modification may be combined with the first modification and / or the second modification. In the above embodiment, the initial value TA1 of the first threshold value TA and the initial value TB1 of the second threshold value TB were registered in advance in the threshold data 132. However, in this modification, the initial values ​​TA1 and TB1 are set based on the light intensity detection value V obtained by the wear / detachment sensor 171. That is, in this modification, after starting up the electronic timepiece 1, the user presses the wear input button 161 at any timing while wearing the electronic timepiece 1. In response to pressing the wear input button 161, the CPU 11 acquires the light intensity detection value V obtained by the wear / detachment sensor 171, and sets the initial value TA1 of the first threshold value TA to a value equal to or less than the detection value V (for example, a value smaller than the detection value V by a predetermined difference). Furthermore, after starting up the electronic timepiece 1, the user presses the non-wear input button 162 at any timing while removing the electronic timepiece 1. The CPU 11 acquires the detection value V of the light intensity by the attachment / detachment sensor 171 in response to pressing the non-attachment input button 162, and sets the initial value TB1 of the second threshold value TB to a value equal to or greater than the detection value V (for example, a value greater than the detection value V by a predetermined difference). The subsequent operations related to changing the first threshold value TA and the second threshold value TB are the same as those in the above embodiment.

[0051] As described above, the electronic watch 1 according to the first embodiment includes a CPU 11. The CPU 11 receives input of information related to the status of the electronic watch 1 and sets the first threshold value TA or the second threshold value TB so that the result of the determination process for determining the status of the electronic watch 1 based on the first threshold value TA or the second threshold value TB matches the input status, which is the status corresponding to the input information. This allows the first threshold value TA and the second threshold value TB, which are the criteria for the determination process, to be adjusted according to the manner in which the electronic watch 1 is worn and the external environment, etc. In other words, it is possible to customize the criteria for the determination process according to how the user uses the electronic watch 1. This improves the accuracy and reliability of the determination process, allowing the status of the electronic watch 1 to be appropriately determined. As a result, it is possible to reduce the occurrence of problems in which the electronic watch 1 operates improperly due to an erroneous determination of the status.

[0052] Furthermore, when the input status corresponding to the information input after the determination process differs from the result of the determination process, the CPU 11 changes the first threshold value TA or the second threshold value TB so that the result of the determination process matches the input status. This makes it possible to identify that the result of the determination process is incorrect in accordance with the information input by the user, and to adjust the first threshold value TA or the second threshold value TB so that the determination result of the determination process is correct. This makes it possible to reliably avoid a situation in which an erroneous determination occurs.

[0053] The CPU 11 also executes a first determination process to determine whether the electronic timepiece 1 is in a worn state based on a first threshold value TA. If a first input status corresponding to information input after the first determination process differs from the result of the first determination process, the CPU 11 changes the first threshold value TA so that the result of the first determination process matches the input status. The CPU 11 also executes a second determination process to determine whether the electronic timepiece 1 is in an unworn state based on a second threshold value TB different from the first threshold value TA. If a second input status corresponding to information input after the second determination process differs from the result of the second determination process, the CPU 11 changes the second threshold value TB so that the result of the second determination process matches the input status. This allows hysteresis to be imparted to the determination results of whether the electronic timepiece 1 is in a worn state and the determination results of whether the electronic timepiece 1 is in an unworn state. Therefore, even if the amount of light detected by the attachment / detachment sensor 171 fluctuates slightly after a determination process that results in a certain determination, it is less likely that the other determination result will be incorrectly determined. The first threshold value TA and the second threshold value TB can be independently adjusted in response to information input by the user.

[0054] Furthermore, in the first determination process, the CPU 11 determines that the electronic timepiece 1 is in a worn state if the detection value V by the wearing / detaching sensor 171 is equal to or greater than a first threshold value TA. Furthermore, in the second determination process, the CPU 11 determines that the electronic timepiece 1 is in an unworn state if the detection value V by the wearing / detaching sensor 171 is equal to or less than a second threshold value TB that is smaller than the first threshold value TA. This makes it possible to determine whether or not the electronic timepiece 1 is in a worn state based on the detection value V of the light intensity by the wearing / detaching sensor 171.

[0055] Furthermore, when the first input situation matches the result of the first determination process, the CPU 11 changes the first threshold value TA so that the difference between the first threshold value TA and the second threshold value TB increases within a range in which the result of the first determination process matches the first input situation. Furthermore, when the second input situation matches the result of the second determination process, the CPU 11 changes the second threshold value TB so that the difference between the first threshold value TA and the second threshold value TB increases within a range in which the result of the second determination process matches the second input situation. This makes it possible to suppress a decrease in hysteresis caused by the first threshold value TA and the second threshold value TB becoming too close to each other due to adjustment of these threshold values ​​in the event of an erroneous determination.

[0056] Furthermore, CPU 11 displays on display unit 14 an attached mark 141 or an unattached mark 142 indicating the result of the determination process, and after displaying the result of the determination process on display unit 14, accepts input of information regarding the correctness of the result of the determination process displayed on display unit 14. This allows the user to visually confirm whether the result of the determination process is correct or not, and based on the confirmation result, can input information regarding the correctness of the determination process. Furthermore, depending on the information input by the user, it can be determined whether the result of the determination process is incorrect or correct.

[0057] Furthermore, when information indicating that the result of the determination process is incorrect is input, the CPU 11 changes the first threshold value TA or the second threshold value TB so that the correct result can be obtained by the determination process, thereby reliably avoiding a state in which an erroneous determination occurs.

[0058] The electronic watch 1 is a wearable device that is worn by the user, and the state of the electronic watch 1 is either a worn state in which the electronic watch 1 is worn by the user, or a non-worn state in which the electronic watch 1 is not worn by the user. In the determination process, the CPU 11 determines whether the electronic watch 1 is worn by the user. This makes it possible to appropriately determine whether the electronic watch 1 is worn or not.

[0059] The CPU 11 may also execute the determination process when it detects that a predetermined operation has been performed on the electronic timepiece 1. This allows the determination process and threshold adjustment process to be executed at any timing desired by the user.

[0060] In addition, in the control method for the electronic timepiece 1 according to the first embodiment, the CPU 11 accepts input of information relating to the status of the electronic timepiece 1, and sets the first threshold value TA or the second threshold value TB so that the result of the determination process for determining the status of the electronic timepiece 1 based on the first threshold value TA or the second threshold value TB matches the input status, which is the status corresponding to the input information. This allows the status of the electronic timepiece 1 to be determined appropriately.

[0061] Furthermore, the program 131 according to the first embodiment causes the CPU 11 to function as a control means, which accepts input of information relating to the status of the electronic timepiece 1 and sets the first threshold value TA or the second threshold value TB so that the result of the determination process for determining the status of the electronic timepiece 1 based on the first threshold value TA or the second threshold value TB matches the input status, which is the status corresponding to the input information. This allows the status of the electronic timepiece 1 to be determined appropriately.

[0062] Next, a second embodiment will be described. Differences from the first embodiment will be described below. In the second embodiment, the CPU 11 determines whether the electronic timepiece 1 is in a predetermined bright environment or a dark environment that is darker than the bright environment based on the illuminance detected by the illuminance sensor 174. That is, the first determination process of the second embodiment is a process for determining whether the electronic timepiece 1 is in a bright environment, and the second determination process is a process for determining whether the electronic timepiece 1 is in a dark environment. A "bright environment" corresponds to a "first situation," and a "dark environment" corresponds to a "second situation." In the first determination process, if the illuminance detection value V by the illuminance sensor 174 is equal to or greater than a first threshold value TA, the CPU 11 determines that the electronic timepiece 1 is in a bright environment, sets the situation flag 121 to "1," and displays a bright environment mark (not shown) on the display unit 14. Furthermore, in the second determination process, if the illuminance detection value V by the attachment / detachment sensor 171 is equal to or less than the second threshold value TB, the CPU 11 determines that the environment is dark, sets the status flag 121 to "0," and displays a dark environment mark (not shown) on the display unit 14. The first threshold value TA and the second threshold value TB are set in advance to appropriate values ​​as illuminance standards. The process relating to the determination of a bright environment and a dark environment corresponds to replacing the "non-attached mark" and "attached mark" in the attachment / detachment determination process of FIG. 10 with the "bright environment mark" and the "dark environment mark," respectively. Furthermore, the illuminance detection value V of the illuminance sensor 174 is used as the "detection value V."

[0063] The result of the determination of whether the environment is bright is used to control the operation of the electronic timepiece 1. For example, if the CPU 11 determines that the user is gazing at the electronic timepiece 1 based on the state of the tilt switch 175 (the timing at which it switches from the off state to the on state) and determines that the environment is dark (the situation flag 121 is "0"), it turns on the illumination unit 15 for at least a certain period of time to illuminate the display unit 14. However, the level of darkness at which illumination by the illumination unit 15 is necessary varies from person to person. For this reason, even if a user feels that the environment is dark enough to require illumination, the illumination unit 15 may not be turned on because the environment is determined to be bright. Therefore, in this embodiment, the CPU 11 receives input from the user indicating that the environment is bright or dark, or information regarding the accuracy of the determination result. If the result of the determination process differs from the input situation (dark or bright) corresponding to the input information, the CPU 11 changes the first threshold value TA or the second threshold value TB so that the result of the determination process matches the input situation. This allows the illumination unit 15 to be turned on in the ambient darkness desired by the user. In this embodiment, the operation button 161 (wearing input button 161) is used to input that the environment is bright. The operation button 162 (non-wearing input button 162) is used to input that the environment is dark. The functions of the correct answer input button 163 and the incorrect answer input button 164 are the same as those in the above embodiment. The threshold adjustment process of the second embodiment is the same as the threshold adjustment process of the first embodiment (FIG. 11), so a description thereof will be omitted. Also, the first to third modifications of the first embodiment can be applied to the second embodiment. Note that the determination result of the bright environment or the dark environment may be used for purposes other than controlling the lighting of the illumination unit 15. Also, the operation button 161 (wearing input button 161) may also serve as a button for forcibly turning off the illumination unit 15 when operated. Also, the operation button 162 (non-wearing input button 162) may also serve as a button for turning on the illumination unit 15 for at least a certain period of time when operated.

[0064] As described above, the situation of the electronic timepiece 1 according to the second embodiment is either a predetermined bright environment or a dark environment that is darker than the bright environment, and the CPU 11 determines whether the situation of the electronic timepiece 1 is a bright environment or a dark environment in the determination process. This allows appropriate determination of whether the electronic timepiece 1 is in a bright environment or a dark environment.

[0065] Furthermore, the CPU 11 turns on the illumination unit 15 if it determines in the determination process that the electronic timepiece 1 is in a dark environment. This allows the illumination unit 15 to be turned on at the darkness desired by the user. Note that, in addition to or instead of displaying the dark environment mark on the display unit 14, the illumination unit 15 may be turned on when the illumination unit 15 is off, or may continue to be turned on when the illumination unit 15 is on. Also, in addition to or instead of displaying the bright environment mark on the display unit 14, the illumination unit 15 may be turned off when the illumination unit 15 is on, or may continue to be turned off when the illumination unit 15 is off.

[0066] It should be noted that the present invention is not limited to the above-described embodiment, and various modifications are possible. For example, in the above-described embodiment, an example was given in which a first threshold value TA was used in the process of determining whether or not a first situation (wearing state / bright environment) occurred, and a second threshold value TB was used in the process of determining whether or not a second situation (non-wearing state / dark environment) occurred, but the situation may be determined based on a single threshold. For example, if the detection value V is equal to or greater than the threshold, it may be determined that the situation is wearing state or bright environment, and if the detection value V is less than the threshold, it may be determined that the situation is non-wearing state or dark environment.

[0067] Furthermore, the method used by the wear / detachment sensor 171 to determine whether the electronic timepiece 1 is worn or detached is not limited to the optical method exemplified in the first embodiment. For example, it may be a method that determines whether the electronic timepiece 1 is worn or detached based on a change in capacitance between the sensor and the skin, or a method that determines whether the electronic timepiece 1 is worn or detached based on a change in the temperature of the back surface of the main body 2 due to contact with the skin. Any other method may be used as long as the absolute value of the sensor's detection value changes when the electronic timepiece 1 is worn or detached.

[0068] Furthermore, the method of inputting information related to the status of the electronic timepiece 1 is not limited to the method described in the above embodiment. For example, it may be possible to input whether the status is the first or second status, or whether the judgment result is correct or incorrect, based on the pressing time or number of consecutive pressings of an operation button. Furthermore, if the operation unit 16 is equipped with a touch panel, it may be possible to input information by operating the touch panel.

[0069] The determination process may also be performed when it is detected that the user has performed a predetermined operation on the electronic timepiece 1. The predetermined operation may be a predetermined operation on the operation unit 16 (such as a long press of an operation button or a short press of a specific button), or an operation of tilting the wrist wearing the electronic timepiece 1 so that the tilt switch 175 switches from the on state to the off state. This allows the threshold adjustment process to be performed at any timing desired by the user.

[0070] Furthermore, the method of outputting the determination result is not limited to displaying the attached mark 141 or the non-attached mark 142 on the display unit 14. For example, the determination result may be output by the notification unit 19 issuing a sound or vibration.

[0071] Furthermore, while the determination of whether the electronic watch 1 is worn or detached is based on the detected light intensity output from the wear / detach sensor 171 and the threshold value registered in the threshold data 132, this is not limited to this. For example, an infrared sensor may be provided in the electronic watch 1 at a position where it can detect changes in infrared rays (heat quantity) depending on how the user wears the watch, and the determination of whether the electronic watch 1 is worn or detached may be based on the detected infrared value output from the infrared sensor and the threshold value registered in the predetermined threshold data. Alternatively, a capacitance sensor may be provided in the electronic watch 1 at a position where it can detect changes in capacitance depending on how the user wears the watch, and the determination of whether the electronic watch 1 is worn or detached may be based on the detected capacitance value output from the capacitance sensor and the threshold value registered in the predetermined threshold data. Alternatively, the presence or absence of movement of the electronic watch 1 may be detected based on the output data of the motion sensor 173, and the electronic watch 1 may be determined to be worn if it is moving and not worn if it is stationary. Alternatively, the determination of whether the electronic watch 1 is worn or detached may be based on the state transition of the tilt switch 175. For example, if the state of the tilt switch 175 does not change for a certain period of time or more, it may be determined that the device is not being worn, and if the state of the tilt switch 175 changes thereafter, it may be determined that the device is being worn. Furthermore, the electronic watch 1 may be configured so that the CPU 11 can acquire the outside air temperature, and a temperature sensor may be provided in a position that can detect changes in the temperature of the body or back cover of the electronic watch 1 depending on the user's wearing state. Whether the electronic watch 1 is worn or removed may be determined based on the detected temperature output from the temperature sensor, the acquired outside air temperature, and a threshold value registered in the predetermined threshold data. The CPU 11 may acquire the outside air temperature by providing an outside air temperature sensor near the bezel or crystal of the electronic watch 1, acquiring the temperature from an external sensor via communication means, or having the user input the temperature using the operation unit. Note that when using a temperature sensor to determine whether the electronic watch 1 is worn or removed, it takes some time for the temperature to stabilize after the user puts on or takes off the electronic watch 1. Therefore, waiting a certain amount of time after putting on or taking off the electronic watch 1 before performing the correct / incorrect operation allows for more accurate adjustment of the threshold than performing the correct / incorrect operation immediately after putting on or taking off the electronic watch 1.

[0072] Although the electronic watch 1 is shown as displaying information in a digital format, the present invention is not limited to this and may be applied to an electronic watch that displays information such as time in an analog format using multiple hands. Furthermore, the electronic device is not limited to an electronic watch, but may be a wearable device other than an electronic watch, or a portable device such as a smartphone.

[0073] In the above description, an example has been disclosed in which a flash memory in the storage unit 13 is used as a computer-readable medium for the program according to the present invention, but this is not limiting. Other computer-readable media may include information recording media such as a hard disk drive (HDD), a solid state drive (SSD), and a CD-ROM. Furthermore, a carrier wave may also be used as a medium for providing data for the program according to the present invention via a communication line.

[0074] Furthermore, it goes without saying that the detailed configuration and detailed operation of each component of the electronic watch 1 as an electronic device in the above embodiment can be modified as appropriate within the scope of the invention.

[0075] Although the embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and its equivalents. [Explanation of symbols]

[0076] 1...electronic watch (electronic device), 11...CPU (control unit, control means), 14...display unit (output unit), 15...illumination unit (illumination), 171...attachment / detachment sensor (sensor), TA...first threshold, TB...second threshold

Claims

1. An electronic device including a control unit, The control unit Accepting input of information relating to the status of the electronic device; setting a predetermined threshold value so that a result of a determination process for determining the status of the electronic device based on the predetermined threshold value matches an input status that corresponds to the input information; electronic equipment.

2. When the input status corresponding to the information input after the determination process differs from the result of the determination process, the control unit changes the threshold value so that the result of the determination process matches the input status. The electronic device according to claim 1 .

3. The control unit performing a first determination process for determining whether the electronic device is in a first state based on a first threshold value; When a first input status corresponding to the information input after the first determination process differs from a result of the first determination process, the first threshold is changed so that the result of the first determination process matches the input status; executing a second determination process for determining whether the electronic device is in a second state different from the first state based on a second threshold value different from the first threshold value; when a second input status corresponding to the information input after the second determination process differs from a result of the second determination process, changing the second threshold value so that the result of the second determination process matches the input status; The electronic device according to claim 1 .

4. The control unit In the first determination process, when a detection value by a predetermined sensor is equal to or greater than the first threshold, the electronic device is determined to be in the first state; In the second determination process, when the detection value by the sensor is equal to or less than the second threshold value that is smaller than the first threshold value, it is determined that the electronic device is in the second state. The electronic device according to claim 3 .

5. The control unit When the first input situation matches a result of the first determination process, changing the first threshold value so that a difference between the first threshold value and the second threshold value increases within a range in which the result of the first determination process matches the first input situation; when the second input situation matches the result of the second determination process, changing the second threshold so that the difference between the first threshold and the second threshold increases within a range in which the result of the second determination process matches the second input situation; The electronic device according to claim 3 .

6. The control unit outputting the result of the determination process to a predetermined output unit; After outputting the result of the determination process to the output unit, an input of the information relating to the correctness of the result of the determination process output to the output unit is accepted. The electronic device according to claim 1 .

7. when the information indicating that the result of the determination process is incorrect is input, the control unit changes the threshold value so that a correct result is obtained by the determination process.

7. The electronic device according to claim 6.

8. the electronic device is a wearable device that is worn on a user's body, the state of the electronic device is either a state in which the electronic device is worn by the user or a state in which the electronic device is not worn by the user; The control unit determines whether the electronic device is being worn by the user in the determination process. The electronic device according to claim 1 .

9. the situation of the electronic device is either a predetermined bright environment or a dark environment that is darker than the bright environment, the control unit determines whether the situation of the electronic device is the bright environment or the dark environment in the determination process. The electronic device according to claim 1 .

10. the control unit turns on a predetermined light when it is determined in the determination process that the electronic device is in the dark environment.

10. The electronic device according to claim 9.

11. the control unit executes the determination process when detecting that a predetermined operation has been performed on the electronic device. The electronic device according to claim 1 .

12. A control method for an electronic device executed by a computer of the electronic device, comprising: Accepting input of information relating to the status of the electronic device; setting a predetermined threshold value so that a result of a determination process for determining the status of the electronic device based on the predetermined threshold value matches an input status that corresponds to the input information; How to control electronic devices.

13. A computer installed in the electronic device functions as a control means, The control means Accepting input of information relating to the status of the electronic device; setting a predetermined threshold value so that a result of a determination process for determining the status of the electronic device based on the predetermined threshold value matches an input status that corresponds to the input information; program.

Citation Information

Patent Citations

  • Wrist watch

    JP2004028918A