JP5106925B2 - Human body detection apparatus and human body detection method - Google Patents

Human body detection apparatus and human body detection method Download PDF

Info

Publication number
JP5106925B2
JP5106925B2 JP2007154809A JP2007154809A JP5106925B2 JP 5106925 B2 JP5106925 B2 JP 5106925B2 JP 2007154809 A JP2007154809 A JP 2007154809A JP 2007154809 A JP2007154809 A JP 2007154809A JP 5106925 B2 JP5106925 B2 JP 5106925B2
Authority
JP
Japan
Prior art keywords
voltage
human body
measurement
set number
output
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
JP2007154809A
Other languages
Japanese (ja)
Other versions
JP2008309502A (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 JP2007154809A priority Critical patent/JP5106925B2/en
Publication of JP2008309502A publication Critical patent/JP2008309502A/en
Application granted granted Critical
Publication of JP5106925B2 publication Critical patent/JP5106925B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Geophysics And Detection Of Objects (AREA)

Description

本発明は、人体検出装置及び人体検出方法に関するものである。   The present invention relates to a human body detection device and a human body detection method.

従来、人体検出装置として、アンテナ電極に人体が接近することによりアンテナ回路の静電容量が変化することを利用するようにしたものがある。この人体検出装置では、アンテナ回路の静電容量の変化に基づく回路電流の変化を電圧値として検出し、この電圧値を予め設定した基準電圧と比較することにより人体が接近したか否かを判定するようにしている。   2. Description of the Related Art Conventionally, there is a human body detection device that utilizes the fact that the capacitance of an antenna circuit changes as a human body approaches an antenna electrode. In this human body detection device, a change in the circuit current based on a change in the capacitance of the antenna circuit is detected as a voltage value, and it is determined whether or not the human body has approached by comparing this voltage value with a preset reference voltage. Like to do.

ところが、前記人体検出装置では、周囲の環境(温度、雨等)の変化によってアンテナ回路の静電容量が変化するため、検出精度が安定せず、誤動作を起こす恐れがある。   However, in the human body detection device, the capacitance of the antenna circuit changes due to changes in the surrounding environment (temperature, rain, etc.), so that the detection accuracy is not stable and there is a risk of malfunction.

このため、外気温度の変化に応じて基準電圧を変化させることにより検出精度を高めるようにしたものが公知である(例えば、特許文献1参照)。   For this reason, there is a known one in which the detection accuracy is improved by changing the reference voltage in accordance with the change in the outside air temperature (for example, see Patent Document 1).

特開平7−189538号公報JP-A-7-189538

しかしながら、前記従来の人体検出装置であっても、外気温度以外の環境条件の変化には対応することができず、依然として検出精度が安定しないという問題は解決できていない。   However, even the conventional human body detection device cannot cope with changes in environmental conditions other than the outside air temperature, and the problem that the detection accuracy is still unstable cannot be solved.

そこで、本発明は、種々の環境条件の変化にも十分に対応して所望の検出精度を得ることのできる人体検出装置及び人体検出方法を提供することを課題とする。   Accordingly, an object of the present invention is to provide a human body detection device and a human body detection method capable of obtaining desired detection accuracy sufficiently corresponding to changes in various environmental conditions.

本発明は、前記課題を解決するための手段として、
人体検出装置を、
アンテナ電極に電気的に接続され、前記アンテナ電極の静電容量を電圧に変換して測定電圧として出力するアンテナ手段と、
前記アンテナ手段から出力される測定電圧を記憶する測定電圧記憶手段と、
前記測定電圧記憶手段に記憶した過去の測定電圧のうち、最新のものから第1設定回数分の平均値である感知電圧と、該感知電圧算出時に使用した最新のものから第1設定回数分の測定値の最古の測定電圧よりもさらに過去の測定電圧から第2設定回数分の平均値である基準電圧とを比較することにより、人体がアンテナ電極に接近したか否かを判定する人体接近判定手段と、
を備え、
前記第1設定回数を、前記第2設定回数よりも少なくしたものである。
As a means for solving the above problems, the present invention provides:
The human body detection device
Antenna means that is electrically connected to the antenna electrode, converts the capacitance of the antenna electrode into a voltage and outputs it as a measurement voltage;
Measurement voltage storage means for storing a measurement voltage output from the antenna means;
Wherein among the measured voltage past measurement voltage stored in the storage means, a sensing voltage which is a first mean value of the set number of times from the latest one, the first setting number of times from the latest one used during the sensing voltage calculation The human body approach determines whether or not the human body has approached the antenna electrode by comparing the reference voltage, which is the average value for the second set number of times, from the past measured voltage further than the oldest measured voltage of the measured value A determination means;
With
The first set number is less than the second set number.

この構成により、測定電圧が一時的に変化するだけでは人体が接近したとは判定しないようにすることができ、検出精度を高めることが可能となる。   With this configuration, it can be determined that the human body has approached only by temporarily changing the measurement voltage, and the detection accuracy can be improved.

前記測定電圧を抽出する周期を調整する抽出時期調整手段を、さらに備えるのが好ましい。   It is preferable to further include an extraction time adjusting means for adjusting a cycle for extracting the measurement voltage.

この構成により、人体が接近したか否かを判定する際の感度を調整することが可能となる。測定電圧の抽出周期を短くすれば、それだけ感度が高くなり、逆に長くすれば、高感度になり過ぎることを防止することができる。   With this configuration, it is possible to adjust the sensitivity when determining whether or not a human body has approached. If the extraction cycle of the measurement voltage is shortened, the sensitivity becomes higher, and conversely, if it is made longer, it can be prevented that the sensitivity becomes too high.

前記人体接近判定手段は、一定時間周期で、人体がアンテナ電極に接近したか否かを判定し、それ以外ではスリープモードとすると、消費電力を低減可能となる点で好ましい。   The human body approach determining means determines whether or not the human body has approached the antenna electrode at a constant time period, and otherwise, the sleep mode is preferable in that power consumption can be reduced.

前記人体接近判定手段での判定が行われてからの経過時間を計時するタイマー手段と、
前記人体接近判定手段での判定結果を、前記タイマー手段により計時される経過時間が設定時間を経過するまで記憶する判定結果記憶手段と、
をさらに備えるのが好ましい。
Timer means for measuring the elapsed time since the determination by the human body approach determination means is performed;
A determination result storage means for storing a determination result in the human body approach determination means until an elapsed time measured by the timer means passes a set time;
Is preferably further provided.

この構成により、設定時間が経過するまでは判定結果を保持することができ、判定結果が瞬時に切り替わること(チャタリング)を防止し、安定した判定結果を得ることが可能となる。   With this configuration, the determination result can be held until the set time elapses, and the determination result can be prevented from being instantaneously switched (chattering), and a stable determination result can be obtained.

また、本発明は、前記課題を解決するための手段として、
人体の接近により変化するアンテナ電極の静電容量に基づいて測定電圧を出力する電圧出力ステップと、
前記電圧出力ステップで出力された測定電圧と、人体の接近を判断するための基準電圧とを比較し、設定条件を満足することにより、人体がアンテナ電極に接近したと判定する人体接近判定ステップと、
を含む人体検出方法であって、
前記電圧出力ステップで出力された測定電圧を記憶する測定電圧記憶ステップをさらに含み、
前記人体接近判定ステップは、前記測定電圧記憶ステップで記憶した過去の測定電圧のうち、最新のものから第1設定回数分の平均値である感知電圧と、該感知電圧算出時に使用した最新のものから第1設定回数分の測定値の最古の測定電圧よりもさらに過去の測定電圧から第2設定回数分の平均値である基準電圧とを比較することにより、人体がアンテナ電極に接近したか否かを判定するものである。
Further, the present invention provides a means for solving the above-described problems,
A voltage output step for outputting a measurement voltage based on the capacitance of the antenna electrode that changes due to the approach of the human body;
Comparing the measured voltage output in the voltage output step with a reference voltage for determining the approach of the human body, and satisfying the setting condition, thereby determining that the human body has approached the antenna electrode; and ,
A human body detection method including:
A measurement voltage storage step of storing the measurement voltage output in the voltage output step;
The human body approach determination step includes the latest measurement voltage stored in the measurement voltage storage step and the latest voltage used when calculating the detection voltage, which is an average value for the first set number of times from the latest one. Whether the human body has approached the antenna electrode by comparing the reference voltage, which is the average value of the second set number of times from the past measured voltage, than the oldest measured voltage of the measured value for the first set number of times It is to determine whether or not.

本発明によれば、基準電圧を、過去の測定電圧の設定回数分の平均値としたので、重畳されるノイズの影響を排除しつつ、環境変化に応じた適切な値となるように自動的に変化させることができる。したがって、人体の検出を的確に行うことが可能である。   According to the present invention, since the reference voltage is an average value for the set number of past measurement voltages, it is automatically set to an appropriate value according to environmental changes while eliminating the influence of superimposed noise. Can be changed. Therefore, it is possible to accurately detect the human body.

以下、本発明に係る実施形態を添付図面に従って説明する。   Embodiments according to the present invention will be described below with reference to the accompanying drawings.

図1(a)、(b)は、本実施形態に係る人体検出装置2を車両のドアノブ1に採用した例を示す。この人体検出装置2は、図2に示すように、ケーシング3の第1収容凹部4に、フェライトアンテナ5及びアンテナ電極6を収容し、第2収容凹部7に、プリント基板8を収容したものである。   FIGS. 1A and 1B show an example in which the human body detection device 2 according to the present embodiment is adopted for a door knob 1 of a vehicle. As shown in FIG. 2, the human body detection device 2 includes a ferrite antenna 5 and an antenna electrode 6 accommodated in a first accommodating recess 4 of a casing 3, and a printed circuit board 8 accommodated in a second accommodating recess 7. is there.

フェライトアンテナ5は、矩形板状のフェライトコア9の中央部に電線10を巻回したものであり、図示しない電子キーの接近により信号を出力する。   The ferrite antenna 5 is obtained by winding a wire 10 around the center of a rectangular plate-shaped ferrite core 9 and outputs a signal when an electronic key (not shown) approaches.

アンテナ電極6は、導電性板状体(1cm×4cm)からなり、例えば、人体(ここでは、手)が接近(ドアノブ1を把持)することにより静電容量が増加する。アンテナ電極6で静電容量が変化すれば、電圧値に変換されてプリント基板8に実装した電子部品によって構成されるEXOR回路11の一方の入力端子に入力される。   The antenna electrode 6 is formed of a conductive plate-like body (1 cm × 4 cm). For example, the capacitance increases when a human body (here, a hand) approaches (holds the door knob 1). If the capacitance changes at the antenna electrode 6, it is converted into a voltage value and input to one input terminal of the EXOR circuit 11 constituted by electronic components mounted on the printed circuit board 8.

プリント基板8には、種々の電子部品が実装され、図3に示すように、アンテナ電極6からの出力信号が入力されるEXOR回路11(exclusive-OR circuit)、EXOR回路11の出力端子が接続される積分回路12、積分回路12からの出力信号が入力されるマイコン13(マイクロコンピュータ。ここではIC(Integrated Circuit)が使用されている。)、マイコン13に電力を供給するための電源回路14などを備えている。ここでは、EXOR回路11と積分回路12とで本発明に係るアンテナ手段が構成されている。   Various electronic components are mounted on the printed circuit board 8, and an EXOR circuit 11 (exclusive-OR circuit) to which an output signal from the antenna electrode 6 is input and an output terminal of the EXOR circuit 11 are connected as shown in FIG. Integrated circuit 12, a microcomputer 13 to which an output signal from the integrating circuit 12 is input (microcomputer; here, an IC (Integrated Circuit) is used), and a power supply circuit 14 for supplying power to the microcomputer 13. Etc. Here, the EXOR circuit 11 and the integrating circuit 12 constitute the antenna means according to the present invention.

EXOR回路11の第1入力端子11a及び第2入力端子11bには、マイコン13の波形発生部15から出力された電圧がそれぞれ入力されている。第1入力端子11aには、アンテナ電極6からの出力信号、すなわち、静電容量の変化に基づく影響を受けた信号波形が入力される。第2入力端子11bには、波形調整用のコンデンサC6を介して基準信号(方形波)が入力される。そして、これら両信号に基づいて出力端子から後述するように所定の信号が出力される。   The voltage output from the waveform generator 15 of the microcomputer 13 is input to the first input terminal 11a and the second input terminal 11b of the EXOR circuit 11, respectively. The first input terminal 11a receives an output signal from the antenna electrode 6, that is, a signal waveform affected by a change in capacitance. A reference signal (square wave) is input to the second input terminal 11b via the capacitor C6 for waveform adjustment. Based on these signals, a predetermined signal is output from the output terminal as will be described later.

図6に、各入力端子11a、11bにそれぞれ入力される信号(電圧)波形の例と、これらの信号が入力された場合の出力端子からの出力波形の例とを示す。アンテナ電極6によって人体等が検出されていない状態では、いずれの入力端子にも同一の方形波が入力される。したがって、両入力端子11a、11bでの入力が合致し(オン・オン又はオフ・オフ)、出力はオフ信号(0V)となる。但し、両入力端子への入力電圧が一致しない場合、第1入力端子11aへの入力ラインに波形調整用のコンデンサを接続するようにしてもよい。一方、アンテナ電極6によって人体等が検出された場合、その静電容量が増加したような状態となり、第1入力端子11aへの入力波形が山型となる。この結果、出力波形は、第2入力端子11bよりも周期の短い方形波となる。   FIG. 6 shows an example of a signal (voltage) waveform input to each of the input terminals 11a and 11b, and an example of an output waveform from the output terminal when these signals are input. In a state where no human body or the like is detected by the antenna electrode 6, the same square wave is input to any input terminal. Therefore, the inputs at both input terminals 11a and 11b match (on / on or off / off), and the output is an off signal (0 V). However, if the input voltages to both input terminals do not match, a waveform adjusting capacitor may be connected to the input line to the first input terminal 11a. On the other hand, when a human body or the like is detected by the antenna electrode 6, the capacitance is increased, and the input waveform to the first input terminal 11a becomes a mountain shape. As a result, the output waveform is a square wave having a shorter cycle than that of the second input terminal 11b.

積分回路12は、ダイオードD2と、2つのコンデンサC8、C9とで構成され、EXOR回路11から出力される方形波を積分してアナログ電圧(一定電圧)に変換する。アンテナ電極6により人体を検出していない場合、ここでの出力も当然0Vとなる。   The integrating circuit 12 includes a diode D2 and two capacitors C8 and C9. The integrating circuit 12 integrates a square wave output from the EXOR circuit 11 and converts it into an analog voltage (constant voltage). When the human body is not detected by the antenna electrode 6, the output here is naturally 0V.

マイコン13は、波形発生部15、発振部16、リセット部17、記憶部18、制御部19などを内蔵し、入力ポートAN0(A/D(Analog/Digital)入力)には、アンテナ電極6からの出力信号が、EXOR回路11から積分回路12を介して入力されるようになっている。マイコン13は、入力ポートAN0に入力される信号に基づいて、ドアノブ1が人の手で捕まれたか否か等を判定する。詳細については後述するが、入力された測定電圧と、基準電圧とを比較し、その差が設定値を超えれば、出力端子GP2(出力部)よりオン信号を出力し、そうでなければオフ信号を出力する。出力端子GP2の出力は、トランジスタT1のベースに入力されている。トランジスタT1は、ベースにオン信号が入力されることによりオン状態となってアース接続され、出力端子2での出力状態がオフとなり、逆にベースにオフ信号が入力されることによりオフ状態となり、出力端子2での出力状態がオンとなる。出力端子2は、図示しないECU(Electronic Control Unit)の所定の入力ポートに接続されている。ECUは、トランジスタT1がオン状態となることにより、ドアノブ1に人体が接近したことを検出してフェライトアンテナ5から図示しない電子キーに向け、電子キーを起動させるLF(Low Frequency)発振波を出力する。   The microcomputer 13 includes a waveform generation unit 15, an oscillation unit 16, a reset unit 17, a storage unit 18, a control unit 19, and the like. The input port AN0 (A / D (Analog / Digital) input) is connected to the antenna electrode 6. Are output from the EXOR circuit 11 via the integration circuit 12. The microcomputer 13 determines whether or not the door knob 1 is caught by a human hand based on a signal input to the input port AN0. As will be described in detail later, an input measurement voltage is compared with a reference voltage, and if the difference exceeds a set value, an ON signal is output from the output terminal GP2 (output unit), otherwise an OFF signal is output. Is output. The output of the output terminal GP2 is input to the base of the transistor T1. The transistor T1 is turned on when the on signal is input to the base and is grounded, the output state at the output terminal 2 is turned off, and conversely, the transistor T1 is turned off when the off signal is input to the base. The output state at the output terminal 2 is turned on. The output terminal 2 is connected to a predetermined input port of an ECU (Electronic Control Unit) (not shown). The ECU detects that a human body has approached the doorknob 1 when the transistor T1 is turned on, and outputs an LF (Low Frequency) oscillation wave that activates the electronic key from the ferrite antenna 5 toward the electronic key (not shown). To do.

電源回路14は、電源IC21、コンデンサC1、C2等を備え、マイコン13での使用に適した所定電圧(ここでは、3V)をリセット部17MCLRへと出力する。   The power supply circuit 14 includes a power supply IC 21, capacitors C1, C2, and the like, and outputs a predetermined voltage (3V in this case) suitable for use in the microcomputer 13 to the reset unit 17MCLR.

次に、前記構成の人体検出装置2の動作、すなわち、マイコン13でドアノブ1が人の手で捕まれたか否かの判定処理(人体接近判定処理)について、図4及び図5のフローチャートに従って説明する。   Next, the operation of the human body detection device 2 having the above-described configuration, that is, the determination process (human body approach determination process) for determining whether or not the door knob 1 has been captured by the human hand with the microcomputer 13 will be described with reference to the flowcharts of FIGS. .

まず、記憶部18に記憶した各データを初期化する。ここでは、40秒タイマー、0.6秒タイマー、回数、基準電圧、感知電圧、測定電圧、判定出力を全てリセットして0とする(ステップS1)。なお、詳しくは後述するが、40秒タイマーはマイコン13の出力端子GP2から出力されるオン出力を最大40秒までとするためのタイマー、0.6秒タイマーは、マイコン13の出力端子GP2から出力されるオン出力を少なくとも0.6秒間維持するためのタイマーである。   First, each data stored in the storage unit 18 is initialized. Here, the 40-second timer, the 0.6-second timer, the number of times, the reference voltage, the sense voltage, the measured voltage, and the determination output are all reset to 0 (step S1). As will be described in detail later, the 40-second timer is a timer for setting the ON output output from the output terminal GP2 of the microcomputer 13 to a maximum of 40 seconds, and the 0.6-second timer is output from the output terminal GP2 of the microcomputer 13. This is a timer for maintaining the ON output to be performed for at least 0.6 seconds.

そして、判定出力がオン(=1)であるか否かを判断する(ステップS2)。初期化された状態では、判定出力はオフ(=0)であるので(ステップS2:NO)、マイコン13はスリープモード(=低消費電力モード:マイコン13内の一部分のみ起動している状態を意味し、電源回路14から必要最小限の電圧が入力され、アンテナ電極6からの判定出力を受付可能となっている。)となり(ステップS3)、所定時間(例えば、10msec)経過するまで待機する(ステップS4)。一方、後述するようにして判定出力がオン(=1)となっている場合には(ステップS2:YES)、所定時間(例えば、10msec)経過するまで待機する(ステップS5)。このように、抽出時期調整手段であるステップS4及びS5により、所定時間時間単位でマイコン13を間欠的に動作させて無駄な消費電力を抑えることができると共に、測定電圧Vnを抽出する周期を調整することが可能である。   Then, it is determined whether or not the determination output is on (= 1) (step S2). Since the determination output is off (= 0) in the initialized state (step S2: NO), the microcomputer 13 is in the sleep mode (= low power consumption mode: a state where only a part of the microcomputer 13 is activated. Then, the minimum necessary voltage is input from the power supply circuit 14 and the determination output from the antenna electrode 6 can be received.) (Step S3), and the system waits until a predetermined time (for example, 10 msec) elapses (step S3). Step S4). On the other hand, if the determination output is on (= 1) as described later (step S2: YES), the process waits until a predetermined time (for example, 10 msec) elapses (step S5). As described above, the steps S4 and S5, which are extraction timing adjustment means, can operate the microcomputer 13 intermittently at predetermined time units to suppress unnecessary power consumption and adjust the cycle for extracting the measurement voltage Vn. Is possible.

所定時間待機すれば、測定回数nをカウントし(ステップS6)、アンテナ電極6からの入力信号に基づいて、EXOR回路11から判定出力され、積分回路12でデジタル信号から変換されたアナログ信号(電圧)を測定電圧Vnとして読み込み、測定電圧記憶手段である記憶部18に記憶する(ステップS7)。   When waiting for a predetermined time, the number of times of measurement n is counted (step S6). Based on the input signal from the antenna electrode 6, the determination signal is output from the EXOR circuit 11, and the analog signal (voltage) converted from the digital signal by the integrating circuit 12 is obtained. ) As a measured voltage Vn and stored in the storage unit 18 as a measured voltage storage means (step S7).

続いて、過去に読み込まれた測定電圧Vnの測定回数nが4以下であるか否かを判断する(ステップS8)。すなわち、記憶部18に記憶されている測定電圧Vnの数が4以下では(ステップS8:YES)、記憶されている測定電圧Vnの平均値を感知電圧Vkとする(ステップS9)。初期状態から測定回数が4回目までであれば、この処理が行われる。また、記憶部18に記憶された測定電圧Vnの数が4を超えれば(ステップS8:NO)、記憶された測定電圧Vnのうち、最新のものから4つのみの平均値を感知電圧Vkとする(ステップS10)。このように、測定電圧Vnの平均値を感知電圧とすることにより、サージ電圧等のノイズによる影響を阻止することが可能となる。なお、測定回数nが4を超える場合、最新の4回の測定結果のみを利用するようにしたのは、ノイズによる誤判定の防止と、入力が変化した場合の応答性とのバランスを考慮したものである。   Subsequently, it is determined whether or not the number of measurements n of the measurement voltage Vn read in the past is 4 or less (step S8). That is, when the number of measurement voltages Vn stored in the storage unit 18 is 4 or less (step S8: YES), the average value of the stored measurement voltages Vn is set as the sense voltage Vk (step S9). If the number of measurements is from the initial state to the fourth, this process is performed. If the number of measurement voltages Vn stored in the storage unit 18 exceeds 4 (step S8: NO), the average value of only four of the stored measurement voltages Vn from the latest is used as the sense voltage Vk. (Step S10). In this way, by using the average value of the measurement voltage Vn as the sense voltage, it is possible to prevent the influence of noise such as a surge voltage. Note that when the number of measurements n exceeds 4, only the latest four measurement results are used in consideration of the balance between prevention of misjudgment due to noise and responsiveness when the input changes. Is.

次いで、判定出力がオフ(=0)であるか否かを判断する(ステップS11)。初期状態では、ステップS1でリセットされているので、判定出力は0となる。また、後述するように、ステップS17で、測定電圧Vnと基準電圧Vtの差が設定値を超えない限り、判定出力は0に維持される。判定出力が0であれば(ステップS11:YES)、測定回数が20回以上であるか否かを判断する(ステップS12)。測定回数が20回以上であれば(ステップS12:YES)、記憶された測定電圧Vnのうち、最新のものから20回の平均値を算出して基準電圧Vtとする(ステップS13)。測定回数が20回未満であれば(ステップS12:NO)、測定電圧Vnの合計値を測定回数に1を加算した値で除算したものを感知電圧Vtとする(ステップS14)。この場合、基準電圧Vtは感知電圧Vkよりも必ず小さい値となる。   Next, it is determined whether or not the determination output is off (= 0) (step S11). In the initial state, the determination output is 0 because it is reset in step S1. As will be described later, the determination output is maintained at 0 unless the difference between the measurement voltage Vn and the reference voltage Vt exceeds the set value in step S17. If the determination output is 0 (step S11: YES), it is determined whether the number of measurements is 20 or more (step S12). If the number of times of measurement is 20 times or more (step S12: YES), an average value of 20 times is calculated from the latest measured voltage Vn stored as the reference voltage Vt (step S13). If the number of measurements is less than 20 (step S12: NO), the sense voltage Vt is obtained by dividing the total value of the measurement voltages Vn by the value obtained by adding 1 to the number of measurements (step S14). In this case, the reference voltage Vt is always smaller than the sense voltage Vk.

このように、過去の測定電圧Vnのうち、最新のもの20回の平均値(20回を超えるまでは、それまでの測定電圧Vnの合計値をn+1で除算したもの)を基準電圧Vtとしているので、測定電圧Vnが変化すれば、測定電圧Vnや、最新のもの4回(4回を超えるまではそれまで)の平均値である感知電圧Vkに比べて基準電圧Vtが遅れて変化する。例えば、図7のグラフに示すように、感知電圧Vkが変化する場合、基準電圧Vtはその変化に遅れて変化する。これにより、感知電圧Vkが急激に変化しても、基準電圧Vtは追随することがなく、安定した検出状態を得ることができる。そして、感知電圧Vkが急激に変化すれば、基準電圧Vtとの電圧差が大きくなる。一方、感知電圧Vkがゆっくりと変化するのであれば、基準電圧Vtとの電圧差はそれほど大きくなることがなく、一定範囲内に留まる。また、測定電圧Vnが変化し、基準電圧Vtとの電圧差が生じたとても、その後同じ状態が維持されれば(例えば、約200msec以上)、両電圧値はほぼ同じ値となる。   As described above, the average value of the latest 20 measured voltages among the past measured voltages Vn (the value obtained by dividing the total value of the measured voltages Vn up to 20 times by n + 1) is used as the reference voltage Vt. Therefore, if the measurement voltage Vn changes, the reference voltage Vt changes with a delay compared to the measurement voltage Vn or the sense voltage Vk that is the average value of the latest four times (until it exceeds four). For example, as shown in the graph of FIG. 7, when the sensing voltage Vk changes, the reference voltage Vt changes after the change. Thereby, even if the sensing voltage Vk changes suddenly, the reference voltage Vt does not follow and a stable detection state can be obtained. If the sense voltage Vk changes abruptly, the voltage difference from the reference voltage Vt increases. On the other hand, if the sensing voltage Vk changes slowly, the voltage difference from the reference voltage Vt does not become so large and remains within a certain range. Further, if the measurement voltage Vn is changed and a voltage difference from the reference voltage Vt is generated, if the same state is maintained thereafter (for example, about 200 msec or more), both voltage values become substantially the same value.

そこで、0.6秒タイマーにより0.6秒がカウントされたか否かを判断する(ステップS15)。0.6秒タイマーが作動していない(0.6T=0、つまり判定出力=0)、または、0.6秒がカウントされていれば(ステップS15:NO)、感知電圧Vkと基準電圧Vtの差が設定値(0.09V=90mV)以上であるか否かを判断する(ステップS17)。電圧差が設定値以下であれば(ステップS17:NO)、判定出力をオフ(=0)に維持し、ステップS2に戻ってスリープモードが維持される。したがって、判定出力がオン(=1)となっていない限り、スリープモードを維持することができ、消費電力を抑制することが可能である。一方、電圧差が設定値以上であれば(ステップS17:YES)、ドアノブ1が握られたものと判断し、出力信号をオン(=1)とし、0.6秒タイマー及び40秒タイマーをインクリメント(加算、カウント)する(ステップS18)。カウント周期(ステップS4、S5による作動周期)が10msecであることから、0.6秒タイマーでは、カウント数が60回になれば0.6秒となり、40秒タイマーでは4000回になれば40秒となる。   Therefore, it is determined whether or not 0.6 seconds have been counted by the 0.6 second timer (step S15). If the 0.6 second timer is not activated (0.6T = 0, that is, judgment output = 0), or if 0.6 second is counted (step S15: NO), the sense voltage Vk and the reference voltage Vt It is determined whether or not the difference is equal to or greater than a set value (0.09V = 90 mV) (step S17). If the voltage difference is less than or equal to the set value (step S17: NO), the determination output is maintained off (= 0), and the process returns to step S2 to maintain the sleep mode. Therefore, as long as the determination output is not turned on (= 1), the sleep mode can be maintained and power consumption can be suppressed. On the other hand, if the voltage difference is equal to or larger than the set value (step S17: YES), it is determined that the door knob 1 is grasped, the output signal is turned on (= 1), and the 0.6 second timer and the 40 second timer are incremented. (Addition and counting) are performed (step S18). Since the count cycle (operation cycle by steps S4 and S5) is 10 msec, with the 0.6 second timer, the count number becomes 0.6 seconds when it reaches 60 times, and with the 40 second timer it becomes 40 seconds when it reaches 4000 times. It becomes.

0.6秒経過していなければ(ステップS15:YES)、所定時間(10msec)だけインクリメントし(ステップS16)、ステップS2に戻って前記処理を続行する。すなわち、0.6秒タイマーが作動中である場合には、感知電圧Vkと基準電圧Vtとの比較判定(ステップS17)を行うことなく、ステップS2に戻る構成としているため、判定出力がオン(=1)の状態を0.6秒間維持することができる。以上のように、感知電圧Vkは、測定電圧Vnの入力が4回を超えることにより、最新の4回の平均値としているので、ノイズによる影響を排除することができる。さらに、基準電圧Vtは、測定電圧Vnの入力が20回を超えることにより、最新の20回の平均値としているので、周囲の環境条件の変化に追随して変化させることができる。   If 0.6 seconds have not elapsed (step S15: YES), the time is incremented by a predetermined time (10 msec) (step S16), and the process returns to step S2 to continue the process. That is, when the 0.6 second timer is in operation, the determination output is turned on because the process returns to step S2 without performing the comparison determination (step S17) between the sense voltage Vk and the reference voltage Vt. = 1) can be maintained for 0.6 seconds. As described above, since the sensing voltage Vk is set to the latest four average values when the measurement voltage Vn is input more than four times, the influence of noise can be eliminated. Furthermore, since the reference voltage Vt is the latest average value of 20 times when the input of the measurement voltage Vn exceeds 20 times, the reference voltage Vt can be changed following the change of the surrounding environmental conditions.

なお、感知電圧Vk、基準電圧Vtを得るための測定電圧Vnの回数、及び、設定値は、例えば、測定電圧の変化速度がどの程度であれば、判定出力をオン又はオフのいずれにするのかで決定することができる。ここでは、測定電圧Vnが1.5mV/msec以上の速度で変化した場合、判定出力が100msec以内にオンし(図7中、MAX100で示す。)、1mV/msec以下でオフし、1〜1.5mV/msecでは100msec以上経過した後、オンするように設定している。また、一旦、判定出力がオンすれば、ステップS15の処理により所定時間(ここでは、600msec。図7中、MIN600で示す。)オン状態を維持させる。   Note that the number of measurement voltages Vn for obtaining the sensing voltage Vk, the reference voltage Vt, and the set value are, for example, how fast the measurement voltage changes, and whether the determination output is turned on or off. Can be determined. Here, when the measured voltage Vn changes at a speed of 1.5 mV / msec or more, the judgment output turns on within 100 msec (indicated by MAX100 in FIG. 7), turns off at 1 mV / msec or less, and 1 to 1.5 mV / msec is set to turn on after 100msec. Once the determination output is turned on, the on state is maintained for a predetermined time (here, 600 msec, indicated by MIN600 in FIG. 7) by the process of step S15.

判定出力をオン状態とするのは、前記ステップS18でカウントされた40秒タイマーが40秒経過するまでである(ステップS19:NO)。その後、40秒が経過したと判断されれば(ステップS19:YES)、判定をオフ(=0)とし、40秒タイマー及び0.6秒タイマーを共にリセット(=0)する(ステップS20)。最大40秒でリセットするようにしているので(図7中、MAX40000で示す。)、マイコン13の判定出力がオン状態に維持されることがなく、無駄な消費電力を抑制することができる。例えば、急に強い雨が降り出し、測定電圧が高い状態に維持されるような場合、40秒間連続して判定出力がオンした後は、オフ状態に復帰することになる。これにより、ドアノブ1に人体が接近した場合以外の条件で、オン状態が維持されることを回避できる。そして、ステップS19:NOで判定出力がオン(=1)の状態でステップS2に戻ると、判定出力がオン(=1)であるため(ステップS2:YES)、ステップS5に進み、スリープモードには突入しない。これにより、マイコン13は作動状態を維持し、マイコン13の出力端子GP2からのオン信号の出力が継続される。一方、ステップS20から判定出力がオフ(=0)の状態でステップS2に戻ると、判定出力がオフ(=0)であるため(ステップS2:NO)、ステップS3に進み、スリープモードに突入して前記処理を続行する。   The determination output is turned on until the 40-second timer counted in step S18 elapses for 40 seconds (step S19: NO). Thereafter, if it is determined that 40 seconds have elapsed (step S19: YES), the determination is turned off (= 0), and both the 40-second timer and the 0.6-second timer are reset (= 0) (step S20). Since resetting is performed in a maximum of 40 seconds (indicated by MAX40000 in FIG. 7), the determination output of the microcomputer 13 is not maintained in the on state, and wasteful power consumption can be suppressed. For example, when heavy rain suddenly falls and the measured voltage is maintained at a high level, after the determination output is turned on continuously for 40 seconds, the state returns to the off state. Thereby, it can avoid that an ON state is maintained on conditions other than the case where a human body approaches the doorknob 1. FIG. Then, when the determination output is ON (= 1) in step S19 and the process returns to step S2, the determination output is ON (= 1) (step S2: YES), so the process proceeds to step S5 and enters the sleep mode. Will not enter. Thereby, the microcomputer 13 maintains the operating state, and the output of the ON signal from the output terminal GP2 of the microcomputer 13 is continued. On the other hand, when the process returns from step S20 to step S2 with the determination output being off (= 0), the determination output is off (= 0) (step S2: NO), so the process proceeds to step S3 and the sleep mode is entered. To continue the process.

なお、前記実施形態では、感知電圧Vkと基準電圧Vtとを比較して人体が接近したか否かを判定するようにしたが、直接、測定電圧Vnと基準電圧Vtとを比較して人体が接近したか否かを判定するようにしてもよい。   In the above embodiment, the sense voltage Vk and the reference voltage Vt are compared to determine whether or not the human body is approaching. However, the human body is directly compared with the measured voltage Vn and the reference voltage Vt. You may make it determine whether it approached.

また、前記実施形態では、基準電圧Vtを測定電圧記憶手段に記憶した過去の測定電圧のうち、最新のものから設定回数分(20回)の平均値として構成しているが、これに限定されるものではなく、例えば、測定電圧、または、感知電圧算出時に使用した最古の測定電圧よりもさらに過去の測定電圧の設定回数分の平均値を基準電圧としてもよい。   In the above embodiment, the reference voltage Vt is configured as an average value for the set number of times (20 times) from the latest among the past measurement voltages stored in the measurement voltage storage means, but is not limited thereto. For example, the average value for the set number of past measurement voltages may be used as the reference voltage more than the oldest measurement voltage used when calculating the measurement voltage or the sense voltage.

(a)は本実施形態に係る人体検出装置を車両のドアノブに採用した状態を示す正面断面図、(b)は平面図である。(A) is front sectional drawing which shows the state which employ | adopted the human body detection apparatus which concerns on this embodiment for the door knob of a vehicle, (b) is a top view. 本実施形態に係る人体検出装置の分解斜視図である。It is a disassembled perspective view of the human body detection apparatus which concerns on this embodiment. 図2のプリント基板での回路図である。It is a circuit diagram in the printed circuit board of FIG. 図3のマイコンでの人体判定処理を示すフローチャート図である。It is a flowchart figure which shows the human body determination process in the microcomputer of FIG. 図3のマイコンでの人体判定処理を示すフローチャート図である。It is a flowchart figure which shows the human body determination process in the microcomputer of FIG. 図3のEXOR回路の入力波形と出力波形を示すグラフである。It is a graph which shows the input waveform and output waveform of the EXOR circuit of FIG. 図3のマイコンに入力される測定電圧と、マイコン内で設定される基準電圧と、マイコンからの出力との関係を示すグラフである。It is a graph which shows the relationship between the measurement voltage input into the microcomputer of FIG. 3, the reference voltage set in a microcomputer, and the output from a microcomputer.

符号の説明Explanation of symbols

1…ドアノブ
2…人体検出装置
3…ケーシング
4…第1収容凹部
5…フェライトアンテナ
6…アンテナ電極
7…第2収容凹部
8…プリント基板
9…フェライトコア
10…電線
11…EXOR回路
12…積分回路
13…マイコン
14…電源回路
15…波形発生部
16…発振部
17…リセット部
18…記憶部
19…制御部
20…ECU
21…電源IC
DESCRIPTION OF SYMBOLS 1 ... Door knob 2 ... Human body detection apparatus 3 ... Casing 4 ... 1st accommodation recessed part 5 ... Ferrite antenna 6 ... Antenna electrode 7 ... 2nd accommodation recessed part 8 ... Printed circuit board 9 ... Ferrite core 10 ... Electric wire 11 ... EXOR circuit 12 ... Integration circuit DESCRIPTION OF SYMBOLS 13 ... Microcomputer 14 ... Power supply circuit 15 ... Waveform generation part 16 ... Oscillation part 17 ... Reset part 18 ... Memory | storage part 19 ... Control part 20 ... ECU
21 ... Power supply IC

Claims (5)

アンテナ電極に電気的に接続され、前記アンテナ電極の静電容量を電圧に変換して測定電圧として出力するアンテナ手段と、
前記アンテナ手段から出力される測定電圧を記憶する測定電圧記憶手段と、
前記測定電圧記憶手段に記憶した過去の測定電圧のうち、最新のものから第1設定回数分の平均値である感知電圧と、該感知電圧算出時に使用した最新のものから第1設定回数分の測定値の最古の測定電圧よりもさらに過去の測定電圧から第2設定回数分の平均値である基準電圧とを比較することにより、人体がアンテナ電極に接近したか否かを判定する人体接近判定手段と、
を備え、
前記第1設定回数を、前記第2設定回数よりも少なくしたことを特徴とする人体検出装置。
Antenna means that is electrically connected to the antenna electrode, converts the capacitance of the antenna electrode into a voltage and outputs it as a measurement voltage;
Measurement voltage storage means for storing a measurement voltage output from the antenna means;
Among the past measurement voltages stored in the measurement voltage storage means, a sense voltage that is an average value for the first set number of times from the latest one, and a first set number of times from the latest value used when calculating the sense voltage. The human body approach determines whether or not the human body has approached the antenna electrode by comparing the reference voltage, which is the average value for the second set number of times, from the past measured voltage further than the oldest measured voltage of the measured value A determination means;
With
The human body detection apparatus characterized in that the first set number of times is less than the second set number of times.
前記測定電圧を抽出する周期を調整する抽出時期調整手段を、さらに備えたことを特徴とする請求項1に記載の人体検出装置。   The human body detection apparatus according to claim 1, further comprising an extraction timing adjustment unit that adjusts a cycle for extracting the measurement voltage. 前記人体接近判定手段は、一定時間周期で、人体がアンテナ電極に接近したか否かを判定し、それ以外ではスリープモードとすることを特徴とする請求項1又は2に記載の人体検出装置。   3. The human body detection device according to claim 1, wherein the human body approach determination unit determines whether or not the human body has approached the antenna electrode at a constant time period, and sets the sleep mode in other cases. 前記人体接近判定手段での判定が行われてからの経過時間を計時するタイマー手段と、
前記人体接近判定手段での判定結果を、前記タイマー手段により計時される経過時間が設定時間を経過するまで記憶する判定結果記憶手段と、
をさらに備えたことを特徴とする請求項1から3のいずれか1項に記載の人体検出装置。
Timer means for measuring the elapsed time since the determination by the human body approach determination means is performed;
A determination result storage means for storing a determination result in the human body approach determination means until an elapsed time measured by the timer means passes a set time;
The human body detection device according to claim 1, further comprising:
人体の接近により変化するアンテナ電極の静電容量に基づいて測定電圧を出力する電圧出力ステップと、
前記電圧出力ステップで出力された測定電圧と、人体の接近を判断するための基準電圧とを比較し、設定条件を満足することにより、人体がアンテナ電極に接近したと判定する人体接近判定ステップと、
を含む人体検出方法であって、
前記電圧出力ステップで出力された測定電圧を記憶する測定電圧記憶ステップをさらに含み、
前記人体接近判定ステップは、前記測定電圧記憶ステップで記憶した過去の測定電圧のうち、最新のものから第1設定回数分の平均値である感知電圧と、該感知電圧算出時に使用した最新のものから第1設定回数分の測定値の最古の測定電圧よりもさらに過去の測定電圧から第2設定回数分の平均値である基準電圧とを比較することにより、人体がアンテナ電極に接近したか否かを判定することを特徴とする人体検出方法。
A voltage output step for outputting a measurement voltage based on the capacitance of the antenna electrode that changes due to the approach of the human body;
Comparing the measured voltage output in the voltage output step with a reference voltage for determining the approach of the human body, and satisfying the setting condition, thereby determining that the human body has approached the antenna electrode; and ,
A human body detection method including:
A measurement voltage storage step of storing the measurement voltage output in the voltage output step;
The human body approach determination step includes the latest measurement voltage stored in the measurement voltage storage step and the latest voltage used when calculating the detection voltage, which is an average value for the first set number of times from the latest one. Whether the human body has approached the antenna electrode by comparing the reference voltage, which is the average value of the second set number of times from the past measured voltage, than the oldest measured voltage of the measured value for the first set number of times A human body detection method characterized by determining whether or not.
JP2007154809A 2007-06-12 2007-06-12 Human body detection apparatus and human body detection method Active JP5106925B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007154809A JP5106925B2 (en) 2007-06-12 2007-06-12 Human body detection apparatus and human body detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007154809A JP5106925B2 (en) 2007-06-12 2007-06-12 Human body detection apparatus and human body detection method

Publications (2)

Publication Number Publication Date
JP2008309502A JP2008309502A (en) 2008-12-25
JP5106925B2 true JP5106925B2 (en) 2012-12-26

Family

ID=40237252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007154809A Active JP5106925B2 (en) 2007-06-12 2007-06-12 Human body detection apparatus and human body detection method

Country Status (1)

Country Link
JP (1) JP5106925B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102242363B1 (en) 2014-09-11 2021-04-20 삼성전자주식회사 Electronic apparatus and method for grip sensing
US11280119B2 (en) 2015-07-31 2022-03-22 Rohm Co., Ltd. Contact sensing device, proximity/contact sensing device, door handle device and control method of the door handle device, and electronic key system
JP6721418B2 (en) * 2015-07-31 2020-07-15 ローム株式会社 Door handle device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784063A (en) * 1993-09-20 1995-03-31 Aisin Seiki Co Ltd Dielectric detector
JP2000280813A (en) * 1999-03-30 2000-10-10 Toyota Motor Corp Seated occupant detection device
JP4249357B2 (en) * 1999-12-01 2009-04-02 ケイエステクノ株式会社 Object-intrusive capacitive sensor in urban environment

Also Published As

Publication number Publication date
JP2008309502A (en) 2008-12-25

Similar Documents

Publication Publication Date Title
US10739873B2 (en) Transmission-type electronic pen
US9678192B2 (en) Signal processing for a capacitive sensor system with robustness to noise
US7598752B2 (en) Charge transfer device and method, touch sensing device and method
US9094016B2 (en) Touch sensor
US20060038561A1 (en) Magnetic sensor
JP5106925B2 (en) Human body detection apparatus and human body detection method
CN108896613B (en) Water immersion detection device and method
US20100090746A1 (en) Switch circuit
US9329063B2 (en) Electronic device with flexible data and power interface
CN110829540B (en) Load access identification method, charging control method and device
JPH07280966A (en) Timepiece containing manual operation device
US9568504B2 (en) Digital multi-meter
JP4319970B2 (en) Capacitive proximity sensor
CN112230885B (en) True random number generator and true random number generation method
CN102209881A (en) Device for measuring a capacitance variation in a variable capacity structure
US8156354B2 (en) Power-saving system and method for computer
US9966900B2 (en) Apparatus for oscillator with improved precision and associated methods
JP2008046080A (en) Capacitance sensor
US8289055B2 (en) Host computer
CA2515162A1 (en) Electronic method and system for detection of conducting or dielectric environment with dielectric constant higher than that of air
US11281314B2 (en) Methods and apparatus for variable capacitance detection
CN110221094B (en) Airflow detection circuit and device
TW201405439A (en) Touch key circuit with self-learning calibration
JP2002251945A (en) High frequency oscillation type proximity switch and its production method
CN105942988B (en) Electronic thermometer and calibration method based on it

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120417

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120829

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: 20120918

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121003

R150 Certificate of patent or registration of utility model

Ref document number: 5106925

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151012

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250