JPH06174768A - Pulse duty detecting circuit - Google Patents
Pulse duty detecting circuitInfo
- Publication number
- JPH06174768A JPH06174768A JP4330788A JP33078892A JPH06174768A JP H06174768 A JPH06174768 A JP H06174768A JP 4330788 A JP4330788 A JP 4330788A JP 33078892 A JP33078892 A JP 33078892A JP H06174768 A JPH06174768 A JP H06174768A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- clock
- pulse
- input signal
- period
- 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.)
- Pending
Links
Landscapes
- Electrotherapy Devices (AREA)
- Magnetic Treatment Devices (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、パルスデューティ検出
回路に関するものであり、例えば、高周波磁気治療器か
ら出力される高周波磁界の包絡線のパルスデューティを
検出する用途に利用されるものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse duty detection circuit, and is used, for example, for detecting pulse duty of an envelope of a high frequency magnetic field output from a high frequency magnetic therapy device.
【0002】[0002]
【従来の技術】従来、高周波磁界を人体に照射すること
により血行促進、疲労回復を促す高周波磁気治療器が実
用化されている。図3は高周波磁気治療器の本体から出
力される高周波磁界を示している。この高周波磁界の周
波数は約9メガヘルツであり、T≒1600(μS)の
間隔で断続されている。高周波磁気治療器の本体には、
電池の残量によって高周波磁界のデューティ(t/T)
が変化する機能を備えている。高周波磁界の持続時間t
(μS)は電池の残量に応じて3段階に変化するように
なっており、電池の残量が100%、70%、50%の
とき、高周波磁界の持続時間t(μS)はそれぞれ32
5、400、475(μS)となる。2. Description of the Related Art Conventionally, a high-frequency magnetic therapy device for promoting blood circulation and fatigue recovery by irradiating a human body with a high-frequency magnetic field has been put into practical use. FIG. 3 shows a high-frequency magnetic field output from the main body of the high-frequency magnetic therapy device. The frequency of this high-frequency magnetic field is about 9 MHz, and the high-frequency magnetic field is intermittent at intervals of T≈1600 (μS). The main body of the high frequency magnetic therapy device,
High frequency magnetic field duty (t / T) depending on the remaining battery level
Is equipped with a function that changes. High-frequency magnetic field duration t
(ΜS) changes in three steps according to the remaining amount of the battery. When the remaining amount of the battery is 100%, 70%, and 50%, the duration t (μS) of the high-frequency magnetic field is 32, respectively.
It becomes 5,400,475 (μS).
【0003】この種の高周波磁気治療器の充電器におい
ては、高周波磁界のパルス信号の包絡線のデューティ
(t/T)を検知して、治療器本体の電池の残量を三段
階で認識するパルスデューティ検出回路が設けられてい
る。この検出回路の従来例を図4に示す。この回路は、
周期的な矩形波のデューティを検出する機能を備えてい
る。11は入力パルス信号がHighレベル間、クロッ
クをカウントする第1カウンタ、12は入力パルス信号
がLowレベルの間、クロックをカウントする第2カウ
ンタである。13は割算回路であり、第1カウンタ11
のカウント値Xと第2カウンタ12のカウント値Yの比
(Y/X)を演算する。14は表示回路であり、割算回
路13による演算結果を表示する。15はクロック発生
回路であり、カウントの基準となるクロックを発生し、
第1カウンタ11と第2カウンタ12に供給している。
このデューティ検出回路では、入力信号波形がHigh
レベルの期間の長さを第1カウンタ11でカウントし、
入力信号波形がLowレベルの期間の長さを第2カウン
タ12でカウントし、割算回路13で割算を実行し、そ
の結果を表示回路14で表示している。In the charger of this type of high frequency magnetic therapy device, the duty (t / T) of the envelope of the pulse signal of the high frequency magnetic field is detected to recognize the remaining battery level of the therapy device in three steps. A pulse duty detection circuit is provided. A conventional example of this detection circuit is shown in FIG. This circuit
It has a function to detect the duty of a periodic rectangular wave. Reference numeral 11 is a first counter that counts the clock while the input pulse signal is at the high level, and reference numeral 12 is a second counter that counts the clock while the input pulse signal is at the low level. 13 is a division circuit, the first counter 11
The ratio (Y / X) of the count value X of the above and the count value Y of the second counter 12 is calculated. Reference numeral 14 denotes a display circuit, which displays the calculation result by the division circuit 13. Reference numeral 15 is a clock generation circuit, which generates a clock serving as a count reference,
It is supplied to the first counter 11 and the second counter 12.
In this duty detection circuit, the input signal waveform is High
The length of the level period is counted by the first counter 11,
The length of the period when the input signal waveform is low level is counted by the second counter 12, division is performed by the division circuit 13, and the result is displayed by the display circuit 14.
【0004】[0004]
【発明が解決しようとする課題】従来の構成では、クロ
ックを精度良くカウントするための大規模なカウンタが
2つ必要であり、また、割算回路13を構成する論理回
路も、かなり大規模な回路となる。したがって、三段階
の電池残量表示を行う高周波磁気治療器の充電器のよう
に、デューティの絶対値を必要とせず、或る既知の値と
の大小関係のみを必要とする用途には、かなり無駄が多
いという欠点があった。The conventional configuration requires two large-scale counters for counting clocks with high precision, and the logic circuit forming the division circuit 13 is also considerably large-scale. It becomes a circuit. Therefore, unlike the charger of the high-frequency magnetic therapy device that displays the battery remaining amount in three stages, it does not require the absolute value of the duty, and is used for an application that requires only the magnitude relationship with a certain known value. It had the drawback of being wasteful.
【0005】本発明は、上述のような点に鑑みてなされ
たものであり、その目的とするところは、パルスデュー
ティ検出回路において、デューティの三段階変化を割算
回路を用いず小規模で且つ効率的に検出することにあ
る。The present invention has been made in view of the above points, and an object of the present invention is to reduce a three-step change in duty in a pulse duty detection circuit on a small scale without using a division circuit. It is to detect efficiently.
【0006】[0006]
【課題を解決するための手段】本発明に係るパルスデュ
ーティ検出回路は、上記の課題を解決するために、図1
に示すように、入力信号パルスがHighレベルである
期間とLowレベルである期間の比率をパルスデューテ
ィとして検出する回路において、入力信号パルスがHi
ghレベルである期間をカウントするための第1のクロ
ックを発生する第1クロック発生回路1と、入力信号
パルスがLowレベルである期間をカウントするための
第2のクロックを発生するための第2クロック発生回
路2と、入力信号パルスがHighレベルである期間に
第1のクロックをカウントアップすると共に、Low
レベルである期間に第2のクロックをカウントダウン
するカウンタ回路3とを備えることを特徴とするもので
ある。In order to solve the above-mentioned problems, a pulse duty detection circuit according to the present invention is provided in FIG.
As shown in FIG. 3, in the circuit that detects the ratio of the period when the input signal pulse is at the high level and the period when the input signal pulse is at the low level as the pulse duty,
A first clock generating circuit 1 for generating a first clock for counting a period of a gh level, and a second clock for generating a second clock for counting a period of an input signal pulse of a low level. The clock generation circuit 2 counts up the first clock during the period in which the input signal pulse is at the high level, and
The counter circuit 3 counts down the second clock during the level period.
【0007】[0007]
【作用】本発明にあっては、入力信号パルスがHigh
レベルの間にカウントされる第1のクロックと、入力
信号パルスがLowレベルの間にカウントされる第2の
クロックの2種類のクロックを、1つのアップダウン
カウンタ回路3でカウントするので、割算回路を用いず
効率的にパルスデューティの変化を検出できるものであ
る。また、パルスデューティの三段階以下の変化を検出
する用途では、カウンタ回路3は第1のクロックのカ
ウント値と第2のクロックのカウント値の差が正であ
るか、負であるか、ゼロであるかを検出できれば良く、
カウンタ回路3のビット数は従来例よりも少なくて済
む。In the present invention, the input signal pulse is High.
Since one up / down counter circuit 3 counts two types of clocks, a first clock that is counted during the level and a second clock that is counted during the low level of the input signal pulse, the division is performed. The change in pulse duty can be efficiently detected without using a circuit. Further, in the application for detecting a change in pulse duty of three steps or less, the counter circuit 3 determines whether the difference between the count value of the first clock and the count value of the second clock is positive, negative, or zero. It should be possible to detect if there is,
The number of bits of the counter circuit 3 can be smaller than that of the conventional example.
【0008】[0008]
【実施例】図1は本発明の実施例のブロック回路図であ
る。図中、1は第1のクロック発生回路であり、入力信
号パルスがHighレベルである期間をカウントするた
めの第1のクロックを発生する。2は第2のクロック
発生回路であり、入力信号パルスがLowレベルである
期間をカウントするための第2のクロックを発生す
る。3はカウンタ回路であり、入力信号パルスがHig
hレベルである期間に第1のクロックをカウントアッ
プすると共、Lowレベルである期間に第2のクロック
をカウントダウンする。4はコントロール回路であ
り、入力信号パルスがHighレベルである期間では第
1のクロックをカウンタ回路3に入力し、入力信号パ
ルスがLowレベルである期間では第2のクロックを
カウンタ回路3に入力する。5は表示回路であり、カウ
ンタ回路3のカウント結果を表示する。1 is a block circuit diagram of an embodiment of the present invention. In the figure, reference numeral 1 denotes a first clock generation circuit, which generates a first clock for counting a period in which an input signal pulse is at a high level. Reference numeral 2 is a second clock generation circuit, which generates a second clock for counting the period when the input signal pulse is at the Low level. 3 is a counter circuit, the input signal pulse is High
While counting up the first clock during the period of the h level, the second clock is counted down during the period of the low level. Reference numeral 4 denotes a control circuit, which inputs the first clock to the counter circuit 3 while the input signal pulse is at the high level and inputs the second clock to the counter circuit 3 during the period when the input signal pulse is at the low level. . A display circuit 5 displays the count result of the counter circuit 3.
【0009】今、入力信号波形が図2(a)のように、
Highレベルの期間とLowレベルの期間の比率が
1:3であり、このHighレベルの期間が±20%の
三段階に変化するものとする。ここで、Highレベル
の期間が−20%に変化した状態を(b)、Highレ
ベルの期間が変化しない状態を(c)、Highレベル
の期間が+20%に変化した状態を(d)とする。この
とき、第1のクロック発生回路1で発生されるクロック
と、第2のクロック発生回路2で発生されるクロック
との周期の比率を1:3に設定しておく。そして入力
信号パルスがHighレベルの期間、クロックをアッ
プカウントし、入力信号パルスがLowレベルの期間、
クロックをダウンカウントしたとき、1周期のカウン
ト終了時の値が負であれば状態(b)と判断し、ゼロで
あれば状態(c)と判断し、正であれば状態(d)と判
断する。Now, the input signal waveform is as shown in FIG.
It is assumed that the ratio of the high level period and the low level period is 1: 3, and the high level period changes in three stages of ± 20%. Here, a state in which the High level period is changed to -20% is (b), a state in which the High level period is not changed is (c), and a state in which the High level period is changed to + 20% is (d). . At this time, the cycle ratio of the clock generated by the first clock generation circuit 1 and the clock generated by the second clock generation circuit 2 is set to 1: 3. Then, the clock is up-counted while the input signal pulse is at the high level, and the input signal pulse is at the low level,
When the clock is down-counted, if the value at the end of one cycle is negative, it is determined to be the state (b), if it is zero, it is determined to be the state (c), and if positive, it is determined to be the state (d). To do.
【0010】[0010]
【発明の効果】本発明の回路では、入力信号パルスのH
ighレベルの期間をカウントするカウンタ回路と、L
owレベルの期間をカウントするカウンタ回路を共用す
ることができ、また、デューティを検出するのに、割算
回路を必要としないので、大幅に回路を小規模化でき
る。したがって、この回路をIC化した場合に大幅なコ
ストダウンを達成することができる。さらに、入力信号
パルスの1周期でデューティ検出が可能であるので、ほ
とんど時間遅れを伴わず、リアルタイムで検出できると
いう効果がある。In the circuit of the present invention, the H of the input signal pulse is
a counter circuit for counting the period of high level, and L
A counter circuit that counts the period of the ow level can be shared, and a division circuit is not required to detect the duty, so that the circuit can be significantly downsized. Therefore, a large cost reduction can be achieved when this circuit is integrated into an IC. Further, since the duty can be detected in one cycle of the input signal pulse, there is an effect that the duty can be detected in real time with almost no time delay.
【図1】本発明の一実施例のブロック回路図である。FIG. 1 is a block circuit diagram of an embodiment of the present invention.
【図2】本発明の一実施例の動作説明図である。FIG. 2 is an operation explanatory diagram of the embodiment of the present invention.
【図3】本発明の検出対象となる高周波磁界の信号波形
を示す波形図である。FIG. 3 is a waveform diagram showing a signal waveform of a high-frequency magnetic field to be detected by the present invention.
【図4】従来例のブロック回路図である。FIG. 4 is a block circuit diagram of a conventional example.
1 第1クロック発生回路 2 第2クロック発生回路 3 カウンタ回路 4 コントロール回路 5 表示回路 1 1st clock generation circuit 2 2nd clock generation circuit 3 counter circuit 4 control circuit 5 display circuit
Claims (1)
る期間とLowレベルである期間の比率をパルスデュー
ティとして検出する回路において、入力信号パルスがH
ighレベルである期間をカウントするための第1のク
ロックを発生する第1クロック発生回路と、入力信号パ
ルスがLowレベルである期間をカウントするための第
2のクロックを発生するための第2クロック発生回路
と、入力信号パルスがHighレベルである期間に第1
のクロックをカウントアップすると共に、Lowレベル
である期間に第2のクロックをカウントダウンするカウ
ンタ回路とを備えることを特徴とするパルスデューティ
検出回路。1. A circuit for detecting a ratio of a period in which an input signal pulse is at a high level and a period in which the input signal pulse is at a low level as a pulse duty, the input signal pulse is at
a first clock generating circuit for generating a first clock for counting a period of a high level, and a second clock for generating a second clock for counting a period of an input signal pulse of a low level The generation circuit and the first during the period when the input signal pulse is at the high level
And a counter circuit that counts down the second clock during the period when it is at the Low level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4330788A JPH06174768A (en) | 1992-12-10 | 1992-12-10 | Pulse duty detecting circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4330788A JPH06174768A (en) | 1992-12-10 | 1992-12-10 | Pulse duty detecting circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06174768A true JPH06174768A (en) | 1994-06-24 |
Family
ID=18236557
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4330788A Pending JPH06174768A (en) | 1992-12-10 | 1992-12-10 | Pulse duty detecting circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06174768A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112234958A (en) * | 2020-10-29 | 2021-01-15 | 杰华特微电子(杭州)有限公司 | Detection method and detection circuit for duty ratio of pulse signal |
-
1992
- 1992-12-10 JP JP4330788A patent/JPH06174768A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112234958A (en) * | 2020-10-29 | 2021-01-15 | 杰华特微电子(杭州)有限公司 | Detection method and detection circuit for duty ratio of pulse signal |
CN112234958B (en) * | 2020-10-29 | 2023-06-23 | 杰华特微电子股份有限公司 | Pulse signal duty ratio detection method and detection circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0590607A1 (en) | Low-power baud rate generator | |
GB1355153A (en) | Electronic digital clock apparatus | |
EP0103755A2 (en) | CMOS single chip microprocessor | |
JPH06174768A (en) | Pulse duty detecting circuit | |
JP2001013179A (en) | Measurement method for ring oscillator clock frequency, measurement circuit for ring oscillator clock frequency, and microcomputer | |
US4686390A (en) | Digital peak-hold circuit | |
CN87104335A (en) | Analog electronic timepiece with multifunction | |
JPH0746100A (en) | Pulse duty detection circuit | |
JPH0745025Y2 (en) | Pulse duty ratio measuring instrument | |
JPS5978263A (en) | Input unit | |
JPH0561932B2 (en) | ||
JP3156336B2 (en) | High frequency magnetic field demodulation circuit | |
JPS6349949Y2 (en) | ||
JPS6116613A (en) | Frequency multiplier | |
JP2001042813A (en) | Semiconductor integrated circuit | |
JPS6241600Y2 (en) | ||
JPS5619475A (en) | Electronic timepiece with battery life display | |
JPS61176208A (en) | Generating circuit for pwm signal | |
JPH01177712A (en) | Clock generating circuit | |
JPS59185569A (en) | Power source device for welding | |
JPS5745685A (en) | Position detector | |
JPH05137395A (en) | Motor drive circuit | |
JPS61154640A (en) | Cardiac pulse detection circuit | |
JPH0712861A (en) | Method and apparatus for measuring pulse frequency | |
JPS62131756A (en) | Triac controller |