Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7299697B2 - proximity sensor - Google Patents
[go: Go Back, main page]

JP7299697B2 - proximity sensor - Google Patents

proximity sensor Download PDF

Info

Publication number
JP7299697B2
JP7299697B2 JP2018242075A JP2018242075A JP7299697B2 JP 7299697 B2 JP7299697 B2 JP 7299697B2 JP 2018242075 A JP2018242075 A JP 2018242075A JP 2018242075 A JP2018242075 A JP 2018242075A JP 7299697 B2 JP7299697 B2 JP 7299697B2
Authority
JP
Japan
Prior art keywords
integrated value
voltage
detection
proximity sensor
detected
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2018242075A
Other languages
Japanese (ja)
Other versions
JP2020107933A (en
Inventor
哲夫 徳留
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
U-SHINLTD.
Original Assignee
U-SHINLTD.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by U-SHINLTD. filed Critical U-SHINLTD.
Priority to JP2018242075A priority Critical patent/JP7299697B2/en
Publication of JP2020107933A publication Critical patent/JP2020107933A/en
Application granted granted Critical
Publication of JP7299697B2 publication Critical patent/JP7299697B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Electronic Switches (AREA)

Description

本発明は、近接センサに関する。 The present invention relates to proximity sensors.

キーレスエントリー装置やドア開閉装置が自動車等の車両に装備される傾向にある。キーレスエントリー装置では、車両の使用者のドアハンドルへの近接又は接触が検出されると、使用者が携帯する電子キーとの間において認証が行われ、ドアを施錠又は解錠することができる。一方、ドア開閉装置では、使用者の車両表面の一部への近接又は接触が検出されると、同様に電子キーとの間において認証が行われ、ドアを開閉することができる。
この種の装置は近接センサを備えている。近接センサでは、装置と使用者との距離の変化に応じて出力が変化する。
Vehicles such as automobiles tend to be equipped with keyless entry systems and door opening/closing systems. In the keyless entry system, when the proximity or contact of the vehicle user to the door handle is detected, authentication is performed with the electronic key carried by the user, and the door can be locked or unlocked. On the other hand, in the door opening/closing device, when the proximity or contact of the user to a portion of the vehicle surface is detected, authentication is similarly performed with the electronic key, and the door can be opened/closed.
Devices of this type are equipped with proximity sensors. A proximity sensor changes its output according to the change in the distance between the device and the user.

下記特許文献1には、近接センサが開示されている。この近接センサは、駆動電極と、検出電極とを含んで構成されている。駆動電極にはパルス電圧が印加される。パルス電圧が駆動電極に印加されると、検出電極には検出電圧としての誘起電圧を発生させることができる。近接センサでは、使用者との距離の変化に応じて検出電圧が変化し、この検出電圧の変化量が閾値を超えたとき、使用者の近接を検出することができる。
このように構成される近接センサでは、検出距離が短いものの、安価に製作することができ、ドアハンドルや車両表面の一部に多少の汚れがあっても、使用者の近接又は接触を検出することができる。
Patent Document 1 listed below discloses a proximity sensor. This proximity sensor includes a drive electrode and a detection electrode. A pulse voltage is applied to the drive electrodes. When a pulse voltage is applied to the drive electrode, an induced voltage can be generated as a detection voltage in the detection electrode. In the proximity sensor, the detection voltage changes according to the change in the distance to the user, and when the amount of change in the detection voltage exceeds the threshold, the proximity of the user can be detected.
The proximity sensor configured in this way can be manufactured at low cost, although the detection distance is short, and it can detect the proximity or contact of the user even if the door handle or the surface of the vehicle is slightly soiled. be able to.

特開2016-70052号公報JP 2016-70052 A

ところで、上記近接センサでは、利便性の観点から、検出距離が長いときでも使用者の近接を検出することが望まれている。検出電圧と比較される閾値を小さく設定すれば、検出距離を長くすることができる。
しかしながら、閾値が小さく設定されると、検出電圧に乗るノイズの影響が大きくなるので、使用者が「非近接状態」であっても、ノイズが乗った検出電圧が閾値を超えてしまい、使用者が「近接状態」にあるとの誤検出を生じる恐れがあった。
本発明は、上記事実を考慮し、誤検出を効果的に抑制又は防止することができ、検出距離を長くすることができる近接センサを提供する。
From the viewpoint of convenience, the proximity sensor is desired to detect the proximity of the user even when the detection distance is long. The detection distance can be lengthened by setting a small threshold to be compared with the detection voltage.
However, if the threshold is set small, the effect of noise on the detection voltage increases. Therefore, even if the user is in the "non-proximity state," the detection voltage with noise exceeds the threshold, and the user is There was a risk of erroneous detection that the is in the "proximity state".
SUMMARY OF THE INVENTION In consideration of the above facts, the present invention provides a proximity sensor capable of effectively suppressing or preventing erroneous detection and increasing the detection distance.

本発明の第1実施態様に係る近接センサは、被検出体との距離に応じた検出電圧を出力する検出部と、検出電圧が入力される制御部と、を備え、制御部は、所定の期間毎に所定の回数の検出電圧を測定する測定手段と、所定の回数の検出電圧を積算して積算値を生成する積算手段と、積算値を時系列に記憶する記憶手段と、記憶手段に記憶された積算値を基準積算値とし、積算手段により生成された最新の積算値の基準積算値に対する変化量が所定の閾値を超えるとき、被検出体が近接したと判定する判定手段と、を備えている。 A proximity sensor according to a first embodiment of the present invention includes a detection unit that outputs a detection voltage corresponding to a distance to an object to be detected, and a control unit that receives the detection voltage. measuring means for measuring the detected voltage a predetermined number of times for each period; integrating means for integrating the detected voltage for the predetermined number of times to generate an integrated value; storage means for storing the integrated value in chronological order; determining means for determining that the object to be detected has approached when the amount of change of the latest integrated value generated by the integrating means with respect to the reference integrated value exceeds a predetermined threshold, the stored integrated value being used as a reference integrated value; I have it.

本発明の第2実施態様に係る近接センサでは、第1実施態様に係る近接センサにおいて、記憶手段は、積算値を時系列に複数記憶し、判定手段は、最新の積算値よりも複数前に記憶手段に記憶された積算値を基準積算値として、被検出体の近接を判定する。 In the proximity sensor according to the second embodiment of the present invention, in the proximity sensor according to the first embodiment, the storage means stores a plurality of integrated values in time series, and the determination means stores a plurality of integrated values before the latest integrated value. The proximity of the object to be detected is determined using the integrated value stored in the storage means as the reference integrated value.

本発明の第3実施態様に係る近接センサでは、第2実施態様に係る近接センサにおいて、制御部は、最新の積算値が前記積算値として記憶手段に記憶された後、最新の積算値の基準積算値に対する変化量が前記所定の閾値を超えないとき、基準積算値より後に記憶された積算値を新たな基準積算値として更新する。 In the proximity sensor according to the third aspect of the present invention, in the proximity sensor according to the second aspect, after the latest integrated value is stored in the storage means as the integrated value, the control unit stores the latest integrated value as a reference When the amount of change in the integrated value does not exceed the predetermined threshold value, the integrated value stored after the reference integrated value is updated as a new reference integrated value.

本発明の第4実施態様に係る近接センサでは、第実施態様に係る近接センサにおいて、制御部は、最新の積算値が前記積算値として前記記憶手段に記憶された後、最新の積算値の前記基準積算値に対する変化量が前記所定の閾値を超えるとき、前記基準積算値を更新しない。 In the proximity sensor according to the fourth aspect of the present invention, in the proximity sensor according to the second aspect , after the latest integrated value is stored in the storage means as the integrated value, the controller stores the latest integrated value as the integrated value. When the amount of change with respect to the reference integrated value exceeds the predetermined threshold, the reference integrated value is not updated.

本発明の第5実施態様に係る近接センサでは、第1実施態様~第4実施態様のいずれか1つに係る近接センサにおいて、制御部からパルス電圧が印加される駆動電極と、パルス電圧の印加により誘起電圧が発生する検出電極と、を含んで構成される電極部を更に備え、検出部は、誘起電圧の発生により充電されるコンデンサを有し、検出電圧は、コンデンサに充電された充電電圧とされる。 In a proximity sensor according to a fifth aspect of the present invention, in the proximity sensor according to any one of the first to fourth aspects, a drive electrode to which a pulse voltage is applied from the control unit; and a detection electrode that generates an induced voltage, the detection unit has a capacitor that is charged by the generation of the induced voltage, and the detection voltage is a charging voltage charged in the capacitor It is said that

本発明の第6実施態様に係る近接センサでは、第5実施態様に係る近接センサにおいて、所定の期間は、パルス電圧の印加の開始から、コンデンサの充電電圧の放電開始までの期間である。 In the proximity sensor according to the sixth embodiment of the present invention, in the proximity sensor according to the fifth embodiment, the predetermined period is a period from the start of application of the pulse voltage to the start of discharge of the charging voltage of the capacitor.

本発明によれば、誤検出を効果的に抑制又は防止することができ、検出距離を長くすることができる近接センサを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the proximity sensor which can suppress or prevent an erroneous detection effectively and can lengthen detection distance can be provided.

本発明の一実施の形態に係る近接センサの回路構成図である。1 is a circuit configuration diagram of a proximity sensor according to one embodiment of the present invention; FIG. 図1に示される近接センサにおける検出電圧と検出電圧の測定時間との関係を示す図である。2 is a diagram showing the relationship between the detected voltage and the measurement time of the detected voltage in the proximity sensor shown in FIG. 1; FIG. 図2に示される検出電圧を積算して生成された積算値と積算値の生成時間との関係を示す図である。3 is a diagram showing the relationship between an integrated value generated by integrating the detected voltages shown in FIG. 2 and the generation time of the integrated value; FIG. 図1に示される近接センサの検出電圧の検出方法を説明するフローチャートである。2 is a flow chart explaining a detection method of a detection voltage of the proximity sensor shown in FIG. 1;

図1~図4を用いて、本発明の一実施の形態に係る近接センサについて説明する。本実施の形態では、近接センサの回路構成並びに近接又は接触の検出方法について、自動車等の車両に装着された例を説明する。なお、近接センサは、図示省略の車両のドアハンドルに配設され、キーレスエントリー装置を構築する。また、近接センサは、図示省略の車両に装着され、ドア開閉装置を構築する。 A proximity sensor according to an embodiment of the present invention will be described with reference to FIGS. 1 to 4. FIG. In the present embodiment, the circuit configuration of the proximity sensor and the proximity or contact detection method will be described using an example in which the proximity sensor is installed in a vehicle such as an automobile. The proximity sensor is installed in a door handle of a vehicle (not shown) to construct a keyless entry system. Also, the proximity sensor is mounted on a vehicle (not shown) to construct a door opening/closing device.

(近接センサ1の回路構成)
図1に示されるように、本実施の形態に係る近接センサ1は、電極部2と、検出部3と、制御部4と、を含んで構成されている。
(Circuit Configuration of Proximity Sensor 1)
As shown in FIG. 1, the proximity sensor 1 according to this embodiment includes an electrode section 2, a detection section 3, and a control section 4. As shown in FIG.

電極部2は、駆動電極20と、この駆動電極20にそれぞれ対向して配置される第1検出電極21及び第2検出電極22とを備えている。
駆動電極20は制御部4のパルス電圧出力端子に接続され、制御部4から供給されるパルス電圧が駆動電極20に印加される。パルス電圧が印加されると、被検出体としての使用者の手の車両への近接又は接触の検出が開始される。駆動電極20は、第1検出電極21、第2検出電極22のそれぞれに共用の電極として形成されている。
第1検出電極21は、ロック電極として使用され、図示省略の車両のドアを施錠する又はドアを閉める際に、使用者の手の近接又は接触状態を検出する電極である。駆動電極20にパルス電圧が印加されると、第1検出電極21に誘起電圧が発生する。使用者の手の距離の変化に応じて誘起電圧が変化する。
第2検出電極22は、アンロック電極として使用され、ドアを解錠する又はドアを開ける際に、使用者の手の近接又は接触状態を検出する電極である。第1検出電極21と同様に、駆動電極20にパルス電圧が印加されると、第2検出電極22に誘起電圧が発生する。この誘起電圧は使用者の手の距離に応じて変化する。
The electrode section 2 includes a drive electrode 20, and a first detection electrode 21 and a second detection electrode 22 arranged to face the drive electrode 20, respectively.
The drive electrode 20 is connected to a pulse voltage output terminal of the controller 4 , and a pulse voltage supplied from the controller 4 is applied to the drive electrode 20 . When the pulse voltage is applied, detection of proximity or contact of the user's hand, which is an object to be detected, to the vehicle is started. The drive electrode 20 is formed as a shared electrode for each of the first detection electrode 21 and the second detection electrode 22 .
The first detection electrode 21 is used as a lock electrode and is an electrode that detects the proximity or contact state of a user's hand when locking or closing a vehicle door (not shown). When a pulse voltage is applied to the drive electrodes 20 , an induced voltage is generated in the first detection electrodes 21 . The induced voltage changes as the distance between the hands of the user changes.
The second detection electrode 22 is used as an unlock electrode and is an electrode that detects the proximity or contact state of the user's hand when unlocking or opening the door. As with the first detection electrode 21 , when a pulse voltage is applied to the drive electrode 20 , an induced voltage is generated in the second detection electrode 22 . This induced voltage changes according to the distance of the user's hand.

検出部3は、第1検出電極21に接続され、第1検出電極21に発生する誘起電圧を検出する第1検出回路31と、第2検出電極22に接続され、第2検出電極22に発生する誘起電圧を検出する第2検出回路32とを備えている。 The detection unit 3 is connected to the first detection electrode 21 to detect an induced voltage generated in the first detection electrode 21 , and is connected to the second detection electrode 22 to detect the induced voltage generated in the second detection electrode 22 . and a second detection circuit 32 for detecting the induced voltage.

第1検出回路31は、オペアンプ311と、コンデンサ312と、ダイオード313と、抵抗R1~抵抗R3と、を含んで構成されている。
オペアンプ311では、非反転入力が第1検出電極21に接続され、反転入力が抵抗R1を介して基準電圧Vssに接続され、更に電源電圧Vcc及び基準電圧Vssが供給されている。ここで、電源電圧Vccは、例えば回路の動作電圧、5Vである。また、基準電圧Vssは、例えば回路の接地電圧、0Vである。
オペアンプ311の出力は、ダイオード313を介して制御部4のA/D入力端子に接続され、かつ、抵抗R2を介して反転入力と抵抗R1との間に接続されている。ダイオード313は、オペアンプ311の出力と制御部4のA/D入力端子との間に順方向に挿入され、オペアンプ311への電流の流れを阻止している。また、抵抗R1及び抵抗R2はオペアンプ311の増幅率を決定している。
コンデンサ312は、ダイオード313のカソードと制御部4のA/D入力端子との間に一方の電極を接続し、基準電圧Vssに他方の電極を接続している。このコンデンサ312は、使用者の手の近接又は接触を検出する検出用コンデンサとして使用され、第1検出電極21に発生する誘起電圧により充電される。コンデンサ312に充電された充電電圧は第1検出回路31から制御部4へ出力される検出電圧とされる。
抵抗R3の一端はダイオード313のカソードと制御部4のA/D入力端子との間に接続され、抵抗R3の他端は制御部4に接続されている。コンデンサ312に充電された充電電圧は抵抗R3を介して放電される。
The first detection circuit 31 includes an operational amplifier 311, a capacitor 312, a diode 313, and resistors R1 to R3.
The operational amplifier 311 has a non-inverting input connected to the first detection electrode 21, an inverting input connected to the reference voltage Vss through the resistor R1, and supplied with the power supply voltage Vcc and the reference voltage Vss. Here, the power supply voltage Vcc is, for example, a circuit operating voltage of 5V. Also, the reference voltage Vss is, for example, the ground voltage of the circuit, 0V.
The output of the operational amplifier 311 is connected through a diode 313 to the A/D input terminal of the controller 4, and through a resistor R2 between the inverting input and the resistor R1. A diode 313 is inserted in the forward direction between the output of the operational amplifier 311 and the A/D input terminal of the control unit 4 to block current flow to the operational amplifier 311 . Also, the resistor R1 and the resistor R2 determine the amplification factor of the operational amplifier 311 .
The capacitor 312 has one electrode connected between the cathode of the diode 313 and the A/D input terminal of the controller 4, and the other electrode connected to the reference voltage Vss. This capacitor 312 is used as a detection capacitor for detecting the proximity or contact of the user's hand, and is charged by the induced voltage generated in the first detection electrode 21 . The charging voltage charged in the capacitor 312 is used as the detection voltage output from the first detection circuit 31 to the control section 4 .
One end of the resistor R3 is connected between the cathode of the diode 313 and the A/D input terminal of the controller 4, and the other end of the resistor R3 is connected to the controller 4. FIG. The charging voltage charged in capacitor 312 is discharged through resistor R3.

第2検出回路32は、第1検出回路31と同様の構成とされ、オペアンプ321と、コンデンサ322と、ダイオード323と、抵抗R4~抵抗R6と、を含んで構成されている。
オペアンプ321では、非反転入力が第2検出電極22に接続され、反転入力が抵抗R4を介して基準電圧Vssに接続され、更に電源電圧Vcc及び基準電圧Vssが供給されている。
オペアンプ321の出力は、ダイオード323を介して制御部4のA/D入力端子に接続され、かつ、抵抗R5を介して反転入力と抵抗R4との間に接続されている。ダイオード323は、オペアンプ321の出力と制御部4のA/D入力端子との間に順方向に挿入され、オペアンプ321への電流の流れを阻止している。また、抵抗R4及び抵抗R5はオペアンプ321の増幅率を決定している。
コンデンサ322は、ダイオード323のカソードと制御部4のA/D入力端子との間に一方の電極を接続し、基準電圧Vssに他方の電極を接続している。このコンデンサ322は、使用者の手の近接又は接触を検出する検出用コンデンサとして使用され、第2検出電極22に発生する誘起電圧により充電される。コンデンサ322に充電された充電電圧は第2検出回路32から制御部4へ出力される検出電圧とされる。
抵抗R6の一端はダイオード323のカソードと制御部4のA/D入力端子との間に接続され、抵抗R6の他端は制御部4に接続されている。コンデンサ322に充電された充電電圧は抵抗R6を介して放電される。
The second detection circuit 32 has the same configuration as the first detection circuit 31, and includes an operational amplifier 321, a capacitor 322, a diode 323, and resistors R4 to R6.
The operational amplifier 321 has a non-inverting input connected to the second detection electrode 22, an inverting input connected to the reference voltage Vss via the resistor R4, and supplied with the power supply voltage Vcc and the reference voltage Vss.
The output of the operational amplifier 321 is connected through a diode 323 to the A/D input terminal of the control section 4 and through a resistor R5 between the inverting input and the resistor R4. A diode 323 is inserted in the forward direction between the output of the operational amplifier 321 and the A/D input terminal of the control section 4 to block current flow to the operational amplifier 321 . Also, the resistor R4 and the resistor R5 determine the amplification factor of the operational amplifier 321. FIG.
One electrode of the capacitor 322 is connected between the cathode of the diode 323 and the A/D input terminal of the controller 4, and the other electrode is connected to the reference voltage Vss. This capacitor 322 is used as a detection capacitor for detecting the proximity or contact of the user's hand, and is charged by the induced voltage generated in the second detection electrode 22 . The charging voltage charged in the capacitor 322 is used as the detection voltage output from the second detection circuit 32 to the control section 4 .
One end of the resistor R6 is connected between the cathode of the diode 323 and the A/D input terminal of the controller 4, and the other end of the resistor R6 is connected to the controller 4. FIG. The charging voltage charged in capacitor 322 is discharged through resistor R6.

制御部4は、マイクロコンピュータを用いて構築され、測定ユニット(測定手段)41、積算ユニット(積算手段)42、記憶ユニット(記憶手段)43、判定ユニット(判定手段)44を少なくとも備えている。制御部4には、第1検出回路31、第2検出回路32のそれぞれから出力される検出電圧が入力される。
なお、図1に示される制御部4において、測定ユニット41等の各ユニットは専用回路の構成要素(ハードウエア)として記載されている。本実施の形態では、各ユニットのすべて又は一部が、ユニットに相当する機能を実現する、コンピュータを用いて実行されるプログラム(ソフトウエア)により構成されてもよい。
また、本実施の形態では、制御部4において、検出部3の第1検出回路31から出力される検出電圧の検出方法について説明する。第2検出回路32から出力される検出電圧の検出方法は、第1検出回路31から出力される検出電圧の検出方法と同様であるので、説明を省略する。
The control section 4 is constructed using a microcomputer and includes at least a measurement unit (measurement means) 41 , an integration unit (integration means) 42 , a storage unit (storage means) 43 and a determination unit (determination means) 44 . Detection voltages output from the first detection circuit 31 and the second detection circuit 32 are input to the control unit 4 .
In the controller 4 shown in FIG. 1, each unit such as the measurement unit 41 is described as a component (hardware) of a dedicated circuit. In this embodiment, all or part of each unit may be configured by a computer-executed program (software) that implements the function corresponding to the unit.
Further, in the present embodiment, a method of detecting the detection voltage output from the first detection circuit 31 of the detection section 3 in the control section 4 will be described. The detection method for the detection voltage output from the second detection circuit 32 is the same as the detection method for the detection voltage output from the first detection circuit 31, so description thereof will be omitted.

測定ユニット41では、所定の期間毎に所定の回数の検出電圧が測定される。詳しく説明する。
図2には、測定ユニット41において測定される検出電圧と検出電圧の測定時間との関係が示されている。縦軸が検出電圧[V]であり、横軸が検出電圧の測定時間である。図2に示されるように、最初に、検出電圧V1は期間T1において測定される。期間T1、すなわち本実施の形態における「所定の期間」は、制御部4から駆動電極20へパルス電圧の印加を開始した時間t11から、第1検出回路31のコンデンサ312の充電電圧の放電開始の時間t14までの期間である(図1参照)。期間T1内において、時間t11から一定の時間が経過した時間t12に、制御部4から駆動電極20へのパルス電圧の印加が停止される。このパルス電圧の停止直後であって、時間t12と時間t14との間の時間t12寄りの時間t13において、検出電圧V1が測定される。要するに、時間t13のタイミングにおいて測定された電圧が検出電圧V1とされる。
The measurement unit 41 measures the detected voltage a predetermined number of times every predetermined period. explain in detail.
FIG. 2 shows the relationship between the detected voltage measured by the measurement unit 41 and the measurement time of the detected voltage. The vertical axis is the detected voltage [V], and the horizontal axis is the measurement time of the detected voltage. As shown in FIG. 2, first the detection voltage V1 is measured during the period T1. The period T1, that is, the “predetermined period” in the present embodiment, starts from the time t11 when the application of the pulse voltage from the control unit 4 to the drive electrode 20 starts, and the discharge of the charged voltage of the capacitor 312 of the first detection circuit 31 starts. until time t14 (see FIG. 1). Within the period T1, the application of the pulse voltage from the control unit 4 to the drive electrode 20 is stopped at time t12 after a certain period of time has elapsed from time t11 . The detection voltage V1 is measured at time t13 between time t12 and time t14 , immediately after the pulse voltage stops. In short, the voltage measured at the timing of time t13 is the detected voltage V1.

測定ユニット41では、期間T1の後の期間T2内に検出電圧V2が測定される。検出電圧V1の測定方法と同様に、期間T2はパルス電圧の印加開始の時間t21から放電開始の時間t24までの期間とされ、期間T2内においてパルス電圧の停止(時間t22)直後の時間t23のタイミングにおいて検出電圧V2が測定される。
測定ユニット41では、「所定の回数」として、例えば10回測定され、検出電圧V1~検出電圧V10が測定される。検出電圧V3~検出電圧V10のそれぞれの測定方法は検出電圧V1の測定方法と同様である。本実施の形態では、「所定の回数」は、繰り返しの単位となる基準測定回数とされているが、「回数」自体は任意に設定可能である。
The measurement unit 41 measures the detection voltage V2 within a period T2 after the period T1. Similarly to the method of measuring the detection voltage V1, the period T2 is a period from the time t21 when the application of the pulse voltage is started to the time t24 when the discharge is started. The detection voltage V2 is measured at the timing of time t23 .
In the measurement unit 41, the measurement is performed, for example, 10 times as the "predetermined number of times", and the detection voltage V1 to the detection voltage V10 are measured. The method of measuring each of the detected voltages V3 to V10 is the same as the method of measuring the detected voltage V1. In the present embodiment, the "predetermined number of times" is the reference number of times of measurement that is a unit of repetition, but the "number of times" itself can be set arbitrarily.

図1に戻って、積算ユニット42では、所定の回数の検出電圧が積算されて積算値が生成される。ここでは、前述の通り、「所定の回数」は「10回」に設定されているので、積算値は測定ユニット41において測定された検出電圧V1~検出電圧V10を加算した値とされる。積算値が生成されることにより、検出電圧V1~検出電圧V10のそれぞれに乗るプラスノイズとマイナスノイズとが平均化され、ノイズが相殺されるので、積算値ではノイズが実質的に取り除かれる。 Returning to FIG. 1, the integration unit 42 integrates the detected voltage a predetermined number of times to generate an integrated value. Here, as described above, the “predetermined number of times” is set to “10 times”, so the integrated value is the sum of the detected voltages V1 to V10 measured by the measurement unit 41. By generating the integrated value, the plus noise and the minus noise on each of the detection voltages V1 to V10 are averaged and the noise is canceled, so the noise is substantially removed from the integrated value.

図3には、積算ユニット42において積算された積算値と積算値が生成された時間との関係が示されている。縦軸が積算値[V]であり、横軸が積算値の生成時間である。
ここで、図3において、時系列に記載されている最新の時間Tnに生成された積算値が「最新の積算値Sn」とされる。時間Tnよりも一定の時間前の過去の時間Tn-1に生成された積算値は「積算値Sn-1」とされる。さらに、時間Tn-1よりも一定の時間前の過去の時間Tn-2に生成された積算値は「積算値Sn-2」とされる。以下同様に、時間Tn-3~時間Tn-9のそれぞれに生成された積算値は、各々、「積算値Sn-3」~「積算値Sn-9」とされる。そして、時間Tnよりも10回前の時間Tn-10に生成された積算値は「積算値Sn-10」とされる。
図3では、最新の積算値Snから10回前の過去の積算値Sn-10が示されている。近接センサ1に使用者の手(被検出体)が近接すると、積算値が下がり始めるので、積算値が下がり始める前、ここでは10回前の「積算値Sn-10」が近接又は接触を判定する「基準積算値Sr」に設定されている。「基準積算値Sr」は、基本的に「最新の積算値Sn」よりも前の積算値に設定されるが、積算値の緩やかな変化を認識するため、「最新の積算値Sn」よりも複数前の積算値(「積算値Sn-2」~「積算値Sn-10」)を用いて設定されている。
FIG. 3 shows the relationship between the integrated value integrated in the integrating unit 42 and the time at which the integrated value was generated. The vertical axis is the integrated value [V], and the horizontal axis is the generation time of the integrated value.
Here, in FIG. 3, the integrated value generated at the latest time Tn listed in chronological order is the "latest integrated value Sn". An integrated value generated at a past time Tn-1, which is a fixed time before time Tn, is referred to as "integrated value Sn-1". Further, the integrated value generated at the past time Tn-2, which is a fixed time before the time Tn-1, is defined as "integrated value Sn-2". Similarly, the integrated values generated at times Tn-3 to Tn-9 are respectively referred to as "integrated value Sn-3" to "integrated value Sn-9". Then, the integrated value generated at time Tn-10 ten times before time Tn is set as "integrated value Sn-10".
In FIG. 3, the past integrated value Sn−10 ten times before the latest integrated value Sn is shown. When the user's hand (object to be detected) approaches the proximity sensor 1, the integrated value starts to decrease, so the "integrated value Sn-10" ten times before the integrated value starts to decrease determines proximity or contact. is set to "reference integrated value Sr". The "reference integrated value Sr" is basically set to an integrated value that precedes the "latest integrated value Sn". It is set using the integrated values ("integrated value Sn-2" to "integrated value Sn-10") from a plurality of times before.

図1に示される記憶ユニット43は、積算ユニット42において生成された複数の「積算値Sn-10」~「積算値Sn-1」のそれぞれを時系列に記憶する。記憶ユニット43としては、具体的な図示を省略するが、例えば揮発性メモリ(RAM:Random Access Memory)を用いて構築されている。 The storage unit 43 shown in FIG. 1 stores each of the plurality of “integrated values Sn−10” to “integrated values Sn−1” generated in the integrating unit 42 in chronological order. Although not specifically illustrated, the storage unit 43 is constructed using, for example, a volatile memory (RAM: Random Access Memory).

判定ユニット44は、記憶ユニット43に記憶された「積算値Sn-10」を「基準積算値Sr」とし、積算ユニット42により生成された「最新の積算値Sn」の「基準積算値Sr」に対する変化量を「所定の閾値」と比較する。そして、判定ユニット44は、この変化量が「所定の閾値」を超えるとき、「使用者の手が近接した」と判定する。
ここでは、「所定の閾値」は下記不等式(1)により設定されている。
(基準積算値Sr-最新の積算値Sn)/基準積算値Sr>0.01 …(1)
上記不等式(1)は下記不等式(2)に書き換えることができる。
最新の積算値Sn<0.99×基準積算値Sr …(2)
すなわち、本実施の形態において「所定の閾値」は「1%」に設定され、判定ユニット44では、「最新の積算値Sn」の「基準積算値Sr」に対する変化量が「1%」を超えると、「被検出体が近接した」との判定がなされる。
ここで、比較例として、検出電圧に乗るノイズの影響を考慮すると、近接の判定に使用される閾値は、例えば5%の高い値に設定される。
The determination unit 44 sets the "integrated value Sn-10" stored in the storage unit 43 as the "reference integrated value Sr", and determines the "latest integrated value Sn" generated by the integrating unit 42 with respect to the "reference integrated value Sr". The amount of change is compared with a "predetermined threshold". Then, the determination unit 44 determines that "the user's hand has come close" when the amount of change exceeds the "predetermined threshold value".
Here, the "predetermined threshold" is set by the following inequality (1).
(reference integrated value Sr-latest integrated value Sn)/reference integrated value Sr>0.01 (1)
The above inequality (1) can be rewritten as the following inequality (2).
Latest integrated value Sn<0.99×reference integrated value Sr (2)
That is, in the present embodiment, the "predetermined threshold value" is set to "1%", and in the determination unit 44, the amount of change of the "latest integrated value Sn" with respect to the "reference integrated value Sr" exceeds "1%". Then, it is determined that "the object to be detected has approached".
Here, as a comparative example, considering the influence of noise on the detected voltage, the threshold used for proximity determination is set to a high value of, for example, 5%.

(近接センサ1における近接又は接触の検出方法)
次に、図1~図3を参照しつつ、図4を用いて、近接センサ1における被検出体の近接又は接触の検出方法を説明する。
まず最初に、近接又は接触の検出方法では、近接センサ1の制御部4が初期化され、後述するステップS3からステップS12を行って積算値Snを生成し、判定ユニット44において積算値Snが「基準積算値Sr」に設定される(ステップS1)。
引き続き、所定の時間が経過したか否かが判定される(ステップS2)。ここでの「所定の時間」とは、基準積算値Srの設定後から次の積算値の生成を開始するまでの時間である。所定の時間が経過していないと判定されると、ステップS2へ戻る。
(Proximity or contact detection method in proximity sensor 1)
Next, with reference to FIGS. 1 to 3 and using FIG. 4, a method of detecting the proximity or contact of the object to be detected in the proximity sensor 1 will be described.
First, in the proximity or contact detection method, the controller 4 of the proximity sensor 1 is initialized, steps S3 to S12 described later are performed to generate an integrated value Sn, and the determination unit 44 determines that the integrated value Sn is " is set to the reference integrated value Sr (step S1).
Subsequently, it is determined whether or not a predetermined time has passed (step S2). The "predetermined time" here is the time from the setting of the reference integrated value Sr to the start of generation of the next integrated value. If it is determined that the predetermined time has not elapsed, the process returns to step S2.

ステップS2において、所定の時間が経過したと判定されると、積算ユニット42では、積算値Snが「0」に設定される(ステップS3)。一方、測定ユニット41では、測定される検出電圧Viが「所定の回数」(10回)の最初の検出電圧V1に設定される(ステップS4)。 When it is determined in step S2 that the predetermined time has elapsed, the integrating unit 42 sets the integrated value Sn to "0" (step S3). On the other hand, in the measurement unit 41, the detected voltage Vi to be measured is set to the first detected voltage V1 of the "predetermined number of times" (10 times) (step S4).

図1に示される制御部4では、パルス電圧の印加が開始される(ステップS5)。これにより、制御部4のパルス電圧出力端子からパルス電圧が電極部2の駆動電極20へ供給され、駆動電極20にパルス電圧が印加される(図2の時間t11参照)。
駆動電極20にパルス電圧が印加されると、例えば使用者の手との距離の変化に応じた大きさの誘起電圧が、電極部2の第1検出電極21に発生する。この誘起電圧の発生により、検出部3の第1検出回路31ではコンデンサ312の充電が開始される(ステップS6)。
そして、制御部4では、パルス電圧の印加が停止される(ステップS7)。このパルス電圧の印加の停止直後(図2の時間t12及び時間t13参照)に、コンデンサ312に充電された充電電圧が検出電圧V1として測定ユニット41により測定される(ステップS8)。なお、測定された検出電圧V1は、測定ユニット41内に記憶されてもよいし、積算ユニット42又は記憶ユニット43に記憶させてもよい。
In the control unit 4 shown in FIG. 1, application of the pulse voltage is started (step S5). As a result, a pulse voltage is supplied from the pulse voltage output terminal of the control section 4 to the drive electrode 20 of the electrode section 2, and the pulse voltage is applied to the drive electrode 20 (see time t11 in FIG. 2).
When a pulse voltage is applied to the drive electrode 20 , an induced voltage having a magnitude corresponding to a change in distance from the user's hand, for example, is generated in the first detection electrode 21 of the electrode section 2 . Due to the generation of this induced voltage, charging of the capacitor 312 is started in the first detection circuit 31 of the detection section 3 (step S6).
Then, the control unit 4 stops applying the pulse voltage (step S7). Immediately after the application of the pulse voltage is stopped (see time t12 and time t13 in FIG. 2), the charging voltage charged in the capacitor 312 is measured as the detection voltage V1 by the measuring unit 41 (step S8). The measured detection voltage V1 may be stored in the measurement unit 41, or may be stored in the integration unit 42 or the storage unit 43. FIG.

測定ユニット41において測定された検出電圧V1は、積算ユニット42により積算が開始される(ステップS9)。この後、コンデンサ312に充電された充電電圧は抵抗R3を介して放電される(ステップS10)。 The detection voltage V1 measured by the measurement unit 41 is started to be integrated by the integration unit 42 (step S9). After that, the charging voltage charged in the capacitor 312 is discharged through the resistor R3 (step S10).

制御部4では、測定された検出電圧V1が「所定の回数」の検出電圧であるか否かが判定される(ステップS11)。「所定の回数」ではないと判定されると、次に測定される検出電圧Viが「検出電圧V2」に設定され(ステップS16)、ステップS5へ戻り、検出電圧V2が測定される。ステップS11では、「所定の回数」の検出電圧V10が得られるまで、測定ユニット41において検出電圧Viが測定される。 In the control unit 4, it is determined whether or not the measured detection voltage V1 is the detection voltage of the "predetermined number of times" (step S11). If it is determined that it is not the "predetermined number of times", the detected voltage Vi to be measured next is set to the "detected voltage V2" (step S16), the process returns to step S5, and the detected voltage V2 is measured. In step S11, the detection voltage Vi is measured in the measurement unit 41 until the detection voltage V10 is obtained "predetermined times".

次に、測定ユニット41において測定された「所定の回数」の検出電圧V1~検出電圧V10が積算ユニット42において積算され、積算ユニット42により「最新の積算値Sn」が生成される(ステップS12)。「最新の積算値Sn」は、順次、時系列に記憶ユニット43に複数記憶される。
そして、「基準積算値Sr」から10回目に測定され、積算された最も新しい「最新の積算値Sn」の「基準積算値Sr」に対する変化量が「所定の閾値」を超えるか否かが判定される(ステップS13)。「所定の閾値」は、前述の不等式(1)又は不等式(2)に示される例示の通り、ここでは「1%」に設定されている。
Next, the “predetermined number” of detection voltages V1 to V10 measured by the measurement unit 41 are integrated in the integration unit 42, and the integration unit 42 generates the “latest integrated value Sn” (step S12). . A plurality of "latest integrated values Sn" are sequentially stored in the storage unit 43 in chronological order.
Then, it is determined whether or not the amount of change from the "reference integrated value Sr" of the "latest integrated value Sn", which is the tenth time measured and integrated from the "reference integrated value Sr", exceeds the "predetermined threshold value". (step S13). The "predetermined threshold" is set to "1%" here, as exemplified by the above inequality (1) or (2).

ステップS13において、「最新の積算値Sn」の「基準積算値Sr」に対する変化量が「1%」を超えると、使用者の手が近接していると判定され、近接センサ1はオン出力される(ステップS14)。この後、検出処理を終了するか否かが判定され(ステップS15)、終了すると判定されると、本実施の形態に係る近接センサ1による被検出体の近接又は接触の検出方法が終了する。終了しないと判定されると、ステップS2へ戻る。 In step S13, when the amount of change of the "latest integrated value Sn" with respect to the "reference integrated value Sr" exceeds "1%", it is determined that the user's hand is approaching, and the proximity sensor 1 is turned on. (step S14). Thereafter, it is determined whether or not to end the detection process (step S15), and if it is determined to end, the method of detecting the proximity or contact of the object to be detected by the proximity sensor 1 according to the present embodiment ends. If it is determined not to end, the process returns to step S2.

一方、ステップS13において、「最新の積算値Sn」の「基準積算値Sr」に対する変化量が「1%」を超えないと判定されると、ステップS13の判断に使用された「基準積算値Sr」が更新される(ステップS17)。ここでは、記憶ユニット43に時系列に記憶された「基準積算値Sr」よりも後に記憶された積算値Sn-9が「新たな基準積算値Sr」として更新される。なお、ステップS17では、「最新の積算値Sn」が「積算値Sn-1」に、「積算値Sn-1」が「積算値Sn-2」に、…「積算値Sn-8」が「積算値Sn-9」にそれぞれ更新される。この更新が終了すると、ステップS15へ移行する。 On the other hand, if it is determined in step S13 that the amount of change of the "latest integrated value Sn" with respect to the "reference integrated value Sr" does not exceed "1%," the "reference integrated value Sr ” is updated (step S17). Here, the integrated value Sn-9 stored after the "reference integrated value Sr" stored in time series in the storage unit 43 is updated as the "new reference integrated value Sr". In step S17, "latest integrated value Sn" becomes "integrated value Sn-1", "integrated value Sn-1" becomes "integrated value Sn-2", ... "integrated value Sn-8" becomes " are updated to the integrated values Sn-9. When this update is finished, the process moves to step S15.

(作用効果)
本実施の形態に係る近接センサ1は、図1に示されるように、検出部3と、制御部4とを備える。検出部3では、被検出体、例えば使用者の手との距離に応じた検出電圧が出力される。制御部4には、検出部3から出力される検出電圧が入力される。
ここで、制御部4は、測定ユニット(測定手段)41と、積算ユニット(積算手段)42と、記憶ユニット(記憶手段)43と、判定ユニット(判定手段)44とを含んで構成される。測定ユニット41では、所定の期間毎に所定の回数の検出電圧が測定される。積算ユニット42では、所定の回数の検出電圧が積算されて積算値が生成される。記憶ユニット43では、積算値が時系列に記憶される。判定ユニット44では、記憶ユニット43に記憶された積算値を基準積算値Srとし、積算ユニット41により生成された最新の積算値Snの基準積算値Srに対する変化量が所定の閾値を超えるとき、被検出体の近接が判定される(図4のステップS13)。
(Effect)
A proximity sensor 1 according to the present embodiment includes a detection unit 3 and a control unit 4, as shown in FIG. The detection unit 3 outputs a detection voltage corresponding to the distance from an object to be detected, for example, a user's hand. A detection voltage output from the detection unit 3 is input to the control unit 4 .
Here, the control section 4 includes a measurement unit (measurement means) 41 , an integration unit (integration means) 42 , a storage unit (storage means) 43 , and a determination unit (determination means) 44 . The measurement unit 41 measures the detected voltage a predetermined number of times every predetermined period. The integrating unit 42 integrates the detected voltages a predetermined number of times to generate an integrated value. The storage unit 43 stores the integrated values in time series. In the determination unit 44, the integrated value stored in the storage unit 43 is used as a reference integrated value Sr. The proximity of the detection object is determined (step S13 in FIG. 4).

被検出体の近接を判定する際に使用される「変化量」は、積算ユニット42により所定の回数の検出電圧を積算して生成された積算値の変化量とされ、1回の測定による検出電圧の変化量に比し、大きな値になる。加えて、基準積算値Sr、最新の積算値Snのそれぞれでは、所定の回数の検出電圧が積算されるので、検出電圧に乗るノイズを最終的に相殺することができる。
このため、近接センサ1では、被検出体の近接の判断に使用される「所定の閾値」が小さくなっても、誤検出を効果的に抑制又は防止することができる。加えて、近接センサ1では、上記「所定の閾値」を小さくすることができるので、検出距離を長くすることができる。
The "change amount" used when determining the proximity of the object to be detected is the amount of change in the integrated value generated by integrating the detection voltage a predetermined number of times by the integration unit 42, and is detected by one measurement. It becomes a large value compared to the amount of change in voltage. In addition, the reference integrated value Sr and the latest integrated value Sn are each integrated with the detected voltage a predetermined number of times, so that the noise on the detected voltage can be finally canceled.
Therefore, the proximity sensor 1 can effectively suppress or prevent erroneous detection even if the "predetermined threshold value" used to determine the proximity of the object to be detected becomes small. In addition, in the proximity sensor 1, the "predetermined threshold" can be reduced, so the detection distance can be increased.

また、近接センサ1では、図1に示される記憶ユニット43は、積算ユニット42により生成された積算値を時系列に複数記憶する(図3参照)。そして、近接センサ1では、判定ユニット44は、図3及び図4に示されるように、最新の積算値Snよりも複数前、ここでは10回前に記憶ユニット43に記憶された積算値Sn-10を基準積算値Srとして、被検出体の近接を判定する(ステップS13)。
このため、最新の積算値Snはその直前の積算値(ここでは積算値Sn-1)よりも前に記憶ユニット43に記憶された基準積算値Sr(ここでは積算値Sn-10)と比較されることにより、被検出体の近接による検出電圧の緩やか変化を検出することができる。少し詳しく説明すると、図3に示されるように、最新の積算値Snとその直前の積算値とが比較される場合、変化量が小さく、被検出体の近接の判定が難しい。これに対して、最新の積算値Snと基準積算値Srとしての積算値Sn-10とが比較される場合、変化量が大きく、被検出体の近接の判定が容易になると共に、双方の間の積算値Sn-9~積算値Sn-1が生成されるので、積算値の経時的な変化も検出することができる。
In the proximity sensor 1, the storage unit 43 shown in FIG. 1 stores a plurality of integrated values generated by the integration unit 42 in time series (see FIG. 3). In the proximity sensor 1, as shown in FIGS. 3 and 4, the determination unit 44 determines the integrated value Sn- stored in the storage unit 43 several times before the latest integrated value Sn, here ten times before. With 10 as the reference integrated value Sr, the proximity of the object to be detected is determined (step S13).
Therefore, the latest integrated value Sn is compared with the reference integrated value Sr (here, integrated value Sn-10) stored in the storage unit 43 before the immediately preceding integrated value (here, integrated value Sn-1). Thus, it is possible to detect a gradual change in the detected voltage due to the proximity of the object to be detected. To explain in a little more detail, as shown in FIG. 3, when the latest integrated value Sn is compared with the immediately preceding integrated value, the amount of change is small and it is difficult to determine the proximity of the detected object. On the other hand, when the latest integrated value Sn is compared with the integrated value Sn-10 as the reference integrated value Sr, the amount of change is large, making it easier to determine the proximity of the object to be detected and Since the integrated values Sn-9 to Sn-1 of are generated, changes in the integrated values over time can also be detected.

さらに、近接センサ1では、図1に示される制御部4は、最新の積算値Snを積算値Sn-1として記憶ユニット43に記憶する。すると、図4に示されるように、制御部4では、基準積算値Sr(積算値Sn-10)よりも後に記憶された積算値Sn-9が新たな基準積算値Srとして更新される(ステップS17)。
このため、近接センサ1では、最新の積算値Snの生成毎に、新たな基準積算値Srが更新されるので、温度変化、降雨等の周囲の環境変化が生じても、この環境変化に対応した基準積算値Srを設定することができる。従って、近接センサ1では、環境変化に影響を受け難く、誤検出を効果的に抑制又は防止することができ、更に検出距離を長くすることができる。
Further, in the proximity sensor 1, the controller 4 shown in FIG. 1 stores the latest integrated value Sn in the storage unit 43 as the integrated value Sn-1. Then, as shown in FIG. 4, in the control unit 4, the integrated value Sn-9 stored after the standard integrated value Sr (integrated value Sn-10) is updated as a new standard integrated value Sr (step S17).
Therefore, in the proximity sensor 1, every time the latest integrated value Sn is generated, a new reference integrated value Sr is updated. A reference integrated value Sr can be set. Therefore, the proximity sensor 1 is less likely to be affected by environmental changes, can effectively suppress or prevent erroneous detection, and can increase the detection distance.

また、近接センサ1では、図1に示される制御部4は、最新の積算値Snの基準積算値Srに対する変化量が所定の閾値を超えるとき、最新の積算値Snを新たな基準積算値Srとして更新しない(図4のステップS13)。変化量が所定の閾値を超えるときに基準積算値Srが更新されると、被検出体の近接状態が新たな基準積算値Srとなり、誤検出の要因となる。このため、変化量が所定の閾値を超えるときに新たな基準積算値Srを更新しない設定とされるので、近接センサ1では、誤検出を効果的に抑制又は防止することができる。 Further, in the proximity sensor 1, the controller 4 shown in FIG. 1 replaces the latest integrated value Sn with the new reference integrated value Sr when the amount of change of the latest integrated value Sn with respect to the reference integrated value Sr exceeds a predetermined threshold. is not updated (step S13 in FIG. 4). If the reference integrated value Sr is updated when the amount of change exceeds a predetermined threshold, the proximity state of the object to be detected becomes the new reference integrated value Sr, which causes erroneous detection. Therefore, since the new reference integrated value Sr is not updated when the amount of change exceeds the predetermined threshold value, the proximity sensor 1 can effectively suppress or prevent erroneous detection.

さらに、近接センサ1は、図1に示されるように、電極部2を備える。電極部2は、制御部4からパルス電圧が印加される駆動電極20と、パルス電圧の印加により誘起電圧が発生する検出電極21及び検出電極22とを含んで構成される。
加えて、近接センサ1の検出部3は、第1検出回路31にコンデンサ312、第2検出回路32にコンデンサ322を有する。コンデンサ312、コンデンサ322のそれぞれは誘起電圧の発生により充電される。そして、検出電圧は、コンデンサ312、コンデンサ322のそれぞれに充電された充電電圧とされる。
つまり、近接センサ1における近接又は接触の検出方法は、まず電極部2の駆動電極20にパルス電圧を印加する。このパルス電圧の印加により、駆動電極20と検出電極21又は検出電極22との間に電界が発生する。この電界の発生により、検出電極21又は検出電極22に誘起電圧が発生する。誘起電圧は被検出体の近接によって変化する。この誘起電圧の変化に応じて、検出部3のコンデンサ312又はコンデンサ322が充電される。この充電電圧は検出電圧として測定される。
このような検出方法を採用する近接センサ1によれば、降雨等の液体の付着による影響を受け難いので、検出精度を更に向上させることができる。
Further, the proximity sensor 1 includes an electrode section 2 as shown in FIG. The electrode unit 2 includes a drive electrode 20 to which a pulse voltage is applied from the control unit 4, and detection electrodes 21 and 22 that generate an induced voltage by applying the pulse voltage.
In addition, the detection unit 3 of the proximity sensor 1 has a capacitor 312 in the first detection circuit 31 and a capacitor 322 in the second detection circuit 32 . Each of the capacitors 312 and 322 is charged by the generation of the induced voltage. The detected voltages are charge voltages charged in the capacitors 312 and 322, respectively.
That is, the method of detecting proximity or contact in the proximity sensor 1 first applies a pulse voltage to the driving electrode 20 of the electrode section 2 . By applying this pulse voltage, an electric field is generated between the drive electrode 20 and the detection electrode 21 or the detection electrode 22 . Due to the generation of this electric field, an induced voltage is generated in the detection electrode 21 or the detection electrode 22 . The induced voltage changes depending on the proximity of the object to be detected. The capacitor 312 or 322 of the detector 3 is charged according to the change in the induced voltage. This charging voltage is measured as a detection voltage.
The proximity sensor 1 that employs such a detection method is less likely to be affected by adhesion of liquid such as rainfall, so detection accuracy can be further improved.

また、近接センサ1では、制御部4の測定ユニット41における例えば検出電圧V1を測定する所定の期間が、図2に示されるように、パルス電圧の印加の開始(時間t11)から、検出部3のコンデンサ312の充電電圧の放電開始(時間t14)までの期間とされる。検出電圧V2~検出電圧V10のそれぞれを測定する所定の期間は、同様の期間である。
このため、検出電圧V1~検出電圧V10のそれぞれは、毎回、パルス電圧が印加されて、コンデンサ312が十分に充電された状態において測定されるので、検出電圧V1~検出電圧V10のそれぞれの測定のばらつきを効果的に抑制することができる。
In the proximity sensor 1, the predetermined period for measuring, for example, the detection voltage V1 in the measurement unit 41 of the control section 4 is, as shown in FIG. 3 until the charging voltage of the capacitor 312 starts discharging (time t 14 ). The predetermined period for measuring each of the detected voltages V2 to V10 is the same period.
Therefore, each of the detection voltages V1 to V10 is measured in a state in which a pulse voltage is applied and the capacitor 312 is sufficiently charged. Variation can be effectively suppressed.

(その他の実施の形態)
本発明は、上記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。例えば、上記近接センサは、車両のキーレスエントリー装置やドア開閉装置の構築に限定されるものではなく、建造物のキーレスエントリー装置やドア開閉装置を構築してもよい。
(Other embodiments)
The present invention is not limited to the above embodiments, and can be modified in various ways without departing from the scope of the invention. For example, the proximity sensor is not limited to building a keyless entry system or a door opening/closing system for a vehicle, but may be used for building a keyless entry system or a door opening/closing system for a building.

1 近接センサ
2 電極部
20 駆動電極
21 第1検出電極(検出電極)
22 第2検出電極(検出電極)
3 検出部
31 第1検出回路
312、322 コンデンサ
32 第2検出回路
4 制御部
41 測定ユニット(測定手段)
42 積算ユニット(積算手段)
43 記憶ユニット(記憶手段)
44 判定ユニット(判定手段)
Reference Signs List 1 proximity sensor 2 electrode section 20 drive electrode 21 first detection electrode (detection electrode)
22 second detection electrode (detection electrode)
3 detection section 31 first detection circuit 312, 322 capacitor 32 second detection circuit 4 control section 41 measurement unit (measuring means)
42 integration unit (integration means)
43 storage unit (storage means)
44 determination unit (determination means)

Claims (6)

被検出体との距離に応じた検出電圧を出力する検出部と、
前記検出電圧が入力される制御部と、を備え、
前記制御部は、
所定の期間毎に所定の回数の前記検出電圧を測定する測定手段と、
前記所定の回数の前記検出電圧を積算して積算値を生成する積算手段と、
前記積算値を時系列に記憶する記憶手段と、
前記記憶手段に記憶された前記積算値を基準積算値とし、前記積算手段により生成された最新の積算値の前記基準積算値に対する変化量が所定の閾値を超えるとき、前記被検出体が近接したと判定する判定手段と、
を備えている近接センサ。
a detection unit that outputs a detection voltage according to the distance from the object to be detected;
A control unit to which the detected voltage is input,
The control unit
measuring means for measuring the detected voltage a predetermined number of times every predetermined period;
Integrating means for accumulating the detected voltages of the predetermined number of times to generate an integrated value;
a storage means for storing the integrated value in time series;
The integrated value stored in the storage means is used as a reference integrated value, and when the amount of change of the latest integrated value generated by the integrating means with respect to the reference integrated value exceeds a predetermined threshold value, the detected object approaches. and a determination means for determining
proximity sensor.
前記記憶手段は、前記積算値を時系列に複数記憶し、
前記判定手段は、前記最新の積算値よりも複数前に前記記憶手段に記憶された前記積算値を前記基準積算値として、前記被検出体の近接を判定する
請求項1に記載の近接センサ。
The storage means stores a plurality of the integrated values in time series,
2. The proximity sensor according to claim 1, wherein said determination means determines proximity of said object to be detected using said integrated value stored in said storage means several times before said latest integrated value as said reference integrated value.
前記制御部は、前記最新の積算値が前記積算値として前記記憶手段に記憶された後、前記最新の積算値の前記基準積算値に対する変化量が前記所定の閾値を超えないとき、前記基準積算値より後に記憶された前記積算値を新たな基準積算値として更新する請求項2に記載の近接センサ。 After the latest integrated value is stored in the storage means as the integrated value, the control unit controls the reference integrated value when the amount of change of the latest integrated value with respect to the reference integrated value does not exceed the predetermined threshold value. 3. The proximity sensor according to claim 2, wherein the integrated value stored after the value is updated as a new reference integrated value. 前記制御部は、前記最新の積算値が前記積算値として前記記憶手段に記憶された後、前記最新の積算値の前記基準積算値に対する変化量が前記所定の閾値を超えるとき、前記基準積算値を更新しない請求項に記載の近接センサ。 After the latest integrated value is stored in the storage means as the integrated value, the control unit controls the reference integrated value when the amount of change of the latest integrated value with respect to the reference integrated value exceeds the predetermined threshold value. 3. The proximity sensor of claim 2 , which does not update the . 前記制御部からパルス電圧が印加される駆動電極と、
前記パルス電圧の印加により誘起電圧が発生する検出電極と、を含んで構成される電極部を更に備え、
前記検出部は、前記誘起電圧の発生により充電されるコンデンサを有し、
前記検出電圧は、前記コンデンサに充電された充電電圧とされる
請求項1~請求項4のいずれか1項に記載の近接センサ。
a driving electrode to which a pulse voltage is applied from the control unit;
further comprising an electrode unit including a detection electrode that generates an induced voltage by applying the pulse voltage,
The detection unit has a capacitor charged by the generation of the induced voltage,
The proximity sensor according to any one of claims 1 to 4, wherein the detection voltage is a charged voltage charged in the capacitor.
前記所定の期間は、前記パルス電圧の印加の開始から、前記コンデンサの前記充電電圧の放電開始までの期間である
請求項5に記載の近接センサ。
The proximity sensor according to claim 5, wherein the predetermined period is a period from the start of application of the pulse voltage to the start of discharge of the charged voltage of the capacitor.
JP2018242075A 2018-12-26 2018-12-26 proximity sensor Active JP7299697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018242075A JP7299697B2 (en) 2018-12-26 2018-12-26 proximity sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018242075A JP7299697B2 (en) 2018-12-26 2018-12-26 proximity sensor

Publications (2)

Publication Number Publication Date
JP2020107933A JP2020107933A (en) 2020-07-09
JP7299697B2 true JP7299697B2 (en) 2023-06-28

Family

ID=71449489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018242075A Active JP7299697B2 (en) 2018-12-26 2018-12-26 proximity sensor

Country Status (1)

Country Link
JP (1) JP7299697B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012119906A (en) 2010-11-30 2012-06-21 Yuhshin Co Ltd Touch sensor
WO2013111841A1 (en) 2012-01-25 2013-08-01 株式会社村田製作所 Displacement sensor
JP2016070052A (en) 2014-10-01 2016-05-09 株式会社ユーシン Proximity sensor and keyless entry device having the same
JP2016091803A (en) 2014-11-05 2016-05-23 信越ポリマー株式会社 Electrostatic capacity type input device
JP2018092317A (en) 2016-12-01 2018-06-14 パイオニア株式会社 Operation input device
WO2018168320A1 (en) 2017-03-15 2018-09-20 アルプス電気株式会社 Input device, control method therefor and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012119906A (en) 2010-11-30 2012-06-21 Yuhshin Co Ltd Touch sensor
WO2013111841A1 (en) 2012-01-25 2013-08-01 株式会社村田製作所 Displacement sensor
JP2016070052A (en) 2014-10-01 2016-05-09 株式会社ユーシン Proximity sensor and keyless entry device having the same
JP2016091803A (en) 2014-11-05 2016-05-23 信越ポリマー株式会社 Electrostatic capacity type input device
JP2018092317A (en) 2016-12-01 2018-06-14 パイオニア株式会社 Operation input device
WO2018168320A1 (en) 2017-03-15 2018-09-20 アルプス電気株式会社 Input device, control method therefor and program

Also Published As

Publication number Publication date
JP2020107933A (en) 2020-07-09

Similar Documents

Publication Publication Date Title
JP4488242B2 (en) Apparatus and method for monitoring at least one energy storage condition in an occupant protection system
US9061638B2 (en) Control unit for operating a safety system for a vehicle, and method for operating such a safety system for a vehicle
US7245131B2 (en) Capacitance detection apparatus
JP4310695B2 (en) Capacitance change detection device
JP5022925B2 (en) Battery voltage detection circuit
JP5757995B2 (en) Control device for operating a safety system for a vehicle and method for operating such a safety system for a vehicle
US9640006B2 (en) Method for detecting the actuation of a motor vehicle door handle
JP4820739B2 (en) Battery voltage detection circuit
US20160117875A1 (en) Method for using a sensor to detect a user&#39;s presence for unlocking an access to a motor vehicle, and sensor associated therewith
US10451703B2 (en) Method of interfacing a LC sensor and related system
JP2011017642A (en) Capacitance detection device
US20140172336A1 (en) Device for measuring the variation of a capacitance and associated measuring method
CN103245918B (en) Electric power detection system
US20180202838A1 (en) Evaluation circuit for a capacitive sensor, capacitive sensor, and actuator in a motor vehicle
US8970288B2 (en) Device, sensor and method for detecting the presence of a user for the opening of an access point to a motor vehicle
JP5819608B2 (en) Device for detecting the presence of a user near a car
JP7299697B2 (en) proximity sensor
JP2015055598A (en) Voltage detector
CN117296251A (en) capacitive proximity sensor
CN107257750B (en) Battery cell with monitoring device and corresponding operating method
KR101714320B1 (en) Switch monitoring circuit
JP4558715B2 (en) Capacitance type presence detection sensor
US11933084B2 (en) Sensor and device for presence detection
CN113167563A (en) Electrostatic capacitance sensor
JP2007261433A (en) Battery control device and battery control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230123

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230523

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230616

R150 Certificate of patent or registration of utility model

Ref document number: 7299697

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150