WO2015166965A1 - Information processing device, and control method of information processing device - Google Patents

Information processing device, and control method of information processing device Download PDF

Info

Publication number
WO2015166965A1
WO2015166965A1 PCT/JP2015/062886 JP2015062886W WO2015166965A1 WO 2015166965 A1 WO2015166965 A1 WO 2015166965A1 JP 2015062886 W JP2015062886 W JP 2015062886W WO 2015166965 A1 WO2015166965 A1 WO 2015166965A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
sensor
contact
threshold
sensor value
Prior art date
Application number
PCT/JP2015/062886
Other languages
French (fr)
Japanese (ja)
Inventor
柏木 徹
小林 秀徳
Original Assignee
シャープ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2014094247A external-priority patent/JP2015210800A/en
Priority claimed from JP2014094248A external-priority patent/JP6352039B2/en
Priority claimed from JP2014094250A external-priority patent/JP6345475B2/en
Application filed by シャープ株式会社 filed Critical シャープ株式会社
Publication of WO2015166965A1 publication Critical patent/WO2015166965A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers

Definitions

  • the present invention relates to an information processing apparatus capable of executing a predetermined process according to a detection result of a contact sensor and a control method for controlling the information processing apparatus.
  • Patent Document 1 when a contact sensor and an object with a high dielectric constant are in contact, the object with a high dielectric constant may be determined as a user's finger, which may cause a malfunction of the mobile terminal. For example, when a mobile terminal including a contact sensor is submerged, it is determined that the mobile terminal is in contact with the user's hand. Further, for example, when water droplets are attached to the contact sensor, it is determined that the mobile terminal is in contact with the user's hand. As a result, there is a problem that malfunction of the contact sensor occurs.
  • the present invention has been made to solve the above-described problems, and has as its purpose the state in which the contact sensor is in contact with a foreign substance (an object having a high dielectric constant) such as water, the contact sensor, and the user.
  • An object of the present invention is to provide an information processing apparatus capable of distinguishing a state in which a hand is in contact.
  • an information processing apparatus includes a contact sensor that is provided at a position where a user's hand holding a gripping unit touches and outputs a sensor value.
  • An information processing apparatus in which a reference value for representing the sensor value when gripped is set to be changeable in order to provide a reference for determining the sensor value, and changes as the sensor value is gripped
  • the processing apparatus includes an abnormality determination unit that determines that the processing apparatus is in an abnormal state in which foreign matter such as water is in contact.
  • a control method includes a contact sensor that outputs a sensor value provided at a position where a user's hand holding a gripping unit touches, and provides a reference for determining the presence or absence of the gripping. Therefore, a control method for an information processing apparatus in which a reference value for representing the sensor value when gripped is set to be changeable, and a direction that changes as the sensor value is gripped is negative.
  • the sensor value is a value equal to or smaller than a second threshold value that is less than the first threshold value used for determining that the grip portion is gripped by the user
  • the information processing apparatus An abnormality determination step for determining that the foreign object is in an abnormal state in contact.
  • the information processing apparatus can distinguish and determine a state in which a contact sensor and an object having a high dielectric constant are in contact with a state in which the contact sensor is in contact with a user's hand. .
  • Timing chart which shows the relationship between the sensor value and threshold value in the conventional information processing apparatus, (a) is a timing chart when changing a threshold value according to the change of the sensor value by a temperature change, (b) These are timing charts when the sensor value changes due to the influence of noise.
  • the contact sensor 11 provided in the mobile terminal 201 may change the sensor value when the object is not in contact with the environment such as temperature. Therefore, the reference level for representing the sensor value in the non-contact state is periodically calibrated. The threshold for determining whether or not an object has touched is changed according to the increase or decrease of the reference level.
  • a portable terminal is taken as an example of an information processing apparatus, and a case of a portable terminal is taken as an example of a gripping portion.
  • the present invention is not limited to this, and has a portion that a person grips.
  • the present invention can be applied to any device. Examples of the information processing device include a smartphone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle.
  • FIG. 2 is a schematic diagram illustrating an appearance of the mobile terminal 201 (information processing apparatus) according to the present embodiment.
  • the mobile terminal 201 includes a display unit 10 (such as a touch panel) on at least one surface of the housing. Note that the surface provided with the display unit 10 is referred to as the “front” of the mobile terminal 201.
  • the mobile terminal 201 includes the contact sensor 11 at a position where the user's hand holding the casing of the mobile terminal 201 comes into contact with the mobile terminal 201. For example, as shown in FIG. 2, the mobile terminal 201 is in contact with two surfaces adjacent to the front long side (the two surfaces are referred to as “side surfaces” of the mobile terminal 201). A sensor 11 is provided.
  • the number of contact sensors 11 and the range in which the contact sensors 11 are arranged are not limited to the example shown in FIG. 2.
  • a plurality of contact sensors 11 may be arranged on each side surface.
  • the contact sensor 11 may be disposed on the entire side surface.
  • the contact sensor 11 may be exposed to the outside of the casing or may be disposed in the casing.
  • FIG. 1 is a block diagram illustrating an example of a main configuration of the mobile terminal 201.
  • the portable terminal 201 is an information processing apparatus that includes the contact sensor 11, the grip determination unit 212, the host control unit 13, and a timer 214. In FIG. 1, some arrows are omitted in consideration of the visibility of the drawing.
  • the contact sensor 11 is a sensor that detects the approach or contact of an object such as a user's hand.
  • the contact sensor 11 is a capacitance sensor, but is not limited to this example.
  • a pressure sensor, an optical sensor, or the like can be used as the contact sensor 11, a pressure sensor, an optical sensor, or the like.
  • the capacitance sensor can detect the proximity of the hand (contact between the housing and the hand) even if the housing is interposed between the capacitance sensor and the user's hand.
  • the contact sensor 11 outputs a sensor value corresponding to the presence or absence of an object contact to the grip determination unit 12 based on an instruction from the grip determination unit 12.
  • the contact sensor 11 outputs a sensor value corresponding to a change in electrostatic capacitance of an electrode disposed on the side surface of the housing to the grip determination unit 12.
  • a sensor value corresponding to a change in electrostatic capacitance of an electrode disposed on the side surface of the housing to the grip determination unit 12.
  • the sensor value when the potential of the output signal of the contact sensor 11 is used as the sensor value, whether the potential decreases or increases when the housing is gripped depends on the type of the contact sensor.
  • the direction in which the sensor value changes as the casing is gripped is defined as the negative direction. That is, the sensor value when the casing is gripped is smaller than the sensor value when the casing is not gripped.
  • the host control unit 13 is mainly responsible for control on the host side of the portable terminal 201.
  • the host control unit 13 controls the display unit 10.
  • the host control unit 13 changes the display of the display unit 10 according to the determination result of the presence / absence of gripping in the gripping determination unit 12.
  • the timer 214 measures a predetermined time according to the notification of the grip determination unit 212 and notifies the grip determination unit 212 after the predetermined time has elapsed.
  • a predetermined time a plurality of times are set in advance. Further, when the mobile terminal 201 includes a plurality of contact sensors 11, a predetermined time may be set for each contact sensor 11.
  • the grip determination unit 212 includes a sensor control unit 221, a contact determination unit 222, a calibration unit 223, an abnormality determination unit 224, a process stop unit 225, and a determination release unit 226.
  • the grip determination unit 212 includes a storage unit (not shown).
  • the storage unit stores a reference level (reference value), a gripping threshold value, a release threshold value, and the like. Each unit of the grip determination unit 212 can read and write these stored values from the storage unit.
  • the reference level is for representing a sensor value when the casing is not gripped by the user.
  • the gripping threshold value is a threshold value for determining that the housing is gripped.
  • the release threshold value is a threshold value for determining that the hand is released from the grip (the hand is released). For example, the gripping threshold is set to a value smaller than the reference level.
  • the release threshold is set to a value smaller than the reference level and larger than the grip threshold.
  • the difference between the reference level and the grip threshold and the difference between the reference level and the release threshold are set in advance. That is, when the reference level is determined, the gripping threshold value and the release threshold value are automatically determined accordingly.
  • the reference level is a variable that is set to be changeable in order to provide a reference (gripping threshold value, release threshold value) for determining whether or not there is gripping.
  • the gripping threshold value and the release threshold value are different in order to determine the presence / absence of gripping as hysteresis, but they may be the same value.
  • the reference level, the grip threshold, and the release threshold are set for each contact sensor 11.
  • the sensor control unit 221 operates the contact sensor 11 at a predetermined timing, and acquires a sensor value as an output of the contact sensor 11.
  • the sensor control unit 221 acquires a sensor value from the contact sensor 11 at regular intervals.
  • the sensor control unit 221 acquires sensor values from the respective contact sensors 11 at regular intervals.
  • the sensor control unit 221 outputs the sensor value to the contact determination unit 222.
  • the contact determination unit 222 compares the sensor value with the gripping threshold value, and determines that the user's hand is in contact with the contact sensor 11 (via the housing) when the sensor value becomes smaller than the gripping threshold value. Moreover, the contact determination part 222 memorize
  • the contact determination unit 222 determines that the user's hand is holding the casing (portable terminal 201) when the plurality of (both sides) contact sensors 11 are in contact. For example, when only the contact sensor 11 on one side is in a contact state and the contact sensor 11 on the other side is in a non-contact state, the contact determination unit 222 determines that the user's hand is not holding the housing. Also good. When there is only one contact sensor 11 provided in the mobile terminal 201, the contact determination unit 222 determines whether or not there is a grip based on the contact state of the contact sensor 11. The contact determination unit 222 outputs determination result information regarding the presence / absence of gripping to the host control unit 13. In the following description, for the sake of simplicity, determination of the contact state of one contact sensor 11 will be described.
  • the calibration unit 223 acquires the sensor value from the sensor control unit 221 at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 223 calibrates the reference level at regular intervals. In addition, the calibration unit 223 calibrates the reference level when the power of the mobile terminal 201 is turned on and when the grip determination function is turned on. The calibration unit 223 acquires sensor values a plurality of times, and sets an average value (or intermediate value) of the plurality of sensor values as a reference level. When the reference level is changed, the gripping threshold value and the release threshold value are also changed based on the information for changing the reference level. Thereby, the reference level for expressing the sensor value at the time of non-contact can be calibrated according to environmental changes, such as temperature.
  • a storage unit (not shown) included in the grip determination unit 212 may store an abnormality determination threshold value TH2 (second threshold value), an abnormality cancellation threshold value Hys2 (third threshold value), and the like.
  • the abnormality determination threshold TH2 is a threshold for determining that the portable terminal 201 is in contact with a foreign substance (an object having a high dielectric constant) such as water (an abnormal state).
  • the abnormality cancellation threshold value Hys2 is a threshold value for canceling the determination of the abnormal state.
  • the abnormality determination threshold TH2 is set to a value smaller than the grip threshold TH1.
  • the abnormality cancellation threshold value Hys2 is set to a value smaller than the gripping threshold value TH1 and larger than the abnormality determination threshold value TH2.
  • abnormality determination threshold value TH2 and the abnormality cancellation threshold value Hys2 are different, but may be the same value.
  • the state in which the portable terminal 201 is in contact with foreign matter such as water is, for example, a state where the portable terminal 201 is submerged in a liquid such as tap water or seawater, or a foreign matter such as tap water (water droplets). ) Are attached, and the two contact sensors 11 are connected to each other through a conductive object.
  • waterproof processing of the portable terminal 201 will be described.
  • the entire portable terminal 201 is waterproofed, but the contact sensor 11 is not waterproofed (for example, a part of the contact sensor 11 is not waterproofed as a line shape) Constitution).
  • the contact sensor 11 may be in direct contact with a liquid such as water. Therefore, the state where the portable terminal 201 is submerged in a liquid such as water can be detected at an early stage. It is assumed that the portable terminal 201 is waterproofed to such an extent that the portable terminal 201 functions normally.
  • the abnormality determination unit 224 acquires the sensor value acquired by the sensor control unit 221 and compares the sensor value with various threshold values. When the sensor value is equal to or less than the abnormality determination threshold TH2, the abnormality determination unit 224 notifies the timer 214 and causes the timer 214 to measure a predetermined time (for example, 20 minutes) for determining an abnormal state. In a predetermined time for determining an abnormal state after the sensor value becomes equal to or less than the abnormality determination threshold value TH2, when the value continues to be less than the abnormality cancellation threshold value Hys2, the abnormality determination unit 224 It is determined that the portable terminal 201 is in contact with a foreign substance such as water (abnormal state). Then, the abnormality determination unit 224 notifies the process stop unit 225 of information indicating that a part of the processes being performed in the mobile terminal 201 is stopped.
  • a predetermined time for example, 20 minutes
  • the process stop unit 225 forcibly stops some of the processes performed in the mobile terminal 201 when the abnormality determination unit 224 determines that the state is abnormal.
  • the process performed in the portable terminal 201 is various processes including the process of the sensor control unit 221 and the process of the host control unit 13, and is the entire process performed in the portable terminal 201.
  • the process stopped by the process stop unit 225 does not include the process of the determination cancellation unit 226 described later.
  • the process stopped by the process stop unit 225 includes a part of the process of the sensor control unit 221, the process of the contact determination unit 222, the process of the calibration unit 223, and the display unit 10 performed by the host control unit 13.
  • the display process may be included.
  • the process stopped by the process stop unit 225 may be a setting added by the user.
  • the processing stop unit 225 notifies the host control unit 13 of information indicating the content to change the determination of the contact determination unit 222. Then, the host control unit 13 makes the determination of the contact determination unit 222 in response to the notification from the processing stop unit 225, from the determination that the user's hand is in contact with the contact sensor 11, and the user's hand from the contact sensor. Forcibly shift to the determination of having left. Further, the host control unit 13 changes the display of the display unit 10 from the ON (gripping) state to the OFF (released) state, and stops functions such as the backlight of the display unit 10. In addition, when it is determined that the abnormality determination unit 224 is in an abnormal state, the processing stop unit 225 may stop the process of determining whether or not the contact determination unit 222 is gripped.
  • the abnormality determination unit 224 determines that the state is abnormal, the display on the display unit 10 is turned off and the backlight function of the display unit 10 is stopped. For this reason, it can contribute to the reduction of the power consumption in the portable terminal 201.
  • the determination cancellation unit 226 acquires the sensor value from the abnormality determination unit 224 and compares the sensor value with various threshold values while the abnormality determination unit 224 determines that the abnormality state has occurred. When the sensor value is equal to or greater than the abnormality cancellation threshold value Hys2, the determination cancellation unit 226 notifies the timer 214, and the timer 214 measures a predetermined time (for example, 30 seconds) for canceling the determination of the abnormal state. Let When a predetermined time for canceling the determination of the abnormal state has elapsed after the sensor value becomes equal to or greater than the abnormality cancel threshold Hys2, the determination canceling unit 226 cancels the abnormality determination of the abnormality determining unit 224. In addition, the determination cancellation unit 226 notifies the process stop unit 225 of information indicating that the process stopped by the process stop unit 225 is resumed. Then, the process stopped by the process stop unit 225 is resumed.
  • FIG. 3 is a timing chart showing a flow of operations related to a conventional portable terminal (hereinafter referred to as a portable terminal).
  • the horizontal axis represents time, and the vertical axis represents sensor values.
  • the threshold values used in the contact determination unit 222 are the grip threshold value TH1 and the release threshold value Hys1.
  • the state of “under water” in which the mobile terminal is submerged in a liquid such as water will be described as an example. It is not limited to the state of “submerged”. That is, the state of “submerged” shown in FIG. 3 is merely an example of a state where the mobile terminal is in contact with a foreign substance (an object having a high dielectric constant) such as water. Therefore, for example, a state in which the contact sensor 11 is submerged in a liquid such as tap water or seawater, a state in which foreign matter (water droplets) such as tap water is attached to the contact sensor 11, and the two contact sensors 11 are electrically conductive with each other. The sensor value also changes in the same manner as the change shown in FIG. 3 even in a conductive state by being connected via a certain object.
  • a foreign substance an object having a high dielectric constant
  • the “state pulled up from the water” shown in FIG. 3 is merely an example of a state in which foreign matter such as water (an object having a high dielectric constant) in contact with the mobile terminal has been removed.
  • the sensor value changes similarly to the change shown in FIG.
  • the user drops the mobile terminal into a liquid having a high dielectric constant such as tap water for some reason at time t1, and the user lifts the mobile terminal from the liquid at time t5.
  • the actual state of the mobile terminal changes from “normal” to “underwater (abnormal state)” at time t1, and from “underwater” to “pull out of water” at time t5. It has changed to "the state that was done”.
  • the “normal” state of the mobile terminal is a state in which a contact sensor provided in the mobile terminal is not in contact with foreign matter such as water.
  • time t1 and time t3 a description will be given between time t1 and time t3.
  • the mobile terminal is in a state of sinking in water, and the sensor value is rapidly decreasing.
  • the sensor value becomes a value equal to or smaller than the grip threshold TH1 (first threshold).
  • the contact determination unit 222 determines that the user's hand is in contact with the contact sensor 11 at time t2. Note that the determination by the contact determination unit 222 between time t2 and time t3 is not changed from the determination at time t2.
  • the mobile terminal is in a state of being pulled up from the water, and the sensor value is rising rapidly.
  • the portable terminal is in a state after being lifted from the water.
  • the user does not operate (contact) the portable terminal.
  • the sensor value is substantially constant.
  • the sensor value does not become a value equal to or greater than the release threshold value Hys1. For this reason, the determination by the contact determination unit 222 after time t5 is not changed from the determination at time t2.
  • time t2 to time t5 it is determined that the user's hand is in contact with the contact sensor 11, while the actual state of the mobile terminal is submerged, and the user's hand touches the contact sensor 11. There is no contact. Therefore, an unnecessary application may operate in a state where the user's hand is not in contact with the contact sensor 11, and there is a possibility that useless power consumption may occur. Further, after time t7, while it is determined that the user's hand is in contact with the contact sensor 11, the user's hand is actually not in contact with the contact sensor 11. In such a state, since the contact sensor does not function normally, the mobile terminal may malfunction. Furthermore, from time t5 to time t7, the user's contact with the mobile terminal is intended to quickly lift the mobile terminal from the water, so that the processing of the contact determination unit 222 is unnecessary.
  • FIG. 4 is a timing chart showing a flow of operations according to the embodiment of the mobile terminal 201.
  • the horizontal axis represents time, and the vertical axis represents sensor values.
  • an abnormality determination threshold value TH2 (second threshold value) and an abnormality cancellation threshold value Hys2 (third threshold value) are used.
  • the sensor values, gripping threshold value TH1 and release threshold value Hys1 shown in FIG. 4 are the same reaction levels as the sensor values, gripping threshold value TH1 and release threshold value Hys1 shown in FIG.
  • the “abnormal state” of the mobile terminal 201 described above is exemplified by the state of “submerged” in which the mobile terminal 201 is submerged in a liquid such as water.
  • the abnormal state of the mobile terminal 201 is not limited to the “under water” state. That is, the state of “submerged” shown in FIG. 3 is merely an example of a state in which the mobile terminal 201 is in contact with a foreign substance (an object having a high dielectric constant) such as water.
  • a state in which the contact sensor 11 is submerged in a liquid such as tap water or seawater a state in which foreign matter (water droplets) such as tap water is attached to the contact sensor 11, and the two contact sensors 11 are electrically conductive with each other.
  • the sensor value also changes in the same manner as the change shown in FIG. 3 even in a conductive state by being connected via a certain object.
  • the “state pulled up from the water” shown in FIG. 3 is merely an example of a state in which foreign matter (an object having a high dielectric constant) such as water that is in contact with the mobile terminal 201 has been removed. Therefore, for example, a state where foreign matter (water droplets) such as tap water adhering to the contact sensor 11 is wiped, or a foreign matter other than water (object having a high dielectric constant) contacting the mobile terminal 201 is removed.
  • the sensor value changes similarly to the change shown in FIG.
  • time t1 and time t3 the portable terminal 201 is in a state of sinking in water.
  • the contact determination unit 222 determines that the user's hand is in contact with the contact sensor 11 at time t2 when the sensor value becomes a value equal to or smaller than the grip threshold TH1.
  • the sensor value becomes the value of the abnormality determination threshold TH2
  • the sensor value becomes a value less than the abnormality determination threshold TH2.
  • the timer 214 starts measuring a predetermined time (for example, 20 minutes) for determining an abnormal state from time t2 'when the sensor value becomes equal to or less than the abnormality determination threshold TH2. Note that while the sensor 214 continues to measure a predetermined time for determining an abnormal state, if the sensor value continues and is less than the abnormality cancellation threshold value Hys2, the timer 214 continues measurement and the sensor value is If the value is equal to or greater than the abnormality cancellation threshold value Hys2, the timer 214 interrupts the measurement.
  • a predetermined time for example, 20 minutes
  • the abnormality determination unit 224 determines that the mobile terminal 201 is in an abnormal state at time t4 when a predetermined time (for example, 20 minutes) has elapsed since the timer 214 started measurement.
  • the process stop unit 225 is a part of the processes (for example, the contact determination unit) performed in the portable terminal 201 while the abnormality determination unit 224 determines that the abnormal state has occurred (time t4 to time t8).
  • the processing of 222, the processing of the calibration unit 223, and the display processing of the display unit 10 performed by the host control unit 13) are stopped. If the abnormality determination unit 224 determines that the state is abnormal, the determination cancellation unit 226 continues processing.
  • the abnormality determination unit 224 determines that the mobile terminal 201 is in an abnormal state in which foreign matter such as water is in contact. To do. For this reason, when an application (for example, an application for viewing a moving image) that is used while the portable terminal 201 is held by the user is operating, the abnormality determination unit 224 sets an abnormal state while the application is operating. The determination can be avoided. Therefore, during a predetermined time after the sensor value becomes equal to or less than the abnormality determination threshold value TH2, the user can use the application even if the user is still holding the mobile terminal 201.
  • an application for example, an application for viewing a moving image
  • the process stop unit 225 stops some of the processes performed in the mobile terminal 201. For this reason, it is effective in avoiding the malfunction of an application and reducing the power consumption of the portable terminal 201.
  • the portable terminal is in a state of being pulled out of the water.
  • the timer 214 measures a predetermined time (for example, 30 seconds) for canceling the determination of the abnormal state from time t6 when the sensor value becomes equal to or greater than the abnormality cancellation threshold value Hys2. While the timer 214 is measuring a predetermined time for canceling the determination of the abnormal state, if the sensor value continues and is greater than the abnormality determination threshold value TH2, the timer 214 continues to measure, If the sensor value is equal to or lower than the abnormality determination threshold value TH2, the timer 214 stops the measurement.
  • a predetermined time for example, 30 seconds
  • the determination cancellation unit 226 cancels the determination of the abnormal state by the abnormality determination unit 224 at time t8 when a predetermined time (for example, 30 seconds) has elapsed since the timer 214 started measurement.
  • the process stopped by the process stop unit 225 (for example, the process of the contact determination unit 222 and the process of the calibration unit 223) is started again at time t8 when the determination of the abnormality determination unit 224 is canceled by the determination cancellation unit 226.
  • the determination of the abnormal state by the abnormality determination unit 224 is canceled after a predetermined time after the sensor value becomes equal to or greater than the abnormality cancellation threshold value Hys2. For this reason, after the sensor value is stabilized, the determination of the abnormal state by the abnormality determination unit 224 can be canceled.
  • the processes of the contact determination unit 222 and the calibration unit 223 that are resumed after time t8 are resumed after a predetermined time (for example, 6 seconds) from time t8 when the determination of the abnormality determination unit 224 is canceled by the determination cancellation unit 226. May be.
  • the calibration unit 223 calibrates the reference level after a period in which the sensor value becomes unstable (a period in which a highly conductive liquid such as water flows on the contact sensor 11).
  • the grip threshold TH1 and the release threshold Hys1 are also changed following the calibration of the reference level. For this reason, the sensor value can be a value equal to or greater than the release threshold Hys1 after the change. Further, based on the stable sensor value, the contact determination unit 222 can accurately determine whether or not there is a grip.
  • the processing of the contact determination unit 222 that is restarted thereafter may be restarted when the gripping threshold value TH1 that has been changed following the reference level calibrated by the calibration unit 223 becomes 0 or more.
  • the contact determination unit 222 when the changed gripping threshold TH1 is lower than 0, it is possible to avoid the possibility that the contact determination unit 222 cannot normally determine whether or not there is gripping. More specifically, when the calibrated reference level is low (for example, 30) in the process of the calibration unit 223 restarted after time t8, the gripping threshold value TH1 changed following the calibrated reference level is 0. May be smaller. When the changed gripping threshold TH1 is smaller than 0, the contact determination unit 222 cannot normally determine whether or not there is gripping. For this reason, when the gripping threshold value TH1 is a value equal to or greater than 0, the contact determination unit 222 can normally determine whether or not there is a grip by restarting the processing of the contact determination unit 222.
  • the portable terminal 201 shown in FIG. 2 includes the two contact sensors 11, but may include the contact sensors 11 at arbitrary positions.
  • the sensor value used in the abnormality determination unit 224 and the determination cancellation unit 226 is a sensor value output from an arbitrary contact sensor 11.
  • the determination cancellation unit 226 may cancel the abnormality determination by the abnormality determination unit 224 when the sensor value is greater than the abnormality cancellation threshold value Hys2 for all of the contact sensors 11 provided in the mobile terminal 201.
  • the sensor value used for the determination of the abnormality determination unit 224 is a minimum value among the sensor values output from the plurality of contact sensors 11, the sensor value output from any of the plurality of contact sensors 11. It may be.
  • Embodiment 2 In the present embodiment, a configuration in which a predetermined time for determining an abnormal state and a predetermined time for canceling the determination of an abnormal state are not provided will be described.
  • the configuration of the portable terminal 201 in the present embodiment is the same as the configuration shown in FIG. 1 except for the processing of the abnormality determination unit 224 and the determination cancellation unit 226 that is different from the processing in the first embodiment.
  • the abnormality determination unit 224 acquires the sensor value acquired by the sensor control unit 221 and compares the sensor value with various threshold values. When the sensor value is equal to or less than the abnormality determination threshold TH2, the abnormality determination unit 224 determines that the mobile terminal 201 is in contact with a foreign substance such as water (abnormal state). Then, the abnormality determination unit 224 notifies the process stop unit 225 of information indicating that a part of the processes being performed in the mobile terminal 201 is stopped.
  • the determination cancellation unit 226 acquires the sensor value from the abnormality determination unit 224 and compares the sensor value with various threshold values while the abnormality determination unit 224 determines that the abnormality state has occurred. When the sensor value is equal to or higher than the abnormality cancellation threshold value Hys2, the determination cancellation unit 226 cancels the abnormality determination of the abnormality determination unit 224.
  • the abnormality determination unit 224 uses the abnormality determination threshold value TH2 that is less than the gripping threshold value TH1 used to determine that the housing is being held by the user, so that the mobile terminal 201 is in contact with foreign matter such as water. It is determined that there is an abnormal state. For this reason, the portable terminal 201 can distinguish and determine the state in which the contact sensor 11 is in contact with a foreign substance such as water and the state in which the contact sensor 11 is in contact with the user's hand.
  • the determination of the abnormal state is canceled using the abnormality cancellation threshold value Hys2. For this reason, even when foreign matter such as water is not completely removed from the contact sensor 11 (when foreign matter such as water adheres to the contact sensor 11), the reference value can be changed. And the user's hand can be accurately determined.
  • the abnormality determination threshold value TH2 and the abnormality cancellation threshold value Hys2 are changed according to the sensor value in the mobile terminal 201 in an abnormal state.
  • the abnormality determination unit 224 may change the abnormality determination threshold value TH2 and the abnormality cancellation threshold value Hys2.
  • the abnormality determination threshold value TH2 after the change may be a minimum value of the sensor value that slightly fluctuates in a predetermined time (for example, 5 minutes).
  • the changed abnormality cancellation threshold value Hys2 is larger than the maximum value of the sensor value that is slightly changed in a predetermined time (for example, 5 minutes), and less than the preset abnormality cancellation threshold value Hys2. It may be a value.
  • the abnormality determination unit 224 determines that the mobile terminal 201 is in an abnormal state
  • the abnormality determination threshold value TH2 and the abnormality that are set in advance based on the sensor value that varies slightly are detected.
  • the cancellation threshold value Hys2 is changed. For this reason, the response of the abnormality determination part 224 and the determination cancellation
  • a sensor (contact sensor) as described in Patent Document 1 may change the sensor value when the object is not in contact with the surrounding environment. For example, in the case of a capacitance sensor, a sensor value detected when an object is not in contact changes due to a temperature change around the sensor. If the threshold value for determining whether or not an object has touched at this time is unchanged, a malfunction of the sensor (for example, determining that the user is touching the touch sensor but not touching it) may occur.
  • FIG. 12 is a timing chart showing the relationship between sensor values and threshold values in a conventional information processing apparatus.
  • a reference level is set as a sensor value when the object is not in contact, and a value having a certain difference from the reference level is set.
  • the threshold was set. Thereby, the threshold value is changed so as to follow the change of the sensor value, and the malfunction that may occur due to the temperature change around the sensor is prevented.
  • an information processing apparatus including the above-described sensor has a problem that malfunction occurs due to disturbance such as RF noise. This will be specifically described below.
  • FIG. 13 is a timing chart showing the relationship between sensor values and threshold values in a conventional information processing apparatus. As shown in FIG. 13, for example, at time t1, the sensor value starts to increase (increase) due to the influence of noise, and at time t2, the reference level is increased so as to follow the change in sensor value. Let us consider a case where the sensor value decreases (decreases) due to the elimination of the influence of noise.
  • the change in sensor value due to the influence of noise is steeper than the change in sensor value due to the influence of temperature change. It is impossible to change following at a slow speed.
  • the sensor value falls below the threshold value, and a malfunction such as a contact determination is made if the user is touching the touch sensor even though it is not touching.
  • the sensor value falls below the threshold value at an unintended timing and malfunctions.
  • FIG. 5 is a block diagram illustrating an example of a main configuration of the mobile terminal 101.
  • the mobile terminal 101 is an information processing apparatus that includes the contact sensor 11, the grip determination unit 112, and the host control unit 13. In FIG. 5, some of the arrows are omitted for the sake of easy viewing.
  • the grip determination unit 112 includes a sensor control unit 121, a contact determination unit 122, a calibration unit 123, and a reference value change unit 124.
  • the grip determination unit 112 includes a storage unit (not shown).
  • the storage unit stores a reference level (reference value), a gripping threshold value, a release threshold value, and the like. Each unit of the grip determination unit 112 can read and write these stored values from the storage unit.
  • the reference level is for representing a sensor value when the casing is not gripped by the user.
  • the gripping threshold value is a threshold value (contact threshold value) for determining that the housing is gripped.
  • the release threshold value is a threshold value for determining that the hand is released from the grip (the hand is released). For example, the gripping threshold is set to a value smaller than the reference level.
  • the release threshold is set to a value smaller than the reference level and larger than the grip threshold.
  • the difference between the reference level and the grip threshold and the difference between the reference level and the release threshold are set in advance. That is, when the reference level is determined, the gripping threshold value and the release threshold value are automatically determined accordingly.
  • the reference level is a variable that is set to be changeable in order to provide a reference (gripping threshold value, release threshold value) for determining whether or not there is gripping.
  • the gripping threshold value and the release threshold value are different in order to determine the presence / absence of gripping as hysteresis, but they may be the same value.
  • the reference level, the grip threshold, and the release threshold are set for each contact sensor 11.
  • the grip determination unit 112 compares the sensor value with a threshold (grip threshold), and determines (recognizes) that the housing is gripped when the sensor value exceeds the threshold. In other words, the grip determination unit 112 calculates a difference between the reference level and the sensor value, and determines that the housing is gripped when the difference exceeds a predetermined value.
  • “when the sensor value exceeds the threshold value” can be rephrased as “when the sensor value exceeds the threshold value”. That is, “when the sensor value exceeds the threshold value” here means that the sensor value changes across the threshold value, and includes a case where the sensor value exceeds the threshold value and a case where the sensor value falls below the threshold value.
  • “when the sensor value exceeds the threshold” means that the sensor value exceeds the threshold.
  • the direction in which the sensor value changes as the casing is gripped is a negative direction
  • “when the sensor value exceeds the threshold” means that the sensor value is below the threshold.
  • Whether the direction in which the sensor value changes as the housing is gripped is set to the positive direction or the negative direction can be appropriately selected according to the design of the mobile terminal 101 including the contact sensor 11.
  • the portable terminal 101 in which the direction in which the sensor value changes as the casing is gripped is the negative direction will be described as an example.
  • the sensor control unit 121 operates the contact sensor 11 at a predetermined timing, and acquires a sensor value as an output of the contact sensor 11.
  • the sensor control unit 121 acquires a sensor value from the contact sensor 11 at regular intervals.
  • the sensor control unit 121 acquires sensor values from the respective contact sensors 11 at regular intervals.
  • the sensor control unit 121 outputs the sensor value to the contact determination unit 122 and the reference value change unit 124.
  • the contact determination unit 122 compares the sensor value with the gripping threshold value, and determines that the user's hand is in contact with the contact sensor 11 (via the housing) when the sensor value is smaller than the gripping threshold value. Moreover, the contact determination part 122 memorize
  • the contact determination unit 122 determines that the user's hand is holding the housing (the portable terminal 101) when the plurality of (both sides) contact sensors 11 are in a contact state. For example, when only the contact sensor 11 on one side is in a contact state and the contact sensor 11 on the other side is in a non-contact state, the contact determination unit 122 determines that the user's hand is not holding the casing. Also good. When there is only one contact sensor 11 provided in the mobile terminal 101, the contact determination unit 122 determines the presence or absence of gripping based on the contact state of the contact sensor 11 (gripping determination step). The contact determination unit 122 outputs determination result information regarding the presence / absence of gripping to the host control unit 13. In the following description, for the sake of simplicity, determination of the contact state of one contact sensor 11 will be described.
  • the calibration unit 123 acquires a sensor value from the sensor control unit 121 at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 123 calibrates the reference level at regular intervals. The calibration unit 123 also calibrates the reference level when the mobile terminal 101 is turned on and when the grip determination function is turned on. The calibration unit 123 acquires sensor values a plurality of times, and sets an average value (or intermediate value) of the plurality of sensor values as a reference level. When the reference level is changed, the gripping threshold value and the release threshold value are also changed based on the information that has changed the reference level value. Thereby, the reference level for expressing the sensor value at the time of non-contact can be calibrated according to environmental changes, such as temperature.
  • the reference value changing unit 124 executes the correction mode. During execution of the correction mode, the reference value changing unit 124 changes the reference level as necessary (reference value changing step), and outputs the changed reference level to the contact determination unit 122.
  • the reference value changing unit 124 stores an upper limit value (first value) set in order to limit the change of the reference level.
  • the reference value changing unit 124 changes the reference level so as to follow the change of the sensor value when the sensor value changes without exceeding the upper limit value during execution of the correction mode.
  • the reference value changing unit 124 sets the reference level without following the change of the sensor value. Specifically, when the sensor value changes beyond the upper limit value, the reference value changing unit 124 does not have to change the reference level. For example, when the sensor value changes beyond the upper limit value, the reference value changing unit 124 may set the reference level to the value of the upper limit value.
  • the reference level and the threshold value are increased so as to follow the sensor value. Therefore, when the sensor value drops due to suddenly no influence of RF noise, the sensor value exceeds the threshold value (below), and malfunctions such as determining contact when the user is not touching the touch sensor but touching it. Will do.
  • the reference value changing unit 124 sets the reference level without following the change of the sensor value when the sensor value changes exceeding the upper limit value during execution of the correction mode. Set. Specifically, for example, when the sensor value changes beyond the upper limit value, the reference level is set to a value that does not exceed the upper limit value. As a result, the increase in the reference level and the threshold is also limited.
  • the upper limit value is set to a value larger than the sensor value in a state where the casing is not gripped.
  • the upper limit value is set to a value smaller than the sensor value in a state where the casing is not gripped.
  • the reference value changing unit 124 of the mobile terminal 101 executes the constant correction mode.
  • FIG. 6 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of this embodiment.
  • the reference level has already reached the upper limit at time t1.
  • the reference value changing unit 124 does not change the reference level. Therefore, the threshold value is not changed.
  • the dotted line in the figure indicates the original reference level value when the reference level is changed by following the change of the sensor value without providing an upper limit value.
  • the sensor value changing unit 124 of the mobile terminal 101 of the present embodiment even if the sensor value suddenly decreases at time t3 due to, for example, no influence of noise, the sensor value can easily set the threshold value. None fall below. Thereby, malfunctions, such as a contact determination, when a user is touching although not touching the contact sensor, can be suppressed. At this time, when the sensor value falls below the upper limit value of the reference level due to a change in the environment such as temperature, the follow-up control may be performed below the upper limit value of the reference level.
  • the reference value changing unit 124 of the portable terminal 101 of the present embodiment is changed when the reference level is changed beyond a predetermined correction mode execution threshold. Shift to correction mode.
  • 7 and 8 are timing charts showing the relationship between the sensor value and the reference level in the portable terminal of the present embodiment.
  • a correction mode execution threshold value JLa is set in the mobile terminal 101 of the present embodiment.
  • the reference level is set to a value not more than the correction mode execution threshold value JLa. Specifically, the reference level is changed from Z2 (first reference value), which is a value before calibration, to ref (0) (second reference value), which is a sensor value when the mobile terminal 101 is held by the user. Be changed.
  • the reference value changing unit 124 executes the above-described correction mode after time t1.
  • the reference value changing unit 124 sets a value obtained by adding a predetermined value La to ref (0) as an upper limit value (first value).
  • the upper limit value is preferably not less than ref (0) that is a sensor value in a state where the mobile terminal 101 is held by the user and not more than Z2 that is a reference level value before calibration. Therefore, the upper limit value may not be set if not necessary, and may be other values than the reference level before calibration in some cases.
  • the reference value changing unit 124 sequentially acquires sensor values at a predetermined time interval Sa during execution of the correction mode. When the sensor value changes without exceeding the upper limit value, the reference value changing unit 124 changes the reference level so as to follow the change of the sensor value, and when the sensor value changes beyond the upper limit value, Is set to the upper limit.
  • the reference value changing unit 124 sets the reference level so as to follow the change of the sensor value. change.
  • the sensor value increases to a value equal to the upper limit value, and the reference level is set to a value equal to the upper limit value.
  • the reference value changing unit 124 sets the upper limit value as the reference level.
  • the reference value changing unit 124 ends the correction mode.
  • an upper limit value that is larger than the sensor value in a state where the housing is not gripped as described in the fourth embodiment may be set.
  • FIG. 9 is a flowchart for explaining the operation of the reference value changing unit 124.
  • the reference value changing unit 124 acquires sensor values at predetermined time intervals, and compares the sensor value with a reference level (Ba) at the time of sensor value acquisition (S12). In S12, when the sensor value is equal to or lower than the reference level (Ba) (NO in S12), it waits for the calibration to be performed again, and when the sensor value is larger than the reference level (Ba) (YES in S12). The reference level (Ba) is compared with the upper limit value (La) (S13).
  • the reference level is extremely lowered due to the calibration performed by the calibration unit 123 in a state where the user holds the mobile terminal 101 by the above operation of the reference value changing unit 124, the reference value is quickly changed.
  • the level can be raised to the upper limit value, and the gripping determination can be made normally.
  • the reference level and threshold value will not rise extremely due to the influence of noise. Therefore, even if the sensor value suddenly decreases due to the influence of noise or the like, the sensor value does not easily fall below the threshold value. Thereby, malfunctions, such as a contact determination, when a user is touching although not touching the contact sensor, can be suppressed.
  • the reference value changing unit 124 does not change the reference level when the sensor value falls below the reference level as shown in the period from time t2 to time t3 in FIG. That is, during execution of the correction mode, the reference value changing unit 124 preferably changes the reference level only in the increasing direction. Thereby, a reference level can be raised to an upper limit at an early stage.
  • the reference value changing unit 124 follows the reference level in accordance with the increase of the sensor value. You may raise by control.
  • correction mode execution threshold value JLa may be a value equal to the threshold value (gripping threshold value).
  • FIG. 10 is a timing chart showing the relationship between the sensor value and the reference level in the mobile terminal of the present embodiment.
  • the sensor value starts to decrease at time t0, and the sensor value decreases to the correction mode execution threshold value JLa or less.
  • the reference level is set to a value not more than the correction mode execution threshold value JLa. Specifically, the reference level is changed from Z2 (first reference value), which is a value before calibration, to ref (0) (second reference value), which is a sensor value when the mobile terminal 101 is held by the user. Be changed. At this time, the reference value changing unit 124 holds Z2 that is the value of the reference level before the portable terminal 101 is held by the user.
  • the reference value changing unit 124 executes the above-described correction mode after time t1.
  • the reference value changing unit 124 of the present embodiment sets La, which is an absolute value, as an upper limit value.
  • La is preferably ref (0) or more and Z2 or less.
  • the reference value changing unit 124 of the present embodiment may set Z2 that is the value of the reference level before the portable terminal 101 is gripped by the user as the upper limit value. Thereby, during execution of correction mode, a reference level can be raised in the range which does not exceed Z2 which is the value of the reference level before the portable terminal 101 is gripped by the user.
  • FIG. 11 is a flowchart for explaining the operation of the reference value changing unit 124.
  • the contact determination unit 122 detects the user's touch operation by comparing the sensor value with the threshold value (S21).
  • the reference value changing unit 124 compares the sensor value with the correction mode execution threshold value JLa (S22). If the sensor value is greater than or equal to JLa (NO in S22), the process waits for the timing when the touch operation is detected again. If the sensor value is smaller than JLa (YES in S22), the reference value changing unit 124 determines the reference level Z2 at that time. Is held (S23). Thereafter, calibration by the calibration unit 123 is performed (S24).
  • the reference value changing unit 124 acquires sensor values at predetermined time intervals, and compares the sensor value with a reference level (Ba) at the time of sensor value acquisition (S25).
  • S25 when the sensor value is equal to or lower than the reference level (Ba) (NO in S25), it waits for the calibration to be performed again, and when the sensor value is larger than the reference level (Ba) (YES in S25).
  • the reference level (Ba) is compared with the upper limit value (La) (S26).
  • S26 when the reference level (Ba) is equal to or higher than the upper limit value (La) (NO in S26), the correction mode is ended, and when the reference level (Ba) is smaller than the upper limit value (La), acquisition is performed.
  • the sensor value thus set is set as a reference level (S27). After S27, the process returns to S25 again, the acquired sensor value is compared with the reference level (Ba) (S25), the reference level (Ba) is compared with the upper limit value (La) (S26), and the reference level (Ba) S25 to S27 are repeated until becomes equal to or greater than the upper limit (La).
  • a sensor (contact sensor) as described in Patent Document 1 may change the sensor value when the object is not in contact with the surrounding environment. For example, in the case of a capacitance sensor, a sensor value detected when an object is not in contact changes due to a temperature change around the sensor. If the threshold value for determining whether or not an object has touched at this time is unchanged, a malfunction of the sensor (for example, determining that the user is touching the touch sensor but not touching it) may occur.
  • FIG. 19 is a timing chart showing a relationship between a sensor value and a threshold value in a conventional information processing apparatus, and (a) is a timing chart when the threshold value is changed according to a change in the sensor value due to a temperature change. , (B) is a timing chart when the sensor value changes due to the influence of noise.
  • a reference level is set as a sensor value when the object is not in contact, and a certain difference from the reference level is set.
  • a value having a threshold value was used as a threshold value. Thereby, the threshold value is changed so as to follow the change of the sensor value, and the malfunction that may occur due to the temperature change around the sensor is prevented.
  • an information processing apparatus including the above-described sensor has a problem that malfunction occurs due to disturbance such as RF noise. This will be specifically described below.
  • the sensor value changes due to the influence of RF noise or the impedance of the capacitance sensor fluctuating. For example, as shown in FIG. 19B, the sensor value starts to increase (increase) due to the influence of noise at time t0, and the reference level and threshold are changed so as to follow the change in the sensor value.
  • the sensor value decreases (decreases) because the influence of noise disappears at t1.
  • the change in sensor value due to the effect of noise is steeper than the change in sensor value due to the effect of temperature change, so the reference level and threshold value are followed with sufficient response speed against the decrease in sensor value after time t1. It cannot be changed.
  • the sensor value falls below the threshold value at time t2, and a malfunction occurs such as determining that the user is touching the touch sensor even though he is not touching it.
  • FIG. 14 is a block diagram illustrating an example of a main configuration of the mobile terminal 1.
  • the mobile terminal 1 is an information processing apparatus that includes a contact sensor 11, a grip determination unit 12, and a host control unit 13. In FIG. 14, some arrows are omitted in consideration of the visibility of the drawing.
  • the grip determination unit 12 includes a sensor control unit 21, a contact determination unit 22, a calibration unit 23, a change amount detection unit 24, and a reference value change unit 25.
  • the grip determination unit 12 includes a storage unit (not shown).
  • the storage unit stores a reference level (reference value), a gripping threshold value, a release threshold value, and the like. Each unit of the grip determination unit 12 can read and write these stored values from the storage unit.
  • the reference level is for representing a sensor value when the casing is not gripped by the user.
  • the gripping threshold value is a threshold value for determining that the housing is gripped.
  • the release threshold value is a threshold value for determining that the hand is released from the grip (the hand is released). For example, the gripping threshold is set to a value smaller than the reference level.
  • the release threshold is set to a value smaller than the reference level and larger than the grip threshold.
  • the difference between the reference level and the grip threshold and the difference between the reference level and the release threshold are set in advance. That is, when the reference level is determined, the gripping threshold value and the release threshold value are automatically determined accordingly.
  • the reference level is a variable that is set to be changeable in order to provide a reference (gripping threshold value, release threshold value) for determining whether or not there is gripping.
  • the gripping threshold value and the release threshold value are different in order to determine the presence / absence of gripping as hysteresis, but they may be the same value.
  • the reference level, the grip threshold, and the release threshold are set for each contact sensor 11.
  • the grip determination unit 12 compares the sensor value with a threshold value (grip threshold value), and determines that the housing is gripped when the sensor value exceeds the threshold value. In other words, the grip determination unit 12 calculates a difference between the reference level and the sensor value, and determines that the housing is gripped when the difference exceeds a predetermined value.
  • a threshold value grip threshold value
  • “when the sensor value exceeds the threshold value” can be rephrased as “when the sensor value exceeds the threshold value”. That is, “when the sensor value exceeds the threshold value” here means that the sensor value changes across the threshold value, and includes a case where the sensor value exceeds the threshold value and a case where the sensor value falls below the threshold value.
  • “when the sensor value exceeds the threshold” means that the sensor value exceeds the threshold.
  • the direction in which the sensor value changes as the casing is gripped is a negative direction
  • “when the sensor value exceeds the threshold” means that the sensor value is below the threshold.
  • Whether the direction in which the sensor value changes as the housing is gripped can be positive or negative can be appropriately selected according to the design of the mobile terminal 1 including the contact sensor 11.
  • the portable terminal 1 in which the direction in which the sensor value changes as the casing is gripped is the negative direction will be described as an example.
  • the sensor control unit 21 operates the contact sensor 11 at a predetermined timing, and acquires a sensor value as an output of the contact sensor 11.
  • the sensor control unit 21 acquires a sensor value from the contact sensor 11 at regular intervals. When there are a plurality of contact sensors 11, the sensor control unit 21 acquires sensor values from the respective contact sensors 11 at regular intervals.
  • the sensor control unit 21 outputs the sensor value to the contact determination unit 22, the change amount detection unit 24, and the reference value change unit 25.
  • the contact determination unit 22 compares the sensor value with the gripping threshold value, and determines that the user's hand is in contact with the contact sensor 11 (via the housing) when the sensor value becomes smaller than the gripping threshold value. Moreover, the contact determination part 22 memorize
  • the contact determination unit 22 determines that the user's hand is holding the casing (the portable terminal 1) when a plurality of (both sides) contact sensors 11 are in contact. For example, when only the contact sensor 11 on one side is in contact and the contact sensor 11 on the other side is in a non-contact state, the contact determination unit 22 determines that the user's hand is not gripping the housing. Also good. When there is only one contact sensor 11 provided in the mobile terminal 1, the contact determination unit 22 determines the presence or absence of gripping based on the contact state of the contact sensor 11 (gripping determination step). The contact determination unit 22 outputs determination result information regarding the presence or absence of gripping to the host control unit 13. In the following description, for the sake of simplicity, determination of the contact state of one contact sensor 11 will be described.
  • the calibration unit 23 acquires the sensor value from the sensor control unit 21 at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 23 calibrates the reference level at regular intervals. The calibration unit 23 also calibrates the reference level when the mobile terminal 1 is turned on and when the grip determination function is turned on. The calibration unit 23 acquires sensor values a plurality of times, and sets an average value (or intermediate value) of the plurality of sensor values as a reference level. When the reference level is changed, the gripping threshold value and the release threshold value are also changed based on the information that has changed the reference level value. Thereby, the reference level for expressing the sensor value at the time of non-contact can be calibrated according to environmental changes, such as temperature.
  • the change amount detection unit 24 detects the change amount (sensor value inclination) per unit time of the sensor value at an arbitrary time (change amount detection step). Further, the change amount per unit time of the sensor value is output to the reference value changing unit 25.
  • the change amount per unit time of the sensor value may be, for example, a difference between two sensor values that are continuously acquired by the sensor control unit 21 with a certain period of time.
  • the reference value changing unit 25 compares the change amount of the sensor value detected by the change amount detection unit 24 with a predetermined change amount threshold value (change threshold value), and according to the comparison result, the normal mode (first mode). 1 mode) and U mode (second mode).
  • the change amount of the sensor value by the change amount detection unit 24 is smaller than the change threshold value, the normal mode is executed, and when the change amount of the sensor value by the change amount detection unit 24 is equal to or greater than the change threshold value, U Run the mode. Then, the reference value changing unit 25 changes the reference level as necessary (reference value changing step), and outputs the changed reference level to the contact determination unit 22.
  • the change amount of the sensor value based on the temperature change is smaller than the change amount of the sensor value based on the influence of the RF noise. Therefore, a value suitable for classifying the change amount of the sensor value based on the temperature change and the change amount of the sensor value based on the influence of the RF noise is set in advance as the change threshold value. Thereby, changes in sensor values can be classified into those due to temperature changes and those due to the influence of RF noise, and each mode can be executed in accordance with changes in sensor values based on the respective factors. .
  • the reference value changing unit 25 changes the reference level following the change of the sensor value during execution of the normal mode. On the other hand, the reference value changing unit 25 does not change the reference level following the change of the sensor value even when the sensor value changes during execution of the U mode.
  • the reference value changing unit 25 can change the reference level and the threshold according to a change in the surrounding environment such as a temperature change by changing the reference level so as to follow the change in the sensor value during execution of the normal mode. it can. Thereby, even if it is a case where a change of an environment arises, generation
  • the amount of change in sensor value due to the influence of RF noise is larger than the amount of change in sensor value due to temperature change. Furthermore, the change in the sensor value due to the influence of the RF noise is steep compared to the change in the sensor value due to the temperature change. Therefore, when the reference level is changed according to the change of the sensor value due to the influence of the RF noise, as shown in FIG. 19 (b), when the RF noise suddenly disappears, the sensor regardless of the user's operation. The value exceeds a threshold value (gripping threshold value, release threshold value), and a malfunction occurs.
  • the reference value changing unit 25 executes the U mode when the change amount of the sensor value is equal to or larger than the change threshold, and the sensor value during the execution of the U mode. Even if is changed, the reference level is not changed following the change of the sensor value. That is, the reference value changing unit 25 does not change the reference level according to the influence of disturbance such as RF noise. Thereby, malfunction due to the influence of RF noise can be suppressed.
  • FIG. 15 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of this embodiment.
  • the change amount detection unit 24 has a sensor value (first sensor value) at time t1 (first time) and a sensor value (second sensor value) at time t2 (second time). From this difference, the change amount of the sensor value per time (unit time) from time t1 to time t2 is detected.
  • the reference value changing unit 25 shifts from the normal mode to the U mode at time t2.
  • the reference value changing unit 25 continues the normal mode and sets the sensor value at time t2 as the reference level. To do.
  • the reference value changing unit 25 does not change the reference level even when the sensor value changes during execution of the U mode. As a result, even when disturbance such as RF noise suddenly disappears and the sensor value decreases, the sensor value does not easily exceed the threshold value (gripping threshold value, release threshold value), so that malfunctions can be suppressed. it can.
  • the reference value changing unit 25 shifts from the U mode to the normal mode when the sensor value exceeds a U mode release threshold (mode threshold) that is a predetermined value at time t3 during execution of the U mode. .
  • mode threshold U mode release threshold
  • the value of the U mode release threshold can be set as appropriate.
  • the value of the U mode release threshold value may be the same value as the reference level during execution of the U mode.
  • the reference value changing unit 25 of the portable terminal 1 of the present embodiment responds to environmental changes such as temperature changes even during the execution of the U mode. Change the reference level.
  • FIG. 16 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of this embodiment.
  • the change amount detection unit 24 detects the change amount of the sensor value per unit time from time t1 to time t2 from the difference between the sensor value at time t1 and the sensor value at time t2. .
  • the change amount of the sensor value per unit time from time t1 to time t2 is equal to or greater than a predetermined change threshold
  • the reference value changing unit 25 shifts from the normal mode to the U mode at time t2.
  • the change amount detection unit 24 detects the change amount of the sensor value per unit time thereafter. When the change amount of the sensor value per unit time is equal to or greater than the change threshold value, the reference value changing unit 25 does not change the reference level.
  • the reference level is increased or decreased according to the change amount.
  • the absolute value of the sensor value increase amount S34 per unit time from time t3 to time t4 is smaller than the change threshold, the sensor value, the threshold, and the U mode threshold are increased by S34 at time t4.
  • the absolute value of the sensor value decrease amount S56 per unit time from time t5 to time t6 is smaller than the change threshold value, the sensor value, threshold value, and U mode threshold value are decreased by S56 at time t6.
  • the change of the sensor value is regarded as being caused by the change of the environment, and the sensor value and the reference The reference level and the threshold value can be changed so as to follow the change of the sensor value while maintaining the difference from the level.
  • the reference value changing unit 25 does not change the sensor value, threshold, and U mode threshold.
  • the mobile terminal of this embodiment even during the execution of the U mode, it is possible to appropriately set the reference level and the threshold corresponding to the environmental change, and to suppress malfunctions that may occur due to the environmental change around the sensor. can do.
  • the reference value changing unit 25 of the mobile terminal 1 has a unit per unit time after calibration is performed by the calibration unit 23 in a state in which the user is in contact with the contact sensor 11 (a state in which the mobile terminal 1 is held). Even when the change amount of the sensor value is equal to or larger than the change threshold value, the normal mode is executed without shifting to the U mode.
  • the calibration unit 23 acquires the sensor value at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 23 calibrates the reference level at regular intervals. Specifically, the calibration unit 23 acquires sensor values a plurality of times, and sets an average value of the plurality of sensor values as a reference level.
  • the sensor value is smaller than the threshold value. Therefore, when the calibration is performed by the calibration unit 23 while the user is holding the mobile terminal 1, the reference level is set to a value smaller than the threshold value at the time of calibration.
  • the threshold value is lower than normal, and the sensor value is unlikely to exceed the threshold value even when the user is holding the mobile terminal 1. I can't.
  • the reference value changing unit 25 of the mobile terminal 1 changes the sensor value per unit time in a predetermined period after the calibration is performed by the calibration unit 23 with the user holding the mobile terminal 1. Even if the amount is equal to or greater than the change threshold value, the reference level is raised to the value before calibration early by executing the normal mode without shifting to the U mode.
  • 17 and 18 are timing charts showing the relationship between the sensor value and the reference level in the mobile terminal of the present embodiment.
  • the sensor value starts to decrease from time t ⁇ b> 0 and decreases to a threshold value (not shown) or less.
  • the reference level decreases from the pre-calibration value Bc (first reference value) to the sensor value at the time of calibration.
  • the reference value changing unit 25 stores Bc, which is a reference level value before calibration. In the period from when the reference level rises to Bc again, the reference value changing unit 25 normally does not shift to the U mode even if the change amount of the sensor value per unit time is equal to or greater than the change threshold. Run the mode. Specifically, in the period from when the reference level increases to Bc again, even if the sensor value change amount per unit time from time t1 to time t2 is greater than or equal to the change threshold, the reference value changing unit 25 Executes the normal mode and changes the reference level to follow the change of the sensor value.
  • the reference value changing unit 25 executes the normal mode or the U mode as in the seventh and eighth embodiments.
  • the reference value changing unit 25 sets the reference level. Set to Bc.
  • a reference level is made into the value before calibration early. It can be returned, and a gripping determination can be made normally.
  • Bc is a held reference level before calibration, but may be set as an absolute value.
  • control blocks (particularly the gripping determination units 12, 112, and 212) of the mobile terminals 1, 101, and 201 may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, It may be realized by software using a Central Processing Unit.
  • the mobile terminals 1, 101, and 201 include a CPU that executes instructions of a program, which is software that implements each function, and a ROM (Read CPU) in which the program and various data are recorded so as to be readable by the computer (or CPU). Only Memory) or a storage device (these are referred to as “recording media”), RAM (Random Access Memory) for expanding the program, and the like. And the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it.
  • a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used.
  • the program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program.
  • a transmission medium such as a communication network or a broadcast wave
  • the present invention can also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.
  • the information processing apparatus includes a contact sensor (11) that is provided at a position where a user's hand holding the gripping unit touches and outputs a sensor value, and is a reference for determining the presence or absence of gripping
  • the reference value for representing the sensor value when gripped is set to be changeable (portable terminal 201), and changes as the sensor value is gripped.
  • the sensor value is a second threshold value (abnormality determination threshold value TH2) that is less than a first threshold value (gripping threshold value TH1) used for determining that the grip portion is gripped by the user.
  • the information processing apparatus includes an abnormality determination unit (224) that determines that there is an abnormal state in which a foreign substance such as water is in contact.
  • the abnormality determination unit uses the second threshold value that is less than the first threshold value used to determine that the grip unit is gripped by the user, and the information processing apparatus is in contact with foreign matter such as water. It is determined that there is an abnormal state. For this reason, the information processing apparatus can distinguish and determine the state in which the contact sensor is in contact with a foreign substance such as water and the state in which the contact sensor is in contact with the user's hand.
  • the information processing apparatus is the information processing apparatus according to aspect 1, wherein the abnormality determination unit determines that the sensor value is the first value at a predetermined time after the sensor value becomes equal to or less than the second threshold value. If the information processing device continues to be less than a third threshold (abnormality cancellation threshold Hys2) that is less than one threshold and greater than or equal to the second threshold, the information processing apparatus is in an abnormal state in which foreign matter such as water is in contact It may be determined that
  • the abnormality determination unit determines that the information processing apparatus is in an abnormal state in which a foreign substance such as water is in contact after a predetermined time has elapsed since the sensor value becomes equal to or less than the second threshold value. . For this reason, when an application that is used while the information processing apparatus is held by the user (for example, an application for viewing a moving image) is operating, the abnormality determination unit determines that the application is in an abnormal state while the application is operating. Can be avoided. Therefore, during a predetermined time after the sensor value becomes equal to or smaller than the second threshold value, the user can use the application even if the user is still holding the information processing apparatus.
  • An information processing apparatus is a part of the processes performed in the information processing apparatus when the abnormality determination unit determines that the information processing apparatus is in an abnormal state in aspect 1 or 2.
  • a process stop unit (225) for stopping the process may be further provided.
  • the process stop unit stops a part of the processes performed in the information processing apparatus. For this reason, it is effective in avoiding the malfunction of an application and reducing the power consumption of information processing apparatus.
  • the information processing apparatus is the information processing apparatus according to any one of the aspects 1 to 3, wherein the sensor value is less than the first threshold and greater than or equal to the second threshold (abnormality cancellation threshold Hys2). ) When the value is equal to or greater than the above value, a determination cancellation unit (226) that cancels the determination of an abnormal state by the abnormality determination unit may be further provided.
  • the determination of the abnormal state is canceled using the third threshold value less than the first threshold value. For this reason, even when foreign matter such as water is not completely removed from the contact sensor (when foreign matter such as water adheres to the contact sensor), the reference value can be changed. It is possible to accurately determine the state of contact with the hand.
  • the information processing apparatus is the information processing apparatus according to aspect 4, wherein the determination canceling unit is configured such that the sensor value is the third value for a predetermined time after the sensor value becomes equal to or greater than the third threshold value. When the value is continuously greater than or equal to the threshold value, the determination of an abnormal state by the abnormality determination unit may be canceled.
  • the determination of the abnormal state by the abnormality determination unit is canceled after a predetermined time after the sensor value becomes equal to or greater than the third threshold value. For this reason, after the sensor value is stabilized, the determination of the abnormal state by the abnormality determination unit can be canceled.
  • the information processing apparatus includes a plurality of the contact sensors, and the determination canceling unit has a value greater than the third threshold value for all the plurality of contact sensors.
  • the determination of an abnormal state by the abnormality determination unit may be canceled.
  • the control method of the information processing device is provided with a contact sensor that outputs a sensor value provided at a position where a user's hand holding the gripping unit touches, and a reference for determining whether or not the gripping is performed
  • a contact sensor that outputs a sensor value provided at a position where a user's hand holding the gripping unit touches
  • a reference for determining whether or not the gripping is performed
  • a direction that changes as the sensor value is gripped is changed.
  • the negative direction is defined, when the sensor value is equal to or less than a second threshold value that is less than the first threshold value used for determining that the grip portion is being gripped by the user, the information processing apparatus
  • An abnormality determination step for determining that there is an abnormal state in which a foreign substance such as water is in contact is included.
  • An information processing apparatus (portable terminal 101) according to aspect 7 of the present invention includes a contact sensor (11) that outputs a sensor value, provided at a position where a user's hand holding the holding unit comes into contact.
  • a reference value (reference level) for expressing the sensor value in a state where the grip portion is not gripped is set, and the sensor value exceeds a contact threshold value that is a value having a predetermined difference from the reference value.
  • the information processing apparatus recognizes that the grip unit is gripped, and includes a reference value change unit (124) that changes the reference value according to a change in the sensor value. Is the reference value so as to follow the change of the sensor value when the sensor value changes without exceeding the first value (upper limit value) set to limit the change of the reference value. As well as change When the sensor value changes by more than the first value, and executes a correction mode for setting the reference value without follow the change of the sensor value.
  • the reference value changing unit sets the reference value without following the change in the sensor value when the sensor value changes beyond the first value. Specifically, for example, when the sensor value changes beyond the upper limit value, the reference level is set to a value that does not exceed the upper limit value. As a result, the increase in the reference level and the threshold is also limited.
  • the first value is grasped by the grasping unit.
  • the direction in which the sensor value changes as it is gripped is defined as the positive direction
  • the first value is The configuration may be such that the sensor value is set to a value (negative direction) that is smaller than the sensor value in a state where it is not gripped.
  • the first reference value (reference level Z2) that is the reference value at a certain time exceeds a predetermined correction mode execution threshold (JLa).
  • the reference value changing unit executes the correction mode, and the first value is set to the second reference value.
  • the structure which is more than a value and below the said 1st reference value may be sufficient.
  • the reference value when the reference value changes beyond the correction mode execution threshold, the reference value can be returned to the value before the change with the first value as the upper limit value.
  • the reference value can be returned to the value before calibration, and the gripping determination can be performed normally.
  • the reference value and the threshold value do not increase excessively due to the influence of noise. For this reason, even when the influence of the RF noise suddenly disappears and the sensor value rapidly decreases, the sensor value does not easily exceed the threshold value, so that malfunction can be suppressed.
  • the reference value changing unit may change the first value when the sensor value changes beyond the first value.
  • the structure which sets a value as the said reference value may be sufficient.
  • the reference value when the sensor value changes beyond the first value, the reference value can be changed to the first value. Therefore, after the reference level is extremely lowered, the reference level can be returned to the value before calibration at an early stage, and the gripping determination can be performed normally.
  • the first value may be a value equal to the first reference value.
  • the first value may be a value obtained by adding a predetermined value to the second reference value.
  • the structure which is a value equal to the said contact threshold value may be sufficient as the said correction mode execution threshold value.
  • the control method of the information processing apparatus includes a contact sensor that outputs a sensor value provided at a position where a user's hand holding the gripping unit touches, and the gripping unit is gripped.
  • a reference value is set to represent the sensor value in a state where the sensor is not in contact, and the grip portion is gripped when the sensor value exceeds a contact threshold that is a value having a predetermined difference from the reference value.
  • a control method of an information processing apparatus that recognizes that the sensor value includes a reference value changing step that changes the reference value in accordance with a change in the sensor value.
  • the sensor value is the reference value
  • the sensor value is the reference value
  • the sensor value is If the changes beyond the first value, and executes a correction mode for setting the reference value without follow the change of the sensor value.
  • An information processing apparatus (portable terminal 1) according to an aspect 12 of the present invention is provided at a position where a user's hand holding the gripping unit comes into contact, and changes with an object approaching or contacting the gripping unit.
  • a contact sensor (11) that outputs a value, a reference value (reference level) corresponding to the sensor value when the object is not in contact, and a difference value between the output sensor value and
  • An information processing apparatus comprising: a grip determination unit (12) that determines presence / absence; and a reference value change unit (25) that changes the reference value in accordance with a change in the sensor value.
  • a change amount detection unit (24) for detecting a change amount per unit time of the sensor value is provided, and the reference value changing unit, when the change amount is smaller than a change threshold value that is a predetermined value, The value of the sensor value is And executes a first mode to be set as a value (normal mode), if the change amount is equal to or larger than the variation threshold, characterized in that it does not execute the first mode.
  • the reference value changing unit does not execute the first mode when the change amount of the sensor value per unit time is equal to or greater than the change threshold value, so even if the sensor value has changed, The reference value is not changed following the change in value.
  • the change amount of the sensor value based on the influence of disturbance such as RF noise is larger than the change amount of the sensor value based on environmental change such as temperature change.
  • the reference value may not be changed following the change of the sensor value.
  • the sensor value does not easily exceed the contact threshold value, so that malfunction due to the influence of disturbance can be suppressed.
  • the sensor value changes as the object approaches or touches the grip portion
  • the change amount detection unit is set to the first time.
  • the reference value changing unit sets the value of the second sensor value as the reference value in the first mode when the amount of change is smaller than the change threshold. It may be.
  • the reference value can be appropriately set in response to the change in the sensor value based on the change in the environment, and the malfunction that may occur due to the change in the environment around the sensor can be suppressed.
  • the reference value changing unit sets the value of the sensor value as the reference value when the amount of change is equal to or greater than the change threshold.
  • the second mode (U mode) is executed, and the reference value changing unit is configured to set a mode threshold value (U mode) in which the sensor value output from the contact sensor during execution of the second mode is a predetermined value. If the release threshold is exceeded, the first mode may be executed instead of the second mode.
  • the first mode and the second mode can be appropriately switched according to a predetermined mode threshold value.
  • the mode threshold value may be a value equal to the reference value during execution of the second mode.
  • the reference value changing unit may be configured to increase or decrease the reference value and the mode threshold according to the change amount.
  • the reference value changing unit is configured to detect the first reference value, which is the reference value at a certain time, from the sensor in a state where the gripping part is gripped. After the change to the value, during the period until the sensor value exceeds the first reference value, even if the change amount is not less than the change threshold value, the first mode is executed without shifting to the second mode. It may be a configuration.
  • the reference value is set to the value before calibration at an early stage.
  • the gripping determination can be made normally.
  • the control method of the information processing apparatus is provided at a position where the user's hand that holds the gripping unit touches, and sensor values that change as the object approaches or touches the gripping unit.
  • a method for controlling an information processing apparatus including an output contact sensor, based on a difference value between a reference value corresponding to the sensor value when the object is non-contact and the output sensor value
  • a gripping determination step for determining the presence or absence of gripping, a reference value changing step for changing the reference value as the sensor value changes, and a change amount for detecting a change amount per unit time of the sensor value at an arbitrary time
  • a detection step and when the change amount is smaller than a change threshold value that is a predetermined value in the reference value changing step, the sensor value is used as the reference value.
  • it executes a first mode in which the constant, if the change amount is equal to or larger than the variation threshold, characterized in that it does not execute the first mode.
  • the mobile terminal according to each aspect of the present invention may be realized by a computer.
  • the mobile terminal is realized by the computer by causing the computer to operate as each unit included in the mobile terminal.
  • a control program and a computer-readable recording medium on which the control program is recorded also fall within the scope of the present invention.
  • the present invention can be used for an information processing device (such as a smartphone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle) provided with a contact sensor.
  • an information processing device such as a smartphone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle
  • a contact sensor such as a smartphone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle

Abstract

 The present invention provides an information processing device with which it is possible to discriminate between a state in which a touch sensor and foreign matter such as water are in contact and a state in which the touch sensor and a user's hand are in contact. A portable terminal (201), which is the information processing device, is provided with an abnormality determination unit (224) for determining, when, where the direction in which a sensor value changes along with grasp is defined as a negative direction, the sensor value is less than or equal to a second threshold (TH2) which is less than a first threshold (TH1) used to determine that a grip part is grasped by a user, that the portable terminal (201) is in an abnormal state of being in contact with foreign matter such as water.

Description

情報処理装置、及び情報処理装置の制御方法Information processing apparatus and control method of information processing apparatus
 本発明は、接触センサの検出結果に応じて、所定の処理を実行することが可能な情報処理装置および情報処理装置を制御する制御方法に関する。 The present invention relates to an information processing apparatus capable of executing a predetermined process according to a detection result of a contact sensor and a control method for controlling the information processing apparatus.
 従来、スマートフォンなどの情報処理装置に備えられたセンサによる検出結果に応じて、情報処理装置にて実行する処理を決定する技術がある。例えば、特許文献1には、情報処理装置である携帯端末の両端に静電容量センサの電極を配置し、両方の電極に触れたか否か、および触れた指の本数により、携帯端末にて実行する処理を決定する技術が開示されている。 Conventionally, there is a technique for determining a process to be executed by an information processing device in accordance with a detection result by a sensor provided in the information processing device such as a smartphone. For example, in Patent Document 1, the electrodes of a capacitance sensor are arranged at both ends of a mobile terminal that is an information processing apparatus, and the process is executed on the mobile terminal depending on whether or not both electrodes are touched and the number of touched fingers. A technique for determining the processing to be performed is disclosed.
日本国公開特許公報「特開2011-119959号公報(2011年6月16日公開)」Japanese Patent Publication “Japanese Unexamined Patent Publication No. 2011-119959 (published on June 16, 2011)”
 しかしながら、特許文献1では、接触センサと誘電率の高い物体とが接触している場合、誘電率の高い物体がユーザの指として判定される虞があり、携帯端末の誤動作を招きかねない。例えば、接触センサを備える携帯端末が水没した場合、携帯端末はユーザの手と接触している状態にあると判定されてしまう。また例えば、接触センサに水滴が付着している場合、携帯端末はユーザの手と接触している状態にあると判定されてしまう。その結果、接触センサの誤動作が発生してしまうという問題がある。 However, in Patent Document 1, when a contact sensor and an object with a high dielectric constant are in contact, the object with a high dielectric constant may be determined as a user's finger, which may cause a malfunction of the mobile terminal. For example, when a mobile terminal including a contact sensor is submerged, it is determined that the mobile terminal is in contact with the user's hand. Further, for example, when water droplets are attached to the contact sensor, it is determined that the mobile terminal is in contact with the user's hand. As a result, there is a problem that malfunction of the contact sensor occurs.
 本発明は、上記の課題を解決するためになされたものであり、その目的は、接触センサと水等の異物(誘電率の高い物体)とが接触している状態と、接触センサとユーザの手とが接触している状態とを区別できる情報処理装置を提供することにある。 The present invention has been made to solve the above-described problems, and has as its purpose the state in which the contact sensor is in contact with a foreign substance (an object having a high dielectric constant) such as water, the contact sensor, and the user. An object of the present invention is to provide an information processing apparatus capable of distinguishing a state in which a hand is in contact.
 上記の課題を解決するために、本発明の一態様に係る情報処理装置は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、把持の有無を判定するための基準を与えるため、把持されているときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、上記センサ値が、上記把持部がユーザに把持されていることの判定に用いられる第1閾値未満である第2閾値以下の値となる場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定する異常判定部を備えることを特徴とする。 In order to solve the above-described problem, an information processing apparatus according to one embodiment of the present invention includes a contact sensor that is provided at a position where a user's hand holding a gripping unit touches and outputs a sensor value. An information processing apparatus in which a reference value for representing the sensor value when gripped is set to be changeable in order to provide a reference for determining the sensor value, and changes as the sensor value is gripped When the direction to perform is defined as a negative direction, the information is obtained when the sensor value is equal to or less than a second threshold value that is less than the first threshold value used for determining that the grip portion is gripped by the user. The processing apparatus includes an abnormality determination unit that determines that the processing apparatus is in an abnormal state in which foreign matter such as water is in contact.
 また、本発明の一態様に係る制御方法は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、把持の有無を判定するための基準を与えるため、把持されているときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置の制御方法であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、上記センサ値が、上記把持部がユーザに把持されていることの判定に用いられる第1閾値未満である第2閾値以下の値となる場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定する異常判定ステップを含む。 In addition, a control method according to an aspect of the present invention includes a contact sensor that outputs a sensor value provided at a position where a user's hand holding a gripping unit touches, and provides a reference for determining the presence or absence of the gripping. Therefore, a control method for an information processing apparatus in which a reference value for representing the sensor value when gripped is set to be changeable, and a direction that changes as the sensor value is gripped is negative. When the sensor value is a value equal to or smaller than a second threshold value that is less than the first threshold value used for determining that the grip portion is gripped by the user, the information processing apparatus An abnormality determination step for determining that the foreign object is in an abnormal state in contact.
 本発明の一態様によれば、情報処理装置は、接触センサと誘電率の高い物体とが接触している状態と、接触センサとユーザの手とが接触している状態とを区別して判定できる。 According to one embodiment of the present invention, the information processing apparatus can distinguish and determine a state in which a contact sensor and an object having a high dielectric constant are in contact with a state in which the contact sensor is in contact with a user's hand. .
本発明の実施の一形態に係る携帯端末(情報処理装置)の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the portable terminal (information processing apparatus) which concerns on one Embodiment of this invention. 本発明の実施形態1に係る携帯端末(情報処理装置)の外観を示す概略図である。It is the schematic which shows the external appearance of the portable terminal (information processing apparatus) which concerns on Embodiment 1 of this invention. 従来の携帯端末(情報処理装置)に係る動作の流れを示すタイミングチャートである。It is a timing chart which shows the flow of operation concerning the conventional portable terminal (information processor). 上記携帯端末(情報処理装置)の実施形態に係る動作の流れを示すタイミングチャートである。It is a timing chart which shows the flow of operation concerning the embodiment of the above-mentioned portable terminal (information processor). 本発明の実施形態4に係る携帯端末の要部構成の一例を示すブロック図である。It is a block diagram which shows an example of the principal part structure of the portable terminal which concerns on Embodiment 4 of this invention. 本発明の実施形態4に係る携帯端末(情報処理装置)におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 4 of this invention, a reference level, and a threshold value. 本発明の実施形態5に係る携帯端末(情報処理装置)におけるセンサ値と基準レベルとの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value and reference | standard level in the portable terminal (information processing apparatus) which concerns on Embodiment 5 of this invention. 本発明の実施形態5に係る携帯端末(情報処理装置)におけるセンサ値と基準レベルとの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value and reference | standard level in the portable terminal (information processing apparatus) which concerns on Embodiment 5 of this invention. 本発明の実施形態5に係る携帯端末(情報処理装置)の基準値変更部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the reference value change part of the portable terminal (information processing apparatus) which concerns on Embodiment 5 of this invention. 本発明の実施形態6に係る携帯端末(情報処理装置)におけるセンサ値と基準レベルとの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value and reference | standard level in the portable terminal (information processing apparatus) which concerns on Embodiment 6 of this invention. 発明の実施形態6に係る携帯端末(情報処理装置)の基準値変更部の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the reference value change part of the portable terminal (information processing apparatus) which concerns on Embodiment 6 of invention. 従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value and threshold value in the conventional information processing apparatus. 従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value and threshold value in the conventional information processing apparatus. 本発明の実施形態7に係る携帯端末の要部構成の一例を示すブロック図である。It is a block diagram which shows an example of a principal part structure of the portable terminal which concerns on Embodiment 7 of this invention. 本発明の実施形態7に係る携帯端末(情報処理装置)におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 7 of this invention, a reference level, and a threshold value. 本発明の実施形態8に係る携帯端末(情報処理装置)におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 8 of this invention, a reference level, and a threshold value. 本発明の実施形態9に係る携帯端末(情報処理装置)におけるセンサ値及び基準レベルの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 9 of this invention, and a reference level. 本発明の実施形態9に係る携帯端末(情報処理装置)におけるセンサ値及び基準レベルの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the sensor value in the portable terminal (information processing apparatus) which concerns on Embodiment 9 of this invention, and a reference level. 従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートであり、(a)は、温度変化によるセンサ値の変化に応じて閾値を変化させたときのタイミングチャートであり、(b)は、ノイズの影響を受けてセンサ値が変化したときのタイミングチャートである。It is a timing chart which shows the relationship between the sensor value and threshold value in the conventional information processing apparatus, (a) is a timing chart when changing a threshold value according to the change of the sensor value by a temperature change, (b) These are timing charts when the sensor value changes due to the influence of noise.
 本実施形態に係る携帯端末201に備えられた接触センサ11は、温度などの環境の変化によって、物体が非接触のときのセンサ値が変化する場合がある。そのため、非接触状態におけるセンサ値を表すための基準レベルが、定期的に較正される。物体が接触したか否かを判定するための閾値は、基準レベルの増減に合わせて変更される。 The contact sensor 11 provided in the mobile terminal 201 according to the present embodiment may change the sensor value when the object is not in contact with the environment such as temperature. Therefore, the reference level for representing the sensor value in the non-contact state is periodically calibrated. The threshold for determining whether or not an object has touched is changed according to the increase or decrease of the reference level.
 以下、本発明の実施形態について、詳細に説明する。以下の特定の項目(実施形態)における構成について、それが他の項目で説明されている構成と同じである場合は、説明を省略する場合がある。また、説明の便宜上、各項目に示した部材と同一の機能を有する部材については、同一の符号を付し、適宜その説明を省略する。 Hereinafter, embodiments of the present invention will be described in detail. The configuration of the following specific items (embodiments) may be omitted if it is the same as the configuration described in other items. For convenience of explanation, members having the same functions as those shown in each item are given the same reference numerals, and the explanation thereof is omitted as appropriate.
 また、以下の説明では情報処理装置の一例として携帯端末を例に、また把持部として携帯端末の筺体を例にして説明するが、これに限定されるものではなく、人が把持する部分を有する機器であれば本発明を適用できる。情報処理装置としては、例えば、スマートフォン、携帯電話、タブレット端末、リモコン、ドライヤー、掃除機、その他ハンドルで操作する情報処理装置等が含まれる。 In the following description, a portable terminal is taken as an example of an information processing apparatus, and a case of a portable terminal is taken as an example of a gripping portion. However, the present invention is not limited to this, and has a portion that a person grips. The present invention can be applied to any device. Examples of the information processing device include a smartphone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle.
 〔実施形態1〕
 <携帯端末201の構成>
 図2は、本実施形態に係る携帯端末201(情報処理装置)の外観を示す概略図である。携帯端末201は、筐体の少なくとも1つの面に表示部10(タッチパネル等)を備えている。なお、表示部10を備える面を携帯端末201の「正面」と呼称する。また、携帯端末201は、携帯端末201の筐体を把持したユーザの手が携帯端末201に接触する位置に、接触センサ11を備えている。例えば、図2に示すように、携帯端末201は、上記正面の長辺と隣接する2つの面(当該2つの面を携帯端末201の「側面」と呼称する)に、それぞれ1つずつの接触センサ11を備えている。なお、接触センサ11の数、および、接触センサ11が配置される範囲は、図2に示すような例に限定されず、例えば、接触センサ11が上記各側面に複数配置されてもよいし、接触センサ11が側面全体に配置されてもよい。接触センサ11は、筐体の外に露出してもよいし、筐体の中に配置されていてもよい。
Embodiment 1
<Configuration of mobile terminal 201>
FIG. 2 is a schematic diagram illustrating an appearance of the mobile terminal 201 (information processing apparatus) according to the present embodiment. The mobile terminal 201 includes a display unit 10 (such as a touch panel) on at least one surface of the housing. Note that the surface provided with the display unit 10 is referred to as the “front” of the mobile terminal 201. In addition, the mobile terminal 201 includes the contact sensor 11 at a position where the user's hand holding the casing of the mobile terminal 201 comes into contact with the mobile terminal 201. For example, as shown in FIG. 2, the mobile terminal 201 is in contact with two surfaces adjacent to the front long side (the two surfaces are referred to as “side surfaces” of the mobile terminal 201). A sensor 11 is provided. Note that the number of contact sensors 11 and the range in which the contact sensors 11 are arranged are not limited to the example shown in FIG. 2. For example, a plurality of contact sensors 11 may be arranged on each side surface. The contact sensor 11 may be disposed on the entire side surface. The contact sensor 11 may be exposed to the outside of the casing or may be disposed in the casing.
 図1は、携帯端末201の要部構成の一例を示すブロック図である。携帯端末201は、接触センサ11、把持判定部212、ホスト制御部13、およびタイマ214を備える情報処理装置である。なお、図1では図面の見やすさを考慮し、一部矢印を省略している。 FIG. 1 is a block diagram illustrating an example of a main configuration of the mobile terminal 201. The portable terminal 201 is an information processing apparatus that includes the contact sensor 11, the grip determination unit 212, the host control unit 13, and a timer 214. In FIG. 1, some arrows are omitted in consideration of the visibility of the drawing.
 接触センサ11は、ユーザの手などの物体の接近又は接触を検出するセンサである。本実施形態では、接触センサ11は静電容量センサであるが、この例に限定されるものではない。接触センサ11として、圧力センサ、光センサなどを使用することもできる。なお、静電容量センサは、静電容量センサとユーザの手との間に筐体が介在しても、手の近接(筐体と手との接触)を検出することができる。接触センサ11は、把持判定部12からの指示に基づいて、物体の接触の有無に応じたセンサ値を把持判定部12に出力する。具体的には接触センサ11は、筐体の側面に配置された電極の静電容量の変化に応じたセンサ値を、把持判定部12に出力する。例えば、接触センサ11の出力信号の電位をセンサ値とする場合、筐体が把持されたときに電位が下降するか上昇するかは接触センサの種類によって異なる。ここでは、説明を統一するため、筐体が把持されるに伴ってセンサ値が変化する方向を、負方向と定義する。すなわち、筐体が把持されたときのセンサ値は、把持されていないときのセンサ値より小さい。 The contact sensor 11 is a sensor that detects the approach or contact of an object such as a user's hand. In the present embodiment, the contact sensor 11 is a capacitance sensor, but is not limited to this example. As the contact sensor 11, a pressure sensor, an optical sensor, or the like can be used. Note that the capacitance sensor can detect the proximity of the hand (contact between the housing and the hand) even if the housing is interposed between the capacitance sensor and the user's hand. The contact sensor 11 outputs a sensor value corresponding to the presence or absence of an object contact to the grip determination unit 12 based on an instruction from the grip determination unit 12. Specifically, the contact sensor 11 outputs a sensor value corresponding to a change in electrostatic capacitance of an electrode disposed on the side surface of the housing to the grip determination unit 12. For example, when the potential of the output signal of the contact sensor 11 is used as the sensor value, whether the potential decreases or increases when the housing is gripped depends on the type of the contact sensor. Here, in order to unify the description, the direction in which the sensor value changes as the casing is gripped is defined as the negative direction. That is, the sensor value when the casing is gripped is smaller than the sensor value when the casing is not gripped.
 ホスト制御部13は、携帯端末201のホスト側の制御を主に担う。ホスト制御部13は、例えば表示部10の制御を行う。ホスト制御部13は、把持判定部12における把持の有無の判定結果に応じて、表示部10の表示を変更する。 The host control unit 13 is mainly responsible for control on the host side of the portable terminal 201. For example, the host control unit 13 controls the display unit 10. The host control unit 13 changes the display of the display unit 10 according to the determination result of the presence / absence of gripping in the gripping determination unit 12.
 タイマ214は、把持判定部212の通知に応じて所定の時間を計測し、所定の時間経過後に把持判定部212に通知する。所定の時間は、複数の時間が予め設定されている。また、複数の接触センサ11が携帯端末201に備えられている場合、接触センサ11毎に所定の時間を設定する構成としてよい。 The timer 214 measures a predetermined time according to the notification of the grip determination unit 212 and notifies the grip determination unit 212 after the predetermined time has elapsed. As the predetermined time, a plurality of times are set in advance. Further, when the mobile terminal 201 includes a plurality of contact sensors 11, a predetermined time may be set for each contact sensor 11.
 (把持判定部212の構成)
 把持判定部212は、センサ制御部221、接触判定部222、較正部223、異常判定部224、処理停止部225、および判定解除部226を備える。また、把持判定部212は、記憶部(図示せず)を備える。記憶部は、基準レベル(基準値)、把持閾値、および解放閾値などを記憶する。把持判定部212の各部は、記憶部からこれらの記憶された値を読み書きすることができる。
(Configuration of gripping determination unit 212)
The grip determination unit 212 includes a sensor control unit 221, a contact determination unit 222, a calibration unit 223, an abnormality determination unit 224, a process stop unit 225, and a determination release unit 226. The grip determination unit 212 includes a storage unit (not shown). The storage unit stores a reference level (reference value), a gripping threshold value, a release threshold value, and the like. Each unit of the grip determination unit 212 can read and write these stored values from the storage unit.
 基準レベルは、筐体がユーザに把持されていないときのセンサ値を表すためのものである。把持閾値は、筐体が把持されていることを判定するための閾値である。解放閾値は、把持から解放された(手が離れた)ことを判定するための閾値である。例えば、把持閾値は、基準レベルより小さい値に設定される。解放閾値は、基準レベルより小さく、かつ把持閾値より大きい値に設定される。基準レベルと把持閾値との差および基準レベルと解放閾値との差は、あらかじめ設定されている。すなわち基準レベルが決まれば、それに応じて把持閾値および解放閾値は自ずと決まる。このように、基準レベルは、把持の有無を判定するための基準(把持閾値、解放閾値)を与えるために変更可能に設定される変数である。ここでは、把持の有無をヒステリシスに判定するために把持閾値と解放閾値とは異なるが、同じ値としてもよい。また、基準レベル、把持閾値、および解放閾値は、接触センサ11ごとにそれぞれ設定される。 The reference level is for representing a sensor value when the casing is not gripped by the user. The gripping threshold value is a threshold value for determining that the housing is gripped. The release threshold value is a threshold value for determining that the hand is released from the grip (the hand is released). For example, the gripping threshold is set to a value smaller than the reference level. The release threshold is set to a value smaller than the reference level and larger than the grip threshold. The difference between the reference level and the grip threshold and the difference between the reference level and the release threshold are set in advance. That is, when the reference level is determined, the gripping threshold value and the release threshold value are automatically determined accordingly. As described above, the reference level is a variable that is set to be changeable in order to provide a reference (gripping threshold value, release threshold value) for determining whether or not there is gripping. Here, the gripping threshold value and the release threshold value are different in order to determine the presence / absence of gripping as hysteresis, but they may be the same value. In addition, the reference level, the grip threshold, and the release threshold are set for each contact sensor 11.
 センサ制御部221は、所定のタイミングで接触センサ11を動作させ、接触センサ11の出力としてセンサ値を取得する。センサ制御部221は、一定期間ごとに接触センサ11からセンサ値を取得する。接触センサ11が複数ある場合、センサ制御部221は、一定期間ごとにそれぞれの接触センサ11からセンサ値を取得する。センサ制御部221は、センサ値を接触判定部222に出力する。 The sensor control unit 221 operates the contact sensor 11 at a predetermined timing, and acquires a sensor value as an output of the contact sensor 11. The sensor control unit 221 acquires a sensor value from the contact sensor 11 at regular intervals. When there are a plurality of contact sensors 11, the sensor control unit 221 acquires sensor values from the respective contact sensors 11 at regular intervals. The sensor control unit 221 outputs the sensor value to the contact determination unit 222.
 接触判定部222は、センサ値と把持閾値とを比較し、センサ値が把持閾値より小さくなった場合、ユーザの手が(筐体を介して)接触センサ11に接触していると判定する。また、接触判定部222は、現時点で接触センサ11が接触状態であることを記憶する。さらに、接触判定部222は、センサ値と解放閾値とを比較し、センサ値が解放閾値より大きくなった場合、ユーザの手が接触センサ11から離れた(把持から解放された)と判定する。また、接触判定部222は、現時点で接触センサ11が非接触状態であることを記憶する。センサ値が把持閾値以上かつ解放閾値以下の場合、接触判定部222は、直前の状態(接触状態または非接触状態)が継続していると判定し、その状態を記憶し続ける。 The contact determination unit 222 compares the sensor value with the gripping threshold value, and determines that the user's hand is in contact with the contact sensor 11 (via the housing) when the sensor value becomes smaller than the gripping threshold value. Moreover, the contact determination part 222 memorize | stores that the contact sensor 11 is a contact state at this time. Further, the contact determination unit 222 compares the sensor value with the release threshold value, and determines that the user's hand is separated from the contact sensor 11 (released from gripping) when the sensor value is greater than the release threshold value. Moreover, the contact determination part 222 memorize | stores that the contact sensor 11 is a non-contact state at this time. If the sensor value is greater than or equal to the grip threshold and less than or equal to the release threshold, the contact determination unit 222 determines that the previous state (contact state or non-contact state) is continuing, and continues to store that state.
 接触判定部222は、複数の(両側の)接触センサ11が接触状態である場合、ユーザの手が筐体(携帯端末201)を把持していると判定する。例えば、片方の側面の接触センサ11だけが接触状態で、他方の側面の接触センサ11が非接触状態の場合、接触判定部222は、ユーザの手が筐体を把持していないと判定してもよい。なお、携帯端末201に設けられた接触センサ11が1つだけの場合、接触判定部222は、その接触センサ11の接触状態に基づいて把持の有無を判定する。接触判定部222は、把持の有無の判定結果情報を、ホスト制御部13に出力する。なお、以下の説明では簡単のため、1つの接触センサ11の接触状態の判定について説明する。 The contact determination unit 222 determines that the user's hand is holding the casing (portable terminal 201) when the plurality of (both sides) contact sensors 11 are in contact. For example, when only the contact sensor 11 on one side is in a contact state and the contact sensor 11 on the other side is in a non-contact state, the contact determination unit 222 determines that the user's hand is not holding the housing. Also good. When there is only one contact sensor 11 provided in the mobile terminal 201, the contact determination unit 222 determines whether or not there is a grip based on the contact state of the contact sensor 11. The contact determination unit 222 outputs determination result information regarding the presence / absence of gripping to the host control unit 13. In the following description, for the sake of simplicity, determination of the contact state of one contact sensor 11 will be described.
 較正部223は、所定のタイミングでセンサ制御部221からセンサ値を取得し、センサ値に基づいて基準レベルを較正する。例えば較正部223は、一定期間ごとに基準レベルの較正を行う。また、較正部223は、携帯端末201の電源がオンになった時、および、把持判定の機能がオンに設定された時などにも基準レベルの較正を行う。較正部223は、センサ値を複数回取得し、複数のセンサ値の平均値(または中間値)を基準レベルとして設定する。基準レベルが変更されると、基準レベルを変更した情報に基づいて、把持閾値および解放閾値も変更される。これにより、温度などの環境変化に応じて、非接触時のセンサ値を表すための基準レベルを較正することができる。 The calibration unit 223 acquires the sensor value from the sensor control unit 221 at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 223 calibrates the reference level at regular intervals. In addition, the calibration unit 223 calibrates the reference level when the power of the mobile terminal 201 is turned on and when the grip determination function is turned on. The calibration unit 223 acquires sensor values a plurality of times, and sets an average value (or intermediate value) of the plurality of sensor values as a reference level. When the reference level is changed, the gripping threshold value and the release threshold value are also changed based on the information for changing the reference level. Thereby, the reference level for expressing the sensor value at the time of non-contact can be calibrated according to environmental changes, such as temperature.
 また、把持判定部212が備える記憶部(図示せず)は、異常判定閾値TH2(第2閾値)、および異常解除閾値Hys2(第3閾値)などを記憶していてもよい。異常判定閾値TH2は、携帯端末201と水等の異物(誘電率の高い物体)とが接触している状態(異常状態)にあることを判定するための閾値である。異常解除閾値Hys2は、異常状態の判定を解除するための閾値である。例えば、異常判定閾値TH2は、把持閾値TH1より小さい値に設定される。異常解除閾値Hys2は、把持閾値TH1より小さく、かつ異常判定閾値TH2より大きい値に設定される。ここでは、異常判定閾値TH2と異常解除閾値Hys2とは異なるが、同じ値としてもよい。また、携帯端末201が水等の異物と接触している状態(異常状態)とは、例えば、水道水または海水等の液体中に沈んでいる状態、接触センサ11に水道水等の異物(水滴)が付着している状態、および、2つの接触センサ11がお互いに導電性のある物体を介して接続されることにより導通している状態である。 Further, a storage unit (not shown) included in the grip determination unit 212 may store an abnormality determination threshold value TH2 (second threshold value), an abnormality cancellation threshold value Hys2 (third threshold value), and the like. The abnormality determination threshold TH2 is a threshold for determining that the portable terminal 201 is in contact with a foreign substance (an object having a high dielectric constant) such as water (an abnormal state). The abnormality cancellation threshold value Hys2 is a threshold value for canceling the determination of the abnormal state. For example, the abnormality determination threshold TH2 is set to a value smaller than the grip threshold TH1. The abnormality cancellation threshold value Hys2 is set to a value smaller than the gripping threshold value TH1 and larger than the abnormality determination threshold value TH2. Here, the abnormality determination threshold value TH2 and the abnormality cancellation threshold value Hys2 are different, but may be the same value. The state in which the portable terminal 201 is in contact with foreign matter such as water (abnormal state) is, for example, a state where the portable terminal 201 is submerged in a liquid such as tap water or seawater, or a foreign matter such as tap water (water droplets). ) Are attached, and the two contact sensors 11 are connected to each other through a conductive object.
 ここで、携帯端末201の防水加工について説明する。携帯端末201全体には防水加工が施されているが、接触センサ11には防水加工が施されていない構成である(例えば、接触センサ11上の一部にラインの形状として防水加工を施さない構成)。このため、接触センサ11は、水等の液体と直接接触する場合がある。それゆえ、携帯端末201が水等の液体中に水没している状態が早期に検知されることが可能となる。なお、携帯端末201が正常に機能する程度に、携帯端末201には防水加工が施されていることとする。 Here, waterproof processing of the portable terminal 201 will be described. The entire portable terminal 201 is waterproofed, but the contact sensor 11 is not waterproofed (for example, a part of the contact sensor 11 is not waterproofed as a line shape) Constitution). For this reason, the contact sensor 11 may be in direct contact with a liquid such as water. Therefore, the state where the portable terminal 201 is submerged in a liquid such as water can be detected at an early stage. It is assumed that the portable terminal 201 is waterproofed to such an extent that the portable terminal 201 functions normally.
 異常判定部224は、センサ制御部221が取得したセンサ値を取得し、センサ値と各種閾値とを比較する。センサ値が異常判定閾値TH2以下の値となった場合、異常判定部224は、タイマ214に通知し、異常状態を判定するための所定の時間(例えば20分)をタイマ214に計測させる。センサ値が異常判定閾値TH2以下の値となってから異常状態を判定するための所定の時間において、異常解除閾値Hys2未満の値であることが継続している場合に、異常判定部224は、携帯端末201と水等の異物とが接触している状態(異常状態)であると判定する。そして、異常判定部224は、携帯端末201にて行われている処理のうち一部の処理を停止させることを示す情報を、処理停止部225に通知する。 The abnormality determination unit 224 acquires the sensor value acquired by the sensor control unit 221 and compares the sensor value with various threshold values. When the sensor value is equal to or less than the abnormality determination threshold TH2, the abnormality determination unit 224 notifies the timer 214 and causes the timer 214 to measure a predetermined time (for example, 20 minutes) for determining an abnormal state. In a predetermined time for determining an abnormal state after the sensor value becomes equal to or less than the abnormality determination threshold value TH2, when the value continues to be less than the abnormality cancellation threshold value Hys2, the abnormality determination unit 224 It is determined that the portable terminal 201 is in contact with a foreign substance such as water (abnormal state). Then, the abnormality determination unit 224 notifies the process stop unit 225 of information indicating that a part of the processes being performed in the mobile terminal 201 is stopped.
 ここで、図2に示されるように接触センサ11が携帯端末201の左右(両側面)に備えられている場合、接触センサ11における防水加工のバラツキによって、接触センサ11に水等の異物(液体)が入る時間および除去される時間が異なることがある。このため、タイマ214によって計測される時間が、接触センサ11毎に設定されることにより、異常判定部224による異常状態の判定が、接触センサ11における防水加工のバラツキに影響されないで正確に行われることが可能となる。 Here, when the contact sensor 11 is provided on the left and right sides (both sides) of the portable terminal 201 as shown in FIG. 2, foreign matter such as water (liquid ) May be entered and removed at different times. For this reason, by setting the time measured by the timer 214 for each contact sensor 11, the determination of the abnormal state by the abnormality determination unit 224 is accurately performed without being affected by the variation in waterproof processing in the contact sensor 11. It becomes possible.
 処理停止部225は、異常判定部224によって異常状態であることが判定された場合に、携帯端末201にて行われている処理のうち一部の処理を強制的に停止させる。携帯端末201にて行われている処理とは、センサ制御部221の処理、ホスト制御部13の処理などを含めた種種の処理であり、携帯端末201にて行われている処理全般である。また、処理停止部225によって停止される処理は、後述する判定解除部226の処理を含まないものとする。例えば、処理停止部225によって停止される処理は、センサ制御部221の処理の一部、接触判定部222の処理、較正部223の処理、およびホスト制御部13にて行われている表示部10の表示処理を含んでいてもよい。その他、処理停止部225によって停止される処理は、ユーザにより追加される設定としてもよい。 The process stop unit 225 forcibly stops some of the processes performed in the mobile terminal 201 when the abnormality determination unit 224 determines that the state is abnormal. The process performed in the portable terminal 201 is various processes including the process of the sensor control unit 221 and the process of the host control unit 13, and is the entire process performed in the portable terminal 201. In addition, the process stopped by the process stop unit 225 does not include the process of the determination cancellation unit 226 described later. For example, the process stopped by the process stop unit 225 includes a part of the process of the sensor control unit 221, the process of the contact determination unit 222, the process of the calibration unit 223, and the display unit 10 performed by the host control unit 13. The display process may be included. In addition, the process stopped by the process stop unit 225 may be a setting added by the user.
 より具体的には、異常判定部224によって異常状態であることが判定された場合、処理停止部225は、接触判定部222の判定を変更する内容を示す情報をホスト制御部13に通知する。そして、ホスト制御部13は、処理停止部225からの通知に応じて接触判定部222の判定を、ユーザの手が接触センサ11に接触しているとの判定から、ユーザの手が接触センサから離れたとの判定へ強制的に移行させる。さらに、ホスト制御部13は、表示部10の表示をON(把持)の状態からOFF(解放)の状態に変更し、表示部10のバックライト等の機能を停止させる。なお、異常判定部224によって異常状態であることが判定された場合、処理停止部225によって、接触判定部222の把持の有無を判定する処理が停止される構成としてもよい。 More specifically, when it is determined that the abnormality determination unit 224 is in an abnormal state, the processing stop unit 225 notifies the host control unit 13 of information indicating the content to change the determination of the contact determination unit 222. Then, the host control unit 13 makes the determination of the contact determination unit 222 in response to the notification from the processing stop unit 225, from the determination that the user's hand is in contact with the contact sensor 11, and the user's hand from the contact sensor. Forcibly shift to the determination of having left. Further, the host control unit 13 changes the display of the display unit 10 from the ON (gripping) state to the OFF (released) state, and stops functions such as the backlight of the display unit 10. In addition, when it is determined that the abnormality determination unit 224 is in an abnormal state, the processing stop unit 225 may stop the process of determining whether or not the contact determination unit 222 is gripped.
 上記構成によれば、異常判定部224によって異常状態であることが判定された場合、表示部10の表示をOFFの状態となり、表示部10のバックライト機能が停止される。このため、携帯端末201における消費電力の削減に寄与することができる。 According to the above configuration, when the abnormality determination unit 224 determines that the state is abnormal, the display on the display unit 10 is turned off and the backlight function of the display unit 10 is stopped. For this reason, it can contribute to the reduction of the power consumption in the portable terminal 201. FIG.
 判定解除部226は、異常判定部224によって異常状態と判定されている間、異常判定部224からセンサ値を取得し、センサ値と各種閾値とを比較する。センサ値が異常解除閾値Hys2以上の値となった場合、判定解除部226は、タイマ214に通知し、異常状態との判定を解除するための所定の時間(例えば30秒)をタイマ214に計測させる。センサ値が異常解除閾値Hys2以上の値となってから異常状態との判定を解除するための所定の時間が経過した場合、判定解除部226は、異常判定部224の異常判定を解除する。また、判定解除部226は、処理停止部225によって停止されていた処理を再開することを示す情報を処理停止部225に通知する。そして、処理停止部225によって停止されていた処理が再開される。 The determination cancellation unit 226 acquires the sensor value from the abnormality determination unit 224 and compares the sensor value with various threshold values while the abnormality determination unit 224 determines that the abnormality state has occurred. When the sensor value is equal to or greater than the abnormality cancellation threshold value Hys2, the determination cancellation unit 226 notifies the timer 214, and the timer 214 measures a predetermined time (for example, 30 seconds) for canceling the determination of the abnormal state. Let When a predetermined time for canceling the determination of the abnormal state has elapsed after the sensor value becomes equal to or greater than the abnormality cancel threshold Hys2, the determination canceling unit 226 cancels the abnormality determination of the abnormality determining unit 224. In addition, the determination cancellation unit 226 notifies the process stop unit 225 of information indicating that the process stopped by the process stop unit 225 is resumed. Then, the process stopped by the process stop unit 225 is resumed.
 (参考動作例)
 ここで、本発明に係る異常判定部224を備えていない従来の携帯端末について説明する。図3は、従来の携帯端末(以下、携帯端末とする)に係る動作の流れを示すタイミングチャートである。横軸は時間、縦軸はセンサ値を表す。図3に示されるように、接触判定部222にて用いられる閾値は、把持閾値TH1および解放閾値Hys1である。
(Reference operation example)
Here, a conventional portable terminal that does not include the abnormality determination unit 224 according to the present invention will be described. FIG. 3 is a timing chart showing a flow of operations related to a conventional portable terminal (hereinafter referred to as a portable terminal). The horizontal axis represents time, and the vertical axis represents sensor values. As illustrated in FIG. 3, the threshold values used in the contact determination unit 222 are the grip threshold value TH1 and the release threshold value Hys1.
 以下の説明では、上述した携帯端末の「異常状態」のうち、携帯端末が水などの液体中に沈んでいる「水没中」の状態を例に挙げて説明するが、携帯端末の異常状態を「水没中」の状態に限定するものではない。すなわち、図3に示される「水没中」の状態は、携帯端末と水等の異物(誘電率の高い物体)とが接触している状態の一例に過ぎない。よって、例えば、水道水または海水等の液体中に沈んでいる状態、接触センサ11に水道水等の異物(水滴)が付着している状態、および、2つの接触センサ11がお互いに導電性のある物体を介して接続されることにより導通している状態についても、センサ値は図3に示す変化と同様に変化する。 In the following description, among the “abnormal states” of the mobile terminal described above, the state of “under water” in which the mobile terminal is submerged in a liquid such as water will be described as an example. It is not limited to the state of “submerged”. That is, the state of “submerged” shown in FIG. 3 is merely an example of a state where the mobile terminal is in contact with a foreign substance (an object having a high dielectric constant) such as water. Therefore, for example, a state in which the contact sensor 11 is submerged in a liquid such as tap water or seawater, a state in which foreign matter (water droplets) such as tap water is attached to the contact sensor 11, and the two contact sensors 11 are electrically conductive with each other. The sensor value also changes in the same manner as the change shown in FIG. 3 even in a conductive state by being connected via a certain object.
 また、図3に示される「水中から引き上げた状態」は、携帯端末に接触している水等の異物(誘電率の高い物体)が取り除かれた状態の一例に過ぎない。よって、例えば、接触センサ11に付着している水道水等の異物(水滴)が拭われた状態、携帯端末に接触している水以外の異物(誘電率の高い物体)が取り除かれた状態についても、センサ値は図3に示す変化と同様に変化する。 Further, the “state pulled up from the water” shown in FIG. 3 is merely an example of a state in which foreign matter such as water (an object having a high dielectric constant) in contact with the mobile terminal has been removed. Thus, for example, a state in which foreign matter (water droplets) such as tap water adhering to the contact sensor 11 is wiped, or a state in which foreign matter other than water (object having a high dielectric constant) in contact with the mobile terminal is removed. However, the sensor value changes similarly to the change shown in FIG.
 本実施形態では、時刻t1においてユーザが何らかの原因で携帯端末を水道水などの誘電率の高い液体中に落としてしまい、時刻t5においてユーザが携帯端末を液体中から引き上げる場合を想定している。このため、図3に示されるように、携帯端末の実際の状態は、時刻t1において「通常」から「水没中(異常状態)」に変化し、時刻t5において「水没中」から「水中から引き上げられた状態」に変化している。なお、携帯端末の「通常」状態とは、携帯端末に備えられた接触センサが水等の異物と接触していない状態である。 In the present embodiment, it is assumed that the user drops the mobile terminal into a liquid having a high dielectric constant such as tap water for some reason at time t1, and the user lifts the mobile terminal from the liquid at time t5. For this reason, as shown in FIG. 3, the actual state of the mobile terminal changes from “normal” to “underwater (abnormal state)” at time t1, and from “underwater” to “pull out of water” at time t5. It has changed to "the state that was done". Note that the “normal” state of the mobile terminal is a state in which a contact sensor provided in the mobile terminal is not in contact with foreign matter such as water.
 まず、時刻t1~時刻t3の間について説明する。時刻t1~時刻t3の間、携帯端末は水中に沈んでいく状態にあり、センサ値は急激に下降している。時刻t2において、センサ値は、把持閾値TH1(第1閾値)以下の値となる。そして、接触判定部222は、時刻t2において、ユーザの手が接触センサ11に接触していると判定する。なお、時刻t2~時刻t3の間における接触判定部222による判定は、時刻t2における判定から変更はない。 First, a description will be given between time t1 and time t3. Between time t1 and time t3, the mobile terminal is in a state of sinking in water, and the sensor value is rapidly decreasing. At time t2, the sensor value becomes a value equal to or smaller than the grip threshold TH1 (first threshold). Then, the contact determination unit 222 determines that the user's hand is in contact with the contact sensor 11 at time t2. Note that the determination by the contact determination unit 222 between time t2 and time t3 is not changed from the determination at time t2.
 次に、時刻t3~時刻t5の間について説明する。時刻t3~時刻t5の間、携帯端末の沈みは止まっている状態にあり、センサ値は殆ど変動していない(周囲の環境の影響により微小に変動している)。このため、センサ値は、解放閾値Hys1未満の値であるため、時刻t3~時刻t5の間における接触判定部222による判定は、時刻t2における判定から変更はない。 Next, the period from time t3 to time t5 will be described. From time t3 to time t5, the sink of the portable terminal is stopped, and the sensor value hardly fluctuates (fluctuates slightly due to the influence of the surrounding environment). For this reason, since the sensor value is less than the release threshold value Hys1, the determination by the contact determination unit 222 between time t3 and time t5 is not changed from the determination at time t2.
 そして、時刻t5~時刻t7の間、携帯端末は水中から引き上げられていく状態にあり、センサ値は急激に上昇している。時刻t7以降において、携帯端末が水中から引き上げられた後の状態であり、時刻t7以降では、ユーザによる携帯端末の操作(接触)は行われていない。このため、センサ値はほぼ一定となる。しかしながら、時刻t7以降において、接触センサに付着した水などの液体が完全に除去されていないため、センサ値は解放閾値Hys1以上の値にならない。このため、時刻t5以降における接触判定部222による判定についても、時刻t2における判定から変更はない。 And between time t5 and time t7, the mobile terminal is in a state of being pulled up from the water, and the sensor value is rising rapidly. After time t7, the portable terminal is in a state after being lifted from the water. After time t7, the user does not operate (contact) the portable terminal. For this reason, the sensor value is substantially constant. However, after time t7, since the liquid such as water attached to the contact sensor is not completely removed, the sensor value does not become a value equal to or greater than the release threshold value Hys1. For this reason, the determination by the contact determination unit 222 after time t5 is not changed from the determination at time t2.
 すなわち、時刻t2~時刻t5において、ユーザの手が接触センサ11に接触していると判定されている一方で、携帯端末の実際の状態は、水没中であり、ユーザの手は接触センサ11に接触していない。そのため、ユーザの手が接触センサ11に接触していない状態において不要なアプリケーションが動作し、無駄な消費電力が発生する虞がある。また、時刻t7以降においては、ユーザの手が接触センサ11に接触していると判定されている一方で、実際には、ユーザの手は接触センサ11に接触していない状態である。このような状態では、接触センサが正常に機能しないため、携帯端末の誤動作を招きかねない。さらに、時刻t5~時刻t7においては、ユーザによる携帯端末への接触は、携帯端末を水中から早急に引き上げることを目的としているため、接触判定部222の処理等は不要となる。 That is, from time t2 to time t5, it is determined that the user's hand is in contact with the contact sensor 11, while the actual state of the mobile terminal is submerged, and the user's hand touches the contact sensor 11. There is no contact. Therefore, an unnecessary application may operate in a state where the user's hand is not in contact with the contact sensor 11, and there is a possibility that useless power consumption may occur. Further, after time t7, while it is determined that the user's hand is in contact with the contact sensor 11, the user's hand is actually not in contact with the contact sensor 11. In such a state, since the contact sensor does not function normally, the mobile terminal may malfunction. Furthermore, from time t5 to time t7, the user's contact with the mobile terminal is intended to quickly lift the mobile terminal from the water, so that the processing of the contact determination unit 222 is unnecessary.
 (動作例)
 図4は、携帯端末201の実施形態に係る動作の流れを示すタイミングチャートである。横軸は時間、縦軸はセンサ値を表す。図4に示されるように、本実施形態では、把持閾値TH1(第1閾値)および解放閾値Hys1に加えて、異常判定閾値TH2(第2閾値)および異常解除閾値Hys2(第3閾値)を用いている。なお、図4に示されるセンサ値、把持閾値TH1および解放閾値Hys1は、図3に示されるセンサ値、把持閾値TH1および解放閾値Hys1と同一の反応レベルである。
(Operation example)
FIG. 4 is a timing chart showing a flow of operations according to the embodiment of the mobile terminal 201. The horizontal axis represents time, and the vertical axis represents sensor values. As shown in FIG. 4, in this embodiment, in addition to the gripping threshold value TH1 (first threshold value) and the release threshold value Hys1, an abnormality determination threshold value TH2 (second threshold value) and an abnormality cancellation threshold value Hys2 (third threshold value) are used. ing. Note that the sensor values, gripping threshold value TH1 and release threshold value Hys1 shown in FIG. 4 are the same reaction levels as the sensor values, gripping threshold value TH1 and release threshold value Hys1 shown in FIG.
 以下の説明では、図3の説明と同様に、上述した携帯端末201の「異常状態」のうち、携帯端末201が水などの液体中に沈んでいる「水没中」の状態を例に挙げて説明するが、携帯端末201の異常状態を「水没中」の状態に限定するものではない。すなわち、図3に示される「水没中」の状態は、携帯端末201と水等の異物(誘電率の高い物体)とが接触している状態の一例に過ぎない。よって、例えば、水道水または海水等の液体中に沈んでいる状態、接触センサ11に水道水等の異物(水滴)が付着している状態、および、2つの接触センサ11がお互いに導電性のある物体を介して接続されることにより導通している状態についても、センサ値は図3に示す変化と同様に変化する。 In the following description, similarly to the description of FIG. 3, the “abnormal state” of the mobile terminal 201 described above is exemplified by the state of “submerged” in which the mobile terminal 201 is submerged in a liquid such as water. As will be described, the abnormal state of the mobile terminal 201 is not limited to the “under water” state. That is, the state of “submerged” shown in FIG. 3 is merely an example of a state in which the mobile terminal 201 is in contact with a foreign substance (an object having a high dielectric constant) such as water. Therefore, for example, a state in which the contact sensor 11 is submerged in a liquid such as tap water or seawater, a state in which foreign matter (water droplets) such as tap water is attached to the contact sensor 11, and the two contact sensors 11 are electrically conductive with each other. The sensor value also changes in the same manner as the change shown in FIG. 3 even in a conductive state by being connected via a certain object.
 また、図3に示される「水中から引き上げた状態」は、携帯端末201に接触している水等の異物(誘電率の高い物体)が取り除かれた状態の一例に過ぎない。よって、例えば、接触センサ11に付着している水道水等の異物(水滴)が拭われた状態、携帯端末201に接触している水以外の異物(誘電率の高い物体)が取り除かれた状態についても、センサ値は図3に示す変化と同様に変化する。 Further, the “state pulled up from the water” shown in FIG. 3 is merely an example of a state in which foreign matter (an object having a high dielectric constant) such as water that is in contact with the mobile terminal 201 has been removed. Therefore, for example, a state where foreign matter (water droplets) such as tap water adhering to the contact sensor 11 is wiped, or a foreign matter other than water (object having a high dielectric constant) contacting the mobile terminal 201 is removed. As for the sensor value, the sensor value changes similarly to the change shown in FIG.
 まず、時刻t1~時刻t3の間について説明する。時刻t1~時刻t3の間では、携帯端末201は水中に沈んでいく状態である。接触判定部222は、センサ値が把持閾値TH1以下の値になる時刻t2において、ユーザの手が接触センサ11に接触していると判定する。また、時刻t2を経過した後のt2’において、センサ値は異常判定閾値TH2の値となり、時刻t2を経過した後の時刻t3において、センサ値は異常判定閾値TH2未満の値となっている。タイマ214は、センサ値が異常判定閾値TH2以下となる時刻t2’から、異常状態を判定するための所定の時間(例えば20分)を計測することを開始する。なお、タイマ214が異常状態を判定するための所定の時間を計測している間、センサ値が継続して異常解除閾値Hys2未満の値であれば、タイマ214は計測を継続し、センサ値が異常解除閾値Hys2以上の値となれば、タイマ214は計測を中断する。 First, a description will be given between time t1 and time t3. Between time t1 and time t3, the portable terminal 201 is in a state of sinking in water. The contact determination unit 222 determines that the user's hand is in contact with the contact sensor 11 at time t2 when the sensor value becomes a value equal to or smaller than the grip threshold TH1. In addition, at t2 'after elapse of time t2, the sensor value becomes the value of the abnormality determination threshold TH2, and at time t3 after elapse of time t2, the sensor value becomes a value less than the abnormality determination threshold TH2. The timer 214 starts measuring a predetermined time (for example, 20 minutes) for determining an abnormal state from time t2 'when the sensor value becomes equal to or less than the abnormality determination threshold TH2. Note that while the sensor 214 continues to measure a predetermined time for determining an abnormal state, if the sensor value continues and is less than the abnormality cancellation threshold value Hys2, the timer 214 continues measurement and the sensor value is If the value is equal to or greater than the abnormality cancellation threshold value Hys2, the timer 214 interrupts the measurement.
 次に、時刻t3~時刻t5の間について説明する。時刻t3~時刻t5の間、携帯端末の沈みは止まっている状態にあり、センサ値は殆ど変動していない。時刻t3~時刻t5の間におけるセンサ値は、異常解除閾値Hys2未満の値である。このため、異常判定部224は、タイマ214が計測を開始してから所定の時間(例えば20分)が経過した時刻t4において、携帯端末201は異常状態にあると判定する。処理停止部225は、異常判定部224によって異常状態と判定されている間(時刻t4~時刻t8)において、携帯端末201にて行われている処理のうち一部の処理(例えば、接触判定部222の処理、較正部223の処理、ホスト制御部13にて行われている表示部10の表示処理)を停止する。なお、異常判定部224によって異常状態と判定されている場合、判定解除部226の処理は継続されることとする。 Next, the period from time t3 to time t5 will be described. Between time t3 and time t5, the sink of the mobile terminal is in a stopped state, and the sensor value hardly fluctuates. The sensor value between time t3 and time t5 is a value less than the abnormality cancellation threshold value Hys2. For this reason, the abnormality determination unit 224 determines that the mobile terminal 201 is in an abnormal state at time t4 when a predetermined time (for example, 20 minutes) has elapsed since the timer 214 started measurement. The process stop unit 225 is a part of the processes (for example, the contact determination unit) performed in the portable terminal 201 while the abnormality determination unit 224 determines that the abnormal state has occurred (time t4 to time t8). The processing of 222, the processing of the calibration unit 223, and the display processing of the display unit 10 performed by the host control unit 13) are stopped. If the abnormality determination unit 224 determines that the state is abnormal, the determination cancellation unit 226 continues processing.
 上記構成によれば、センサ値が異常判定閾値TH2以下の値となってから所定の時間後に、異常判定部224は、携帯端末201は水等の異物が接触している異常状態にあると判定する。このため、ユーザにより携帯端末201が把持されたままにおいて使用されるアプリケーション(例えば動画像を閲覧するアプリケーション)が作動している場合、当該アプリケーションが作動中においては、異常判定部224によって異常状態と判定されることを回避することができる。ゆえに、センサ値が異常判定閾値TH2以下の値となってから所定の時間中は、ユーザは、携帯端末201をじっと把持したままの状態であっても、当該アプリケーションを利用することができる。 According to the above configuration, after a predetermined time after the sensor value becomes equal to or less than the abnormality determination threshold value TH2, the abnormality determination unit 224 determines that the mobile terminal 201 is in an abnormal state in which foreign matter such as water is in contact. To do. For this reason, when an application (for example, an application for viewing a moving image) that is used while the portable terminal 201 is held by the user is operating, the abnormality determination unit 224 sets an abnormal state while the application is operating. The determination can be avoided. Therefore, during a predetermined time after the sensor value becomes equal to or less than the abnormality determination threshold value TH2, the user can use the application even if the user is still holding the mobile terminal 201.
 また、上記の構成によれば、異常判定部224によって異常状態と判定された場合に、処理停止部225が、携帯端末201にて行われている処理のうち一部の処理を停止させる。このため、アプリケーションの誤作動を回避する、および携帯端末201の消費電力を低減するという効果を奏する。 In addition, according to the above configuration, when the abnormality determination unit 224 determines that the state is abnormal, the process stop unit 225 stops some of the processes performed in the mobile terminal 201. For this reason, it is effective in avoiding the malfunction of an application and reducing the power consumption of the portable terminal 201. FIG.
 そして、時刻t5~時刻t7の間、携帯端末は水中から引き上げられていく状態である。センサ値は、タイマ214は、センサ値が異常解除閾値Hys2以上の値となる時刻t6から、異常状態との判定を解除するための所定の時間(例えば30秒)を計測する。なお、タイマ214が異常状態との判定を解除するための所定の時間を計測している間、センサ値が継続して異常判定閾値TH2より大きい値であれば、タイマ214は計測を継続し、センサ値が異常判定閾値TH2以下となれば、タイマ214は計測を中断する。 And between time t5 and time t7, the portable terminal is in a state of being pulled out of the water. As for the sensor value, the timer 214 measures a predetermined time (for example, 30 seconds) for canceling the determination of the abnormal state from time t6 when the sensor value becomes equal to or greater than the abnormality cancellation threshold value Hys2. While the timer 214 is measuring a predetermined time for canceling the determination of the abnormal state, if the sensor value continues and is greater than the abnormality determination threshold value TH2, the timer 214 continues to measure, If the sensor value is equal to or lower than the abnormality determination threshold value TH2, the timer 214 stops the measurement.
 時刻t7以降では、携帯端末が水中から引き上げられた後の状態である。判定解除部226は、タイマ214が計測を開始してから所定の時間(例えば30秒)が経過した時刻t8において、異常判定部224による異常状態の判定を解除する。処理停止部225によって停止されていた処理(例えば、接触判定部222の処理、較正部223の処理)は、判定解除部226によって異常判定部224の判定が解除された時刻t8において、再び開始される。 After time t7, the mobile terminal is in a state after being lifted from the water. The determination cancellation unit 226 cancels the determination of the abnormal state by the abnormality determination unit 224 at time t8 when a predetermined time (for example, 30 seconds) has elapsed since the timer 214 started measurement. The process stopped by the process stop unit 225 (for example, the process of the contact determination unit 222 and the process of the calibration unit 223) is started again at time t8 when the determination of the abnormality determination unit 224 is canceled by the determination cancellation unit 226. The
 上記構成によれば、センサ値が異常解除閾値Hys2以上の値となってから所定の時間後に、異常判定部224による異常状態との判定が解除される。このため、センサ値が安定した後に、異常判定部224による異常状態との判定が解除することができる。 According to the above configuration, the determination of the abnormal state by the abnormality determination unit 224 is canceled after a predetermined time after the sensor value becomes equal to or greater than the abnormality cancellation threshold value Hys2. For this reason, after the sensor value is stabilized, the determination of the abnormal state by the abnormality determination unit 224 can be canceled.
 また、時刻t8以降に再開される接触判定部222および較正部223の処理は、判定解除部226によって異常判定部224の判定が解除された時刻t8から所定の時間(例えば6秒)後に、再開されてもよい。当該所定の時間を設けることにより、センサ値が不安定となる期間(水など導電性の高い液体が接触センサ11上を流動するなどの期間)後に、較正部223によって基準レベルの較正が行われる。そして、基準レベルの較正に追従して把持閾値TH1および解放閾値Hys1も変更される。このため、センサ値が、変更後の解放閾値Hys1以上の値となることが可能となる。また、安定したセンサ値に基づいて、接触判定部222による把持の有無の判定が正確に行われることが可能となる。 In addition, the processes of the contact determination unit 222 and the calibration unit 223 that are resumed after time t8 are resumed after a predetermined time (for example, 6 seconds) from time t8 when the determination of the abnormality determination unit 224 is canceled by the determination cancellation unit 226. May be. By providing the predetermined time, the calibration unit 223 calibrates the reference level after a period in which the sensor value becomes unstable (a period in which a highly conductive liquid such as water flows on the contact sensor 11). . The grip threshold TH1 and the release threshold Hys1 are also changed following the calibration of the reference level. For this reason, the sensor value can be a value equal to or greater than the release threshold Hys1 after the change. Further, based on the stable sensor value, the contact determination unit 222 can accurately determine whether or not there is a grip.
 また、時刻t8以降に再開される較正部223の処理は、判定解除部226によって異常判定部224の判定が解除された時刻t8から所定の時間(例えば6秒)後に再開され、かつ、時刻t8以降に再開される接触判定部222の処理は、較正部223によって較正された基準レベルに追従して変更された把持閾値TH1が0以上の値となる場合に再開されてもよい。 The process of the calibration unit 223 resumed after the time t8 is resumed after a predetermined time (for example, 6 seconds) from the time t8 when the determination of the abnormality determination unit 224 is canceled by the determination cancellation unit 226, and the time t8 The processing of the contact determination unit 222 that is restarted thereafter may be restarted when the gripping threshold value TH1 that has been changed following the reference level calibrated by the calibration unit 223 becomes 0 or more.
 上記構成によれば、変更後の把持閾値TH1が0より低い場合、接触判定部222が把持の有無の判定を正常に行うことができないという虞を回避することができる。より具体的には、時刻t8以降に再開される較正部223の処理において、較正された基準レベルが低い(例えば30)場合、較正された基準レベルに追従して変更された把持閾値TH1が0より小さい値となることがある。変更後の把持閾値TH1が0より小さい場合、接触判定部222は把持の有無の判定を正常に行うことができない。このため、把持閾値TH1が0以上の値となる場合に接触判定部222の処理が再開されることにより、接触判定部222は把持の有無の判定を正常に行うことができる。 According to the above configuration, when the changed gripping threshold TH1 is lower than 0, it is possible to avoid the possibility that the contact determination unit 222 cannot normally determine whether or not there is gripping. More specifically, when the calibrated reference level is low (for example, 30) in the process of the calibration unit 223 restarted after time t8, the gripping threshold value TH1 changed following the calibrated reference level is 0. May be smaller. When the changed gripping threshold TH1 is smaller than 0, the contact determination unit 222 cannot normally determine whether or not there is gripping. For this reason, when the gripping threshold value TH1 is a value equal to or greater than 0, the contact determination unit 222 can normally determine whether or not there is a grip by restarting the processing of the contact determination unit 222.
 〔変形例〕
 本実施形態は、携帯端末201が備える接触センサ11が複数ある構成である。例えば、図2に示される携帯端末201は、2つの接触センサ11が備えられているが、この他にも接触センサ11を任意の位置に備えていてもよい。
[Modification]
In the present embodiment, there are a plurality of contact sensors 11 included in the mobile terminal 201. For example, the portable terminal 201 shown in FIG. 2 includes the two contact sensors 11, but may include the contact sensors 11 at arbitrary positions.
 本実施形態において、異常判定部224および判定解除部226にて用いられるセンサ値は、任意の接触センサ11から出力されるセンサ値とする。 In the present embodiment, the sensor value used in the abnormality determination unit 224 and the determination cancellation unit 226 is a sensor value output from an arbitrary contact sensor 11.
 例えば、判定解除部226は、携帯端末201に備えられた接触センサ11全てについて、センサ値が異常解除閾値Hys2より大きい値となる場合に、異常判定部224による異常判定を解除してもよい。 For example, the determination cancellation unit 226 may cancel the abnormality determination by the abnormality determination unit 224 when the sensor value is greater than the abnormality cancellation threshold value Hys2 for all of the contact sensors 11 provided in the mobile terminal 201.
 上記構成によれば、全ての接触センサ11が、水等の異物に接触していない場合に、携帯端末201が異常状態との判定が解除される。このため、携帯端末201において、任意のアプリケーションの誤作動をより確実に防止でき、消費電力をさらに低減できる。 According to the above configuration, when all the contact sensors 11 are not in contact with foreign matter such as water, the determination that the mobile terminal 201 is in an abnormal state is released. For this reason, in the portable terminal 201, malfunction of an arbitrary application can be prevented more reliably, and power consumption can be further reduced.
 なお、異常判定部224の判定に用いられるセンサ値は、複数の接触センサ11から出力されるセンサ値のうち最小となる値であっても、任意の複数の接触センサ11から出力されるセンサ値であってもよい。 In addition, even if the sensor value used for the determination of the abnormality determination unit 224 is a minimum value among the sensor values output from the plurality of contact sensors 11, the sensor value output from any of the plurality of contact sensors 11. It may be.
 〔実施形態2〕
 本実施形態では、異常状態を判定するための所定の時間、および、異常状態との判定を解除するための所定の時間を設けない構成について説明する。本実施形態における携帯端末201の構成は、異常判定部224および判定解除部226の処理が実施形態1における処理と異なるのみで、その他の構成については図1に示される構成と同一である。
[Embodiment 2]
In the present embodiment, a configuration in which a predetermined time for determining an abnormal state and a predetermined time for canceling the determination of an abnormal state are not provided will be described. The configuration of the portable terminal 201 in the present embodiment is the same as the configuration shown in FIG. 1 except for the processing of the abnormality determination unit 224 and the determination cancellation unit 226 that is different from the processing in the first embodiment.
 異常判定部224は、センサ制御部221が取得したセンサ値を取得し、センサ値と各種閾値とを比較する。センサ値が異常判定閾値TH2以下の値となる場合、異常判定部224は、携帯端末201と水等の異物とが接触している状態(異常状態)であると判定する。そして、異常判定部224は、携帯端末201にて行われている処理のうち一部の処理を停止させることを示す情報を、処理停止部225に通知する。 The abnormality determination unit 224 acquires the sensor value acquired by the sensor control unit 221 and compares the sensor value with various threshold values. When the sensor value is equal to or less than the abnormality determination threshold TH2, the abnormality determination unit 224 determines that the mobile terminal 201 is in contact with a foreign substance such as water (abnormal state). Then, the abnormality determination unit 224 notifies the process stop unit 225 of information indicating that a part of the processes being performed in the mobile terminal 201 is stopped.
 判定解除部226は、異常判定部224によって異常状態と判定されている間、異常判定部224からセンサ値を取得し、センサ値と各種閾値とを比較する。センサ値が異常解除閾値Hys2以上の値となった場合、判定解除部226は、異常判定部224の異常判定を解除する。 The determination cancellation unit 226 acquires the sensor value from the abnormality determination unit 224 and compares the sensor value with various threshold values while the abnormality determination unit 224 determines that the abnormality state has occurred. When the sensor value is equal to or higher than the abnormality cancellation threshold value Hys2, the determination cancellation unit 226 cancels the abnormality determination of the abnormality determination unit 224.
 上記構成によれば、異常判定部224は、筐体がユーザに把持されていることの判定に用いられる把持閾値TH1未満である異常判定閾値TH2用いて、携帯端末201は水等の異物が接触している異常状態にあることを判定する。このため、携帯端末201は、接触センサ11と水等の異物とが接触している状態と、接触センサ11とユーザの手とが接触している状態とを区別して判定できる。 According to the above configuration, the abnormality determination unit 224 uses the abnormality determination threshold value TH2 that is less than the gripping threshold value TH1 used to determine that the housing is being held by the user, so that the mobile terminal 201 is in contact with foreign matter such as water. It is determined that there is an abnormal state. For this reason, the portable terminal 201 can distinguish and determine the state in which the contact sensor 11 is in contact with a foreign substance such as water and the state in which the contact sensor 11 is in contact with the user's hand.
 また、上記構成によれば、異常解除閾値Hys2を用いて異常状態の判定が解除される。このため、接触センサ11から水等の異物が完全に除去されていない場合(接触センサ11に水等の異物が付着している場合)においてでさえも、基準値が変更可能となり、接触センサ11とユーザの手とが接触している状態を正確に判定することができる。 Further, according to the above configuration, the determination of the abnormal state is canceled using the abnormality cancellation threshold value Hys2. For this reason, even when foreign matter such as water is not completely removed from the contact sensor 11 (when foreign matter such as water adheres to the contact sensor 11), the reference value can be changed. And the user's hand can be accurately determined.
 〔実施形態3〕
 本実施形態は、異常判定閾値TH2および異常解除閾値Hys2が、異常状態にある携帯端末201におけるセンサ値によって変更される構成である。
[Embodiment 3]
In the present embodiment, the abnormality determination threshold value TH2 and the abnormality cancellation threshold value Hys2 are changed according to the sensor value in the mobile terminal 201 in an abnormal state.
 センサ制御部221によって取得されたセンサ値が、予め設定された異常判定閾値TH2以下の値となってから、予め設定された異常解除閾値Hys2以上の値とならない程度に微小に変動している場合、異常判定部224は、異常判定閾値TH2および異常解除閾値Hys2を変更してもよい。変更された後の異常判定閾値TH2は、所定の時間(例えば5分)において、微小に変動しているセンサ値の最小値としてもよい。また、変更された後の異常解除閾値Hys2は、所定の時間(例えば5分)において、微小に変動しているセンサ値の最大値よりも大きい値、かつ予め設定された異常解除閾値Hys2未満の値としてもよい。 When the sensor value acquired by the sensor control unit 221 changes slightly to a value that is not greater than the preset abnormality cancellation threshold value Hys2 after being less than the preset abnormality determination threshold value TH2. The abnormality determination unit 224 may change the abnormality determination threshold value TH2 and the abnormality cancellation threshold value Hys2. The abnormality determination threshold value TH2 after the change may be a minimum value of the sensor value that slightly fluctuates in a predetermined time (for example, 5 minutes). In addition, the changed abnormality cancellation threshold value Hys2 is larger than the maximum value of the sensor value that is slightly changed in a predetermined time (for example, 5 minutes), and less than the preset abnormality cancellation threshold value Hys2. It may be a value.
 上記の構成によれば、異常判定部224によって携帯端末201が異常状態であると判定されている場合に、微小に変動しているセンサ値に基づいて、予め設定された異常判定閾値TH2および異常解除閾値Hys2が変更される。このため、異常判定部224および判定解除部226のレスポンスを早めることができる。 According to the above configuration, when the abnormality determination unit 224 determines that the mobile terminal 201 is in an abnormal state, the abnormality determination threshold value TH2 and the abnormality that are set in advance based on the sensor value that varies slightly are detected. The cancellation threshold value Hys2 is changed. For this reason, the response of the abnormality determination part 224 and the determination cancellation | release part 226 can be advanced.
 〔実施形態4〕
 本発明の他の実施形態について、図5、図6、図12、および図13に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 4]
The following will describe another embodiment of the present invention with reference to FIG. 5, FIG. 6, FIG. 12, and FIG. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
 <従来の情報処理装置>
 特許文献1に記載されているようなセンサ(接触センサ)は、周囲の環境の変化によって、物体が非接触のときのセンサ値が変化する場合がある。例えば、静電容量センサの場合、センサの周囲の温度変化によって、物体が非接触のときに検出されるセンサ値が変化してしまう。このとき物体が接触したか否かを判定するための閾値が不変であると、センサの誤動作(例えば、ユーザが接触センサに触れているのに、触れていないと判定するなど)が生じ得る。このような問題の解決策として、物体が非接触であると判断されるときのセンサ値を取得し、当該センサ値に合わせて所定の時間間隔で閾値を変化させる技術がある。
<Conventional information processing apparatus>
A sensor (contact sensor) as described in Patent Document 1 may change the sensor value when the object is not in contact with the surrounding environment. For example, in the case of a capacitance sensor, a sensor value detected when an object is not in contact changes due to a temperature change around the sensor. If the threshold value for determining whether or not an object has touched at this time is unchanged, a malfunction of the sensor (for example, determining that the user is touching the touch sensor but not touching it) may occur. As a solution to such a problem, there is a technique of acquiring a sensor value when an object is determined to be non-contact and changing a threshold value at a predetermined time interval in accordance with the sensor value.
 図12は、従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートである。図12に示すように、従来は、所定のタイミングでセンサ値を取得することによって、物体が非接触のときのセンサ値としての基準レベルを設定し、当該基準レベルと一定の差を有する値を閾値としていた。これにより、センサ値の変化に追従するようにして閾値を変化させ、センサの周囲の温度変化によって生じ得る誤動作を防止していた。 FIG. 12 is a timing chart showing the relationship between sensor values and threshold values in a conventional information processing apparatus. As shown in FIG. 12, conventionally, by obtaining a sensor value at a predetermined timing, a reference level is set as a sensor value when the object is not in contact, and a value having a certain difference from the reference level is set. The threshold was set. Thereby, the threshold value is changed so as to follow the change of the sensor value, and the malfunction that may occur due to the temperature change around the sensor is prevented.
 しかしながら、上記のようなセンサを備えた情報処理装置は、RFノイズなどの外乱によって誤動作が発生してしまうという問題がある。以下、具体的に説明する。 However, an information processing apparatus including the above-described sensor has a problem that malfunction occurs due to disturbance such as RF noise. This will be specifically described below.
 図13は、従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートである。図13に示すように、例えば、時刻t1において、ノイズの影響を受けてセンサ値が上昇(増大)し始め、時刻t2において、センサ値の変化に追従するように基準レベルを上昇させ、時刻t3においてノイズの影響が無くなることによってセンサ値が低下(減少)する場合を考える。 FIG. 13 is a timing chart showing the relationship between sensor values and threshold values in a conventional information processing apparatus. As shown in FIG. 13, for example, at time t1, the sensor value starts to increase (increase) due to the influence of noise, and at time t2, the reference level is increased so as to follow the change in sensor value. Let us consider a case where the sensor value decreases (decreases) due to the elimination of the influence of noise.
 ノイズの影響によるセンサ値の変化は、温度変化の影響によるセンサ値の変化に比べて急峻であるため、時刻t2から時刻t3までの期間におけるセンサ値の低下に対して、基準レベル及び閾値を十分な速度で追従変化させることができない。 The change in sensor value due to the influence of noise is steeper than the change in sensor value due to the influence of temperature change. It is impossible to change following at a slow speed.
 その結果、時刻t3においてセンサ値が閾値を下回り、ユーザが接触センサに触れていないにもかかわらず触れていると接触判定するなどの誤動作をしてしまう。 As a result, at time t3, the sensor value falls below the threshold value, and a malfunction such as a contact determination is made if the user is touching the touch sensor even though it is not touching.
 以上のように、ノイズの影響に基づくセンサ値の変化に追従させて基準レベル及び閾値を変化させた場合、意図しないタイミングでセンサ値が閾値を下回り、誤動作をしてしまう。 As described above, when the reference level and the threshold value are changed following the change in the sensor value based on the influence of noise, the sensor value falls below the threshold value at an unintended timing and malfunctions.
 そこで、以下の実施形態の説明では、ノイズの影響による接触センサの誤動作を抑制した情報処理装置、及び情報処理装置の制御方法について説明する。 Therefore, in the following description of the embodiment, an information processing apparatus that suppresses malfunction of the contact sensor due to the influence of noise and a control method of the information processing apparatus will be described.
 <携帯端末101の構成>
 図5は、携帯端末101の要部構成の一例を示すブロック図である。携帯端末101は、接触センサ11、把持判定部112、およびホスト制御部13を備える情報処理装置である。なお、図5では図面の見やすさを考慮し、一部矢印を省略している。
<Configuration of mobile terminal 101>
FIG. 5 is a block diagram illustrating an example of a main configuration of the mobile terminal 101. The mobile terminal 101 is an information processing apparatus that includes the contact sensor 11, the grip determination unit 112, and the host control unit 13. In FIG. 5, some of the arrows are omitted for the sake of easy viewing.
 <把持判定部112の構成>
 把持判定部112は、センサ制御部121、接触判定部122、較正部123、及び基準値変更部124を備える。また、把持判定部112は、記憶部(図示せず)を備える。記憶部は、基準レベル(基準値)、把持閾値、および解放閾値などを記憶する。把持判定部112の各部は、記憶部からこれらの記憶された値を読み書きすることができる。
<Configuration of gripping determination unit 112>
The grip determination unit 112 includes a sensor control unit 121, a contact determination unit 122, a calibration unit 123, and a reference value change unit 124. The grip determination unit 112 includes a storage unit (not shown). The storage unit stores a reference level (reference value), a gripping threshold value, a release threshold value, and the like. Each unit of the grip determination unit 112 can read and write these stored values from the storage unit.
 基準レベルは、筐体がユーザに把持されていないときのセンサ値を表すためのものである。把持閾値は、筐体が把持されていることを判定するための閾値(接触閾値)である。解放閾値は、把持から解放された(手が離れた)ことを判定するための閾値である。例えば、把持閾値は、基準レベルより小さい値に設定される。解放閾値は、基準レベルより小さく、かつ把持閾値より大きい値に設定される。基準レベルと把持閾値との差および基準レベルと解放閾値との差は、あらかじめ設定されている。すなわち基準レベルが決まれば、それに応じて把持閾値および解放閾値は自ずと決まる。このように、基準レベルは、把持の有無を判定するための基準(把持閾値、解放閾値)を与えるために変更可能に設定される変数である。ここでは、把持の有無をヒステリシスに判定するために把持閾値と解放閾値とは異なるが、同じ値としてもよい。また、基準レベル、把持閾値、および解放閾値は、接触センサ11ごとにそれぞれ設定される。 The reference level is for representing a sensor value when the casing is not gripped by the user. The gripping threshold value is a threshold value (contact threshold value) for determining that the housing is gripped. The release threshold value is a threshold value for determining that the hand is released from the grip (the hand is released). For example, the gripping threshold is set to a value smaller than the reference level. The release threshold is set to a value smaller than the reference level and larger than the grip threshold. The difference between the reference level and the grip threshold and the difference between the reference level and the release threshold are set in advance. That is, when the reference level is determined, the gripping threshold value and the release threshold value are automatically determined accordingly. As described above, the reference level is a variable that is set to be changeable in order to provide a reference (gripping threshold value, release threshold value) for determining whether or not there is gripping. Here, the gripping threshold value and the release threshold value are different in order to determine the presence / absence of gripping as hysteresis, but they may be the same value. In addition, the reference level, the grip threshold, and the release threshold are set for each contact sensor 11.
 把持判定部112は、センサ値と閾値(把持閾値)とを比較し、センサ値が閾値を超えた場合に、筐体が把持されたと判定(認識)する。言い換えると、把持判定部112は、基準レベルとセンサ値との差分を算出し、上記差分が所定の値を超えた場合に、筐体が把持されたと判定する。 The grip determination unit 112 compares the sensor value with a threshold (grip threshold), and determines (recognizes) that the housing is gripped when the sensor value exceeds the threshold. In other words, the grip determination unit 112 calculates a difference between the reference level and the sensor value, and determines that the housing is gripped when the difference exceeds a predetermined value.
 なお、「センサ値が閾値を超えた場合」は、「センサ値が閾値を越えた場合」と言い換えることができる。すなわち、ここでいう「センサ値が閾値を超えた場合」は、センサ値が閾値を跨いで変化することを意味し、センサ値が閾値を上回る場合と下回る場合とを含む。 Note that “when the sensor value exceeds the threshold value” can be rephrased as “when the sensor value exceeds the threshold value”. That is, “when the sensor value exceeds the threshold value” here means that the sensor value changes across the threshold value, and includes a case where the sensor value exceeds the threshold value and a case where the sensor value falls below the threshold value.
 具体的には、筐体が把持されるに伴ってセンサ値が変化する方向が正方向である場合、「センサ値が閾値を超えた場合」とは、センサ値が閾値を上回る場合を意味し、筐体が把持されるに伴ってセンサ値が変化する方向が負方向である場合、「センサ値が閾値を超えた場合」とは、センサ値が閾値を下回る場合を意味する。 Specifically, when the sensor value changes in the positive direction as the housing is gripped, “when the sensor value exceeds the threshold” means that the sensor value exceeds the threshold. When the direction in which the sensor value changes as the casing is gripped is a negative direction, “when the sensor value exceeds the threshold” means that the sensor value is below the threshold.
 筐体が把持されるに伴ってセンサ値が変化する方向を正方向とするか負方向とするかは、接触センサ11をはじめとする携帯端末101の設計に応じて適宜選択することができる。 Whether the direction in which the sensor value changes as the housing is gripped is set to the positive direction or the negative direction can be appropriately selected according to the design of the mobile terminal 101 including the contact sensor 11.
 以下では、筐体が把持されるに伴ってセンサ値が変化する方向が負方向である携帯端末101を例に挙げて説明する。 Hereinafter, the portable terminal 101 in which the direction in which the sensor value changes as the casing is gripped is the negative direction will be described as an example.
 (センサ制御部121)
 センサ制御部121は、所定のタイミングで接触センサ11を動作させ、接触センサ11の出力としてセンサ値を取得する。センサ制御部121は、一定期間ごとに接触センサ11からセンサ値を取得する。接触センサ11が複数ある場合、センサ制御部121は、一定期間ごとにそれぞれの接触センサ11からセンサ値を取得する。センサ制御部121は、センサ値を、接触判定部122、及び基準値変更部124に出力する。
(Sensor control unit 121)
The sensor control unit 121 operates the contact sensor 11 at a predetermined timing, and acquires a sensor value as an output of the contact sensor 11. The sensor control unit 121 acquires a sensor value from the contact sensor 11 at regular intervals. When there are a plurality of contact sensors 11, the sensor control unit 121 acquires sensor values from the respective contact sensors 11 at regular intervals. The sensor control unit 121 outputs the sensor value to the contact determination unit 122 and the reference value change unit 124.
 (接触判定部122)
 接触判定部122は、センサ値と把持閾値とを比較し、センサ値が把持閾値より小さくなった場合、ユーザの手が(筐体を介して)接触センサ11に接触していると判定する。また、接触判定部122は、現時点で接触センサ11が接触状態であることを記憶する。さらに、接触判定部122は、センサ値と解放閾値とを比較し、センサ値が解放閾値より大きくなった場合、ユーザの手が接触センサ11から離れた(把持から解放された)と判定する。また、接触判定部122は、現時点で接触センサ11が非接触状態であることを記憶する。センサ値が把持閾値以上かつ解放閾値以下の場合、接触判定部122は、直前の状態(接触状態または非接触状態)が継続していると判定し、その状態を記憶し続ける。
(Contact determination unit 122)
The contact determination unit 122 compares the sensor value with the gripping threshold value, and determines that the user's hand is in contact with the contact sensor 11 (via the housing) when the sensor value is smaller than the gripping threshold value. Moreover, the contact determination part 122 memorize | stores that the contact sensor 11 is a contact state at this time. Further, the contact determination unit 122 compares the sensor value with the release threshold value, and determines that the user's hand is separated from the contact sensor 11 (released from gripping) when the sensor value is greater than the release threshold value. Moreover, the contact determination part 122 memorize | stores that the contact sensor 11 is a non-contact state at this time. If the sensor value is greater than or equal to the grip threshold and less than or equal to the release threshold, the contact determination unit 122 determines that the previous state (contact state or non-contact state) continues and continues to store the state.
 接触判定部122は、複数の(両側の)接触センサ11が接触状態である場合、ユーザの手が筐体(携帯端末101)を把持していると判定する。例えば、片方の側面の接触センサ11だけが接触状態で、他方の側面の接触センサ11が非接触状態の場合、接触判定部122は、ユーザの手が筐体を把持していないと判定してもよい。なお、携帯端末101に設けられた接触センサ11が1つだけの場合、接触判定部122は、その接触センサ11の接触状態に基づいて把持の有無を判定する(把持判定ステップ)。接触判定部122は、把持の有無の判定結果情報を、ホスト制御部13に出力する。なお、以下の説明では簡単のため、1つの接触センサ11の接触状態の判定について説明する。 The contact determination unit 122 determines that the user's hand is holding the housing (the portable terminal 101) when the plurality of (both sides) contact sensors 11 are in a contact state. For example, when only the contact sensor 11 on one side is in a contact state and the contact sensor 11 on the other side is in a non-contact state, the contact determination unit 122 determines that the user's hand is not holding the casing. Also good. When there is only one contact sensor 11 provided in the mobile terminal 101, the contact determination unit 122 determines the presence or absence of gripping based on the contact state of the contact sensor 11 (gripping determination step). The contact determination unit 122 outputs determination result information regarding the presence / absence of gripping to the host control unit 13. In the following description, for the sake of simplicity, determination of the contact state of one contact sensor 11 will be described.
 (較正部123)
 較正部123は、所定のタイミングでセンサ制御部121からセンサ値を取得し、センサ値に基づいて基準レベルを較正する。例えば較正部123は、一定期間ごとに基準レベルの較正を行う。また、較正部123は、携帯端末101の電源がオンになった時、および、把持判定の機能がオンに設定された時などにも基準レベルの較正を行う。較正部123は、センサ値を複数回取得し、複数のセンサ値の平均値(または中間値)を基準レベルとして設定する。基準レベルが変更されると、基準レベル値を変更した情報に基づいて、把持閾値および解放閾値も変更される。これにより、温度などの環境変化に応じて、非接触時のセンサ値を表すための基準レベルを較正することができる。
(Calibration unit 123)
The calibration unit 123 acquires a sensor value from the sensor control unit 121 at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 123 calibrates the reference level at regular intervals. The calibration unit 123 also calibrates the reference level when the mobile terminal 101 is turned on and when the grip determination function is turned on. The calibration unit 123 acquires sensor values a plurality of times, and sets an average value (or intermediate value) of the plurality of sensor values as a reference level. When the reference level is changed, the gripping threshold value and the release threshold value are also changed based on the information that has changed the reference level value. Thereby, the reference level for expressing the sensor value at the time of non-contact can be calibrated according to environmental changes, such as temperature.
 (基準値変更部124)
 基準値変更部124は、補正モードを実行する。補正モード実行中、基準値変更部124は、必要に応じて基準レベルを変更し(基準値変更ステップ)、変更後の基準レベルを接触判定部122に出力する。
(Reference value changing unit 124)
The reference value changing unit 124 executes the correction mode. During execution of the correction mode, the reference value changing unit 124 changes the reference level as necessary (reference value changing step), and outputs the changed reference level to the contact determination unit 122.
 基準値変更部124は、基準レベルの変更を制限するために設定された上限値(第1の値)を記憶している。 The reference value changing unit 124 stores an upper limit value (first value) set in order to limit the change of the reference level.
 基準値変更部124は、補正モード実行中、センサ値が上限値を超えることなく変化した場合、センサ値の変化を追従させるように基準レベルを変更する。 The reference value changing unit 124 changes the reference level so as to follow the change of the sensor value when the sensor value changes without exceeding the upper limit value during execution of the correction mode.
 一方で、基準値変更部124は、補正モード実行中、センサ値が上限値を超えて変化した場合、センサ値の変化を追従させることなく基準レベルを設定する。具体的には、センサ値が上限値を超えて変化した場合、基準値変更部124は基準レベルを変更しなくてもよい。また、例えば、センサ値が上限値を超えて変化した場合、基準値変更部124は、基準レベルを上限値の値に設定してもよい。 On the other hand, when the sensor value changes exceeding the upper limit value during execution of the correction mode, the reference value changing unit 124 sets the reference level without following the change of the sensor value. Specifically, when the sensor value changes beyond the upper limit value, the reference value changing unit 124 does not have to change the reference level. For example, when the sensor value changes beyond the upper limit value, the reference value changing unit 124 may set the reference level to the value of the upper limit value.
 従来の携帯端末では、RFノイズなどの影響によりセンサ値が上昇した場合に、センサ値を追従するように基準レベル及び閾値を上昇させていた。そのため、突如RFノイズの影響が無くなることによってセンサ値が低下した場合、センサ値が閾値を越え(下回り)、ユーザが接触センサに触れていないにもかかわらず触れていると接触判定するなどの誤動作をしてしまう。 In the conventional portable terminal, when the sensor value increases due to the influence of RF noise or the like, the reference level and the threshold value are increased so as to follow the sensor value. Therefore, when the sensor value drops due to suddenly no influence of RF noise, the sensor value exceeds the threshold value (below), and malfunctions such as determining contact when the user is not touching the touch sensor but touching it. Will do.
 これに対して、本実施形態の携帯端末101では、基準値変更部124は、補正モード実行中、センサ値が上限値を超えて変化した場合、センサ値の変化を追従させることなく基準レベルを設定する。具体的には、例えば、センサ値が上限値を超えて変化した場合、基準レベルは上限値を超えない値に設定される。その結果、基準レベル及び閾値の上昇にも制限がかかる。 On the other hand, in the mobile terminal 101 of the present embodiment, the reference value changing unit 124 sets the reference level without following the change of the sensor value when the sensor value changes exceeding the upper limit value during execution of the correction mode. Set. Specifically, for example, when the sensor value changes beyond the upper limit value, the reference level is set to a value that does not exceed the upper limit value. As a result, the increase in the reference level and the threshold is also limited.
 これにより、突如RFノイズの影響が無くなりセンサ値が急激に低下した場合であっても、センサ値が容易に閾値を越えることがないため、誤動作を抑制することができる。 Thus, even if the sensor value suddenly disappears and the sensor value suddenly drops, the sensor value does not easily exceed the threshold value, so that malfunction can be suppressed.
 なお、筐体が把持されるに伴ってセンサ値が変化する方向を負方向と定義した場合、上限値は、筐体が把持されていない状態におけるセンサ値よりも大きい値に設定される。反対に、筐体が把持されるに伴ってセンサ値が変化する方向を正方向と定義した場合、上限値は、筐体が把持されていない状態におけるセンサ値よりも小さい値に設定される。 When the direction in which the sensor value changes as the casing is gripped is defined as a negative direction, the upper limit value is set to a value larger than the sensor value in a state where the casing is not gripped. On the contrary, when the direction in which the sensor value changes as the casing is gripped is defined as the positive direction, the upper limit value is set to a value smaller than the sensor value in a state where the casing is not gripped.
 本実施形態の携帯端末101の基準値変更部124は、常時補正モードを実行する。 The reference value changing unit 124 of the mobile terminal 101 according to the present embodiment executes the constant correction mode.
 (動作例)
 以下、本実施形態におけるセンサ値と基準レベルとの関係、及び携帯端末101の制御方法について、具体例に基づいて説明する。
(Operation example)
Hereinafter, the relationship between the sensor value and the reference level and the control method of the mobile terminal 101 in the present embodiment will be described based on specific examples.
 図6は、本実施形態の携帯端末におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。 FIG. 6 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of this embodiment.
 図6に示す例では、時刻t1において、基準レベルは既に上限値に達している。ノイズの影響を受けて時刻t1から時刻t2にかけてセンサ値が上昇し、センサ値が上限値を超えた値となった場合、基準値変更部124は基準レベルを変更しない。従って、閾値も変更されない。なお、図中の点線は、上限値を設けることなく、センサ値の変化に追従させて基準レベルを変更した場合の本来の基準レベルの値を示す。 In the example shown in FIG. 6, the reference level has already reached the upper limit at time t1. When the sensor value increases from time t1 to time t2 due to the influence of noise and the sensor value exceeds the upper limit value, the reference value changing unit 124 does not change the reference level. Therefore, the threshold value is not changed. In addition, the dotted line in the figure indicates the original reference level value when the reference level is changed by following the change of the sensor value without providing an upper limit value.
 本実施形態の携帯端末101の基準値変更部124によれば、時刻t3において、ノイズの影響が無くなるなどして、突如、センサ値が低下した場合であっても、センサ値が容易に閾値を下回ることがない。これにより、ユーザが接触センサに触れていないにもかかわらず触れていると接触判定するなどの誤動作を抑制することができる。このとき、基準レベルの上限値より下にて、センサ値が温度などの環境の変化により下る場合は、基準レベルの上限値より下部においては、追従制御は行ってもよいものとする。 According to the reference value changing unit 124 of the mobile terminal 101 of the present embodiment, even if the sensor value suddenly decreases at time t3 due to, for example, no influence of noise, the sensor value can easily set the threshold value. Never fall below. Thereby, malfunctions, such as a contact determination, when a user is touching although not touching the contact sensor, can be suppressed. At this time, when the sensor value falls below the upper limit value of the reference level due to a change in the environment such as temperature, the follow-up control may be performed below the upper limit value of the reference level.
 〔実施形態5〕
 本発明の他の実施形態について、図7~図9に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 5]
The following will describe another embodiment of the present invention with reference to FIGS. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
 本実施形態の携帯端末101の基準値変更部124は、実施形態4の携帯端末の基準値変更部とは異なり、基準レベルが予め定められた補正モード実行閾値を超えて変更された場合に、補正モードに移行する。以下、図面を参照して具体的に説明する。 Unlike the reference value changing unit of the portable terminal of the fourth embodiment, the reference value changing unit 124 of the portable terminal 101 of the present embodiment is changed when the reference level is changed beyond a predetermined correction mode execution threshold. Shift to correction mode. Hereinafter, specific description will be given with reference to the drawings.
 図7及び図8は、本実施形態の携帯端末におけるセンサ値と基準レベルとの関係を示すタイミングチャートである。 7 and 8 are timing charts showing the relationship between the sensor value and the reference level in the portable terminal of the present embodiment.
 図7及び図8に示すように、本実施形態の携帯端末101には、補正モード実行閾値JLaが設定されている。 As shown in FIGS. 7 and 8, a correction mode execution threshold value JLa is set in the mobile terminal 101 of the present embodiment.
 図7及び図8に示すように、ユーザが携帯端末101を把持することによって、時刻t0においてセンサ値が低下し始め、センサ値が補正モード実行閾値JLa以下まで低下する。 7 and 8, when the user holds the mobile terminal 101, the sensor value starts to decrease at time t0, and the sensor value decreases to the correction mode execution threshold value JLa or less.
 センサ値が補正モード実行閾値JLa以下まで低下した状態で、時刻t1において較正部123による較正が行われた場合、基準レベルは、補正モード実行閾値JLa以下の値に設定される。具体的には、基準レベルは、較正前の値であるZ2(第1基準値)から、携帯端末101がユーザに把持された状態のセンサ値であるref(0)(第2基準値)に変更される。 When the calibration by the calibration unit 123 is performed at time t1 in a state where the sensor value has decreased to the correction mode execution threshold value JLa or less, the reference level is set to a value not more than the correction mode execution threshold value JLa. Specifically, the reference level is changed from Z2 (first reference value), which is a value before calibration, to ref (0) (second reference value), which is a sensor value when the mobile terminal 101 is held by the user. Be changed.
 時刻t1において、基準レベルが、補正モード実行閾値JLaを超えてref(0)に変更された場合、時刻t1以降、基準値変更部124は、上述の補正モードを実行する。 At time t1, when the reference level exceeds the correction mode execution threshold JLa and is changed to ref (0), the reference value changing unit 124 executes the above-described correction mode after time t1.
 このとき、基準値変更部124は、ref(0)に所定の値Laを加えた値を上限値(第1の値)として設定する。なお、上限値は、携帯端末101がユーザに把持された状態のセンサ値であるref(0)以上であって、較正前の基準レベルの値であるZ2以下であることが好ましい。そのため、上限値は必要なければ設定しなくてもよく、また、場合によっては、較正前の基準レベルではなく、他の値であってもよい。 At this time, the reference value changing unit 124 sets a value obtained by adding a predetermined value La to ref (0) as an upper limit value (first value). The upper limit value is preferably not less than ref (0) that is a sensor value in a state where the mobile terminal 101 is held by the user and not more than Z2 that is a reference level value before calibration. Therefore, the upper limit value may not be set if not necessary, and may be other values than the reference level before calibration in some cases.
 基準値変更部124は、補正モード実行中、所定の時間間隔Saで順次センサ値を取得する。基準値変更部124は、センサ値が上限値を超えることなく変化した場合、センサ値の変化を追従させるように基準レベルを変更するとともに、センサ値が上限値を超えて変化した場合、基準レベルを上限値に設定する。 The reference value changing unit 124 sequentially acquires sensor values at a predetermined time interval Sa during execution of the correction mode. When the sensor value changes without exceeding the upper limit value, the reference value changing unit 124 changes the reference level so as to follow the change of the sensor value, and when the sensor value changes beyond the upper limit value, Is set to the upper limit.
 図7に示す例では、時刻t2及び時刻t3において、センサ値は上限値を超えることなく上昇しており、このとき、基準値変更部124は、センサ値の変化を追従させるように基準レベルを変更する。なお、図7に示す例では、時刻t3おいて、センサ値は上限値と等しい値まで上昇しており、基準レベルは上限値に等しい値に設定されている。 In the example shown in FIG. 7, at time t2 and time t3, the sensor value increases without exceeding the upper limit value, and at this time, the reference value changing unit 124 sets the reference level so as to follow the change of the sensor value. change. In the example shown in FIG. 7, at time t3, the sensor value increases to a value equal to the upper limit value, and the reference level is set to a value equal to the upper limit value.
 また、図8に示す例では、時刻t4において、センサ値は上限値を超えて上昇しており、このとき、基準値変更部124は、上限値を基準レベルとして設定する。 In the example shown in FIG. 8, at time t4, the sensor value has exceeded the upper limit value, and at this time, the reference value changing unit 124 sets the upper limit value as the reference level.
 図7中の時刻t3、及び図8中の時刻t4における基準レベルのように、基準レベルが上限値に等しい値に設定されたとき、基準値変更部124は補正モードを終了する。 When the reference level is set to a value equal to the upper limit value, such as the reference level at time t3 in FIG. 7 and time t4 in FIG. 8, the reference value changing unit 124 ends the correction mode.
 なお、本実施形態において、上述した上限値に加えて、実施形態4で説明したような、筐体が把持されていない状態におけるセンサ値よりも大きい値としての上限値が設定されていてもよい。 In the present embodiment, in addition to the above-described upper limit value, an upper limit value that is larger than the sensor value in a state where the housing is not gripped as described in the fourth embodiment may be set. .
 (フローチャート)
 上記の基本動作について、フローチャートを参照して説明する。図9は、基準値変更部124の動作を説明するためのフローチャートである。
(flowchart)
The basic operation will be described with reference to a flowchart. FIG. 9 is a flowchart for explaining the operation of the reference value changing unit 124.
 把持判定部112の機能開始後、所定のタイミングで較正部123による較正(キャリブレーション)が行われる(S11)。次に、基準値変更部124は、所定の時間間隔でセンサ値を取得し、センサ値とセンサ値取得時の基準レベル(Ba)とを比較する(S12)。S12において、センサ値が基準レベル(Ba)以下である場合(S12でNO)には再度較正が行われるタイミングを待ち、センサ値が基準レベル(Ba)よりも大きい場合(S12でYES)には基準レベル(Ba)と上限値(La)とを比較する(S13)。S13において、基準レベル(Ba)が上限値(La)以上である場合(S13でNO)には補正モードを終了し、基準レベル(Ba)が上限値(La)よりも小さい場合(S13でYES)には、取得したセンサ値を基準レベルとして設定する(S14)。S14の後は、再度S12に戻り、取得したセンサ値を基準レベル(Ba)と比較し(S12)、基準レベル(Ba)を上限値(La)と比較し(S13)、基準レベル(Ba)が上限値(La)以上となるまでS12からS14を繰り返す。 After starting the function of the grip determination unit 112, calibration (calibration) is performed by the calibration unit 123 at a predetermined timing (S11). Next, the reference value changing unit 124 acquires sensor values at predetermined time intervals, and compares the sensor value with a reference level (Ba) at the time of sensor value acquisition (S12). In S12, when the sensor value is equal to or lower than the reference level (Ba) (NO in S12), it waits for the calibration to be performed again, and when the sensor value is larger than the reference level (Ba) (YES in S12). The reference level (Ba) is compared with the upper limit value (La) (S13). In S13, if the reference level (Ba) is equal to or higher than the upper limit value (La) (NO in S13), the correction mode is terminated, and if the reference level (Ba) is smaller than the upper limit value (La) (YES in S13). ), The acquired sensor value is set as a reference level (S14). After S14, the process returns to S12 again, the acquired sensor value is compared with the reference level (Ba) (S12), the reference level (Ba) is compared with the upper limit value (La) (S13), and the reference level (Ba) S12 to S14 are repeated until becomes equal to or greater than the upper limit (La).
 基準値変更部124が上記の動作をすることにより、ユーザが携帯端末101を把持した状態で較正部123による較正が行われることによって基準レベルが極端に低下した場合であっても、早期に基準レベルを上限値まで上昇させることができ、正常に把持判定をすることができる。 Even if the reference level is extremely lowered due to the calibration performed by the calibration unit 123 in a state where the user holds the mobile terminal 101 by the above operation of the reference value changing unit 124, the reference value is quickly changed. The level can be raised to the upper limit value, and the gripping determination can be made normally.
 さらに、上限値を設けているため、ノイズの影響によって基準レベル及び閾値が極端に上昇することもない。そのため、ノイズの影響が無くなるなどして、突如、センサ値が低下した場合であっても、容易にセンサ値が閾値を下回ることがない。これにより、ユーザが接触センサに触れていないにもかかわらず触れていると接触判定するなどの誤動作を抑制することができる。 Furthermore, since an upper limit is set, the reference level and threshold value will not rise extremely due to the influence of noise. Therefore, even if the sensor value suddenly decreases due to the influence of noise or the like, the sensor value does not easily fall below the threshold value. Thereby, malfunctions, such as a contact determination, when a user is touching although not touching the contact sensor, can be suppressed.
 なお、補正モード実行中、基準値変更部124は、図7の時刻t2から時刻t3までの期間に示すように、センサ値が基準レベルを下回った場合、基準レベルを変更しないことが好ましい。すなわち、補正モード実行中、基準値変更部124は、基準レベルを、上昇する方向にのみ変更することが好ましい。これにより、早期に基準レベルを上限値まで上昇させることができる。 During execution of the correction mode, it is preferable that the reference value changing unit 124 does not change the reference level when the sensor value falls below the reference level as shown in the period from time t2 to time t3 in FIG. That is, during execution of the correction mode, the reference value changing unit 124 preferably changes the reference level only in the increasing direction. Thereby, a reference level can be raised to an upper limit at an early stage.
 また、図8に示すように、補正モード終了後、時刻t5において、センサ値が上限値よりも大きい値となった場合、基準値変更部124は、センサ値の上昇に応じて基準レベルを追従制御で上昇させてもよい。 As shown in FIG. 8, after the correction mode is finished, when the sensor value becomes larger than the upper limit value at time t5, the reference value changing unit 124 follows the reference level in accordance with the increase of the sensor value. You may raise by control.
 また、図示はしないが、補正モード実行閾値JLaは、閾値(把持閾値)と等しい値であってもよい。 Although not shown, the correction mode execution threshold value JLa may be a value equal to the threshold value (gripping threshold value).
 〔実施形態6〕
 本発明の他の実施形態について、図10~図11に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。また、以下の説明では、実施形態5との相違する点のみ説明するものとし、重複する説明は適宜省略する。
[Embodiment 6]
The following will describe another embodiment of the present invention with reference to FIGS. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted. Further, in the following description, only points different from the fifth embodiment will be described, and overlapping descriptions will be omitted as appropriate.
 図10は、本実施形態の携帯端末におけるセンサ値と基準レベルとの関係を示すタイミングチャートである。 FIG. 10 is a timing chart showing the relationship between the sensor value and the reference level in the mobile terminal of the present embodiment.
 図10に示すように、ユーザが携帯端末101を把持することによって、時刻t0においてセンサ値が低下し始め、センサ値が補正モード実行閾値JLa以下まで低下する。 As shown in FIG. 10, when the user holds the mobile terminal 101, the sensor value starts to decrease at time t0, and the sensor value decreases to the correction mode execution threshold value JLa or less.
 センサ値が補正モード実行閾値JLa以下まで低下した状態で、時刻t1において較正部123による較正が行われた場合、基準レベルは、補正モード実行閾値JLa以下の値に設定される。具体的には、基準レベルは、較正前の値であるZ2(第1基準値)から、携帯端末101がユーザに把持された状態のセンサ値であるref(0)(第2基準値)に変更される。このとき、基準値変更部124は、携帯端末101がユーザに把持される前の基準レベルの値であるZ2を保持する。 When the calibration by the calibration unit 123 is performed at time t1 in a state where the sensor value has decreased to the correction mode execution threshold value JLa or less, the reference level is set to a value not more than the correction mode execution threshold value JLa. Specifically, the reference level is changed from Z2 (first reference value), which is a value before calibration, to ref (0) (second reference value), which is a sensor value when the mobile terminal 101 is held by the user. Be changed. At this time, the reference value changing unit 124 holds Z2 that is the value of the reference level before the portable terminal 101 is held by the user.
 時刻t1において、基準レベルが、補正モード実行閾値JLaを超えてref(0)に変更された場合、時刻t1以降、基準値変更部124は、上述の補正モードを実行する。 At time t1, when the reference level exceeds the correction mode execution threshold JLa and is changed to ref (0), the reference value changing unit 124 executes the above-described correction mode after time t1.
 本実施形態の基準値変更部124は、絶対値であるLaを上限値として設定する。Laは、ref(0)以上であってZ2以下の値であることが好ましい。 The reference value changing unit 124 of the present embodiment sets La, which is an absolute value, as an upper limit value. La is preferably ref (0) or more and Z2 or less.
 また、本実施形態の基準値変更部124は、携帯端末101がユーザに把持される前の基準レベルの値であるZ2を、上限値として設定してもよい。これにより、補正モード実行中に、携帯端末101がユーザに把持される前の基準レベルの値であるZ2を超えない範囲で、基準レベルを上昇させることができる。 In addition, the reference value changing unit 124 of the present embodiment may set Z2 that is the value of the reference level before the portable terminal 101 is gripped by the user as the upper limit value. Thereby, during execution of correction mode, a reference level can be raised in the range which does not exceed Z2 which is the value of the reference level before the portable terminal 101 is gripped by the user.
 (フローチャート)
 上記の基本動作について、フローチャートを参照して説明する。図11は、基準値変更部124の動作を説明するためのフローチャートである。
(flowchart)
The basic operation will be described with reference to a flowchart. FIG. 11 is a flowchart for explaining the operation of the reference value changing unit 124.
 把持判定部112の機能開始後、接触判定部122がセンサ値と閾値とを比較することによってユーザのタッチ操作を検出する(S21)。タッチ操作が検出された場合(S21でYES)、基準値変更部124は、センサ値と補正モード実行閾値JLaとを比較する(S22)。センサ値がJLa以上の場合(S22でNO)、再度タッチ操作が検出されるタイミングを待ち、センサ値がJLaより小さい場合(S22でYES)、基準値変更部124は、そのときの基準レベルZ2を保持する(S23)。その後、較正部123による較正(キャリブレーション)が行われる(S24)。次に、基準値変更部124は、所定の時間間隔でセンサ値を取得し、センサ値とセンサ値取得時の基準レベル(Ba)とを比較する(S25)。S25において、センサ値が基準レベル(Ba)以下である場合(S25でNO)には再度較正が行われるタイミングを待ち、センサ値が基準レベル(Ba)よりも大きい場合(S25でYES)には基準レベル(Ba)と上限値(La)とを比較する(S26)。S26において、基準レベル(Ba)が上限値(La)以上である場合(S26でNO)には補正モードを終了し、基準レベル(Ba)が上限値(La)よりも小さい場合には、取得したセンサ値を基準レベルとして設定する(S27)。S27の後は、再度S25に戻り、取得したセンサ値を基準レベル(Ba)と比較し(S25)、基準レベル(Ba)を上限値(La)と比較し(S26)、基準レベル(Ba)が上限値(La)以上となるまでS25からS27を繰り返す。 After the function of the grip determination unit 112 is started, the contact determination unit 122 detects the user's touch operation by comparing the sensor value with the threshold value (S21). When the touch operation is detected (YES in S21), the reference value changing unit 124 compares the sensor value with the correction mode execution threshold value JLa (S22). If the sensor value is greater than or equal to JLa (NO in S22), the process waits for the timing when the touch operation is detected again. If the sensor value is smaller than JLa (YES in S22), the reference value changing unit 124 determines the reference level Z2 at that time. Is held (S23). Thereafter, calibration by the calibration unit 123 is performed (S24). Next, the reference value changing unit 124 acquires sensor values at predetermined time intervals, and compares the sensor value with a reference level (Ba) at the time of sensor value acquisition (S25). In S25, when the sensor value is equal to or lower than the reference level (Ba) (NO in S25), it waits for the calibration to be performed again, and when the sensor value is larger than the reference level (Ba) (YES in S25). The reference level (Ba) is compared with the upper limit value (La) (S26). In S26, when the reference level (Ba) is equal to or higher than the upper limit value (La) (NO in S26), the correction mode is ended, and when the reference level (Ba) is smaller than the upper limit value (La), acquisition is performed. The sensor value thus set is set as a reference level (S27). After S27, the process returns to S25 again, the acquired sensor value is compared with the reference level (Ba) (S25), the reference level (Ba) is compared with the upper limit value (La) (S26), and the reference level (Ba) S25 to S27 are repeated until becomes equal to or greater than the upper limit (La).
 〔実施形態7〕
 本発明の他の実施形態について、図14~19に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 7]
The following will describe another embodiment of the present invention with reference to FIGS. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
 <従来の情報処理装置>
 特許文献1に記載されているようなセンサ(接触センサ)は、周囲の環境の変化によって、物体が非接触のときのセンサ値が変化する場合がある。例えば、静電容量センサの場合、センサの周囲の温度変化によって、物体が非接触のときに検出されるセンサ値が変化してしまう。このとき物体が接触したか否かを判定するための閾値が不変であると、センサの誤動作(例えば、ユーザが接触センサに触れているのに、触れていないと判定するなど)が生じ得る。このような問題の解決策として、物体が非接触であると判断されるときのセンサ値を取得し、当該センサ値に合わせて所定の時間間隔で閾値を変化させる技術がある。
<Conventional information processing apparatus>
A sensor (contact sensor) as described in Patent Document 1 may change the sensor value when the object is not in contact with the surrounding environment. For example, in the case of a capacitance sensor, a sensor value detected when an object is not in contact changes due to a temperature change around the sensor. If the threshold value for determining whether or not an object has touched at this time is unchanged, a malfunction of the sensor (for example, determining that the user is touching the touch sensor but not touching it) may occur. As a solution to such a problem, there is a technique of acquiring a sensor value when an object is determined to be non-contact and changing a threshold value at a predetermined time interval in accordance with the sensor value.
 図19は、従来の情報処理装置におけるセンサ値と閾値との関係を示すタイミングチャートであり、(a)は、温度変化によるセンサ値の変化に応じて閾値を変化させたときのタイミングチャートであり、(b)は、ノイズの影響を受けてセンサ値が変化したときのタイミングチャートである。 FIG. 19 is a timing chart showing a relationship between a sensor value and a threshold value in a conventional information processing apparatus, and (a) is a timing chart when the threshold value is changed according to a change in the sensor value due to a temperature change. , (B) is a timing chart when the sensor value changes due to the influence of noise.
 図19の(a)に示すように、従来は、所定のタイミングでセンサ値を取得することによって、物体が非接触のときのセンサ値としての基準レベルを設定し、当該基準レベルと一定の差を有する値を閾値としていた。これにより、センサ値の変化に追従するようにして閾値を変化させ、センサの周囲の温度変化によって生じ得る誤動作を防止していた。 As shown in FIG. 19A, conventionally, by obtaining a sensor value at a predetermined timing, a reference level is set as a sensor value when the object is not in contact, and a certain difference from the reference level is set. A value having a threshold value was used as a threshold value. Thereby, the threshold value is changed so as to follow the change of the sensor value, and the malfunction that may occur due to the temperature change around the sensor is prevented.
 しかしながら、上記のようなセンサを備えた情報処理装置は、RFノイズなどの外乱によって誤動作が発生してしまうという問題がある。以下、具体的に説明する。 However, an information processing apparatus including the above-described sensor has a problem that malfunction occurs due to disturbance such as RF noise. This will be specifically described below.
 静電容量センサを備えた情報処理装置では、RFノイズの影響を受けたり、静電容量センサのインピーダンスが変動したりすることによって、センサ値が変化する。例えば、図19の(b)に示すように、時刻t0においてノイズの影響を受けてセンサ値が上昇(増大)し始め、センサ値の変化に追従するように基準レベル及び閾値を変化させ、時刻t1においてノイズの影響が無くなることによってセンサ値が低下(減少)する場合を考える。 In an information processing apparatus provided with a capacitance sensor, the sensor value changes due to the influence of RF noise or the impedance of the capacitance sensor fluctuating. For example, as shown in FIG. 19B, the sensor value starts to increase (increase) due to the influence of noise at time t0, and the reference level and threshold are changed so as to follow the change in the sensor value. Consider a case in which the sensor value decreases (decreases) because the influence of noise disappears at t1.
 ノイズの影響によるセンサ値の変化は、温度変化の影響によるセンサ値の変化に比べて急峻であるため、時刻t1以降のセンサ値の低下に対して、基準レベル及び閾値を十分な応答速度で追従変化させることができない。 The change in sensor value due to the effect of noise is steeper than the change in sensor value due to the effect of temperature change, so the reference level and threshold value are followed with sufficient response speed against the decrease in sensor value after time t1. It cannot be changed.
 その結果、時刻t2においてセンサ値が閾値を下回り、ユーザが接触センサに触れていないにもかかわらず触れていると判定するなどの誤動作をしてしまう。 As a result, the sensor value falls below the threshold value at time t2, and a malfunction occurs such as determining that the user is touching the touch sensor even though he is not touching it.
 <携帯端末1の構成>
 図14は、携帯端末1の要部構成の一例を示すブロック図である。携帯端末1は、接触センサ11、把持判定部12、およびホスト制御部13を備える情報処理装置である。なお、図14では図面の見やすさを考慮し、一部矢印を省略している。
<Configuration of mobile terminal 1>
FIG. 14 is a block diagram illustrating an example of a main configuration of the mobile terminal 1. The mobile terminal 1 is an information processing apparatus that includes a contact sensor 11, a grip determination unit 12, and a host control unit 13. In FIG. 14, some arrows are omitted in consideration of the visibility of the drawing.
 <把持判定部12の構成>
 把持判定部12は、センサ制御部21、接触判定部22、較正部23、変化量検知部24、及び基準値変更部25を備える。また、把持判定部12は、記憶部(図示せず)を備える。記憶部は、基準レベル(基準値)、把持閾値、および解放閾値などを記憶する。把持判定部12の各部は、記憶部からこれらの記憶された値を読み書きすることができる。
<Configuration of gripping determination unit 12>
The grip determination unit 12 includes a sensor control unit 21, a contact determination unit 22, a calibration unit 23, a change amount detection unit 24, and a reference value change unit 25. In addition, the grip determination unit 12 includes a storage unit (not shown). The storage unit stores a reference level (reference value), a gripping threshold value, a release threshold value, and the like. Each unit of the grip determination unit 12 can read and write these stored values from the storage unit.
 基準レベルは、筐体がユーザに把持されていないときのセンサ値を表すためのものである。把持閾値は、筐体が把持されていることを判定するための閾値である。解放閾値は、把持から解放された(手が離れた)ことを判定するための閾値である。例えば、把持閾値は、基準レベルより小さい値に設定される。解放閾値は、基準レベルより小さく、かつ把持閾値より大きい値に設定される。基準レベルと把持閾値との差および基準レベルと解放閾値との差は、あらかじめ設定されている。すなわち基準レベルが決まれば、それに応じて把持閾値および解放閾値は自ずと決まる。このように、基準レベルは、把持の有無を判定するための基準(把持閾値、解放閾値)を与えるために変更可能に設定される変数である。ここでは、把持の有無をヒステリシスに判定するために把持閾値と解放閾値とは異なるが、同じ値としてもよい。また、基準レベル、把持閾値、および解放閾値は、接触センサ11ごとにそれぞれ設定される。 The reference level is for representing a sensor value when the casing is not gripped by the user. The gripping threshold value is a threshold value for determining that the housing is gripped. The release threshold value is a threshold value for determining that the hand is released from the grip (the hand is released). For example, the gripping threshold is set to a value smaller than the reference level. The release threshold is set to a value smaller than the reference level and larger than the grip threshold. The difference between the reference level and the grip threshold and the difference between the reference level and the release threshold are set in advance. That is, when the reference level is determined, the gripping threshold value and the release threshold value are automatically determined accordingly. As described above, the reference level is a variable that is set to be changeable in order to provide a reference (gripping threshold value, release threshold value) for determining whether or not there is gripping. Here, the gripping threshold value and the release threshold value are different in order to determine the presence / absence of gripping as hysteresis, but they may be the same value. In addition, the reference level, the grip threshold, and the release threshold are set for each contact sensor 11.
 把持判定部12は、センサ値と閾値(把持閾値)とを比較し、センサ値が閾値を超えた場合に、筐体が把持されたと判定する。言い換えると、把持判定部12は、基準レベルとセンサ値との差分を算出し、上記差分が所定の値を超えた場合に、筐体が把持されたと判定する。 The grip determination unit 12 compares the sensor value with a threshold value (grip threshold value), and determines that the housing is gripped when the sensor value exceeds the threshold value. In other words, the grip determination unit 12 calculates a difference between the reference level and the sensor value, and determines that the housing is gripped when the difference exceeds a predetermined value.
 なお、「センサ値が閾値を超えた場合」は、「センサ値が閾値を越えた場合」と言い換えることができる。すなわち、ここでいう「センサ値が閾値を超えた場合」は、センサ値が閾値を跨いで変化することを意味し、センサ値が閾値を上回る場合と下回る場合とを含む。 Note that “when the sensor value exceeds the threshold value” can be rephrased as “when the sensor value exceeds the threshold value”. That is, “when the sensor value exceeds the threshold value” here means that the sensor value changes across the threshold value, and includes a case where the sensor value exceeds the threshold value and a case where the sensor value falls below the threshold value.
 具体的には、筐体が把持されるに伴ってセンサ値が変化する方向が正方向である場合、「センサ値が閾値を超えた場合」とは、センサ値が閾値を上回る場合を意味し、筐体が把持されるに伴ってセンサ値が変化する方向が負方向である場合、「センサ値が閾値を超えた場合」とは、センサ値が閾値を下回る場合を意味する。 Specifically, when the sensor value changes in the positive direction as the housing is gripped, “when the sensor value exceeds the threshold” means that the sensor value exceeds the threshold. When the direction in which the sensor value changes as the casing is gripped is a negative direction, “when the sensor value exceeds the threshold” means that the sensor value is below the threshold.
 筐体が把持されるに伴ってセンサ値が変化する方向を正方向とするか負方向とするかは、接触センサ11をはじめとする携帯端末1の設計に応じて適宜選択することができる。 Whether the direction in which the sensor value changes as the housing is gripped can be positive or negative can be appropriately selected according to the design of the mobile terminal 1 including the contact sensor 11.
 以下では、筐体が把持されるに伴ってセンサ値が変化する方向が負方向である携帯端末1を例に挙げて説明する。 Hereinafter, the portable terminal 1 in which the direction in which the sensor value changes as the casing is gripped is the negative direction will be described as an example.
 (センサ制御部21)
 センサ制御部21は、所定のタイミングで接触センサ11を動作させ、接触センサ11の出力としてセンサ値を取得する。センサ制御部21は、一定期間ごとに接触センサ11からセンサ値を取得する。接触センサ11が複数ある場合、センサ制御部21は、一定期間ごとにそれぞれの接触センサ11からセンサ値を取得する。センサ制御部21は、センサ値を、接触判定部22、変化量検知部24、及び基準値変更部25に出力する。
(Sensor control unit 21)
The sensor control unit 21 operates the contact sensor 11 at a predetermined timing, and acquires a sensor value as an output of the contact sensor 11. The sensor control unit 21 acquires a sensor value from the contact sensor 11 at regular intervals. When there are a plurality of contact sensors 11, the sensor control unit 21 acquires sensor values from the respective contact sensors 11 at regular intervals. The sensor control unit 21 outputs the sensor value to the contact determination unit 22, the change amount detection unit 24, and the reference value change unit 25.
 (接触判定部22)
 接触判定部22は、センサ値と把持閾値とを比較し、センサ値が把持閾値より小さくなった場合、ユーザの手が(筐体を介して)接触センサ11に接触していると判定する。また、接触判定部22は、現時点で接触センサ11が接触状態であることを記憶する。さらに、接触判定部22は、センサ値と解放閾値とを比較し、センサ値が解放閾値より大きくなった場合、ユーザの手が接触センサ11から離れた(把持から解放された)と判定する。また、接触判定部22は、現時点で接触センサ11が非接触状態であることを記憶する。センサ値が把持閾値以上かつ解放閾値以下の場合、接触判定部22は、直前の状態(接触状態または非接触状態)が継続していると判定し、その状態を記憶し続ける。
(Contact determination unit 22)
The contact determination unit 22 compares the sensor value with the gripping threshold value, and determines that the user's hand is in contact with the contact sensor 11 (via the housing) when the sensor value becomes smaller than the gripping threshold value. Moreover, the contact determination part 22 memorize | stores that the contact sensor 11 is a contact state at this time. Furthermore, the contact determination unit 22 compares the sensor value with the release threshold value, and determines that the user's hand is separated from the contact sensor 11 (released from gripping) when the sensor value is greater than the release threshold value. Moreover, the contact determination part 22 memorize | stores that the contact sensor 11 is a non-contact state at this time. If the sensor value is greater than or equal to the grip threshold and less than or equal to the release threshold, the contact determination unit 22 determines that the immediately previous state (contact state or non-contact state) continues and continues to store the state.
 接触判定部22は、複数の(両側の)接触センサ11が接触状態である場合、ユーザの手が筐体(携帯端末1)を把持していると判定する。例えば、片方の側面の接触センサ11だけが接触状態で、他方の側面の接触センサ11が非接触状態の場合、接触判定部22は、ユーザの手が筐体を把持していないと判定してもよい。なお、携帯端末1に設けられた接触センサ11が1つだけの場合、接触判定部22は、その接触センサ11の接触状態に基づいて把持の有無を判定する(把持判定ステップ)。接触判定部22は、把持の有無の判定結果情報を、ホスト制御部13に出力する。なお、以下の説明では簡単のため、1つの接触センサ11の接触状態の判定について説明する。 The contact determination unit 22 determines that the user's hand is holding the casing (the portable terminal 1) when a plurality of (both sides) contact sensors 11 are in contact. For example, when only the contact sensor 11 on one side is in contact and the contact sensor 11 on the other side is in a non-contact state, the contact determination unit 22 determines that the user's hand is not gripping the housing. Also good. When there is only one contact sensor 11 provided in the mobile terminal 1, the contact determination unit 22 determines the presence or absence of gripping based on the contact state of the contact sensor 11 (gripping determination step). The contact determination unit 22 outputs determination result information regarding the presence or absence of gripping to the host control unit 13. In the following description, for the sake of simplicity, determination of the contact state of one contact sensor 11 will be described.
 (較正部23)
 較正部23は、所定のタイミングでセンサ制御部21からセンサ値を取得し、センサ値に基づいて基準レベルを較正する。例えば較正部23は、一定期間ごとに基準レベルの較正を行う。また、較正部23は、携帯端末1の電源がオンになった時、および、把持判定の機能がオンに設定された時などにも基準レベルの較正を行う。較正部23は、センサ値を複数回取得し、複数のセンサ値の平均値(または中間値)を基準レベルとして設定する。基準レベルが変更されると、基準レベル値を変更した情報に基づいて、把持閾値および解放閾値も変更される。これにより、温度などの環境変化に応じて、非接触時のセンサ値を表すための基準レベルを較正することができる。
(Calibration unit 23)
The calibration unit 23 acquires the sensor value from the sensor control unit 21 at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 23 calibrates the reference level at regular intervals. The calibration unit 23 also calibrates the reference level when the mobile terminal 1 is turned on and when the grip determination function is turned on. The calibration unit 23 acquires sensor values a plurality of times, and sets an average value (or intermediate value) of the plurality of sensor values as a reference level. When the reference level is changed, the gripping threshold value and the release threshold value are also changed based on the information that has changed the reference level value. Thereby, the reference level for expressing the sensor value at the time of non-contact can be calibrated according to environmental changes, such as temperature.
 (変化量検知部24)
 変化量検知部24は、任意の時間におけるセンサ値の単位時間当たりの変化量(センサ値の傾き)を検知する(変化量検知ステップ)。さらに、センサ値の単位時間当たりの変化量を基準値変更部25に出力する。
(Change amount detection unit 24)
The change amount detection unit 24 detects the change amount (sensor value inclination) per unit time of the sensor value at an arbitrary time (change amount detection step). Further, the change amount per unit time of the sensor value is output to the reference value changing unit 25.
 センサ値の単位時間当たりの変化量とは、例えば、センサ制御部21によって一定期間を空けて連続して取得される2つのセンサ値の差分であってもよい。 The change amount per unit time of the sensor value may be, for example, a difference between two sensor values that are continuously acquired by the sensor control unit 21 with a certain period of time.
 (基準値変更部25)
 基準値変更部25は、変化量検知部24に検知されたセンサ値の変化量と、予め定められた変化量の閾値(変化閾値)とを比較し、比較結果に応じて、通常モード(第1モード)、及びUモード(第2モード)の何れかのモードを実行する。
(Reference value changing unit 25)
The reference value changing unit 25 compares the change amount of the sensor value detected by the change amount detection unit 24 with a predetermined change amount threshold value (change threshold value), and according to the comparison result, the normal mode (first mode). 1 mode) and U mode (second mode).
 具体的には、変化量検知部24によるセンサ値の変化量が変化閾値よりも小さい場合、通常モードを実行し、変化量検知部24によるセンサ値の変化量が変化閾値以上である場合、Uモードを実行する。そして、基準値変更部25は、必要に応じて基準レベルを変更し(基準値変更ステップ)、変更後の基準レベルを接触判定部22に出力する。 Specifically, when the change amount of the sensor value by the change amount detection unit 24 is smaller than the change threshold value, the normal mode is executed, and when the change amount of the sensor value by the change amount detection unit 24 is equal to or greater than the change threshold value, U Run the mode. Then, the reference value changing unit 25 changes the reference level as necessary (reference value changing step), and outputs the changed reference level to the contact determination unit 22.
 センサの周囲の温度が低温から高温へと変化する場合、温度変化に基づくセンサ値の変化量は、RFノイズの影響に基づくセンサ値の変化量よりも小さい。そこで、温度変化に基づくセンサ値の変化量と、RFノイズの影響に基づくセンサ値の変化量とを分類するのに適した値を、上記変化閾値として予め設定する。これにより、センサ値の変化を、温度変化によるものと、RFノイズの影響によるものとに分類することができ、それぞれの要因に基づくセンサ値の変化に応じて、各モードを実行することができる。 When the ambient temperature of the sensor changes from a low temperature to a high temperature, the change amount of the sensor value based on the temperature change is smaller than the change amount of the sensor value based on the influence of the RF noise. Therefore, a value suitable for classifying the change amount of the sensor value based on the temperature change and the change amount of the sensor value based on the influence of the RF noise is set in advance as the change threshold value. Thereby, changes in sensor values can be classified into those due to temperature changes and those due to the influence of RF noise, and each mode can be executed in accordance with changes in sensor values based on the respective factors. .
 基準値変更部25は、通常モード実行中は、センサ値の変化に追従して基準レベルを変更する。一方で、基準値変更部25は、Uモード実行中は、センサ値が変化した場合であってもセンサ値の変化に追従して基準レベルを変更しない。 The reference value changing unit 25 changes the reference level following the change of the sensor value during execution of the normal mode. On the other hand, the reference value changing unit 25 does not change the reference level following the change of the sensor value even when the sensor value changes during execution of the U mode.
 基準値変更部25は、通常モード実行中、センサ値の変化に追従するように基準レベルを変更することによって、温度変化などの周囲の環境の変化に応じて基準レベル及び閾値を変化させることができる。これにより、環境の変化が生じた場合であっても誤動作の発生を抑制することができる。 The reference value changing unit 25 can change the reference level and the threshold according to a change in the surrounding environment such as a temperature change by changing the reference level so as to follow the change in the sensor value during execution of the normal mode. it can. Thereby, even if it is a case where a change of an environment arises, generation | occurrence | production of a malfunction can be suppressed.
 また、RFノイズの影響によるセンサ値の変化量は、温度変化によるセンサ値の変化量よりも大きい。さらに、RFノイズの影響によるセンサ値の変化は、温度変化によるセンサ値の変化に比べて急峻である。そのため、RFノイズの影響によるセンサ値の変化に応じて基準レベルを変化させた場合、図19の(b)に示すように、突如、RFノイズが無くなったときに、ユーザの動作にかかわらずセンサ値が閾値(把持閾値、解放閾値)を超えてしまい、誤動作が発生してしまう。 Also, the amount of change in sensor value due to the influence of RF noise is larger than the amount of change in sensor value due to temperature change. Furthermore, the change in the sensor value due to the influence of the RF noise is steep compared to the change in the sensor value due to the temperature change. Therefore, when the reference level is changed according to the change of the sensor value due to the influence of the RF noise, as shown in FIG. 19 (b), when the RF noise suddenly disappears, the sensor regardless of the user's operation. The value exceeds a threshold value (gripping threshold value, release threshold value), and a malfunction occurs.
 これに対して、本実施形態の携帯端末1によれば、基準値変更部25は、センサ値の変化量が変化閾値以上である場合に、Uモードを実行し、Uモード実行中はセンサ値が変化した場合であってもセンサ値の変化に追従して基準レベルを変更しない。すなわち、基準値変更部25は、RFノイズなどの外乱の影響に応じて基準レベルを変更しない。これにより、RFノイズの影響による誤動作を抑制することができる。 On the other hand, according to the mobile terminal 1 of the present embodiment, the reference value changing unit 25 executes the U mode when the change amount of the sensor value is equal to or larger than the change threshold, and the sensor value during the execution of the U mode. Even if is changed, the reference level is not changed following the change of the sensor value. That is, the reference value changing unit 25 does not change the reference level according to the influence of disturbance such as RF noise. Thereby, malfunction due to the influence of RF noise can be suppressed.
 (動作例)
 以下、本実施形態におけるセンサ値と基準レベルとの関係、及び携帯端末1の制御方法について、具体例に基づいて説明する。
(Operation example)
Hereinafter, the relationship between the sensor value and the reference level and the control method of the mobile terminal 1 in the present embodiment will be described based on specific examples.
 図15は、本実施形態の携帯端末におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。 FIG. 15 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of this embodiment.
 図15に示すように、変化量検知部24は、時刻t1(第1の時刻)おけるセンサ値(第1センサ値)と、時刻t2(第2の時刻)におけるセンサ値(第2センサ値)との差分から、時刻t1から時刻t2までの時間(単位時間)当たりのセンサ値の変化量を検知する。時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が、予め定められた変化閾値以上である場合、基準値変更部25は、時刻t2において、通常モードからUモードに移行する。 As shown in FIG. 15, the change amount detection unit 24 has a sensor value (first sensor value) at time t1 (first time) and a sensor value (second sensor value) at time t2 (second time). From this difference, the change amount of the sensor value per time (unit time) from time t1 to time t2 is detected. When the change amount of the sensor value per unit time from time t1 to time t2 is equal to or greater than a predetermined change threshold, the reference value changing unit 25 shifts from the normal mode to the U mode at time t2.
 なお、仮に、時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が変化閾値よりも小さい場合、基準値変更部25は通常モードを継続し、時刻t2におけるセンサ値を基準レベルとして設定する。 If the change amount of the sensor value per unit time from time t1 to time t2 is smaller than the change threshold value, the reference value changing unit 25 continues the normal mode and sets the sensor value at time t2 as the reference level. To do.
 図15に示すように、基準値変更部25は、Uモード実行中、センサ値が変化した場合であっても基準レベルを変更しない。これにより、突如、RFノイズなどの外乱が無くなり、センサ値が低下した場合であっても、センサ値が容易に閾値(把持閾値、解放閾値)を超えることがないため、誤動作を抑制することができる。 As shown in FIG. 15, the reference value changing unit 25 does not change the reference level even when the sensor value changes during execution of the U mode. As a result, even when disturbance such as RF noise suddenly disappears and the sensor value decreases, the sensor value does not easily exceed the threshold value (gripping threshold value, release threshold value), so that malfunctions can be suppressed. it can.
 また、基準値変更部25は、Uモード実行中、時刻t3において、センサ値が予め定められた値であるUモード解除閾値(モード閾値)を超えた場合、Uモードにから通常モードに移行する。 The reference value changing unit 25 shifts from the U mode to the normal mode when the sensor value exceeds a U mode release threshold (mode threshold) that is a predetermined value at time t3 during execution of the U mode. .
 Uモード解除閾値の値は適宜設定することができる。例えば、Uモード解除閾値の値は、Uモード実行中における基準レベルと同じ値であってもよい。 The value of the U mode release threshold can be set as appropriate. For example, the value of the U mode release threshold value may be the same value as the reference level during execution of the U mode.
 〔実施形態8〕
 本発明の他の実施形態について、図16に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 8]
Another embodiment of the present invention will be described below with reference to FIG. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
 本実施形態の携帯端末1の基準値変更部25は、実施形態7の携帯端末の基準値変更部とは異なり、Uモード実行中であっても、温度変化などの環境の変化に対応して基準レベルを変更する。 Unlike the reference value changing unit of the portable terminal of the seventh embodiment, the reference value changing unit 25 of the portable terminal 1 of the present embodiment responds to environmental changes such as temperature changes even during the execution of the U mode. Change the reference level.
 図16は、本実施形態の携帯端末におけるセンサ値、基準レベル、及び閾値の関係を示すタイミングチャートである。 FIG. 16 is a timing chart showing the relationship between the sensor value, the reference level, and the threshold value in the mobile terminal of this embodiment.
 図16に示すように、変化量検知部24は、時刻t1おけるセンサ値と、時刻t2におけるセンサ値との差分から、時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量を検知する。時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が、予め定められた変化閾値以上である場合、基準値変更部25は、時刻t2において、通常モードからUモードに移行する。 As shown in FIG. 16, the change amount detection unit 24 detects the change amount of the sensor value per unit time from time t1 to time t2 from the difference between the sensor value at time t1 and the sensor value at time t2. . When the change amount of the sensor value per unit time from time t1 to time t2 is equal to or greater than a predetermined change threshold, the reference value changing unit 25 shifts from the normal mode to the U mode at time t2.
 変化量検知部24は、その後も単位時間当たりのセンサ値の変化量を検知する。そして、単位時間当たりのセンサ値の変化量が変化閾値以上である場合には、基準値変更部25は基準レベルを変更しない。 The change amount detection unit 24 detects the change amount of the sensor value per unit time thereafter. When the change amount of the sensor value per unit time is equal to or greater than the change threshold value, the reference value changing unit 25 does not change the reference level.
 一方、単位時間当たりのセンサ値の変化量の絶対値が、変化閾値よりも小さい場合には、基準レベルを上記変化量に応じて増減する。具体的には、時刻t3から時刻t4までの単位時間当たりのセンサ値の増加量S34の絶対値が変化閾値よりも小さい場合、時刻t4において、センサ値、閾値及びUモード閾値をS34だけ上昇させる。また、時刻t5から時刻t6までの単位時間当たりのセンサ値の減少量S56の絶対値が変化閾値よりも小さい場合、時刻t6において、センサ値、閾値及びUモード閾値をS56だけ低下させる。これにより、Uモード実行中において、単位時間当たりのセンサ値の変化量の絶対値が変化閾値よりも小さい場合に、当該センサ値の変化を環境の変化に起因するものと捉え、センサ値と基準レベルとの差を保ったまま、センサ値の変化に追従するように基準レベル及び閾値を変更することができる。 On the other hand, when the absolute value of the change amount of the sensor value per unit time is smaller than the change threshold, the reference level is increased or decreased according to the change amount. Specifically, when the absolute value of the sensor value increase amount S34 per unit time from time t3 to time t4 is smaller than the change threshold, the sensor value, the threshold, and the U mode threshold are increased by S34 at time t4. . If the absolute value of the sensor value decrease amount S56 per unit time from time t5 to time t6 is smaller than the change threshold value, the sensor value, threshold value, and U mode threshold value are decreased by S56 at time t6. As a result, when the absolute value of the change amount of the sensor value per unit time is smaller than the change threshold during execution of the U mode, the change of the sensor value is regarded as being caused by the change of the environment, and the sensor value and the reference The reference level and the threshold value can be changed so as to follow the change of the sensor value while maintaining the difference from the level.
 なお、時刻t7から時刻t8までの単位時間当たりのセンサ値の減少量S78の絶対値が変化閾値以上である場合、基準値変更部25は、センサ値、閾値及びUモード閾値を変更しない。 If the absolute value of the sensor value decrease amount S78 per unit time from time t7 to time t8 is equal to or greater than the change threshold, the reference value changing unit 25 does not change the sensor value, threshold, and U mode threshold.
 本実施形態の携帯端末によれば、Uモード実行中においても、環境の変化に対応して基準レベル及び閾値を適切に設定することができ、センサの周囲の環境の変化によって生じ得る誤動作を抑制することができる。 According to the mobile terminal of this embodiment, even during the execution of the U mode, it is possible to appropriately set the reference level and the threshold corresponding to the environmental change, and to suppress malfunctions that may occur due to the environmental change around the sensor. can do.
 〔実施形態9〕
 本発明の他の実施形態について、図17~図18に基づいて説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 9]
The following will describe another embodiment of the present invention with reference to FIGS. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.
 本実施形態の携帯端末1の基準値変更部25は、ユーザが接触センサ11に接触した状態(携帯端末1を把持した状態)で較正部23による較正が行われた後は、単位時間当たりのセンサ値の変化量が変化閾値以上である場合であっても、Uモードに移行せず、通常モードを実行することを特徴とする。 The reference value changing unit 25 of the mobile terminal 1 according to the present embodiment has a unit per unit time after calibration is performed by the calibration unit 23 in a state in which the user is in contact with the contact sensor 11 (a state in which the mobile terminal 1 is held). Even when the change amount of the sensor value is equal to or larger than the change threshold value, the normal mode is executed without shifting to the U mode.
 上述したように、携帯端末1において、較正部23は、所定のタイミングでセンサ値を取得し、センサ値に基づいて基準レベルを較正する。例えば較正部23は、一定期間ごとに基準レベルの較正を行う。具体的には、較正部23は、センサ値を複数回取得し、複数のセンサ値の平均値を基準レベルとして設定する。 As described above, in the mobile terminal 1, the calibration unit 23 acquires the sensor value at a predetermined timing, and calibrates the reference level based on the sensor value. For example, the calibration unit 23 calibrates the reference level at regular intervals. Specifically, the calibration unit 23 acquires sensor values a plurality of times, and sets an average value of the plurality of sensor values as a reference level.
 ユーザが携帯端末1を把持した状態では、センサ値は閾値よりも小さい値となっている。そのため、ユーザが携帯端末1を把持した状態で較正部23による較正が行われた場合、基準レベルは、較正時における閾値よりも小さい値に設定される。 When the user is holding the mobile terminal 1, the sensor value is smaller than the threshold value. Therefore, when the calibration is performed by the calibration unit 23 while the user is holding the mobile terminal 1, the reference level is set to a value smaller than the threshold value at the time of calibration.
 上記のように基準レベルが較正された場合、閾値は通常よりも低い値となってしまい、ユーザが携帯端末1を把持した状態であってもセンサ値が閾値を超え難いため、正常に把持判定をすることができない。 When the reference level is calibrated as described above, the threshold value is lower than normal, and the sensor value is unlikely to exceed the threshold value even when the user is holding the mobile terminal 1. I can't.
 そこで、本実施形態の携帯端末1の基準値変更部25は、ユーザが携帯端末1を把持した状態で較正部23による較正が行われた後の所定期間では、単位時間当たりのセンサ値の変化量が変化閾値以上である場合であっても、Uモードに移行せず通常モードを実行することにより、早期に基準レベルを較正前の値まで上昇させる。 Therefore, the reference value changing unit 25 of the mobile terminal 1 according to the present embodiment changes the sensor value per unit time in a predetermined period after the calibration is performed by the calibration unit 23 with the user holding the mobile terminal 1. Even if the amount is equal to or greater than the change threshold value, the reference level is raised to the value before calibration early by executing the normal mode without shifting to the U mode.
 以下、具体例を挙げて説明する。図17及び図18は、本実施形態の携帯端末におけるセンサ値及び基準レベルの関係を示すタイミングチャートである。 Hereinafter, a specific example will be described. 17 and 18 are timing charts showing the relationship between the sensor value and the reference level in the mobile terminal of the present embodiment.
 図17に示すように、ユーザが携帯端末1を把持することによって、時刻t0からセンサ値が低下し始め、閾値(図示しない)以下まで低下する。センサ値が閾値以下まで低下した状態で、時刻t1において較正部23による較正が行われた場合、基準レベルは、較正前の値Bc(第1基準値)から較正時のセンサ値まで低下する。 As shown in FIG. 17, when the user holds the mobile terminal 1, the sensor value starts to decrease from time t <b> 0 and decreases to a threshold value (not shown) or less. When calibration by the calibration unit 23 is performed at time t1 in a state where the sensor value has decreased below the threshold value, the reference level decreases from the pre-calibration value Bc (first reference value) to the sensor value at the time of calibration.
 基準値変更部25は、較正前の基準レベルの値であるBcを記憶する。そして、基準レベルが上昇して再びBcとなるまでの期間において、単位時間当たりのセンサ値の変化量が変化閾値以上であっても、基準値変更部25は、Uモードに移行することなく通常モードを実行する。具体的には、基準レベルが上昇して再びBcとなるまでの期間において、時刻t1から時刻t2までの単位時間当たりのセンサ値の変化量が変化閾値以上であっても、基準値変更部25は通常モードを実行し、センサ値の変化に追従するように基準レベルを変更する。 The reference value changing unit 25 stores Bc, which is a reference level value before calibration. In the period from when the reference level rises to Bc again, the reference value changing unit 25 normally does not shift to the U mode even if the change amount of the sensor value per unit time is equal to or greater than the change threshold. Run the mode. Specifically, in the period from when the reference level increases to Bc again, even if the sensor value change amount per unit time from time t1 to time t2 is greater than or equal to the change threshold, the reference value changing unit 25 Executes the normal mode and changes the reference level to follow the change of the sensor value.
 基準レベルが上昇して再びBcとなった後は、基準値変更部25は、実施形態7及び8と同様に、通常モード又はUモードを実行する。 After the reference level increases and becomes Bc again, the reference value changing unit 25 executes the normal mode or the U mode as in the seventh and eighth embodiments.
 また、図18に示すように、時刻t1において較正部23による較正が行われた後、時刻t2において、センサ値がBcよりも大きくなった場合には、基準値変更部25は、基準レベルをBcに設定する。これにより、時刻t1において較正部23による較正が行われた後、センサ値がBcよりも大きくなった場合に、較正前の基準レベルの値(Bc)を上限として基準レベルを設定することによって、基準レベルの過度な上昇を防止することができる。 As shown in FIG. 18, after the calibration by the calibration unit 23 at time t1, if the sensor value becomes larger than Bc at time t2, the reference value changing unit 25 sets the reference level. Set to Bc. Thus, after the calibration by the calibration unit 23 at time t1, when the sensor value becomes larger than Bc, by setting the reference level with the reference level value (Bc) before calibration as the upper limit, An excessive increase in the reference level can be prevented.
 上記の構成によれば、ユーザが携帯端末1を把持した状態で較正部23による較正が行われることによって基準レベルが極端に低下した場合であっても、早期に基準レベルを較正前の値に戻すことができ、正常に把持判定をすることができる。また、Bcは較正前の保持された基準レベルとしたが、ここは、絶対値で設定してもよい。 According to said structure, even if it is a case where a reference level falls extremely by calibration by the calibration part 23 in the state which the user hold | gripped the portable terminal 1, a reference level is made into the value before calibration early. It can be returned, and a gripping determination can be made normally. In addition, Bc is a held reference level before calibration, but may be set as an absolute value.
 〔ソフトウェアによる実現例〕
 携帯端末1・101・201の制御ブロック(特に把持判定部12・112・212)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of software implementation]
The control blocks (particularly the gripping determination units 12, 112, and 212) of the mobile terminals 1, 101, and 201 may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, It may be realized by software using a Central Processing Unit.
 後者の場合、携帯端末1・101・201は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the mobile terminals 1, 101, and 201 include a CPU that executes instructions of a program, which is software that implements each function, and a ROM (Read CPU) in which the program and various data are recorded so as to be readable by the computer (or CPU). Only Memory) or a storage device (these are referred to as “recording media”), RAM (Random Access Memory) for expanding the program, and the like. And the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it. As the recording medium, a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.
 〔まとめ〕
 本発明の態様1に係る情報処理装置は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサ(11)を備え、把持の有無を判定するための基準を与えるため、把持されているときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置(携帯端末201)であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、上記センサ値が、上記把持部がユーザに把持されていることの判定に用いられる第1閾値(把持閾値TH1)未満である第2閾値(異常判定閾値TH2)以下の値となる場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定する異常判定部(224)を備える。
[Summary]
The information processing apparatus according to the first aspect of the present invention includes a contact sensor (11) that is provided at a position where a user's hand holding the gripping unit touches and outputs a sensor value, and is a reference for determining the presence or absence of gripping The reference value for representing the sensor value when gripped is set to be changeable (portable terminal 201), and changes as the sensor value is gripped. When the direction is defined as a negative direction, the sensor value is a second threshold value (abnormality determination threshold value TH2) that is less than a first threshold value (gripping threshold value TH1) used for determining that the grip portion is gripped by the user. In the case of the following values, the information processing apparatus includes an abnormality determination unit (224) that determines that there is an abnormal state in which a foreign substance such as water is in contact.
 上記構成によれば、異常判定部は、把持部がユーザに把持されていることの判定に用いられる第1閾値未満である第2閾値用いて、情報処理装置は水等の異物が接触している異常状態にあることを判定する。このため、情報処理装置は、接触センサと水等の異物とが接触している状態と、接触センサとユーザの手とが接触している状態とを区別して判定できる。 According to the above configuration, the abnormality determination unit uses the second threshold value that is less than the first threshold value used to determine that the grip unit is gripped by the user, and the information processing apparatus is in contact with foreign matter such as water. It is determined that there is an abnormal state. For this reason, the information processing apparatus can distinguish and determine the state in which the contact sensor is in contact with a foreign substance such as water and the state in which the contact sensor is in contact with the user's hand.
 本発明の態様2に係る情報処理装置は、上記態様1において、上記異常判定部は、上記センサ値が上記第2閾値以下の値となってから所定の時間において、上記センサ値が、上記第1閾値未満かつ上記第2閾値以上である第3閾値(異常解除閾値Hys2)未満の値であることが継続している場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定してもよい。 The information processing apparatus according to aspect 2 of the present invention is the information processing apparatus according to aspect 1, wherein the abnormality determination unit determines that the sensor value is the first value at a predetermined time after the sensor value becomes equal to or less than the second threshold value. If the information processing device continues to be less than a third threshold (abnormality cancellation threshold Hys2) that is less than one threshold and greater than or equal to the second threshold, the information processing apparatus is in an abnormal state in which foreign matter such as water is in contact It may be determined that
 上記構成によれば、センサ値が第2閾値以下の値となってから所定の時間後に、異常判定部は、上記情報処理装置は水等の異物が接触している異常状態にあると判定する。このため、ユーザにより情報処理装置が把持されたままにおいて使用されるアプリケーション(例えば動画像を閲覧するアプリケーション)が作動している場合、当該アプリケーションが作動中においては、異常判定部によって異常状態と判定されることを回避することができる。ゆえに、センサ値が第2閾値以下の値となってから所定の時間中は、ユーザは、情報処理装置をじっと把持したままの状態であっても、当該アプリケーションを利用することができる。 According to the above configuration, the abnormality determination unit determines that the information processing apparatus is in an abnormal state in which a foreign substance such as water is in contact after a predetermined time has elapsed since the sensor value becomes equal to or less than the second threshold value. . For this reason, when an application that is used while the information processing apparatus is held by the user (for example, an application for viewing a moving image) is operating, the abnormality determination unit determines that the application is in an abnormal state while the application is operating. Can be avoided. Therefore, during a predetermined time after the sensor value becomes equal to or smaller than the second threshold value, the user can use the application even if the user is still holding the information processing apparatus.
 本発明の態様3に係る情報処理装置は、上記態様1または2において、上記異常判定部によって異常状態にあると判定された場合に、上記情報処理装置にて行われている処理のうち一部の処理を停止させる処理停止部(225)をさらに備えてもよい。 An information processing apparatus according to aspect 3 of the present invention is a part of the processes performed in the information processing apparatus when the abnormality determination unit determines that the information processing apparatus is in an abnormal state in aspect 1 or 2. A process stop unit (225) for stopping the process may be further provided.
 上記の構成によれば、異常判定部によって異常状態と判定された場合に、処理停止部が、情報処理装置にて行われている処理のうち一部の処理を停止させる。このため、アプリケーションの誤作動を回避する、および情報処理装置の消費電力を低減するという効果を奏する。 According to the above configuration, when the abnormality determination unit determines that the state is abnormal, the process stop unit stops a part of the processes performed in the information processing apparatus. For this reason, it is effective in avoiding the malfunction of an application and reducing the power consumption of information processing apparatus.
 本発明の態様4に係る情報処理装置は、上記態様1から3の何れか1態様において、上記センサ値が、上記第1閾値未満かつ上記第2閾値以上である第3閾値(異常解除閾値Hys2)以上の値となる場合に、上記異常判定部による異常状態との判定を解除する判定解除部(226)をさらに備えていてもよい。 The information processing apparatus according to aspect 4 of the present invention is the information processing apparatus according to any one of the aspects 1 to 3, wherein the sensor value is less than the first threshold and greater than or equal to the second threshold (abnormality cancellation threshold Hys2). ) When the value is equal to or greater than the above value, a determination cancellation unit (226) that cancels the determination of an abnormal state by the abnormality determination unit may be further provided.
 上記構成によれば、第1閾値未満の第3閾値を用いて異常状態の判定が解除される。このため、接触センサから水等の異物が完全に除去されていない場合(接触センサに水等の異物が付着している場合)においてでさえも、上記基準値が変更可能となり、接触センサとユーザの手とが接触している状態を正確に判定することができる。 According to the above configuration, the determination of the abnormal state is canceled using the third threshold value less than the first threshold value. For this reason, even when foreign matter such as water is not completely removed from the contact sensor (when foreign matter such as water adheres to the contact sensor), the reference value can be changed. It is possible to accurately determine the state of contact with the hand.
 本発明の態様5に係る情報処理装置は、上記態様4において、上記判定解除部は、上記センサ値が上記第3閾値以上の値となってから所定の時間中、上記センサ値が上記第3閾値以上の値であることが継続している場合に、上記異常判定部による異常状態との判定を解除してもよい。 The information processing apparatus according to aspect 5 of the present invention is the information processing apparatus according to aspect 4, wherein the determination canceling unit is configured such that the sensor value is the third value for a predetermined time after the sensor value becomes equal to or greater than the third threshold value. When the value is continuously greater than or equal to the threshold value, the determination of an abnormal state by the abnormality determination unit may be canceled.
 上記構成によれば、センサ値が第3閾値以上の値となってから所定の時間後に、異常判定部による異常状態との判定が解除される。このため、センサ値が安定した後に、異常判定部による異常状態との判定が解除することができる。 According to the above configuration, the determination of the abnormal state by the abnormality determination unit is canceled after a predetermined time after the sensor value becomes equal to or greater than the third threshold value. For this reason, after the sensor value is stabilized, the determination of the abnormal state by the abnormality determination unit can be canceled.
 なお、上記態様4または5において、上記情報処理装置は、複数の上記接触センサを備え、上記判定解除部は、複数の上記接触センサ全てについて上記センサ値が上記第3閾値より大きい値となる場合に、上記異常判定部による異常状態との判定を解除してもよい。 Note that in the above aspect 4 or 5, the information processing apparatus includes a plurality of the contact sensors, and the determination canceling unit has a value greater than the third threshold value for all the plurality of contact sensors. In addition, the determination of an abnormal state by the abnormality determination unit may be canceled.
 上記構成によれば、全ての接触センサが水等の異物に接触していない場合に、情報処理装置が異常状態との判定が解除される。このため、携帯端末201において、任意のアプリケーションの誤作動をより確実に防止でき、消費電力をさらに低減できる。 According to the above configuration, when all the contact sensors are not in contact with foreign matters such as water, the determination that the information processing apparatus is in an abnormal state is cancelled. For this reason, in the portable terminal 201, malfunction of an arbitrary application can be prevented more reliably, and power consumption can be further reduced.
 本発明の態様6に係る情報処理装置の制御方法は、把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、把持の有無を判定するための基準を与えるため、把持されているときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置の制御方法であって、上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、上記センサ値が、上記把持部がユーザに把持されていることの判定に用いられる第1閾値未満である第2閾値以下の値となる場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定する異常判定ステップを含む。 The control method of the information processing device according to aspect 6 of the present invention is provided with a contact sensor that outputs a sensor value provided at a position where a user's hand holding the gripping unit touches, and a reference for determining whether or not the gripping is performed In order to provide a control method for an information processing apparatus in which a reference value for representing the sensor value when gripped is set to be changeable, a direction that changes as the sensor value is gripped is changed. When the negative direction is defined, when the sensor value is equal to or less than a second threshold value that is less than the first threshold value used for determining that the grip portion is being gripped by the user, the information processing apparatus An abnormality determination step for determining that there is an abnormal state in which a foreign substance such as water is in contact is included.
 上記構成によれば、上記態様1と同様の効果を奏する。 According to the above configuration, the same effect as in the first aspect is obtained.
 本発明の態様7に係る情報処理装置(携帯端末101)は、把持部を把持したユーザの手が接触する位置に設けられた、センサ値を出力する接触センサ(11)を備えており、上記把持部が把持されていない状態における上記センサ値を表すための基準値(基準レベル)が設定されており、上記センサ値が、上記基準値と所定の差を有する値である接触閾値を超えた場合に、上記把持部が把持されたと認識する情報処理装置であって、上記センサ値の変化に伴い、上記基準値を変更する基準値変更部(124)を備えており、上記基準値変更部は、上記センサ値が、上記基準値の変更を制限するために設定された第1の値(上限値)を超えることなく変化した場合に、上記センサ値の変化を追従させるように上記基準値を変更するとともに、上記センサ値が上記第1の値を超えて変化した場合に、当該センサ値の変化を追従させることなく上記基準値を設定する補正モードを実行することを特徴とする。 An information processing apparatus (portable terminal 101) according to aspect 7 of the present invention includes a contact sensor (11) that outputs a sensor value, provided at a position where a user's hand holding the holding unit comes into contact. A reference value (reference level) for expressing the sensor value in a state where the grip portion is not gripped is set, and the sensor value exceeds a contact threshold value that is a value having a predetermined difference from the reference value. In this case, the information processing apparatus recognizes that the grip unit is gripped, and includes a reference value change unit (124) that changes the reference value according to a change in the sensor value. Is the reference value so as to follow the change of the sensor value when the sensor value changes without exceeding the first value (upper limit value) set to limit the change of the reference value. As well as change When the sensor value changes by more than the first value, and executes a correction mode for setting the reference value without follow the change of the sensor value.
 上記の構成によれば、基準値変更部は、センサ値が第1の値を超えて変化した場合に、センサ値の変化を追従させることなく基準値を設定する。具体的には、例えば、センサ値が上限値を超えて変化した場合、基準レベルは上限値を超えない値に設定される。その結果、基準レベル及び閾値の上昇にも制限がかかる。 According to the above configuration, the reference value changing unit sets the reference value without following the change in the sensor value when the sensor value changes beyond the first value. Specifically, for example, when the sensor value changes beyond the upper limit value, the reference level is set to a value that does not exceed the upper limit value. As a result, the increase in the reference level and the threshold is also limited.
 これにより、突如RFノイズの影響が無くなりセンサ値が急激に低下した場合であっても、センサ値が容易に閾値を越えることがないため、誤動作を抑制することができる。 Thus, even if the sensor value suddenly disappears and the sensor value suddenly drops, the sensor value does not easily exceed the threshold value, so that malfunction can be suppressed.
 本発明の態様8に係る情報処理装置は、上記態様7において、把持されるに伴って上記センサ値が変化する方向を負方向と定義した場合、上記第1の値は、上記把持部が把持されていない状態における上記センサ値よりも大きい値に設定されており、把持されるに伴って上記センサ値が変化する方向を正方向と定義した場合、上記第1の値は、上記把持部が把持されていない状態における上記センサ値よりも小さい値(負の方向)に設定されている構成であってもよい。 In the information processing apparatus according to aspect 8 of the present invention, when the direction in which the sensor value changes as it is grasped is defined as the negative direction in the aspect 7, the first value is grasped by the grasping unit. When the direction in which the sensor value changes as it is gripped is defined as the positive direction, the first value is The configuration may be such that the sensor value is set to a value (negative direction) that is smaller than the sensor value in a state where it is not gripped.
 本発明の態様9に係る情報処理装置は、上記態様7において、ある時刻における上記基準値である第1基準値(基準レベルZ2)が、予め定められた補正モード実行閾値(JLa)を超えて上記第1基準値とは異なる第2基準値(基準レベルref(0))に変更された場合、上記基準値変更部は上記補正モードを実行し、上記第1の値は、上記第2基準値以上、かつ、上記第1基準値以下の値である構成であってもよい。 In the information processing apparatus according to aspect 9 of the present invention, in the aspect 7, the first reference value (reference level Z2) that is the reference value at a certain time exceeds a predetermined correction mode execution threshold (JLa). When the second reference value (reference level ref (0)) different from the first reference value is changed, the reference value changing unit executes the correction mode, and the first value is set to the second reference value. The structure which is more than a value and below the said 1st reference value may be sufficient.
 上記の構成によれば、基準値が補正モード実行閾値を超えて変化した場合、第1の値を上限値として基準値を変化前の値に戻すことができる。 According to the above configuration, when the reference value changes beyond the correction mode execution threshold, the reference value can be returned to the value before the change with the first value as the upper limit value.
 そのため、例えば、ユーザが把持部を把持した状態で基準値の較正が行われることによって、基準値が、ユーザが把持部を把持した状態のセンサ値まで極端に低下した場合であっても、早期に基準値を較正前の値に戻すことができ、正常に把持判定をすることができる。 Therefore, for example, even if the reference value is extremely lowered to the sensor value in a state where the user grips the grip portion by performing calibration of the reference value while the user grips the grip portion, Thus, the reference value can be returned to the value before calibration, and the gripping determination can be performed normally.
 さらに、基準レベルの上昇は第1の値によって制限されるため、ノイズの影響によって基準値及び閾値が極端に上昇することもない。そのため、突如RFノイズの影響が無くなりセンサ値が急激に低下した場合であっても、センサ値が容易に閾値を越えることがないため、誤動作を抑制することができる。 Furthermore, since the increase in the reference level is limited by the first value, the reference value and the threshold value do not increase excessively due to the influence of noise. For this reason, even when the influence of the RF noise suddenly disappears and the sensor value rapidly decreases, the sensor value does not easily exceed the threshold value, so that malfunction can be suppressed.
 本発明の態様10に係る情報処理装置は、上記態様9において、上記補正モードにおいて、上記基準値変更部は、上記センサ値が上記第1の値を超えて変化した場合に、上記第1の値を上記基準値として設定する構成であってもよい。 In the information processing device according to aspect 10 of the present invention, in the aspect 9, in the correction mode, the reference value changing unit may change the first value when the sensor value changes beyond the first value. The structure which sets a value as the said reference value may be sufficient.
 上記の構成によれば、センサ値が第1の値を超えて変化した場合に、基準値を第1の値まで変化させることができる。そのため、基準レベルが極端に低下した後、早期に基準レベルを較正前の値に戻すことができ、正常に把持判定をすることができる。 According to the above configuration, when the sensor value changes beyond the first value, the reference value can be changed to the first value. Therefore, after the reference level is extremely lowered, the reference level can be returned to the value before calibration at an early stage, and the gripping determination can be performed normally.
 なお、上記態様9または10において、上記第1の値は、上記第1基準値に等しい値である構成であってもよい。 In the aspect 9 or 10, the first value may be a value equal to the first reference value.
 なお、上記態様9または10において、上記第1の値は、上記第2基準値に所定の値を加えた値である構成であってもよい。 In the aspect 9 or 10, the first value may be a value obtained by adding a predetermined value to the second reference value.
 なお、上記態様9または10において、上記補正モード実行閾値は、上記接触閾値と等しい値である構成であってもよい。 In addition, in the said aspect 9 or 10, the structure which is a value equal to the said contact threshold value may be sufficient as the said correction mode execution threshold value.
 本発明の態様11に係る情報処理装置の制御方法は、把持部を把持したユーザの手が接触する位置に設けられた、センサ値を出力する接触センサを備えており、上記把持部が把持されていない状態における上記センサ値を表すための基準値が設定されており、上記センサ値が、上記基準値と所定の差を有する値である接触閾値を超えた場合に、上記把持部が把持されたと認識する情報処理装置の制御方法であって、上記センサ値の変化に伴い、上記基準値を変更する基準値変更ステップを含んでおり、上記基準値変更ステップにおいて、上記センサ値が、上記基準値の変更を制限するために設定された第1の値を超えることなく変化した場合に、上記センサ値の変化を追従させるように上記基準値を変更するとともに、上記センサ値が上記第1の値を超えて変化した場合に、当該センサ値の変化を追従させることなく上記基準値を設定する補正モードを実行することを特徴とする。 The control method of the information processing apparatus according to the eleventh aspect of the present invention includes a contact sensor that outputs a sensor value provided at a position where a user's hand holding the gripping unit touches, and the gripping unit is gripped. A reference value is set to represent the sensor value in a state where the sensor is not in contact, and the grip portion is gripped when the sensor value exceeds a contact threshold that is a value having a predetermined difference from the reference value. A control method of an information processing apparatus that recognizes that the sensor value includes a reference value changing step that changes the reference value in accordance with a change in the sensor value. In the reference value changing step, the sensor value is the reference value When the reference value is changed so as to follow the change of the sensor value when the value changes without exceeding the first value set to limit the change of the value, the sensor value is If the changes beyond the first value, and executes a correction mode for setting the reference value without follow the change of the sensor value.
 本発明の態様12に係る情報処理装置(携帯端末1)は、把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサ(11)と、上記物体が非接触のときの上記センサ値に対応する基準値(基準レベル)と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定部(12)と、上記センサ値の変化に伴い、上記基準値を変更する基準値変更部(25)と、を備えた情報処理装置であって、任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知部(24)を備えており、上記基準値変更部は、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モード(通常モード)を実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする。 An information processing apparatus (portable terminal 1) according to an aspect 12 of the present invention is provided at a position where a user's hand holding the gripping unit comes into contact, and changes with an object approaching or contacting the gripping unit. A contact sensor (11) that outputs a value, a reference value (reference level) corresponding to the sensor value when the object is not in contact, and a difference value between the output sensor value and An information processing apparatus comprising: a grip determination unit (12) that determines presence / absence; and a reference value change unit (25) that changes the reference value in accordance with a change in the sensor value. A change amount detection unit (24) for detecting a change amount per unit time of the sensor value is provided, and the reference value changing unit, when the change amount is smaller than a change threshold value that is a predetermined value, The value of the sensor value is And executes a first mode to be set as a value (normal mode), if the change amount is equal to or larger than the variation threshold, characterized in that it does not execute the first mode.
 上記の構成によれば、基準値変更部は、単位時間当たりのセンサ値の変化量が変化閾値以上である場合に、第1モードを実行しないため、センサ値が変化した場合であってもセンサ値の変化に追従して基準値を変更しない。 According to the above configuration, the reference value changing unit does not execute the first mode when the change amount of the sensor value per unit time is equal to or greater than the change threshold value, so even if the sensor value has changed, The reference value is not changed following the change in value.
 一般的に、RFノイズなどの外乱の影響に基づくセンサ値の変化量は、温度変化などの環境の変化に基づくセンサ値の変化量よりも大きい。 Generally, the change amount of the sensor value based on the influence of disturbance such as RF noise is larger than the change amount of the sensor value based on environmental change such as temperature change.
 そこで、外乱の影響に基づくセンサ値の変化量と、環境の変化に基づくセンサ値の変化量とを分類するのに適した値を、変化閾値として設定しておくことによって、外乱の影響に基づいてセンサ値が変化した場合に、センサ値の変化に追従して基準値を変更しないものとすることができる。 Therefore, based on the influence of the disturbance by setting a value suitable for classifying the change amount of the sensor value based on the influence of the disturbance and the change amount of the sensor value based on the environmental change as a change threshold. Thus, when the sensor value changes, the reference value may not be changed following the change of the sensor value.
 これにより、突如、外乱の影響が無くなった場合であっても、センサ値が容易に接触閾値を超えることがないため、外乱の影響による誤動作を抑制することができる。 Thus, even if the influence of disturbance suddenly disappears, the sensor value does not easily exceed the contact threshold value, so that malfunction due to the influence of disturbance can be suppressed.
 本発明の態様13に係る情報処理装置は、上記態様12において、上記センサ値は、上記把持部に対する物体の接近又は接触に伴って値が変化し、上記変化量検知部は、第1の時刻(時刻t1)に検出されたセンサ値としての第1センサ値から、第1の時刻よりも後の第2の時刻(時刻t2)に検出されたセンサ値としての第2センサ値への増加量を、上記変化量として検知し、上記基準値変更部は、上記変化量が上記変化閾値よりも小さい場合に、上記第1モードにおいて、上記第2センサ値の値を上記基準値として設定する構成であってもよい。 In the information processing device according to aspect 13 of the present invention, in the aspect 12, the sensor value changes as the object approaches or touches the grip portion, and the change amount detection unit is set to the first time. Increase amount from the first sensor value as the sensor value detected at (time t1) to the second sensor value as the sensor value detected at the second time (time t2) after the first time Is detected as the amount of change, and the reference value changing unit sets the value of the second sensor value as the reference value in the first mode when the amount of change is smaller than the change threshold. It may be.
 上記の構成によれば、環境の変化に基づくセンサ値の変化に対応して、基準値を適切に設定することができ、センサの周囲の環境の変化によって生じ得る誤動作を抑制することができる。 According to the above configuration, the reference value can be appropriately set in response to the change in the sensor value based on the change in the environment, and the malfunction that may occur due to the change in the environment around the sensor can be suppressed.
 本発明の態様14に係る情報処理装置は、上記態様12または13において、上記基準値変更部は、上記変化量が上記変化閾値以上である場合に、上記センサ値の値を上記基準値として設定しない第2モード(Uモード)を実行し、上記基準値変更部は、上記第2モード実行中に上記接触センサから出力された上記センサ値が、予め定められた値であるモード閾値(Uモード解除閾値)を超えた場合に、上記第2モードに代えて、上記第1モードを実行する構成であってもよい。 In the information processing device according to aspect 14 of the present invention, in the aspect 12 or 13, the reference value changing unit sets the value of the sensor value as the reference value when the amount of change is equal to or greater than the change threshold. The second mode (U mode) is executed, and the reference value changing unit is configured to set a mode threshold value (U mode) in which the sensor value output from the contact sensor during execution of the second mode is a predetermined value. If the release threshold is exceeded, the first mode may be executed instead of the second mode.
 上記の構成によれば、第1モードと第2モードとを、予め定められたモード閾値の値に応じて適切に切り替えることができる。 According to the above configuration, the first mode and the second mode can be appropriately switched according to a predetermined mode threshold value.
 なお、上記態様14において、上記モード閾値は、上記第2モード実行中における上記基準値と等しい値であってもよい。 In the aspect 14, the mode threshold value may be a value equal to the reference value during execution of the second mode.
 本発明の態様15に係る情報処理装置は、上記態様14において、上記第2モード実行中の単位時間当たりの上記センサ値の変化量の絶対値が、上記変化閾値の絶対値よりも小さい場合、上記基準値変更部は、上記基準値及び上記モード閾値を、当該変化量に応じて増減する構成であってもよい。 In the information processing apparatus according to aspect 15 of the present invention, in the aspect 14, when the absolute value of the change amount of the sensor value per unit time during execution of the second mode is smaller than the absolute value of the change threshold value, The reference value changing unit may be configured to increase or decrease the reference value and the mode threshold according to the change amount.
 上記の構成によれば、第2モード実行中においても、環境の変化に対応して基準レベル及び閾値を適切に設定することができ、センサの周囲の環境の変化によって生じ得る誤動作を抑制することができる。 According to the above configuration, even during execution of the second mode, it is possible to appropriately set the reference level and the threshold corresponding to the environmental change, and to suppress malfunction that may occur due to the environmental change around the sensor. Can do.
 本発明の態様16に係る情報処理装置は、上記態様14または15において、上記基準値変更部は、ある時刻の上記基準値である第1基準値を、把持部が把持された状態における上記センサ値に変更した後、上記センサ値が上記第1基準値を超えるまでの期間、上記変化量が上記変化閾値以上であっても、上記第2モードに移行せず、上記第1モードを実行する構成であってもよい。 In the information processing device according to aspect 16 of the present invention, in the aspect 14 or 15, the reference value changing unit is configured to detect the first reference value, which is the reference value at a certain time, from the sensor in a state where the gripping part is gripped. After the change to the value, during the period until the sensor value exceeds the first reference value, even if the change amount is not less than the change threshold value, the first mode is executed without shifting to the second mode. It may be a configuration.
 上記の構成によれば、ユーザが情報処理装置を把持した状態で基準値の較正が行われることによって基準値が極端に上昇又は低下した場合であっても、早期に基準値を較正前の値に戻すことができ、正常に把持判定をすることができる。 According to the above configuration, even if the reference value is extremely increased or decreased due to calibration of the reference value while the user is holding the information processing apparatus, the reference value is set to the value before calibration at an early stage. Thus, the gripping determination can be made normally.
 本発明の態様17に係る情報処理装置の制御方法は、把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサを備えた情報処理装置の制御方法であって、上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定ステップと、上記センサ値の変化に伴い、上記基準値を変更する基準値変更ステップと、任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知ステップと、を含んでおり、上記基準値変更ステップにおいて、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする。 The control method of the information processing apparatus according to the seventeenth aspect of the present invention is provided at a position where the user's hand that holds the gripping unit touches, and sensor values that change as the object approaches or touches the gripping unit. A method for controlling an information processing apparatus including an output contact sensor, based on a difference value between a reference value corresponding to the sensor value when the object is non-contact and the output sensor value A gripping determination step for determining the presence or absence of gripping, a reference value changing step for changing the reference value as the sensor value changes, and a change amount for detecting a change amount per unit time of the sensor value at an arbitrary time A detection step, and when the change amount is smaller than a change threshold value that is a predetermined value in the reference value changing step, the sensor value is used as the reference value. And it executes a first mode in which the constant, if the change amount is equal to or larger than the variation threshold, characterized in that it does not execute the first mode.
 本発明の各態様に係る携帯端末は、コンピュータによって実現してもよく、この場合には、コンピュータを上記携帯端末が備える各手段として動作させることにより上記携帯端末をコンピュータにて実現させる携帯端末の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The mobile terminal according to each aspect of the present invention may be realized by a computer. In this case, the mobile terminal is realized by the computer by causing the computer to operate as each unit included in the mobile terminal. A control program and a computer-readable recording medium on which the control program is recorded also fall within the scope of the present invention.
 本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。 The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention. Furthermore, a new technical feature can be formed by combining the technical means disclosed in each embodiment.
 本発明は、接触センサを備える情報処理装置(スマートフォン、携帯電話、タブレット端末、リモコン、ドライヤー、掃除機、その他ハンドルで操作する情報処理装置など)に利用することができる。 The present invention can be used for an information processing device (such as a smartphone, a mobile phone, a tablet terminal, a remote controller, a dryer, a vacuum cleaner, and other information processing devices operated with a handle) provided with a contact sensor.
 1、101、201 携帯端末(情報処理装置)
 11 接触センサ
 12、112、212 把持判定部
 24 変化量検知部
 25 基準値変更部
 t1 時刻(第1の時刻)
 t2 時刻(第2の時刻)
 124 基準値変更部
 JLa 補正モード実行閾値
 Z2 基準レベル(第1基準値)
 214 タイマ
 221 センサ制御部
 222 接触判定部
 223 較正部
 224 異常判定部
 225 処理停止部
 226 判定解除部
1, 101, 201 Mobile terminal (information processing apparatus)
DESCRIPTION OF SYMBOLS 11 Contact sensor 12, 112, 212 Grasp determination part 24 Change amount detection part 25 Reference value change part t1 Time (1st time)
t2 time (second time)
124 reference value changing unit JLa correction mode execution threshold Z2 reference level (first reference value)
214 timer 221 sensor control unit 222 contact determination unit 223 calibration unit 224 abnormality determination unit 225 processing stop unit 226 determination release unit

Claims (17)

  1.  把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、
     把持の有無を判定するための基準を与えるため、把持されているときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置であって、
     上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、
     上記センサ値が、上記把持部がユーザに把持されていることの判定に用いられる第1閾値未満である第2閾値以下の値となる場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定する異常判定部を備えることを特徴とする情報処理装置。
    Provided at the position where the user's hand that grips the gripping part comes into contact, and includes a contact sensor that outputs a sensor value,
    In order to give a reference for determining the presence or absence of gripping, an information processing apparatus in which a reference value for representing the sensor value when gripped is set to be changeable,
    When the direction that changes as the sensor value is gripped is defined as the negative direction,
    When the sensor value is equal to or less than a second threshold value that is less than the first threshold value used to determine that the grip portion is being gripped by the user, the information processing apparatus is in contact with foreign matter such as water. An information processing apparatus comprising: an abnormality determination unit that determines that an abnormal state is present.
  2.  上記異常判定部は、上記センサ値が上記第2閾値以下の値となってから所定の時間において、上記センサ値が、上記第1閾値未満かつ上記第2閾値以上である第3閾値未満の値であることが継続している場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定することを特徴とする請求項1に記載の情報処理装置。 The abnormality determination unit has a value less than a third threshold that is less than the first threshold and greater than or equal to the second threshold at a predetermined time after the sensor value becomes less than or equal to the second threshold. 2. The information processing apparatus according to claim 1, wherein the information processing apparatus determines that the information processing apparatus is in an abnormal state in which a foreign object such as water is in contact.
  3.  上記異常判定部によって異常状態にあると判定された場合に、上記情報処理装置にて行われている処理のうち一部の処理を停止させる処理停止部をさらに備えることを特徴とする請求項1または2に記載の情報処理装置。 2. The apparatus according to claim 1, further comprising a process stop unit that stops a part of the processes performed in the information processing apparatus when the abnormality determination unit determines that the state is abnormal. Or the information processing apparatus according to 2;
  4.  上記センサ値が、上記第1閾値未満かつ上記第2閾値以上である第3閾値以上の値となる場合に、上記異常判定部による異常状態との判定を解除する判定解除部をさらに備えることを特徴とする請求項1から3の何れか1項に記載の情報処理装置。 When the sensor value is a value equal to or greater than a third threshold value that is less than the first threshold value and greater than or equal to the second threshold value, a determination cancellation unit that cancels the determination of an abnormal state by the abnormality determination unit is further provided. The information processing apparatus according to any one of claims 1 to 3, wherein the information processing apparatus is characterized.
  5.  上記判定解除部は、上記センサ値が上記第3閾値以上の値となってから所定の時間中、上記センサ値が上記第3閾値以上の値であることが継続している場合に、上記異常判定部による異常状態との判定を解除することを特徴とする請求項4に記載の情報処理装置。 The determination canceling unit determines that the abnormality is detected when the sensor value continues to be a value equal to or greater than the third threshold for a predetermined time after the sensor value is equal to or greater than the third threshold. The information processing apparatus according to claim 4, wherein the determination by the determination unit is canceled as an abnormal state.
  6.  把持部を把持したユーザの手が接触する位置に設けられ、センサ値を出力する接触センサを備え、
     把持の有無を判定するための基準を与えるため、把持されているときの上記センサ値を表すための基準値が変更可能に設定された情報処理装置の制御方法であって、
     上記センサ値が把持されるに伴って変化する方向を負方向と定義した場合、
     上記センサ値が、上記把持部がユーザに把持されていることの判定に用いられる第1閾値未満である第2閾値以下の値となる場合に、上記情報処理装置は水等の異物が接触している異常状態にあると判定する異常判定ステップを含むことを特徴とする情報処理装置の制御方法。
    Provided at the position where the user's hand that grips the gripping part comes into contact, and includes a contact sensor that outputs a sensor value,
    In order to give a reference for determining the presence or absence of gripping, a control method for an information processing apparatus in which a reference value for representing the sensor value when gripped is set to be changeable,
    When the direction that changes as the sensor value is gripped is defined as the negative direction,
    When the sensor value is equal to or less than a second threshold value that is less than the first threshold value used to determine that the grip portion is being gripped by the user, the information processing apparatus is in contact with foreign matter such as water. A control method for an information processing apparatus, comprising: an abnormality determination step for determining that an abnormal state is present.
  7.  把持部を把持したユーザの手が接触する位置に設けられた、センサ値を出力する接触センサを備えており、
     上記把持部が把持されていない状態における上記センサ値を表すための基準値が設定されており、
     上記センサ値が、上記基準値と所定の差を有する値である接触閾値を超えた場合に、上記把持部が把持されたと認識する情報処理装置であって、
     上記センサ値の変化に伴い、上記基準値を変更する基準値変更部を備えており、
     上記基準値変更部は、上記センサ値が、上記基準値の変更を制限するために設定された第1の値を超えることなく変化した場合に、上記センサ値の変化を追従させるように上記基準値を変更するとともに、上記センサ値が上記第1の値を超えて変化した場合に、当該センサ値の変化を追従させることなく上記基準値を設定する補正モードを実行することを特徴とする情報処理装置。
    It is provided with a contact sensor that outputs a sensor value provided at a position where the user's hand holding the gripping part comes into contact.
    A reference value for representing the sensor value in a state where the grip portion is not gripped is set,
    An information processing apparatus that recognizes that the grip portion is gripped when the sensor value exceeds a contact threshold value that is a value having a predetermined difference from the reference value,
    A reference value changing unit that changes the reference value in accordance with the change in the sensor value is provided.
    The reference value changing unit is configured to follow the change in the sensor value when the sensor value changes without exceeding the first value set to limit the change in the reference value. And a correction mode for setting the reference value without tracking the change in the sensor value when the sensor value changes beyond the first value. Processing equipment.
  8.  把持されるに伴って上記センサ値が変化する方向を負方向と定義した場合、上記第1の値は、上記把持部が把持されていない状態における上記センサ値よりも大きい値に設定されており、
     把持されるに伴って上記センサ値が変化する方向を正方向と定義した場合、上記第1の値は、上記把持部が把持されていない状態における上記センサ値よりも小さい値に設定されていることを特徴とする請求項7に記載の情報処理装置。
    When the direction in which the sensor value changes with gripping is defined as a negative direction, the first value is set to a value larger than the sensor value when the gripping portion is not gripped. ,
    When the direction in which the sensor value changes with gripping is defined as a positive direction, the first value is set to a value smaller than the sensor value in a state where the gripping portion is not gripped. The information processing apparatus according to claim 7.
  9.  ある時刻における上記基準値である第1基準値が、予め定められた補正モード実行閾値を超えて上記第1基準値とは異なる第2基準値に変更された場合、上記基準値変更部は上記補正モードを実行し、
     上記第1の値は、上記第2基準値以上、かつ、上記第1基準値以下の値であることを特徴とする請求項7に記載の情報処理装置。
    When the first reference value, which is the reference value at a certain time, exceeds a predetermined correction mode execution threshold and is changed to a second reference value different from the first reference value, the reference value changing unit Run the correction mode,
    The information processing apparatus according to claim 7, wherein the first value is a value that is greater than or equal to the second reference value and less than or equal to the first reference value.
  10.  上記補正モードにおいて、上記基準値変更部は、上記センサ値が上記第1の値を超えて変化した場合に、上記第1の値を上記基準値として設定することを特徴とする請求項9に記載の情報処理装置。 In the correction mode, the reference value changing unit sets the first value as the reference value when the sensor value changes beyond the first value. The information processing apparatus described.
  11.  把持部を把持したユーザの手が接触する位置に設けられた、センサ値を出力する接触センサを備えており、
     上記把持部が把持されていない状態における上記センサ値を表すための基準値が設定されており、
     上記センサ値が、上記基準値と所定の差を有する値である接触閾値を超えた場合に、上記把持部が把持されたと認識する情報処理装置の制御方法であって、
     上記センサ値の変化に伴い、上記基準値を変更する基準値変更ステップを含んでおり、
     上記基準値変更ステップにおいて、上記センサ値が、上記基準値の変更を制限するために設定された第1の値を超えることなく変化した場合に、上記センサ値の変化を追従させるように上記基準値を変更するとともに、上記センサ値が上記第1の値を超えて変化した場合に、当該センサ値の変化を追従させることなく上記基準値を設定する補正モードを実行することを特徴とする情報処理装置の制御方法。
    It is provided with a contact sensor that outputs a sensor value provided at a position where the user's hand holding the gripping part comes into contact.
    A reference value for representing the sensor value in a state where the grip portion is not gripped is set,
    A control method for an information processing apparatus that recognizes that the grip portion is gripped when the sensor value exceeds a contact threshold that is a value having a predetermined difference from the reference value,
    A reference value changing step for changing the reference value in accordance with a change in the sensor value;
    In the reference value changing step, when the sensor value changes without exceeding the first value set to limit the change of the reference value, the reference value is changed so as to follow the change of the sensor value. And a correction mode for setting the reference value without tracking the change in the sensor value when the sensor value changes beyond the first value. A method for controlling a processing apparatus.
  12.  把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサと、
     上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定部と、
     上記センサ値の変化に伴い、上記基準値を変更する基準値変更部と、を備えた情報処理装置であって、
     任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知部を備えており、
     上記基準値変更部は、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする情報処理装置。
    A contact sensor that is provided at a position where a user's hand holding the gripping unit comes into contact, and that outputs a sensor value that changes as the object approaches or contacts the gripping unit;
    A gripping determination unit that determines the presence or absence of gripping based on a difference value between a reference value corresponding to the sensor value when the object is non-contact and the output sensor value;
    A reference value changing unit that changes the reference value in accordance with a change in the sensor value;
    A change amount detection unit that detects a change amount per unit time of the sensor value at an arbitrary time is provided,
    The reference value changing unit executes a first mode in which the sensor value is set as the reference value when the change amount is smaller than a change threshold that is a predetermined value, and the change amount is The information processing apparatus, wherein the first mode is not executed when the change threshold value is equal to or greater than the change threshold value.
  13.  上記センサ値は、上記把持部に対する物体の接近又は接触に伴って値が変化し、
     上記変化量検知部は、第1の時刻に検出されたセンサ値としての第1センサ値から、第1の時刻よりも後の第2の時刻に検出されたセンサ値としての第2センサ値への増加量を、上記変化量として検知し、
     上記基準値変更部は、上記変化量が上記変化閾値よりも小さい場合に、上記第1モードにおいて、上記第2センサ値の値を上記基準値として設定することを特徴とする請求項12に記載の情報処理装置。
    The sensor value changes as the object approaches or touches the grip part,
    The change amount detection unit changes from the first sensor value as the sensor value detected at the first time to the second sensor value as the sensor value detected at the second time after the first time. Is detected as the amount of change above,
    The said reference value change part sets the value of the said 2nd sensor value as the said reference value in the said 1st mode, when the said variation | change_quantity is smaller than the said change threshold value, The said reference value is characterized by the above-mentioned. Information processing device.
  14.  上記基準値変更部は、上記変化量が上記変化閾値以上である場合に、上記センサ値の値を上記基準値として設定しない第2モードを実行し、
     上記基準値変更部は、上記第2モード実行中に上記接触センサから出力された上記センサ値が、予め定められた値であるモード閾値を超えた場合に、上記第2モードに代えて、上記第1モードを実行することを特徴とする請求項12または13に記載の情報処理装置。
    The reference value changing unit executes a second mode in which the value of the sensor value is not set as the reference value when the change amount is equal to or greater than the change threshold value.
    When the sensor value output from the contact sensor during execution of the second mode exceeds a mode threshold value that is a predetermined value, the reference value changing unit is replaced with the second mode. The information processing apparatus according to claim 12 or 13, wherein the first mode is executed.
  15.  上記第2モード実行中の単位時間当たりの上記センサ値の変化量の絶対値が、上記変化閾値の絶対値よりも小さい場合、上記基準値変更部は、上記基準値及び上記モード閾値を、当該変化量に応じて増減することを特徴とする請求項14に記載の情報処理装置。 When the absolute value of the change amount of the sensor value per unit time during execution of the second mode is smaller than the absolute value of the change threshold value, the reference value changing unit sets the reference value and the mode threshold value to The information processing apparatus according to claim 14, wherein the information processing apparatus increases or decreases according to a change amount.
  16.  上記基準値変更部は、ある時刻の上記基準値である第1基準値を、把持部が把持された状態における上記センサ値に変更した後、上記センサ値が上記第1基準値を超えるまでの期間、上記変化量が上記変化閾値以上であっても、上記第2モードに移行せず、上記第1モードを実行することを特徴とする請求項14または15に記載の情報処理装置。 The reference value changing unit changes the first reference value, which is the reference value at a certain time, to the sensor value in a state where the grip unit is gripped, and then the sensor value exceeds the first reference value. 16. The information processing apparatus according to claim 14, wherein the first mode is executed without shifting to the second mode even if the change amount is equal to or greater than the change threshold during a period.
  17.  把持部を把持したユーザの手が接触する位置に設けられており、上記把持部に対する物体の接近又は接触に伴って変化するセンサ値を出力する接触センサを備えた情報処理装置の制御方法であって、
     上記物体が非接触のときの上記センサ値に対応する基準値と、出力された上記センサ値と、の差分の値に基づいて把持の有無を判定する把持判定ステップと、
     上記センサ値の変化に伴い、上記基準値を変更する基準値変更ステップと、
     任意の時間における上記センサ値の単位時間当たりの変化量を検知する変化量検知ステップと、を含んでおり、
     上記基準値変更ステップにおいて、上記変化量が予め定められた値である変化閾値よりも小さい場合に、上記センサ値の値を上記基準値として設定する第1モードを実行するとともに、上記変化量が上記変化閾値以上である場合に、上記第1モードを実行しないことを特徴とする情報処理装置の制御方法。
    This is a control method for an information processing apparatus provided with a contact sensor that is provided at a position where a user's hand holding the gripping unit comes in contact and outputs a sensor value that changes as the object approaches or contacts the gripping unit. And
    A grip determination step of determining presence or absence of gripping based on a difference value between a reference value corresponding to the sensor value when the object is non-contact and the output sensor value;
    A reference value changing step for changing the reference value in accordance with a change in the sensor value;
    A change amount detecting step for detecting a change amount per unit time of the sensor value at an arbitrary time, and
    In the reference value changing step, when the amount of change is smaller than a change threshold that is a predetermined value, a first mode for setting the value of the sensor value as the reference value is executed, and the amount of change is A control method for an information processing apparatus, wherein the first mode is not executed when the change threshold is not less than the threshold value.
PCT/JP2015/062886 2014-04-30 2015-04-28 Information processing device, and control method of information processing device WO2015166965A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2014-094248 2014-04-30
JP2014-094247 2014-04-30
JP2014094247A JP2015210800A (en) 2014-04-30 2014-04-30 Information processing device and method for controlling information processing device
JP2014094248A JP6352039B2 (en) 2014-04-30 2014-04-30 Information processing apparatus and control method of information processing apparatus
JP2014094250A JP6345475B2 (en) 2014-04-30 2014-04-30 Information processing apparatus and control method
JP2014-094250 2014-04-30

Publications (1)

Publication Number Publication Date
WO2015166965A1 true WO2015166965A1 (en) 2015-11-05

Family

ID=54358691

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/062886 WO2015166965A1 (en) 2014-04-30 2015-04-28 Information processing device, and control method of information processing device

Country Status (1)

Country Link
WO (1) WO2015166965A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990860A (en) * 2015-11-06 2017-07-28 禾瑞亚科技股份有限公司 Detect touch-control processing unit, the System and method for of large area conducting liquid covering

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011119959A (en) * 2009-12-03 2011-06-16 Nec Corp Portable terminal
JP2011170617A (en) * 2010-02-18 2011-09-01 On Semiconductor Trading Ltd Electrostatic capacity type touch sensor
JP2013021477A (en) * 2011-07-11 2013-01-31 Nec Casio Mobile Communications Ltd Electronic apparatus, operation control method, and program
JP2013222283A (en) * 2012-04-16 2013-10-28 Sharp Corp Electronic device, and method and program for controlling the same
JP2014056512A (en) * 2012-09-13 2014-03-27 Canon Inc Electronic apparatus including touch panel, and control method of electronic apparatus including touch panel
JP2015073159A (en) * 2013-10-01 2015-04-16 シャープ株式会社 Portable terminal and control method of the same
JP2015073160A (en) * 2013-10-01 2015-04-16 シャープ株式会社 Portable terminal and control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011119959A (en) * 2009-12-03 2011-06-16 Nec Corp Portable terminal
JP2011170617A (en) * 2010-02-18 2011-09-01 On Semiconductor Trading Ltd Electrostatic capacity type touch sensor
JP2013021477A (en) * 2011-07-11 2013-01-31 Nec Casio Mobile Communications Ltd Electronic apparatus, operation control method, and program
JP2013222283A (en) * 2012-04-16 2013-10-28 Sharp Corp Electronic device, and method and program for controlling the same
JP2014056512A (en) * 2012-09-13 2014-03-27 Canon Inc Electronic apparatus including touch panel, and control method of electronic apparatus including touch panel
JP2015073159A (en) * 2013-10-01 2015-04-16 シャープ株式会社 Portable terminal and control method of the same
JP2015073160A (en) * 2013-10-01 2015-04-16 シャープ株式会社 Portable terminal and control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990860A (en) * 2015-11-06 2017-07-28 禾瑞亚科技股份有限公司 Detect touch-control processing unit, the System and method for of large area conducting liquid covering
CN106990860B (en) * 2015-11-06 2020-07-03 禾瑞亚科技股份有限公司 Touch processing device, system and method for detecting large-area conductive liquid coverage

Similar Documents

Publication Publication Date Title
EP2821897B1 (en) Finger detection on touch screens for mobile devices
TWI470492B (en) Combined force and proximity sensing
CN101896878B (en) Touch sensor device, control method, touch panel device and program
US10101828B2 (en) Pen wake up on screen detect
JP4987680B2 (en) Touch sensor device and program for touch sensor
US20150301653A1 (en) Semiconductor device, display system, detection method, and non-transitory computer readable medium
US10914773B2 (en) Resolution adjustment for capacitive touch sensor
WO2014094283A1 (en) Touchscreen including force sensors
JP2014514628A (en) Display management method and apparatus
JP2015211455A (en) Information processing device and control method therefor
JP2018116631A (en) Touch detection device
WO2015166965A1 (en) Information processing device, and control method of information processing device
WO2021036718A1 (en) Touch point determining method and device
JP6352039B2 (en) Information processing apparatus and control method of information processing apparatus
JP6345475B2 (en) Information processing apparatus and control method
JP2015210800A (en) Information processing device and method for controlling information processing device
JP2018116630A (en) Touch detection device
TWI718886B (en) Multi-mode operation method for capacitive touch panel
JP2015233217A (en) Information processing apparatus, information processing method and information processing program
TW201437795A (en) Electronic system with auto power-off function and operating method thereof
AU2008274592B2 (en) A system and a method for processing a signal from an electric device
JP6279275B2 (en) Mobile terminal and method for controlling mobile terminal
JP6271205B2 (en) Mobile terminal and control method thereof
JP6345476B2 (en) Information processing apparatus and information processing apparatus control method
TW202004473A (en) Detecting method of touch device and detecting module thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15785933

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15785933

Country of ref document: EP

Kind code of ref document: A1