JP6019603B2 - Circuit device, integrated circuit, and detection device - Google Patents

Circuit device, integrated circuit, and detection device Download PDF

Info

Publication number
JP6019603B2
JP6019603B2 JP2012028091A JP2012028091A JP6019603B2 JP 6019603 B2 JP6019603 B2 JP 6019603B2 JP 2012028091 A JP2012028091 A JP 2012028091A JP 2012028091 A JP2012028091 A JP 2012028091A JP 6019603 B2 JP6019603 B2 JP 6019603B2
Authority
JP
Japan
Prior art keywords
circuit
signal
intermittent operation
sensor
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
JP2012028091A
Other languages
Japanese (ja)
Other versions
JP2013165422A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2012028091A priority Critical patent/JP6019603B2/en
Priority to US13/421,174 priority patent/US9310240B2/en
Priority to CN201210076514.6A priority patent/CN102692258B/en
Publication of JP2013165422A publication Critical patent/JP2013165422A/en
Priority to JP2016157329A priority patent/JP2017017719A/en
Application granted granted Critical
Publication of JP6019603B2 publication Critical patent/JP6019603B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、回路装置、集積回路及び検出装置に関する。特に、センサーを使用する機器の制御に用いられる回路装置、集積回路及び検出装置に関する。   The present invention relates to a circuit device, an integrated circuit, and a detection device. In particular, the present invention relates to a circuit device, an integrated circuit, and a detection device that are used to control a device that uses a sensor.

従来、センサーを含む検出装置等において、測定時のみセンサーに電源供給を行い、消費電力を抑えることが行われている。例えば特許文献1では、検出装置の一例である電子式水道メーターにおいて、測定時のみセンサーに電源供給することで低消費電力動作を実現している。   Conventionally, in a detection device including a sensor, power is supplied to the sensor only during measurement to reduce power consumption. For example, in Patent Document 1, in an electronic water meter that is an example of a detection device, a low power consumption operation is realized by supplying power to a sensor only during measurement.

特開2000−74709号公報JP 2000-74709 A

しかし、特許文献1の発明では、センサーのみが間欠動作しており、他の回路は常時動作している。更に消費電力を抑えるためには、センサー以外の回路も間欠動作させることが好ましい。例えばセンサーだけでなく、その出力信号を受け取り信号の増幅を行う増幅回路およびセンサー出力の信号の変換を行う変換回路も間欠動作を行えば、更に消費電力を抑えることが可能である。   However, in the invention of Patent Document 1, only the sensor is intermittently operated, and the other circuits are always operating. In order to further reduce power consumption, it is preferable to intermittently operate circuits other than the sensor. For example, not only the sensor but also an amplifier circuit that receives the output signal and amplifies the signal and a conversion circuit that converts the signal of the sensor output can further reduce power consumption by performing an intermittent operation.

間欠動作を行わせる場合、センサー、増幅回路及び変換回路を稼動させる時間が短いほど消費電力削減の効果が高い。例えば、制御に用いるパルス信号のパルス幅に応じて稼働時間を制御できるとする。このとき、パルス幅が短いほど消費電力を削減する制御を行うことができる。   When the intermittent operation is performed, the effect of reducing the power consumption is higher as the time for operating the sensor, the amplifier circuit, and the conversion circuit is shorter. For example, it is assumed that the operation time can be controlled according to the pulse width of a pulse signal used for control. At this time, it is possible to perform control for reducing power consumption as the pulse width is shorter.

しかし、システムクロックに基づく同期設計において制御に用いるパルス信号を生成すると、システムクロックの周波数が、制御に用いるパルス信号のパルス幅に影響を与えることになる。また、製造ばらつき等を考慮すると、制御に用いるパルス信号のパルス幅は例えば出荷時に容易かつ正確に調整可能であることが好ましいこととなる。   However, when a pulse signal used for control is generated in the synchronous design based on the system clock, the frequency of the system clock affects the pulse width of the pulse signal used for control. In consideration of manufacturing variations and the like, it is preferable that the pulse width of the pulse signal used for control can be easily and accurately adjusted at the time of shipment, for example.

また、間欠動作を行わせる際に回路の停止状態から動作を開始して出力が安定するまでのセトリングタイムが必要である。このとき、センサーや増幅回路の特性に応じて適切なセトリングタイムを考慮した間欠動作を行わせることが望ましい。   Further, when intermittent operation is performed, settling time is required until the operation is stabilized after the circuit is stopped and the output is stabilized. At this time, it is desirable to perform an intermittent operation in consideration of an appropriate settling time according to the characteristics of the sensor and the amplifier circuit.

本発明は、上記の課題若しくは問題点の少なくとも一部を解決するためのものであり、以下の形態または適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems or problems described above, and the invention can be implemented as the following forms or application examples.

本発明にかかる回路装置は、センサーからの信号が入力される増幅回路と、センサーおよび前記増幅回路の間欠動作を制御する制御回路と、を含む回路装置である。この回路装置の制御回路は、間欠動作制御信号を出力してセンサーおよび増幅回路の間欠動作を制御する。この構成によれば、センサーだけでなく、その出力信号を受け取り信号の増幅を行う増幅回路も間欠動作を行うため、回路装置の消費電力を抑えることが可能である。   A circuit device according to the present invention is a circuit device including an amplifier circuit to which a signal from a sensor is input, and a control circuit that controls intermittent operation of the sensor and the amplifier circuit. The control circuit of this circuit device outputs an intermittent operation control signal to control the intermittent operation of the sensor and the amplifier circuit. According to this configuration, not only the sensor but also the amplifier circuit that receives the output signal and amplifies the signal performs an intermittent operation, so that the power consumption of the circuit device can be suppressed.

上記の回路装置において、間欠動作制御信号は、センサーの電源供給を制御する第1間欠動作制御信号と、増幅回路の電源供給を制御する第2間欠動作制御信号と、を含む構成とすることが好ましい。第1間欠動作制御信号がアクティブ状態となる期間は、前記第2間欠動作制御信号がアクティブ状態となる期間と異なることが好ましい。   In the above circuit device, the intermittent operation control signal includes a first intermittent operation control signal for controlling power supply of the sensor and a second intermittent operation control signal for controlling power supply of the amplifier circuit. preferable. The period in which the first intermittent operation control signal is in the active state is preferably different from the period in which the second intermittent operation control signal is in the active state.

例えば、前記第2間欠動作制御信号がアクティブ状態となってから所定の期間の後に、前記第1間欠動作制御信号がアクティブ状態となる構成としてもよい。この場合、第1間欠動作制御信号がアクティブ状態となる期間は、前記第2間欠動作制御信号がアクティブ状態となる期間よりも短くすることができる。回路が動作を開始してから出力が安定となるまでのセトリングタイムを比較した場合に、抵抗素子で構成されるセンサーのセトリングタイムは、増幅回路のセトリングタイムよりも短時間である。したがって、増幅回路の間欠動作を開始してから所定の時間の経過後にセンサーの間欠動作を開始することで、増幅回路の出力の安定動作に影響を与えずにセンサーの消費電流を低減することが可能となる。   For example, the first intermittent operation control signal may become active after a predetermined period after the second intermittent operation control signal becomes active. In this case, the period in which the first intermittent operation control signal is in the active state can be shorter than the period in which the second intermittent operation control signal is in the active state. When the settling time from when the circuit starts operating to when the output becomes stable is compared, the settling time of the sensor composed of the resistive element is shorter than the settling time of the amplifier circuit. Therefore, by starting the intermittent operation of the sensor after a lapse of a predetermined time from the start of the intermittent operation of the amplifier circuit, the current consumption of the sensor can be reduced without affecting the stable operation of the output of the amplifier circuit. It becomes possible.

上記の回路装置において、センサーおよび増幅回路に対する電源供給をオンオフ切替え可能なスイッチを含む構成とすることが好ましい。この構成によれば、間欠動作制御信号がスイッチのオンオフ状態を変更して電源供給を制御することで回路を低電力化することが可能となる。   The circuit device preferably includes a switch that can switch on and off the power supply to the sensor and the amplifier circuit. According to this configuration, the intermittent operation control signal changes the on / off state of the switch to control the power supply, whereby the power of the circuit can be reduced.

上記の回路装置において、制御回路は、所定の電流値の電流を生成する定電流源と、前記定電流源からの電流によって電荷が充電されるキャパシターと、前記キャパシターに充電された電荷に基づく電圧と、所定の電圧値を有するリファレンス電圧とを比較した結果に基づいて、パルス信号を出力するコンパレーターと、を含むパルス発生回路を含む構成とすることが好ましい。   In the above circuit device, the control circuit includes a constant current source that generates a current having a predetermined current value, a capacitor that is charged with a current from the constant current source, and a voltage based on the charge charged in the capacitor. And a comparator that outputs a pulse signal based on a result of comparing the reference voltage having a predetermined voltage value with a reference voltage.

上記の回路装置において、パルス発生回路は、定電流源と、その電流により電荷が充電されるキャパシターと、キャパシターに充電された電荷に基づく電圧をリファレンス電圧と比較するコンパレーターと、を含むことが好ましい。この構成によれば、定電流源の電流値、キャパシターの容量、およびリファレンス電圧の電圧値の少なくとも1つを変更することで、パルス信号のタイミングを容易かつ正確に調整することができる。   In the above circuit device, the pulse generation circuit may include a constant current source, a capacitor that is charged by the current, and a comparator that compares a voltage based on the charge charged in the capacitor with a reference voltage. preferable. According to this configuration, the timing of the pulse signal can be adjusted easily and accurately by changing at least one of the current value of the constant current source, the capacitance of the capacitor, and the voltage value of the reference voltage.

キャパシターに充電された電荷に基づく電圧とリファレンス電圧とを比較したコンパレーターの出力がパルス信号となる。そのため、例えばリファレンス電圧を変えることで異なるパルス信号を生成することができ、システムクロックとは非同期のパルス信号を生成することができる。   The output of the comparator that compares the voltage based on the charge charged in the capacitor and the reference voltage is a pulse signal. Therefore, for example, a different pulse signal can be generated by changing the reference voltage, and a pulse signal asynchronous with the system clock can be generated.

なお、キャパシターは一方の端子である第1端子を接地し、他方の端子である第2端子を定電流源と直列に接続してもよい。また、キャパシターに充電された電荷に基づく電圧とは、第2端子の電圧であってもよい。例えば、定電流源の電流値、キャパシターの容量、リファレンス電圧の電圧値は、パルス発生回路の外部から信号に応じて連動して、又は個別に変化してもよい。   In the capacitor, the first terminal that is one terminal may be grounded, and the second terminal that is the other terminal may be connected in series with the constant current source. Further, the voltage based on the charge charged in the capacitor may be the voltage at the second terminal. For example, the current value of the constant current source, the capacitance of the capacitor, and the voltage value of the reference voltage may be changed in conjunction with the signal from the outside of the pulse generation circuit or individually.

上記の回路装置において、前記コンパレーターの出力端子を、高電位側の電源電位にプルアップするプルアップ用トランジスターを含むことが好ましい。   The circuit device preferably includes a pull-up transistor that pulls up an output terminal of the comparator to a high-potential power supply potential.

上記の回路装置において、前記制御回路は、第1のイネーブル信号と、前記第1のイネーブル信号がアクティブ状態となった後所与の期間をおいてアクティブ状態になる第2のイネーブル信号と、を生成し、前記第1のイネーブル信号及び前記第2のイネーブル信号は前記パルス発生回路において用いられ、前記定電流源及び前記リファレンス電圧は、前記第1のイネーブル信号がアクティブ状態となることによりオン状態に設定され、前記コンパレーターは、前記第2のイネーブル信号がアクティブ状態となることによりをオン状態に設定され、前記プルアップ用トランジスターは、前記第2のイネーブル信号が非アクティブ状態のときにオン状態に設定されることが好ましい。   In the above circuit device, the control circuit includes: a first enable signal; and a second enable signal that becomes active after a predetermined period after the first enable signal becomes active. And the first enable signal and the second enable signal are used in the pulse generation circuit, and the constant current source and the reference voltage are turned on when the first enable signal becomes active. And the comparator is set to an on state when the second enable signal becomes active, and the pull-up transistor is turned on when the second enable signal is in an inactive state. The state is preferably set.

上記の回路装置において、前記第1のイネーブル信号がアクティブ状態であって、かつ前記第2のイネーブル信号が非アクティブ状態の場合に、前記キャパシターの電荷を放電する放電用トランジスターを含むことが好ましい。   In the above circuit device, it is preferable that the circuit device includes a discharging transistor that discharges the charge of the capacitor when the first enable signal is in an active state and the second enable signal is in an inactive state.

これらの構成によれば、コンパレーターの出力端子をプルアップするプルアップ用トランジスターを備えることにより、不定レベルの信号が伝播しないようにすることができる。そのため、コンパレーターの入力信号を供給する定電流源、リファレンス電圧、そしてコンパレーター自体をオフ状態にすることが可能になり、パルス発生回路での消費電力を抑えることができる。   According to these configurations, by providing the pull-up transistor that pulls up the output terminal of the comparator, it is possible to prevent a signal having an indefinite level from propagating. Therefore, the constant current source that supplies the input signal of the comparator, the reference voltage, and the comparator itself can be turned off, and power consumption in the pulse generation circuit can be suppressed.

ここで、通常の信号とは、高電位側のハイレベル(以下、Hレベル)または低電位側のローレベル(以下、Lレベル)をとる信号をいう。不定レベルの信号とは、これらの中間のレベルの信号をいう。   Here, the normal signal refers to a signal having a high level on the high potential side (hereinafter, H level) or a low level on the low potential side (hereinafter, L level). An indefinite level signal means a signal of an intermediate level between these.

このとき、たとえば、定電流源およびリファレンス電圧をオン状態にする第1のイネーブル信号と、その後にコンパレーターをオン状態にする第2のイネーブル信号が入力されてもよい。第1のイネーブル信号がアクティブ状態になってから、所与の時間をおいて第2のイネーブル信号がアクティブ状態になってもよい。所与の時間とは、例えばシステムクロックの1〜1023サイクルであってもよいし、数msといった具体的な時間であってもよい。   At this time, for example, a first enable signal for turning on the constant current source and the reference voltage and a second enable signal for turning on the comparator may be input thereafter. The second enable signal may become active after a given time after the first enable signal becomes active. The given time may be 1 to 1023 cycles of the system clock, for example, or may be a specific time such as several ms.

第1および第2のイネーブル信号が入力される場合、第2のイネーブル信号が非アクティブ状態のときに、プルアップ用トランジスターがオン状態になってもよい。これにより、確実に不定レベルの信号が伝播しないようにすることができる。   When the first and second enable signals are input, the pull-up transistor may be turned on when the second enable signal is inactive. As a result, it is possible to reliably prevent an undefined level signal from propagating.

上記の回路装置において、パルス発生回路は、さらにキャパシターの電荷を放電する放電用トランジスターを含み、第1のイネーブル信号がアクティブ状態であって、かつ第2のイネーブル信号が非アクティブ状態の場合に、放電用トランジスターによってキャパシターの電荷を放電することが好ましい。この構成によれば、パルス発生回路は定期的にパルス信号を発生することができる。   In the above circuit device, the pulse generation circuit further includes a discharge transistor for discharging the charge of the capacitor, and when the first enable signal is in an active state and the second enable signal is in an inactive state, It is preferable to discharge the capacitor charge by the discharging transistor. According to this configuration, the pulse generation circuit can periodically generate a pulse signal.

上記の回路装置において、前記パルス信号に基づいて、前記センサーおよび前記増幅回路の間欠動作を制御する間欠動作制御信号を出力することが好ましい。   In the above circuit device, it is preferable that an intermittent operation control signal for controlling the intermittent operation of the sensor and the amplifier circuit is output based on the pulse signal.

この構成によれば、システムクロックとは非同期に発生させることができ、且つ、パルス幅の調整が可能なパルス信号を用いてセンサーおよび増幅回路の間欠動作制御信号とすることにより、短時間だけセンサーおよび増幅回路を動作させることが可能であり、センサー及び増幅回路における消費電力を抑えることができる。   According to this configuration, the sensor can be generated asynchronously with the system clock, and the intermittent operation control signal of the sensor and the amplifier circuit is generated using a pulse signal whose pulse width can be adjusted. In addition, the amplifier circuit can be operated, and power consumption in the sensor and the amplifier circuit can be suppressed.

また、上記の回路装置を1チップ化して集積回路装置に含まれるようにすることで、当該回路装置を小型化することができ、適用範囲の広めることが可能になる。   In addition, by making the above-described circuit device into a single chip and including it in an integrated circuit device, the circuit device can be reduced in size and the applicable range can be widened.

本発明にかかる集積回路は、回路装置を有する集積回路であって、前記回路装置が、センサーからの信号が入力される増幅回路と、前記センサー及び前記増幅回路を制御する制御回路と、を含み、前記センサーの間欠動作及び前記増幅回路の間欠動作が、前記制御回路から出力される間欠動作制御信号により制御され、前記間欠動作制御信号は、前記センサーの間欠動作の制御を行う第1間欠動作制御信号と、前記増幅回路の間欠動作の制御を行う第2間欠動作制御信号と、を含み、前記第1間欠動作制御信号がアクティブ状態となる期間は、前記第2間欠動作制御信号がアクティブ状態となる期間と異なること、を特徴とする。   An integrated circuit according to the present invention is an integrated circuit having a circuit device, and the circuit device includes an amplifier circuit to which a signal from a sensor is input, and a control circuit that controls the sensor and the amplifier circuit. The intermittent operation of the sensor and the intermittent operation of the amplifier circuit are controlled by an intermittent operation control signal output from the control circuit, and the intermittent operation control signal controls the intermittent operation of the sensor. A control signal and a second intermittent operation control signal for controlling the intermittent operation of the amplifier circuit, and the second intermittent operation control signal is in an active state during a period in which the first intermittent operation control signal is in an active state. It is characterized by being different from the period.

この構成によれば、センサーだけでなく、その出力信号を受け取り信号の増幅を行う増幅回路も間欠動作を行うため、集積回路の消費電力を抑えることが可能である。   According to this configuration, not only the sensor but also the amplifier circuit that receives the output signal and amplifies the signal performs an intermittent operation, so that the power consumption of the integrated circuit can be suppressed.

本発明は、前記のいずれかに記載のパルス発生回路と、センサーと、前記センサーからの信号を入力とする増幅回路と、前記増幅回路の出力信号に基づいて、前記センサーが検出した測定量を計算する回路と、を含み、前記パルス発生回路は、第1のパルス信号と、第2のパルス信号と、を出力し、前記第1のパルス信号がアクティブ状態になる期間は前記第2のパルス信号がアクティブ状態となる期間よりも短く、前記第1のパルス信号に基づいて、前記センサーの間欠動作を制御する第1間欠動作制御信号を出力し、前記第2のパルス信号に基づいて、前記増幅回路の電源供給を制御する第2間欠動作制御信号を出力することで間欠動作を制御してもよい。   The present invention provides a pulse generation circuit according to any one of the above, a sensor, an amplifier circuit that receives a signal from the sensor, and a measurement amount detected by the sensor based on an output signal of the amplifier circuit. A circuit for calculating, wherein the pulse generation circuit outputs a first pulse signal and a second pulse signal, and the second pulse is output during a period in which the first pulse signal is in an active state. The first intermittent operation control signal for controlling the intermittent operation of the sensor is output based on the first pulse signal, shorter than the period during which the signal is in the active state, and based on the second pulse signal, The intermittent operation may be controlled by outputting a second intermittent operation control signal for controlling the power supply of the amplifier circuit.

本発明の回路装置は、センサー、増幅回路に、異なるタイミングでアクティブ状態となる間欠動作制御信号をそれぞれ与える。センサー、増幅回路における起動後の出力不安定時間、すなわち通常の信号を出力するまでの時間、を考慮して、さらに消費電力を抑えることができる。   The circuit device of the present invention provides an intermittent operation control signal that becomes active at different timings to the sensor and the amplifier circuit. The power consumption can be further suppressed in consideration of the output unstable time after activation of the sensor and the amplifier circuit, that is, the time until the normal signal is output.

具体的には、増幅回路はセンサーに比べて通常の信号を出力するまで時間がかかる。そのため、第1間欠動作制御信号と、前記第1間欠動作制御信号がアクティブ状態になる前に、所与の期間だけ早くアクティブ状態となる第2間欠動作制御信号とを用意する。そして、第1間欠動作制御信号をセンサーに、第2間欠動作制御信号を増幅回路に供給する。   Specifically, it takes time until the amplifier circuit outputs a normal signal as compared with the sensor. Therefore, a first intermittent operation control signal and a second intermittent operation control signal that becomes active for a predetermined period before the first intermittent operation control signal becomes active are prepared. Then, the first intermittent operation control signal is supplied to the sensor, and the second intermittent operation control signal is supplied to the amplifier circuit.

このとき、一方の間欠動作制御信号がアクティブ状態になる期間は、他方の間欠動作制御信号がアクティブ状態になる期間よりも短くなる。   At this time, the period during which one intermittent operation control signal is in the active state is shorter than the period during which the other intermittent operation control signal is in the active state.

本発明にかかる検出装置は、回路装置と、センサーと、前記回路装置を制御するMCUと、を含み、前記回路装置が、前記センサーからの信号が入力される増幅回路と、前記センサー及び前記増幅回路を制御する制御回路と、を含み、前記センサーの間欠動作及び前記増幅回路の間欠動作が、前記制御回路から出力される間欠動作制御信号により制御され、前記間欠動作制御信号は、前記センサーの間欠動作の制御を行う第1間欠動作制御信号と、前記増幅回路の間欠動作の制御を行う第2間欠動作制御信号と、を含み、前記第1間欠動作制御信号がアクティブ状態となる期間は、前記第2間欠動作制御信号がアクティブ状態となる期間と異なること、を特徴とする。   A detection device according to the present invention includes a circuit device, a sensor, and an MCU that controls the circuit device, wherein the circuit device includes an amplification circuit to which a signal from the sensor is input, the sensor, and the amplification A control circuit for controlling the circuit, wherein the intermittent operation of the sensor and the intermittent operation of the amplifier circuit are controlled by an intermittent operation control signal output from the control circuit, and the intermittent operation control signal is Including a first intermittent operation control signal for controlling the intermittent operation and a second intermittent operation control signal for controlling the intermittent operation of the amplifier circuit, and a period during which the first intermittent operation control signal is in an active state, The second intermittent operation control signal is different from a period in which the second intermittent operation control signal is in an active state.

この構成によれば、製造ばらつきや動作環境の変化があっても正確な測定が可能であり、またMCUの動作を停止しながら本発明の回路装置を動作させることで検出装置の消費電力も抑えることが可能である。   According to this configuration, accurate measurement is possible even when there are manufacturing variations and operating environment changes, and the power consumption of the detection device is also suppressed by operating the circuit device of the present invention while stopping the operation of the MCU. It is possible.

なお、MCU(Micro Controller Unit)は、例えばプロセッサーであると共にROMやRAMなどのメモリーやインターフェイス関連の周辺機能等を含んでいてもよい。また、MCUは、回路装置を制御するとともに、センサーが検出した測定量を例えば積算して、結果を表示部等に表示させてもよい。   The MCU (Micro Controller Unit) is, for example, a processor and may include a memory such as a ROM or a RAM, an interface-related peripheral function, or the like. In addition, the MCU may control the circuit device and may, for example, integrate the measurement amounts detected by the sensors and display the results on a display unit or the like.

第1実施形態のパルス発生回路の回路図の例。The example of the circuit diagram of the pulse generation circuit of 1st Embodiment. (A)〜(B)は、間欠動作における通常出力開始までのふるまいを示す図。(A)-(B) is a figure which shows the behavior to the normal output start in intermittent operation | movement. 第1実施形態の出力パルス信号等の波形図。FIG. 4 is a waveform diagram of an output pulse signal and the like according to the first embodiment. (A)は回転検出装置が設置される流路の上面図。(B)はその部分断面図。(A) is a top view of the flow path in which the rotation detection device is installed. (B) is the fragmentary sectional view. 第1実施形態のパルス発生回路を含む回路装置と検出装置。A circuit device and a detection device including the pulse generation circuit of the first embodiment. 第2実施形態のパルス発生回路の回路図の例。The example of the circuit diagram of the pulse generation circuit of 2nd Embodiment. 第2実施形態の出力パルス信号等の波形図。The waveform diagram of the output pulse signal etc. of 2nd Embodiment. 第2実施形態のパルス発生回路を含む回路装置と検出装置。A circuit device and a detection device including the pulse generation circuit of the second embodiment. コンパレーターの構成例を表す図。The figure showing the structural example of a comparator.

以下、図を用いて本発明の実施形態について説明する。尚、説明に用いる図は説明を行うための便宜上のものであり、装置を構成するために必要な構成要素をすべて記載するものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. It should be noted that the drawings used for explanation are for convenience of explanation, and do not describe all the components necessary for configuring the apparatus.

1.第1実施形態
本発明の第1実施形態について図1〜図5、図9を参照して説明する。以下では、第1実施形態のパルス発生回路について最初に説明し、その後に第1実施形態のパルス発生回路を含む回路装置と検出装置について説明する。
1. 1st Embodiment 1st Embodiment of this invention is described with reference to FIGS. 1-5, FIG. Below, the pulse generator circuit of 1st Embodiment is demonstrated first, and the circuit apparatus and detection apparatus containing the pulse generator circuit of 1st Embodiment are demonstrated after that.

1.1.本実施形態のパルス発生回路の構成
図1は本実施形態のパルス発生回路20の回路図である。パルス発生回路20は、定電流源32、キャパシター36、コンパレーター40を含む。
1.1. Configuration of Pulse Generation Circuit According to this Embodiment FIG. 1 is a circuit diagram of a pulse generation circuit 20 according to this embodiment. The pulse generation circuit 20 includes a constant current source 32, a capacitor 36, and a comparator 40.

定電流源32は、トランスミッションゲート34がオン状態のときに所定の電流値の電流を流す。   The constant current source 32 allows a current having a predetermined current value to flow when the transmission gate 34 is on.

キャパシター36は、一方の端子(第1端子)が接地され、他方の端子(第2端子)はトランスミッションゲート34を介して定電流源32に接続されている。よって、トランスミッションゲート34がオン状態のときに、キャパシター36には徐々に電荷が充電されることになる。   One terminal (first terminal) of the capacitor 36 is grounded, and the other terminal (second terminal) is connected to the constant current source 32 via the transmission gate 34. Therefore, when the transmission gate 34 is in the ON state, the capacitor 36 is gradually charged.

キャパシター36の第2端子は、トランスミッションゲート38に並列に接続されている。トランスミッションゲート38がオン状態のときにキャパシター36の電荷が放電される。すなわち、トランスミッションゲート38は放電用トランジスターであるので、以下では放電用トランジスター38とする。   A second terminal of the capacitor 36 is connected in parallel to the transmission gate 38. When the transmission gate 38 is turned on, the capacitor 36 is discharged. That is, since the transmission gate 38 is a discharge transistor, it will be referred to as a discharge transistor 38 below.

コンパレーター40は、キャパシター36に充電された電荷に基づく電圧であるチャージ電圧130と、リファレンス電圧42とのレベルを比較する。本実施形態では、リファレンス電圧42は所定の電圧値VRをとる。例えば、チャージ電圧130が電圧値VR未満の場合には、コンパレーター出力信号126はLレベルとなる。そして、その信号をインバーター48によって反転して得られる出力パルス信号120はHレベルとなる。 The comparator 40 compares the level of the charge voltage 130, which is a voltage based on the charge charged in the capacitor 36, with the reference voltage 42. In the present embodiment, the reference voltage 42 takes a predetermined voltage value V R. For example, when the charge voltage 130 is less than the voltage value V R , the comparator output signal 126 becomes L level. Then, the output pulse signal 120 obtained by inverting the signal by the inverter 48 becomes H level.

コンパレーター40の出力端子は、トランスミッションゲート44に接続されている。コンパレーター出力信号126はトランスミッションゲート44がオン状態のときにHレベルにプルアップされる。すなわち、トランスミッションゲート44はプルアップ用トランジスターであるので、以下ではプルアップ用トランジスター44とする。   The output terminal of the comparator 40 is connected to the transmission gate 44. Comparator output signal 126 is pulled up to an H level when transmission gate 44 is in an on state. That is, since the transmission gate 44 is a pull-up transistor, it will be referred to as a pull-up transistor 44 below.

ここで、消費電力を抑えるために、パルス発生回路20は使用されないときにオフ状態になっている要素を含んでいてもよい。本実施形態では、定電流源32とリファレンス電圧42は、第1のイネーブル信号であるパルス電源イネーブル信号124によって、オン状態となる。パルス電源イネーブル信号124はパルス発生回路20を使用するときにアクティブ状態になる信号である。   Here, in order to reduce power consumption, the pulse generation circuit 20 may include an element that is turned off when not used. In the present embodiment, the constant current source 32 and the reference voltage 42 are turned on by a pulse power supply enable signal 124 that is a first enable signal. The pulse power supply enable signal 124 is a signal that becomes active when the pulse generation circuit 20 is used.

また、本実施形態では、コンパレーター40は、第2のイネーブル信号であるパルス発生イネーブル信号122によって、オン状態となる。パルス発生イネーブル信号122は、パルス電源イネーブル信号124がアクティブ状態となった後に、所与の期間(例えば、システムクロックで数サイクル)をおいてアクティブ状態となる。これにより、十分なセットアップ時間の後に、コンパレーター40からの出力(すなわち出力パルス信号120の出力)が開始される。   In the present embodiment, the comparator 40 is turned on by the pulse generation enable signal 122 that is the second enable signal. The pulse generation enable signal 122 becomes active after a given period (for example, several cycles of the system clock) after the pulse power supply enable signal 124 becomes active. Thereby, after sufficient setup time, the output from the comparator 40 (that is, the output of the output pulse signal 120) is started.

本実施形態のパルス発生回路20は、NAND回路60、62、インバーター64で構成されるフリップフロップを含む。このフリップフロップの出力はインバーター66により反転出力される。このフリップフロップは、パルス発生イネーブル信号122と出力パルス信号120との組み合わせに応じた値を保持する。このフリップフロップが保持する値に応じて、キャパシター36は電荷を充電、又は放電する。   The pulse generation circuit 20 of this embodiment includes a flip-flop composed of NAND circuits 60 and 62 and an inverter 64. The output of this flip-flop is inverted by an inverter 66. This flip-flop holds a value corresponding to the combination of the pulse generation enable signal 122 and the output pulse signal 120. The capacitor 36 is charged or discharged according to the value held by the flip-flop.

例えば、インバーター66の出力値がHレベルのとき、トランスミッションゲート34がオン状態となり、キャパシター36は電荷を充電される。逆に、インバーター66の出力値がLレベルでフリップフロップの出力がHレベルのとき、放電用トランジスター38がオン状態となり、キャパシター36は電荷を放電する。   For example, when the output value of the inverter 66 is H level, the transmission gate 34 is turned on, and the capacitor 36 is charged with electric charge. Conversely, when the output value of the inverter 66 is L level and the output of the flip-flop is H level, the discharging transistor 38 is turned on, and the capacitor 36 discharges electric charge.

なお、本実施形態では、プルアップ用トランジスター44はパルス発生イネーブル信号122によって制御される。パルス発生イネーブル信号122が非アクティブ状態(ここでは、Lレベル)のときには、コンパレーター40がオフ状態となっているので、その出力端子をプルアップする必要がある。本実施形態のパルス発生回路20は、パルス発生イネーブル信号122をインバーター46で反転して、プルアップ用トランジスター44に接続し、この動作を実現している。   In this embodiment, the pull-up transistor 44 is controlled by the pulse generation enable signal 122. When the pulse generation enable signal 122 is in an inactive state (here, L level), the comparator 40 is in an off state, and therefore, it is necessary to pull up its output terminal. In the pulse generation circuit 20 of the present embodiment, the pulse generation enable signal 122 is inverted by the inverter 46 and connected to the pull-up transistor 44 to realize this operation.

1.2.間欠動作におけるコンパレーターの出力について
図2(A)〜図2(B)は、コンパレーターCMPの間欠動作における動作を説明する図である。コンパレーターを間欠動作させることは、消費電力を抑制することにつながる。図2(A)はコンパレーターCMPの構成を表している。信号VINNが入力される反転入力端子、信号VINPが入力される非反転入力端子、出力信号VOUTを出力する出力端子の他に、イネーブル信号ENを受け取るイネーブル端子を備えている。イネーブル信号ENが例えばLレベルのときには、コンパレーターは動作せず(オフ状態)、電源供給も不要なため電力を消費しない。
1.2. Regarding Output of Comparator in Intermittent Operation FIGS. 2A to 2B are diagrams for explaining the operation in the intermittent operation of the comparator CMP. The intermittent operation of the comparator leads to suppression of power consumption. FIG. 2A shows the configuration of the comparator CMP. In addition to an inverting input terminal to which the signal V INN is input, a non-inverting input terminal to which the signal V INP is input, and an output terminal to output the output signal V OUT , an enable terminal that receives the enable signal EN is provided. When the enable signal EN is at L level, for example, the comparator does not operate (OFF state), and no power is supplied, so no power is consumed.

しかし、コンパレーターCMPをオフ状態にした場合には、その出力信号VOUTとして不定レベルの信号が伝播するおそれがある。また、コンパレーターCMPを起動させた場合、通常の信号を出力するまでに一定の時間がかかる。つまり、コンパレーターCMPの起動後に出力不安定時間が存在する。 However, when the comparator CMP is turned off, an undefined level signal may propagate as the output signal V OUT . In addition, when the comparator CMP is activated, it takes a certain time to output a normal signal. That is, there is an output unstable time after the comparator CMP is started.

図2(B)はコンパレーターCMPの出力信号VOUTの例である。イネーブル信号ENがLレベルからHレベルに変化することで、コンパレーターCMPは起動する。しかし、起動するまで出力信号VOUTは不定レベルの信号を出力している。そして、起動後も出力信号VOUTが通常の信号であるHレベルを出力するまでに、出力不安定時間tidleが存在する。コンパレーターを含む回路で間欠動作を行うときには、通常の信号が出力されない期間を考慮する必要がある。なお、この例における入力端子の印加電圧は、VINP>VINNとなっている。 FIG. 2B is an example of the output signal V OUT of the comparator CMP. When the enable signal EN changes from L level to H level, the comparator CMP is activated. However, the output signal V OUT is outputting an indefinite level signal until it is activated. After the start-up, there is an output unstable time t idle until the output signal V OUT outputs an H level which is a normal signal. When intermittent operation is performed in a circuit including a comparator, it is necessary to consider a period during which a normal signal is not output. Note that the voltage applied to the input terminal in this example is V INP > V INN .

例えば、図1のパルス発生回路20では、パルス発生イネーブル信号122によってコンパレーター40のオン状態、オフ状態を切り換える。そして、コンパレーター40がオフ状態のときに、不定レベルの信号が伝播しないように、プルアップ用トランジスター44を備えている。   For example, in the pulse generation circuit 20 of FIG. 1, the on / off state of the comparator 40 is switched by the pulse generation enable signal 122. A pull-up transistor 44 is provided so that an indefinite level signal does not propagate when the comparator 40 is in the OFF state.

また、例えばセンサーを含む検出装置等において、センサーからのアナログ信号を受け取った増幅回路の出力をサンプリングすることがある。このとき、前記の出力不安定時間が例えば製造ばらつきによって変動することを考慮する必要がある。そのため、前記の出力不安定時間の変動があっても適切なデータを取得できるように、サンプリングのタイミングを与えるパルス信号は、非常に正確である必要がある。   For example, in a detection device including a sensor, the output of an amplifier circuit that receives an analog signal from the sensor may be sampled. At this time, it is necessary to consider that the output unstable time fluctuates due to, for example, manufacturing variations. Therefore, the pulse signal that gives the sampling timing needs to be very accurate so that appropriate data can be acquired even if the output unstable time varies.

ここで、システムクロックに同期したパルス信号であれば正確なタイミングを与えるが、システムクロックの周波数が低い場合にはサンプリングに時間がかかる。そのため、検出装置の検出性能が悪くなり、センサー等が起動している時間が長くなるため消費電力を抑制する効果がなくなる。   Here, an accurate timing is given if it is a pulse signal synchronized with the system clock, but sampling takes time when the frequency of the system clock is low. For this reason, the detection performance of the detection device is deteriorated, and the time during which the sensor or the like is activated becomes longer, so the effect of suppressing power consumption is lost.

よって、増幅回路の出力をサンプリングするタイミングを与えるパルス信号には、システムクロックに非同期であって、かつタイミングが正確であることが求められる。本実施形態のパルス発生回路は、システムクロックとは非同期に、定電流源の電流値、キャパシターの容量、およびリファレンス電圧の電圧値の少なくとも1つを変更することで、パルス信号のタイミングを容易かつ正確に調整することができる。   Therefore, the pulse signal that gives the timing for sampling the output of the amplifier circuit is required to be asynchronous to the system clock and accurate. The pulse generation circuit of the present embodiment changes the timing of the pulse signal easily and asynchronously with the system clock by changing at least one of the current value of the constant current source, the capacitance of the capacitor, and the voltage value of the reference voltage. It can be adjusted accurately.

ここで、本実施形態のコンパレーターは、例えば、図9のような構成であるとする。本実施形態のコンパレーター40は、非反転入力VINPと反転入力VINNを受け取る2つのN型トランジスター、カレントミラー回路を構成する2つのP型トランジスター、非反転入力VINPと反転入力VINNとの大小関係に応じてスイッチとして機能するP型トランジスター、および定電流源が、図9のように接続されている。 Here, it is assumed that the comparator of the present embodiment has a configuration as shown in FIG. 9, for example. The comparator 40 of this embodiment includes two N-type transistors that receive a non-inverting input V INP and an inverting input V INN , two P-type transistors that form a current mirror circuit, a non-inverting input V INP and an inverting input V INN . A P-type transistor that functions as a switch in accordance with the magnitude relationship between and a constant current source are connected as shown in FIG.

本実施形態のコンパレーター40は、コンパレーター出力信号126はHレベルからLレベルに変化するときのスルーレートが小さい。そのため、低消費電力化、回路規模削減の効果が得られる。   The comparator 40 of the present embodiment has a small slew rate when the comparator output signal 126 changes from H level to L level. Therefore, the effects of low power consumption and circuit scale reduction can be obtained.

ここで、コンパレーター出力信号126がHレベルからLレベルへとゆるやかに変化する(図3のコンパレーター出力信号126の時刻t1〜t3における変化を参照)。そのため、後段のインバーター48(図1参照)で貫通電流が流れる可能性があるが、ゲート長を長く設計することで貫通電流を低減させることが可能である。したがって、図9のコンパレーター40を用いることは、パルス発生回路20の低消費電力化、回路規模削減の効果が得られる。 Here, the comparator output signal 126 changes gradually from the H level to the L level (refer to the change of the comparator output signal 126 at times t 1 to t 3 in FIG. 3). For this reason, a through current may flow in the inverter 48 (see FIG. 1) in the subsequent stage, but the through current can be reduced by designing the gate length to be long. Therefore, the use of the comparator 40 of FIG. 9 provides the effect of reducing the power consumption and the circuit scale of the pulse generation circuit 20.

1.3.波形図
図3は本実施形態のパルス発生回路の波形図である。図3を参照して、出力パルス信号120のタイミングを容易かつ正確に調整できることを説明する。なお、図1と同じ信号には同じ符号を付しており説明は省略する。
1.3. Waveform Diagram FIG. 3 is a waveform diagram of the pulse generation circuit of this embodiment. With reference to FIG. 3, it will be described that the timing of the output pulse signal 120 can be adjusted easily and accurately. In addition, the same code | symbol is attached | subjected to the same signal as FIG. 1, and description is abbreviate | omitted.

図3のシステムクロックは、ここではパルス発生回路、およびパルス発生回路を含むシステムが使用するクロックである。パルス発生回路は、システムクロックとは非同期の出力パルス信号120を生成する。   The system clock in FIG. 3 is a clock used by a system including a pulse generation circuit and a pulse generation circuit here. The pulse generation circuit generates an output pulse signal 120 that is asynchronous with the system clock.

まず、時刻t0において、パルス電源イネーブル信号124がアクティブ状態になり、図1の定電流源32とリファレンス電圧42がオン状態となる。そして、システムクロックの1サイクル分である期間T0をセットアップ期間として、その後の時刻t1において、パルス発生イネーブル信号122がアクティブ状態になる。 First, at time t 0 , the pulse power supply enable signal 124 is activated, and the constant current source 32 and the reference voltage 42 in FIG. 1 are turned on. Then, the period T 0 corresponding to one cycle of the system clock is set as the setup period, and the pulse generation enable signal 122 becomes active at the subsequent time t 1 .

パルス発生イネーブル信号122によって、コンパレーター40(図1参照)が起動する。時刻t1では、直前までオン状態であったプルアップ用トランジスター44(図1参照)の影響により、コンパレーター出力信号126はHレベルである。 The comparator 40 (see FIG. 1) is activated by the pulse generation enable signal 122. At time t 1 , the comparator output signal 126 is at the H level due to the influence of the pull-up transistor 44 (see FIG. 1) that was on until just before.

パルス発生イネーブル信号122がHレベルに変化すると、コンパレーター40が動作を開始する。時刻t1では、チャージ電圧130はLレベルでリファレンス電圧(VR)よりも低いためコンパレーター出力信号126は徐々にLレベルへと変化し、時刻t2で出力パルス信号120をHレベルに変化させる。そして、フリップフロップ出力が変化してトランスミッションゲート34がオン状態となり、チャージ電圧130が上昇し始める。 When the pulse generation enable signal 122 changes to H level, the comparator 40 starts operating. At time t 1 , the charge voltage 130 is L level and lower than the reference voltage (V R ), so the comparator output signal 126 gradually changes to L level, and at time t 2 , the output pulse signal 120 changes to H level. Let Then, the flip-flop output is changed, the transmission gate 34 is turned on, and the charge voltage 130 starts to rise.

コンパレーター40(図1参照)は、チャージ電圧130とリファレンス電圧(VR)とを比較する。そして、チャージ電圧130がリファレンス電圧(VR)を超えた時刻t3にコンパレーター出力信号126がHレベルに変化する。そして、出力パルス信号120はLレベルに反転する。このタイミングは、例えばシステムクロックの立下りの時刻t4とは無関係である。よって、パルス発生回路はシステムクロックと非同期の出力パルス信号120を出力できる。 The comparator 40 (see FIG. 1) compares the charge voltage 130 with the reference voltage (V R ). Then, the charge voltage 130 comparator output signal 126 at time t 3 when exceeding the reference voltage (V R) is changed to the H level. Then, the output pulse signal 120 is inverted to L level. This timing is independent of, for example, the time t 4 when the system clock falls. Therefore, the pulse generation circuit can output the output pulse signal 120 asynchronous with the system clock.

このように、本実施形態のパルス発生回路では、出力パルス信号120のタイミングをチャージ電圧130とリファレンス電圧(VR)との関係で決定する。そのため、チャージ電圧130の変化を定める定電流源の電流値、キャパシターの容量の少なくとも1つを例えば出荷時に調整することで、正確なパルス信号を発生することができる。また、リファレンス電圧の電圧値VRを調整することによっても、正確なパルス信号を発生することができる。 Thus, in the pulse generation circuit of this embodiment, the timing of the output pulse signal 120 is determined by the relationship between the charge voltage 130 and the reference voltage (V R ). Therefore, an accurate pulse signal can be generated by adjusting at least one of the current value of the constant current source that determines the change of the charge voltage 130 and the capacitance of the capacitor at the time of shipment, for example. Also, by adjusting the voltage value V R of the reference voltage, it is possible to generate an accurate pulse signal.

本実施形態のパルス発生回路は、システムクロックと非同期で容易かつ正確に調整できるパルス信号を発生させることが可能であるため、後述するように検出装置等に適用できる。例えば、センサーを含む検出装置において、センサーおよび増幅回路の電源をオン状態にする間欠動作制御信号(間欠動作制御信号222)が用いられることがある。このとき、間欠動作制御信号222を出力パルス信号120に基づいて生成することで、必要なときにだけセンサー等をオン状態にすることができ、消費電力を抑えることが可能になる。   Since the pulse generation circuit of this embodiment can generate a pulse signal that can be adjusted easily and accurately asynchronously with the system clock, it can be applied to a detection device or the like as described later. For example, in a detection device including a sensor, an intermittent operation control signal (intermittent operation control signal 222) for turning on the power of the sensor and the amplifier circuit may be used. At this time, by generating the intermittent operation control signal 222 based on the output pulse signal 120, the sensor or the like can be turned on only when necessary, and power consumption can be suppressed.

このとき、増幅回路がコンパレーターであれば、個々の検出装置で異なる出力不安定時間を有することがあり得る。すると、十分なホールド期間T2を残しながら、センサー出力サンプリング信号200が十分安定する期間T1のタイミングを与える正確なパルス信号が必要になる。 At this time, if the amplifier circuit is a comparator, each detection device may have a different output unstable time. As a result, an accurate pulse signal that gives the timing of the period T 1 during which the sensor output sampling signal 200 is sufficiently stable is required while leaving the sufficient hold period T 2 .

本実施形態のパルス発生回路では、定電流源の電流値、キャパシターの容量、およびリファレンス電圧の電圧値の少なくとも1つを変更することでパルス信号のタイミングを容易かつ正確に調整することができる。そのため、後述するように検出装置等に好適に適用できる。   In the pulse generation circuit of this embodiment, the timing of the pulse signal can be easily and accurately adjusted by changing at least one of the current value of the constant current source, the capacitance of the capacitor, and the voltage value of the reference voltage. Therefore, it can be suitably applied to a detection device or the like as will be described later.

なお、間欠動作制御信号222とセンサー出力サンプリング信号200は、図5のブロック図の同じ符号の信号に対応する。   The intermittent operation control signal 222 and the sensor output sampling signal 200 correspond to signals having the same reference numerals in the block diagram of FIG.

1.4.回転検出装置の動作
ここで、検出装置の1つである回転検出装置について、図4(A)〜図4(B)を参照して説明する。図4(A)は回転検出装置が設置される流路の上面図であり、図4(B)はその部分断面図を表す。なお、図4(A)ではセンサーの1つである磁気センサーの図示は省略している。
1.4. Operation of Rotation Detection Device Here, a rotation detection device that is one of the detection devices will be described with reference to FIGS. 4 (A) to 4 (B). 4A is a top view of a flow path in which the rotation detection device is installed, and FIG. 4B shows a partial cross-sectional view thereof. In FIG. 4A, a magnetic sensor that is one of the sensors is not shown.

回転検出装置では、測定したい量(被測定量)を回転数に置き換えて、その回転数を例えば磁気センサーで検出して電気信号を出力する。電気信号は例えばMCUで処理されて被測定量が得られる。被測定量とは、例えば水等の液体の流量であってもよいし、ガス等の気体の流量であってもよい。以下では、液体の流量を測定する回転検出装置について説明する。例えば液体は水であり、このとき水道メーターに適用可能である。   In the rotation detection device, the amount to be measured (measured amount) is replaced with the rotation speed, and the rotation speed is detected by, for example, a magnetic sensor and an electric signal is output. The electric signal is processed by, for example, an MCU to obtain a measured amount. The amount to be measured may be a flow rate of a liquid such as water or a flow rate of a gas such as gas. Below, the rotation detection apparatus which measures the flow volume of a liquid is demonstrated. For example, the liquid is water, which can be applied to a water meter.

図4(A)では、液体の流路104に羽根車100が設置されている。液体が矢印X1の方向に流れる場合、羽根車100は矢印X2のように時計回りに回転する。回転数を測定することで液体の流量がわかる。ここで、羽根車100の軸には磁石102が取り付けられており、羽根車100が回転することで磁気が変化する。   In FIG. 4A, the impeller 100 is installed in the liquid flow path 104. When the liquid flows in the direction of the arrow X1, the impeller 100 rotates clockwise as indicated by the arrow X2. The liquid flow rate can be determined by measuring the number of rotations. Here, a magnet 102 is attached to the shaft of the impeller 100, and the magnetism changes as the impeller 100 rotates.

図4(B)は図4(A)の液体の流路104の断面図である。羽根車100の近くに、磁気センサー106が基板108に取り付けられて設置されている。このとき、磁気センサー106は羽根車100とは非接触である。磁気センサー106は、羽根車100が回転すると磁石102によって変化する磁気を検出する。そして、検出結果に基づいて電気信号を出力し、例えば基板108に取り付けられたMCU(図外)がその信号を受け取って回転数を計算する。また、MCUは回転数に基づいて液体の流量を計算する。   FIG. 4B is a cross-sectional view of the liquid flow path 104 in FIG. Near the impeller 100, a magnetic sensor 106 is attached to the substrate 108 and installed. At this time, the magnetic sensor 106 is not in contact with the impeller 100. The magnetic sensor 106 detects magnetism that is changed by the magnet 102 when the impeller 100 rotates. Then, an electric signal is output based on the detection result, and for example, an MCU (not shown) attached to the substrate 108 receives the signal and calculates the rotation speed. The MCU also calculates the liquid flow rate based on the number of rotations.

例えば水道メーターのような回転検出装置は、電池によって駆動されることがある。そのため、電池によって長期間動作させるために、消費電力を小さくしたいとの要求が強くある。また、正確な測定のために、センサーの出力は適切なタイミングでサンプリングされる必要がある。そこで、検出装置として、あるいは検出回路を含む回路装置として、本実施形態のパルス発生回路を組み込むことで、後述のように低消費電力で正確なサンプリングを行うことが可能になる。   For example, a rotation detection device such as a water meter may be driven by a battery. Therefore, there is a strong demand for reducing power consumption in order to operate with a battery for a long period of time. For accurate measurement, the output of the sensor needs to be sampled at an appropriate timing. Therefore, by incorporating the pulse generation circuit of this embodiment as a detection device or a circuit device including a detection circuit, accurate sampling can be performed with low power consumption as described later.

1.5.回路装置、検出装置
図5は、本実施形態のパルス発生回路20を含む回路装置2と検出装置1を表す。なお、図1、図3と同じ構成要素については同じ番号、符号を付しており説明は省略する。本実施形態の検出装置1は、前記の回転検出装置であるとするが、これに限られるものではない。
1.5. Circuit Device and Detection Device FIG. 5 shows a circuit device 2 and a detection device 1 including the pulse generation circuit 20 of the present embodiment. The same components as those in FIGS. 1 and 3 are denoted by the same reference numerals and description thereof will be omitted. The detection device 1 of the present embodiment is the rotation detection device described above, but is not limited to this.

図5のように、パルス発生回路20は、制御回路10に含まれる。このとき、制御回路10は、センサー70、増幅回路72及びトランスミッションゲート76と共に回路装置2として1チップ化して集積回路装置としてもよい。トランスミッションゲート76はスイッチ回路として動作する。このスイッチ回路は他の回路構成を採用してもよい。   As shown in FIG. 5, the pulse generation circuit 20 is included in the control circuit 10. At this time, the control circuit 10 may be integrated into one chip as the circuit device 2 together with the sensor 70, the amplifier circuit 72, and the transmission gate 76 to form an integrated circuit device. The transmission gate 76 operates as a switch circuit. This switch circuit may adopt other circuit configurations.

センサー70は磁気の変化を検出する磁気センサーであり、以下、センサー70をセンサーと表現する。また、増幅回路72はセンサーの出力を受け取りセンサー出力サンプリング信号200に変換して出力する。増幅回路72はオペアンプを用いてもよい。また増幅回路72はコンパレーターとしてもよい。センサーと増幅回路は複数含まれていてもよい。   The sensor 70 is a magnetic sensor that detects a change in magnetism. Hereinafter, the sensor 70 is expressed as a sensor. The amplifying circuit 72 receives the output of the sensor, converts it into a sensor output sampling signal 200, and outputs it. The amplifier circuit 72 may use an operational amplifier. The amplifier circuit 72 may be a comparator. A plurality of sensors and amplifier circuits may be included.

回路装置2は、消費電力を抑えるため、センサーのみならず増幅回路も間欠動作させる。このとき、間欠動作制御信号222によってトランスミッションゲートのオン状態とオフ状態を切り換えることで、制御回路10はセンサーと増幅回路への間欠動作を制御する。本実施形態では、間欠動作制御信号222が1のときだけ、トランスミッションゲート76がオン状態となり、制御回路10にセンサー出力サンプリング信号200の有効な信号が入力される。それ以外にはセンサーのみならず増幅回路も電力を消費しないので消費電力を小さくできる。   The circuit device 2 intermittently operates not only the sensor but also the amplifier circuit in order to suppress power consumption. At this time, the control circuit 10 controls the intermittent operation to the sensor and the amplifier circuit by switching the transmission gate between the on state and the off state by the intermittent operation control signal 222. In the present embodiment, the transmission gate 76 is turned on only when the intermittent operation control signal 222 is 1, and a valid signal of the sensor output sampling signal 200 is input to the control circuit 10. In addition to this, not only the sensor but also the amplifier circuit does not consume power, so the power consumption can be reduced.

このとき、制御回路10は、パルス発生回路20からの出力パルス信号120に基づいて間欠動作制御信号222を生成し、出力パルス信号120に基づいてセンサー出力サンプリング信号200をサンプリングする(図3参照)。   At this time, the control circuit 10 generates an intermittent operation control signal 222 based on the output pulse signal 120 from the pulse generation circuit 20, and samples the sensor output sampling signal 200 based on the output pulse signal 120 (see FIG. 3). .

センサーからのデータをサンプリングする必要最小限な時間だけセンサー等をオン状態にすることができるため、消費電力を抑えることが可能になる。また、本実施形態のパルス発生回路20では、定電流源の電流値、キャパシターの容量、およびリファレンス電圧の電圧値の少なくとも1つを変更することで出力パルス信号120のタイミングを容易かつ正確に調整可能である。そのため、センサー出力サンプリング信号200が十分安定したときにサンプリングすることができる。   Since the sensor or the like can be turned on for a minimum necessary time for sampling data from the sensor, it is possible to reduce power consumption. Further, in the pulse generation circuit 20 of this embodiment, the timing of the output pulse signal 120 is easily and accurately adjusted by changing at least one of the current value of the constant current source, the capacitance of the capacitor, and the voltage value of the reference voltage. Is possible. Therefore, sampling can be performed when the sensor output sampling signal 200 is sufficiently stable.

ここで、検出装置1は、回路装置2の他にMCU3を含む。回路装置2は、回転、または回転停止に応じて割り込み信号211を出力してもよい。MCU3は割り込み信号211に基づいて、カウンター等を用いて例えば流量の積算値を求めてもよい。割り込み信号211は正回転、逆回転、回転停止等に応じて複数用意されていてもよい。   Here, the detection device 1 includes an MCU 3 in addition to the circuit device 2. The circuit device 2 may output an interrupt signal 211 in response to rotation or rotation stop. The MCU 3 may obtain, for example, an integrated value of the flow rate using a counter or the like based on the interrupt signal 211. A plurality of interrupt signals 211 may be prepared according to forward rotation, reverse rotation, rotation stop, and the like.

なお、検出装置1では、制御回路10がMCU3からの制御信号201に基づいて、パルス発生回路20にパルス電源イネーブル信号124やパルス発生イネーブル信号122を与える。   In the detection apparatus 1, the control circuit 10 provides the pulse power supply enable signal 124 and the pulse generation enable signal 122 to the pulse generation circuit 20 based on the control signal 201 from the MCU 3.

このように、本実施形態のパルス発生回路は、パルス信号のタイミングを容易かつ正確に調整することができるため、検出装置1やその回路装置2に好適に適用できる。   Thus, the pulse generation circuit of this embodiment can be suitably applied to the detection device 1 and its circuit device 2 because the timing of the pulse signal can be adjusted easily and accurately.

2.第2実施形態
本発明の第2実施形態について図6〜図8を参照して説明する。第2実施形態の回路装置では、間欠動作制御信号を複数生成して出力することで、検出装置1などに適用した場合に更に消費電力を抑えることが可能である。なお、間欠動作制御信号は3つ以上であってもよいが、本実施形態では2つであるとする。
2. Second Embodiment A second embodiment of the present invention will be described with reference to FIGS. In the circuit device of the second embodiment, by generating and outputting a plurality of intermittent operation control signals, it is possible to further reduce power consumption when applied to the detection device 1 or the like. The number of intermittent operation control signals may be three or more, but in this embodiment, it is assumed that there are two.

2.1.本実施形態のパルス発生回路の構成
本実施形態のパルス発生回路について図6を用いて説明する。図6は本実施形態のパルス発生回路20Aの回路図である。図1〜図5と同じ要素については同じ番号、符号を付しており説明を省略する。
2.1. Configuration of Pulse Generation Circuit According to this Embodiment A pulse generation circuit according to this embodiment will be described with reference to FIG. FIG. 6 is a circuit diagram of the pulse generation circuit 20A of the present embodiment. The same elements as those in FIGS. 1 to 5 are denoted by the same reference numerals and description thereof is omitted.

パルス発生回路20Aは、2つのコンパレーター40A、40Bを含む。それぞれの出力である第1コンパレーター出力信号126A、第2コンパレーター出力信号126Bは、論理回路を経由して、それぞれ第1のパルス信号である第1出力パルス信号120A、第2のパルス信号である第2出力パルス信号120Bとして出力される。   The pulse generation circuit 20A includes two comparators 40A and 40B. The first comparator output signal 126A and the second comparator output signal 126B that are the respective outputs are the first output pulse signal 120A and the second pulse signal that are the first pulse signals via the logic circuit, respectively. A certain second output pulse signal 120B is output.

ここで、2つのコンパレーター40A、40Bはチャージ電圧130と、リファレンス電圧とのレベルを比較する。ここで、2つのコンパレーター40A、40Bは、それぞれ異なるリファレンス電圧(第1のリファレンス電圧42A、第2のリファレンス電圧42B)を用いる。例えば、コンパレーター40Aの第1のリファレンス電圧42Aは電圧値をVR0とし、コンパレーター40Bの第2のリファレンス電圧42Bは電圧値をVR1(>VR0)としてもよい。 Here, the two comparators 40A and 40B compare the levels of the charge voltage 130 and the reference voltage. Here, the two comparators 40A and 40B use different reference voltages (first reference voltage 42A and second reference voltage 42B), respectively. For example, the voltage value of the first reference voltage 42A of the comparator 40A may be V R0, and the voltage value of the second reference voltage 42B of the comparator 40B may be V R1 (> V R0 ).

本実施形態では、第2出力パルス信号120Bは第2コンパレーター出力信号126Bをインバーター48で反転して得られる。そして、第1出力パルス信号120Aは、第2出力パルス信号120Bと第1コンパレーター出力信号126Aとを入力したAND回路49の出力信号である。このように、複数の信号の組み合わせにより出力パルス信号を生成することも可能である。   In the present embodiment, the second output pulse signal 120B is obtained by inverting the second comparator output signal 126B by the inverter 48. The first output pulse signal 120A is an output signal of the AND circuit 49 that receives the second output pulse signal 120B and the first comparator output signal 126A. Thus, it is possible to generate an output pulse signal by combining a plurality of signals.

ここで、コンパレーター40A、40Bも、例えば、図9のような構成であってもよい。本実施形態では2つのコンパレーター40A、40Bを用いるので、第1出力パルス信号120Aと第2出力パルス信号120Bとを出力することが可能となる。   Here, the comparators 40A and 40B may also be configured as shown in FIG. 9, for example. In the present embodiment, since the two comparators 40A and 40B are used, the first output pulse signal 120A and the second output pulse signal 120B can be output.

本実施形態のパルス発生回路20Aは、タイミングの異なる2つのパルス信号を出力できる。例えば、これらに基づいて複数の間欠動作制御信号を生成すれば、同信号を供給される回路ごとに無駄なく間欠動作させることができ、更なる消費電力の抑制が可能になる。   The pulse generation circuit 20A of this embodiment can output two pulse signals having different timings. For example, if a plurality of intermittent operation control signals are generated based on these, the intermittent operation can be performed without waste for each circuit to which the signals are supplied, and further power consumption can be suppressed.

なお、2つのコンパレーター40A、40Bのそれぞれの出力端子にも、トランスミッションゲートであるプルアップ用トランジスター44A、44Bが接続されている。これにより、不定レベルの信号が伝播しないようにする。なお、プルアップ用トランジスター44A、44Bは、それぞれパルス発生イネーブル信号122をインバーター46A、46Bで反転した信号がHレベルのときにオン状態になる。   Note that pull-up transistors 44A and 44B, which are transmission gates, are also connected to the output terminals of the two comparators 40A and 40B. This prevents an undefined level signal from propagating. The pull-up transistors 44A and 44B are turned on when the signals obtained by inverting the pulse generation enable signal 122 by the inverters 46A and 46B are at the H level.

2.2.波形図
図7は本実施形態のパルス発生回路の波形図である。なお、図1、図3、図6と同じ信号には同じ符号を付しており説明は省略する。
2.2. Waveform Diagram FIG. 7 is a waveform diagram of the pulse generation circuit of this embodiment. In addition, the same code | symbol is attached | subjected to the same signal as FIG.1, FIG.3, FIG.6, and description is abbreviate | omitted.

パルス発生回路は、システムクロックとは非同期の出力パルス信号120A、120Bを生成する。   The pulse generation circuit generates output pulse signals 120A and 120B that are asynchronous with the system clock.

第1実施形態(図3)と同じく、時刻t1では、直前までオン状態であったプルアップ用トランジスター44A、44B(図6参照)の影響により、第1コンパレーター出力信号126A、第2コンパレーター出力信号126BはHレベルである。 Similar to the first embodiment (FIG. 3), at time t 1 , the first comparator output signal 126A and the second comparator are affected by the pull-up transistors 44A and 44B (see FIG. 6) that were on until just before. The oscillator output signal 126B is at the H level.

パルス発生イネーブル信号122がHレベルに変化すると、コンパレーター40A、40Bが動作を開始する。第2のリファレンス電圧42Bはチャージ電圧130のLレベルよりも高い電圧であるため、第2コンパレーター出力信号126Bは徐々にLレベルへと変化し、時刻t2で第2出力パルス信号120BをHレベルに変化させる。そして、トランスミッションゲート34がオン状態となりチャージ電圧130が上昇し始める。 When the pulse generation enable signal 122 changes to H level, the comparators 40A and 40B start operating. Since the second reference voltage 42B is higher than the L level of the charge voltage 130 voltage, the second comparator output signal 126B is gradually changed to the L level, the second output pulse signal 120B at time t 2 H Change to level. Then, the transmission gate 34 is turned on and the charge voltage 130 starts to rise.

そして、チャージ電圧130が第1のリファレンス電圧(VR0)を超えた時刻t2Aに第1コンパレーター出力信号126AがHレベルに変化する。そして、第1出力パルス信号120AはHレベルに変化する。 Then, the charge voltage 130 is first comparator output signal 126A is changed to H level at time t 2A beyond the first reference voltage (V R0). Then, the first output pulse signal 120A changes to the H level.

チャージ電圧130が第2のリファレンス電圧(VR1)を超えた時刻t3には、第2コンパレーター出力信号126BもHレベルに変化する。このとき、第1出力パルス信号120A、第2出力パルス信号120Bは、共にLレベルに変化する。 At time t 3 when the charge voltage 130 exceeds the second reference voltage (V R1 ), the second comparator output signal 126B also changes to H level. At this time, both the first output pulse signal 120A and the second output pulse signal 120B change to the L level.

このように、リファレンス電圧の差によるコンパレーター出力信号が反転するタイミングの違いと、例えば図6のAND回路49を経由することによって、異なる2つの出力パルス信号(第1出力パルス信号120A、第2出力パルス信号120B)が生成される。   As described above, two different output pulse signals (first output pulse signal 120A, second output signal) are generated by passing through the AND circuit 49 of FIG. An output pulse signal 120B) is generated.

これらの出力パルス信号120A、120Bのそれぞれに基づいて間欠動作制御信号を生成すれば、回路ごとに無駄なく間欠動作させることができ、更なる消費電力の抑制が可能になる。   If an intermittent operation control signal is generated based on each of these output pulse signals 120A and 120B, an intermittent operation can be performed without waste for each circuit, and power consumption can be further suppressed.

具体的には、通常の信号が出力されるまでに時間がかかる回路については、早くにアクティブ状態となる第1間欠動作制御信号222Aを供給する。そして、すぐに通常の信号が出力される回路(例えば、センサー)については、第1間欠動作制御信号222Aがアクティブ状態となってから所定の期間T4の後にアクティブ状態となる第2間欠動作制御信号222Bを供給する。 Specifically, for a circuit that takes time until a normal signal is output, the first intermittent operation control signal 222A that becomes active early is supplied. For a circuit (for example, a sensor) that outputs a normal signal immediately, the second intermittent operation control that becomes active after a predetermined period T 4 after the first intermittent operation control signal 222A becomes active. Signal 222B is provided.

なお、本実施形態では、第1間欠動作制御信号222Aは第2出力パルス信号120Bに基づいて生成される第2間欠動作制御信号であり、第2間欠動作制御信号222Bは第1出力パルス信号120Aに基づいて生成される第1間欠動作制御信号である。   In the present embodiment, the first intermittent operation control signal 222A is a second intermittent operation control signal generated based on the second output pulse signal 120B, and the second intermittent operation control signal 222B is the first output pulse signal 120A. It is the 1st intermittent operation control signal generated based on this.

2.3.回路装置、検出装置
図8は、本実施形態のパルス発生回路20Aを含む回路装置2Aと検出装置1Aを表す。なお、図1、図3、図5〜図7と同じ要素については同じ番号、符号を付しており説明は省略する。本実施形態の検出装置1Aは、第1実施形態と同じく回転検出装置であるとするが、これに限られるものではない。
2.3. Circuit Device and Detection Device FIG. 8 shows a circuit device 2A and a detection device 1A including the pulse generation circuit 20A of the present embodiment. The same elements as those in FIGS. 1, 3, and 5 to 7 are denoted by the same reference numerals and description thereof will be omitted. The detection device 1A of the present embodiment is a rotation detection device as in the first embodiment, but is not limited thereto.

図8のように、本実施形態の制御回路10Aはパルス発生回路20Aを含み、検出装置1Aの一部として使用されてもよい。このとき、増幅回路72、トランスミッションゲート76A、76B、および制御回路10Aは回路装置2Aとして1チップ化した集積回路としてもよい。   As shown in FIG. 8, the control circuit 10A of the present embodiment includes a pulse generation circuit 20A and may be used as a part of the detection apparatus 1A. At this time, the amplifier circuit 72, the transmission gates 76A and 76B, and the control circuit 10A may be an integrated circuit formed as a single chip as the circuit device 2A.

パルス発生回路20Aは、タイミングの異なる2つのパルス信号(第1出力パルス信号120A、第2出力パルス信号120B)を制御回路10Aに出力する。そして、制御回路10Aは、前記のように第1間欠動作制御信号222Aを第2出力パルス信号120Bに基づいて生成し、第2間欠動作制御信号222Bを第1出力パルス信号120Aに基づいて生成する。   The pulse generation circuit 20A outputs two pulse signals (first output pulse signal 120A and second output pulse signal 120B) having different timings to the control circuit 10A. Then, as described above, the control circuit 10A generates the first intermittent operation control signal 222A based on the second output pulse signal 120B, and generates the second intermittent operation control signal 222B based on the first output pulse signal 120A. .

増幅回路72には、図2(B)のように起動時に出力不安定時間tidleが存在し、この間にセンサーが動作しているとしても、正しいデータが制御回路10Aに伝わらない。つまり出力が安定するまでのセトリングタイムが必要である。センサーのセトリングタイムが増幅回路72のセトリングタイムよりも短時間の場合には、増幅回路72の出力不安定時間tidleには、センサーをオフ状態とすることで消費電力をより低く抑えることができる。 As shown in FIG. 2B, the amplifier circuit 72 has an output unstable time t idle at the time of activation, and even if the sensor is operating during this time, correct data is not transmitted to the control circuit 10A. In other words, settling time is required until the output is stabilized. When the settling time of the sensor is shorter than the settling time of the amplifier circuit 72, the power consumption can be kept lower by turning the sensor off during the output unstable time t idle of the amplifier circuit 72. .

そこで、第1間欠動作制御信号222Aと第2間欠動作制御信号222Bとを用意することで、増幅回路とセンサーがオン状態となるタイミングを変えて、検出装置1Aの消費電力を抑える。   Therefore, by preparing the first intermittent operation control signal 222A and the second intermittent operation control signal 222B, the timing at which the amplifier circuit and the sensor are turned on is changed to suppress the power consumption of the detection apparatus 1A.

具体的には、第1間欠動作制御信号222Aはトランスミッションゲート76Aに入力されて、図7の時刻t2のタイミングに基づいて増幅回路72を起動させる。一方、第2間欠動作制御信号222Bはトランスミッションゲート76Bに入力されて、図7の時刻t2Aのタイミングに基づいてセンサーを起動させる。このとき、増幅回路72の出力不安定時間にはセンサーは起動しないので、検出装置1Aの動作として無駄がなく、消費電力を抑えることができる。 More specifically, the first intermittent operation control signal 222A is input to the transmission gate 76A, activating the amplification circuit 72 based on the timing of time t 2 in FIG. On the other hand, the second intermittent operation control signal 222B is inputted to the transmission gate 76B, to activate the sensor based on the timing of time t 2A of FIG. At this time, since the sensor is not activated during the output unstable time of the amplifier circuit 72, there is no waste as the operation of the detection apparatus 1A, and power consumption can be suppressed.

これらの例示に限らず、本発明は、実施の形態で説明した構成と実質的に同一の構成(例えば、機能、方法および結果が同一の構成、あるいは目的および効果が同一の構成)を含む。
例えば、センサーのセトリングタイムが増幅回路72のセトリングタイムよりも短時間の場合について説明したが、逆にセンサーのセトリングタイムが増幅回路72のセトリングタイムよりも長時間の場合にはセンサーの間欠動作開始から所定時間経過後に増幅回路72の間欠動作を開始する構成をとることができる。
The present invention is not limited to these exemplifications, and includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations that have the same functions, methods, and results, or configurations that have the same objects and effects).
For example, the case where the settling time of the sensor is shorter than the settling time of the amplifier circuit 72 has been described. Conversely, when the settling time of the sensor is longer than the settling time of the amplifier circuit 72, the intermittent operation of the sensor is started. The intermittent operation of the amplifier circuit 72 can be started after a predetermined time has elapsed.

例えば、本実施形態や変形例では磁気センサーを用いて説明したが、磁気センサーに限らず、圧力センサー、照度センサー、温度センサーを用いてもよい。
また、増幅回路72はオペアンプ、コンパレーター、アナログデジタル変換回路を用いてもよい。
例えば、トランスミッションゲート76、76A、76Bは電源供給スイッチとして間欠動作を制御するが、これらスイッチの機能を有するセンサーまたは増幅回路を用いてもよい。また、制御回路10、制御回路10A、回路装置2、または回路装置2AをMCUに含む構成としてもよい。
For example, although the present embodiment and the modification have been described using the magnetic sensor, the pressure sensor, the illuminance sensor, and the temperature sensor may be used instead of the magnetic sensor.
The amplifier circuit 72 may use an operational amplifier, a comparator, and an analog / digital conversion circuit.
For example, the transmission gates 76, 76A and 76B control intermittent operation as power supply switches, but sensors or amplifier circuits having the functions of these switches may be used. Alternatively, the MCU may include the control circuit 10, the control circuit 10A, the circuit device 2, or the circuit device 2A.

また、本発明は、実施の形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施の形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施の形態で説明した構成に公知技術を付加した構成を含む。本発明は、本発明の趣旨を逸脱しない範囲において広く適用が可能である。   In addition, the invention includes a configuration in which a non-essential part of the configuration described in the embodiment is replaced. In addition, the present invention includes a configuration that exhibits the same operational effects as the configuration described in the embodiment or a configuration that can achieve the same object. Further, the invention includes a configuration in which a known technique is added to the configuration described in the embodiment. The present invention can be widely applied without departing from the spirit of the present invention.

1…検出装置、1A…検出装置、2…回路装置、2A…回路装置、3…MCU、10…制御回路、10A…制御回路、20…パルス発生回路、20A…パルス発生回路、32…定電流源、34…トランスミッションゲート、36…キャパシター、38…トランスミッションゲート(放電用トランジスター)、40…コンパレーター、40A…コンパレーター、40B…コンパレーター、42…リファレンス電圧、42A…第1のリファレンス電圧、42B…第2のリファレンス電圧、44…トランスミッションゲート(プルアップ用トランジスター)、44A…トランスミッションゲート(プルアップ用トランジスター)、44B…トランスミッションゲート(プルアップ用トランジスター)、46…インバーター、46A…インバーター、46B…インバーター、48…インバーター、49…AND回路、60…NAND回路、62…NAND回路、64…インバーター、66…インバーター、70…センサー、72…増幅回路、76…トランスミッションゲート、76A…トランスミッションゲート、76B…トランスミッションゲート、100…羽根車、102…磁石、104…流路、106…磁気センサー、108…基板、120…出力パルス信号、120A…第1出力パルス信号、120B…第2出力パルス信号、122…パルス発生イネーブル信号、124…パルス電源イネーブル信号、126…コンパレーター出力信号、126A…第1コンパレーター出力信号、126B…第2コンパレーター出力信号、130…チャージ電圧、200…センサー出力サンプリング信号、201…制御信号、211…割り込み信号、222…間欠動作制御信号、222A…第1間欠動作制御信号、222B…第2間欠動作制御信号。   DESCRIPTION OF SYMBOLS 1 ... Detection apparatus, 1A ... Detection apparatus, 2 ... Circuit apparatus, 2A ... Circuit apparatus, 3 ... MCU, 10 ... Control circuit, 10A ... Control circuit, 20 ... Pulse generation circuit, 20A ... Pulse generation circuit, 32 ... Constant current Source 34 ... Transmission gate 36 ... Capacitor 38 ... Transmission gate (discharge transistor) 40 ... Comparator 40A ... Comparator 40B ... Comparator 42 ... Reference voltage 42A ... First reference voltage 42B ... second reference voltage, 44 ... transmission gate (pull-up transistor), 44A ... transmission gate (pull-up transistor), 44B ... transmission gate (pull-up transistor), 46 ... inverter, 46A ... inverter, 6B ... Inverter, 48 ... Inverter, 49 ... AND circuit, 60 ... NAND circuit, 62 ... NAND circuit, 64 ... Inverter, 66 ... Inverter, 70 ... Sensor, 72 ... Amplifier circuit, 76 ... Transmission gate, 76A ... Transmission gate, 76B ... Transmission gate, 100 ... Impeller, 102 ... Magnet, 104 ... Flow path, 106 ... Magnetic sensor, 108 ... Substrate, 120 ... Output pulse signal, 120A ... First output pulse signal, 120B ... Second output pulse signal, 122 ... Pulse generation enable signal, 124 ... Pulse power supply enable signal, 126 ... Comparator output signal, 126A ... First comparator output signal, 126B ... Second comparator output signal, 130 ... Charge voltage, 200 ... Sensor output sampling No., 201 ... control signal, 211 ... interrupt signal, 222 ... intermittent operation control signal, 222A ... first intermittent operation control signal, 222B ... second intermittent operation control signal.

Claims (8)

センサーからの信号が入力される増幅回路と、
前記センサー及び前記増幅回路を制御する制御回路と、
を含み、
前記センサーの間欠動作及び前記増幅回路の間欠動作が、前記制御回路から出力される間欠動作制御信号により制御され、
前記制御回路は、パルス発生回路を含み、
前記パルス発生回路は、
所定の電流値の電流を生成する定電流源と、
前記定電流源からの電流によって電荷が充電されるキャパシターと、
前記キャパシターに充電された電荷に基づく電圧と、所定の電圧値を有するリファレンス電圧と、を比較した結果に基づいて、パルス信号を出力するコンパレーターと、
前記コンパレーターの出力端子を、高電位側の電源電位にプルアップするプルアップ用トランジスターと、
を含み、
前記パルス発生回路は、第1のイネーブル信号と、前記第1のイネーブル信号がアクティブ状態となった後所与の期間をおいてアクティブ状態になる第2のイネーブル信号と、を生成し、
前記定電流源及び前記リファレンス電圧は、前記第1のイネーブル信号がアクティブ状態となることによりオン状態に設定され、
前記コンパレーターは、前記第2のイネーブル信号がアクティブ状態となることによりをオン状態に設定され、
前記プルアップ用トランジスターは、前記第2のイネーブル信号が非アクティブ状態のときにオン状態に設定されることを特徴とする回路装置。
An amplifier circuit to which a signal from the sensor is input;
A control circuit for controlling the sensor and the amplifier circuit;
Including
The intermittent operation of the sensor and the intermittent operation of the amplifier circuit are controlled by an intermittent operation control signal output from the control circuit,
The control circuit includes a pulse generation circuit,
The pulse generation circuit includes:
A constant current source for generating a current of a predetermined current value;
A capacitor whose charge is charged by the current from the constant current source;
A comparator that outputs a pulse signal based on a result of comparing a voltage based on the charge charged in the capacitor and a reference voltage having a predetermined voltage value;
A pull-up transistor for pulling up the output terminal of the comparator to the power supply potential on the high potential side;
Including
The pulse generation circuit generates a first enable signal and a second enable signal that becomes active after a predetermined period after the first enable signal becomes active;
The constant current source and the reference voltage are set to an on state when the first enable signal becomes an active state,
The comparator is set to an on state by the second enable signal becoming an active state,
The circuit device according to claim 1, wherein the pull-up transistor is set to an on state when the second enable signal is in an inactive state.
前記センサーは、抵抗素子で構成され、
前記センサーのセトリングタイムは、前記増幅回路のセトリングタイムよりも短時間であることを特徴とする請求項1に記載の回路装置。
The sensor is composed of a resistance element,
2. The circuit device according to claim 1, wherein a settling time of the sensor is shorter than a settling time of the amplifier circuit.
記センサーの間欠動作が、前記制御回路から出力される第1間欠動作制御信号により制御され、
前記増幅回路の間欠動作が、前記制御回路から出力される第2間欠動作制御信号により制御され、
前記第1間欠動作制御信号は、前記第2間欠動作制御信号がアクティブ状態となってから所定の期間後にアクティブ状態となることを特徴とする請求項1又は2に記載の回路装置。
Intermittent operation before Symbol sensor is controlled by a first intermittent operation control signal output from the control circuit,
The intermittent operation of the amplifier circuit is controlled by a second intermittent operation control signal output from the control circuit,
3. The circuit device according to claim 1 , wherein the first intermittent operation control signal becomes active after a predetermined period after the second intermittent operation control signal becomes active. 4.
前記センサー及び前記増幅回路に対する電源供給のオンオフを切替え可能なスイッチを含み、
前記第1間欠動作制御信号及び前記第2間欠動作制御信号は、前記スイッチに出力され、前記電源供給のオンオフの切替の制御に用いられることを特徴とする請求項3に記載の回路装置。
A switch capable of switching on and off of power supply to the sensor and the amplifier circuit;
4. The circuit device according to claim 3, wherein the first intermittent operation control signal and the second intermittent operation control signal are output to the switch and used for controlling on / off switching of the power supply. 5.
前記パルス発生回路は、更に、放電用トランジスターを含み、
前記第1のイネーブル信号がアクティブ状態かつ前記第2のイネーブル信号が非アクティブ状態のときに、前記放電用トランジスターにより前記キャパシターに充電された電荷が放電されることを特徴とする請求項1乃至4のいずれかに記載の回路装置。
The pulse generation circuit further includes a discharge transistor,
When the first of said enable signal is and active second enable signal is inactive, claims 1 to 4 charges charged in the capacitor by the discharge transistor is characterized in that it is discharged The circuit device according to any one of the above.
前記制御回路は、前記パルス信号に基づいて、前記第1間欠動作制御信号及び前記第2間欠動作制御信号を生成することを特徴とする請求項3又は4に記載の回路装置。 5. The circuit device according to claim 3 , wherein the control circuit generates the first intermittent operation control signal and the second intermittent operation control signal based on the pulse signal. 6. 請求項1乃至のいずれか1項に記載の回路装置を有することを特徴とする集積回路。 Integrated circuit, characterized in that it comprises a circuit device according to any one of claims 1 to 6. 請求項1乃至のいずれか1項に記載の回路装置と、
前記センサーと、
前記回路装置を制御するMCUと、
を含むことを特徴とする検出装置。
A circuit device according to any one of claims 1 to 6 ,
The sensor;
An MCU for controlling the circuit device;
A detection device comprising:
JP2012028091A 2011-03-22 2012-02-13 Circuit device, integrated circuit, and detection device Active JP6019603B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2012028091A JP6019603B2 (en) 2012-02-13 2012-02-13 Circuit device, integrated circuit, and detection device
US13/421,174 US9310240B2 (en) 2011-03-22 2012-03-15 Circuit device, integrated circuit and detection device
CN201210076514.6A CN102692258B (en) 2011-03-22 2012-03-21 Circuit device, integrated circuit and detection device
JP2016157329A JP2017017719A (en) 2012-02-13 2016-08-10 Detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012028091A JP6019603B2 (en) 2012-02-13 2012-02-13 Circuit device, integrated circuit, and detection device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016157329A Division JP2017017719A (en) 2012-02-13 2016-08-10 Detection device

Publications (2)

Publication Number Publication Date
JP2013165422A JP2013165422A (en) 2013-08-22
JP6019603B2 true JP6019603B2 (en) 2016-11-02

Family

ID=49176528

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2012028091A Active JP6019603B2 (en) 2011-03-22 2012-02-13 Circuit device, integrated circuit, and detection device
JP2016157329A Withdrawn JP2017017719A (en) 2012-02-13 2016-08-10 Detection device

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2016157329A Withdrawn JP2017017719A (en) 2012-02-13 2016-08-10 Detection device

Country Status (1)

Country Link
JP (2) JP6019603B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6840170B2 (en) 2016-12-15 2021-03-10 ヌヴォトンテクノロジージャパン株式会社 Hydrogen detectors, fuel cell vehicles, hydrogen leak monitoring systems, composite sensor modules, hydrogen detection methods, and programs
JP6844511B2 (en) * 2017-11-21 2021-03-17 セイコーエプソン株式会社 Portable information processing equipment, integrated circuits, and battery packs

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09107273A (en) * 1995-10-13 1997-04-22 Nec Eng Ltd Pulse oscillator
KR100613079B1 (en) * 2004-05-11 2006-08-16 에스티마이크로일렉트로닉스 엔.브이. Oscillator circuit for semiconductor device
JP2006098310A (en) * 2004-09-30 2006-04-13 Yamaha Corp Magnetic measuring apparatus
JP2006222524A (en) * 2005-02-08 2006-08-24 Rohm Co Ltd Oscillation circuit
JP2007159288A (en) * 2005-12-06 2007-06-21 Seiko Epson Corp Soft start circuit and power supply
JP2008032424A (en) * 2006-07-26 2008-02-14 Rohm Co Ltd Sensor circuit, semiconductor device, electronic equipment
US8222888B2 (en) * 2008-09-29 2012-07-17 Allegro Microsystems, Inc. Micro-power magnetic switch
JP5800126B2 (en) * 2011-03-22 2015-10-28 セイコーエプソン株式会社 Pulse generation circuit, integrated circuit device, detection device

Also Published As

Publication number Publication date
JP2013165422A (en) 2013-08-22
JP2017017719A (en) 2017-01-19

Similar Documents

Publication Publication Date Title
JP4786608B2 (en) Magnetic field detector
US9310240B2 (en) Circuit device, integrated circuit and detection device
JP5391973B2 (en) Semiconductor device and power control method for semiconductor device
JP5024389B2 (en) Semiconductor integrated circuit
TWI402492B (en) Current mode dual-slope temperature-to-digital conversion device
JP2004228713A (en) Voltage conversion circuit, semiconductor integrated circuit provided therewith, and portable terminal
US9222988B2 (en) Magnetic sensor, magnetic sensor driving method, and computer-readable recording medium
JP2009156643A (en) Failure detection system and integrated circuit
US20110133758A1 (en) High resolution circuit for converting capacitance-to-time deviation
JP2017017719A (en) Detection device
JP2006222524A (en) Oscillation circuit
JP5800126B2 (en) Pulse generation circuit, integrated circuit device, detection device
US7460966B1 (en) Microcontroller that maintains capacitors of an analog circuit in a charged state during low power operation
CN107645288B (en) Electronic circuit, method and electronic device for generating pulses
JP2015012698A (en) Switching power supply device
JP6600471B2 (en) Magnetic sensor device
JP2007151322A (en) Power circuit and dc-dc converter
JP2008219294A (en) Voltage control circuit
JP2005006471A (en) Voltage converting circuit, and semiconductor integrated circuit device and mobile terminal equipped with it
JP2011034545A (en) Voltage regulator circuit
JP6623696B2 (en) Power supply device and semiconductor device
JP2010035302A (en) Power control circuit
JP2010153974A (en) Comparator and detection circuit
WO2010134228A1 (en) Power supply generation circuit and integrated circuit
JP2010171790A (en) Bias potential generation circuit

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20150107

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151013

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160810

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20160819

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160919

R150 Certificate of patent or registration of utility model

Ref document number: 6019603

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350