CN201528321U - Pulse-width signal duty ratio detector - Google Patents

Pulse-width signal duty ratio detector Download PDF

Info

Publication number
CN201528321U
CN201528321U CN200920035064XU CN200920035064U CN201528321U CN 201528321 U CN201528321 U CN 201528321U CN 200920035064X U CN200920035064X U CN 200920035064XU CN 200920035064 U CN200920035064 U CN 200920035064U CN 201528321 U CN201528321 U CN 201528321U
Authority
CN
China
Prior art keywords
width signal
electric capacity
charging
pulse width
input
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.)
Expired - Lifetime
Application number
CN200920035064XU
Other languages
Chinese (zh)
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.)
Xi'an Innuovo Micro Electronic Co Ltd
Original Assignee
Xi'an Innuovo Micro Electronic Co Ltd
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 Xi'an Innuovo Micro Electronic Co Ltd filed Critical Xi'an Innuovo Micro Electronic Co Ltd
Priority to CN200920035064XU priority Critical patent/CN201528321U/en
Application granted granted Critical
Publication of CN201528321U publication Critical patent/CN201528321U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)

Abstract

The utility model relates to a pulse-width signal duty ratio detector, which comprises a current source mirror circuit 1, a capacitor charging and discharging circuit 2, a divider 3 and a rising edge detection circuit 4 of pulse signals. Two capacitors are respectively charged by a mirror constant flow source; charging voltage peak values of a pulse-width signal high-level time interval and a periodic time interval are obtained from the two capacitors; and to-be-detected duty ratio is obtained by using the divider for deducting. Charging and discharging of the capacitors are used for respectively obtaining the charging voltage peak values of the pulse-width signal high-level time interval and the periodic time interval with no task of leaching ripple wave, thereby capacity ratio is one thousand times smaller than that of a traditional detector. Simultaneously, the detector needing no waiting for stability of the process of charging and discharging the capacitors is capable of realizing real-time detection of periodical duty ratio. The pulse-width signal duty ratio detector breaks design conception of a traditional duty ratio detector, and achieves optimized structure and excellent effect of real-time detection function.

Description

Pulse width signal duty factor detector
Technical field
The utility model relates to a kind of detector, particularly a kind of pulse width signal duty factor detector.
Background technology
In prior art, traditional duty cycle detector as shown in Figure 4, its course of work is: when tested pulse width signal Vi was high level, N1 turn-offed, the P1 conducting, capacitor C 1 charging, charge circuit is power supply V DD-PMOS pipe P1-resistance R 1-capacitor C 1; When tested pulse width signal Vi is input as low level, the N1 conducting, P1 turn-offs, capacitor C 1 discharge, discharge path is capacitor C 1-resistance R 1-NMOS pipe N1-ground.If the duty ratio of tested pulse width signal Vi is fixed, and R1, C1 time constant for charging and discharging be during much larger than switch periods, and the voltage on the electric capacity remains unchanged, then output voltage V 0Can represent to import the size of duty cycle square wave, it is calculated as follows:
Referring to Fig. 4,6, the cycle of supposing tested pulse width signal Vi is T, and its high level lasting time is Ton, and then the duty ratio D of Vi input is:
D = Ton T
Work as output voltage V 0After stable, V DDDischarging and recharging of capacitor C 1 reached balance, and its charging charge equals discharge charge, that is:
Ton · V DD - V O R 1 = ( T - Ton ) · V O R 1
To 2. formula of 1. formula substitution, put in order:
V O=DV DD
D = V O V DD ③,
The subject matter that this conventional detector exists is: the capacitor C 1 in the circuit is a filter capacitor, and it is undertaking the task of eliminating output voltage ripple, and therefore, it needs bigger capacitance, and its value is calculated as follows:
Referring to Fig. 6,7, work as output voltage V 0After stable, the ripple Δ V of its output voltage 0For:
Δ V O = Ton · ( V DD - V O ) R 1 · C 1
Will be 1., 3. 4. formula of formula substitution, put in order:
Δ V 0 = D · T · V DD · ( 1 - D ) R 1 · C 1
When D=1/2, the ripple numerical value maximum of output voltage, for:
Δ V O = T · V DD 4 R 1 · C 1
Calculate with maximum ripple: suppose T=20us, V DDBe 5V, R1=100K Ω, C1=10nF obtains Δ V O=25mV, the ripple of this ripple for allowing, ripple is the smaller the better, does not generally allow to surpass 50mV.Find out thus, under the ripple of a permission, the capacitance of this circuit is very big, and electric capacity is big more, and its volume is big more, the volume of 10nF electric capacity can't be integrated in this detector in this example, this just greatly reduces the integrated level of this detector, and detector need additionally provide a pin, is used for external capacitor, the volume of detector is increased, loosely organized.
It can also be seen that according to aforementioned calculation, this detector can only just can carry out the detection of duty ratio after charge and discharge enter stable state, if we need carry out the real-time detection of the duty ratio of Cycle by Cycle to tested pulse width signal, this detector just can not be suitable for, and this is its another shortcoming.
The utility model content
The purpose of this utility model is the shortcoming that overcomes in the prior art, and a kind of pulse width signal duty factor detector is provided, and makes it can reduce the electric capacity volume and with realizing tested pulse width signal is detected in real time.
For achieving the above object, the technical solution of the utility model is as follows:
This detector has a current source mirror image circuit that the two-way charging current can be provided; Also has a capacitor charge and discharge circuit, this capacitor charge and discharge circuit is by the charging paths and the second electric capacity charging paths of first electric capacity, these two charging paths are connected on respectively on two current output terminals of described current source mirror image circuit, on the charging paths of described first electric capacity, be connected in series one electronic switch K3, be used to control the charging of first electric capacity, the control end of this electronic switch and the input of tested pulse width signal join, on described first electric capacity and second electric capacity, be respectively equipped with a bypass discharge paths, and on these two bypass discharge paths, respectively be connected in series an electronic switch K1, K2 is used for controlling respectively first electric capacity and second capacitance discharges; This detector also has a divider, and the charging positive pole of described first, second electric capacity joins with two inputs of this divider respectively, and the output of described divider is drawn for detecting output; This detector also has the rising edge testing circuit of a pulse width signal, the input of this rising edge testing circuit and the input of tested pulse width signal join, its output respectively with first electric capacity and the second capacitive bypass discharge paths on electronic switch K1, the control end of K2 join.
The further improved technical scheme of the utility model is as follows:
PMOS transistor and nmos pass transistor that the rising edge testing circuit of described pulse width signal is connected by push-pull type, a current source, an electric capacity, a hysteresis comparator, reverser and one connect and compose with door, the control utmost point of described PMOS transistor and nmos pass transistor joins as the signal input part of this rising edge testing circuit and the input of tested pulse width signal, described current source is serially connected on the source electrode of nmos pass transistor, described electric capacity is connected in parallel on the drain electrode of PMOS transistor and nmos pass transistor and with reference between the ground, the positive pole of described electric capacity links to each other with the input of hysteresis comparator, the output of described hysteresis comparator by not gate with link to each other with an input of door, described another input and the input of tested pulse width signal with door joins, described with output as the output of rising edge testing circuit respectively with charge-discharge circuit in electronic switch K1, the control end of K2 joins.
By technique scheme as can be seen, the utility model adopts mirror-image constant flow source that the two-way charging current is provided, respectively two electric capacity are charged, with tested pulse width signal the charging process of this two-way electric capacity is carried out logic control simultaneously, the final charging voltage peak value that on two electric capacity, obtains pulse width signal high level period and one-period period, with divider this two charging voltages peak value is divided by then, promptly draws tested duty ratio.Because the electric capacity charge and discharge in the utility model are in order to obtain the charging voltage peak value of pulse width signal high level period and one-period period respectively, do not undertake the task of filtering ripple, therefore, do not need very big capacitance, its capacitance is littler 1000 times than prior art, in the pf level, make it can satisfy the integrated volume requirement of circuit fully.Simultaneously, as long as the utility model can access the charging voltage peak value of two-way electric capacity, just can obtain testing result, not need to wait for the stable of electric capacity charge and discharge process, therefore, it can realize the real-time detection of Cycle by Cycle duty ratio.The utility model has been broken the mentality of designing of traditional duty cycle detector, has obtained the good result of optimizing structure and increasing real-time detection function.
Description of drawings
Fig. 1, the utility model circuit theory diagrams.
The detection waveform figure of Fig. 2, rising edge testing circuit.
The charge and discharge waveform schematic diagram of Fig. 3, capacitor C 1, C2.
The schematic diagram of Fig. 4, traditional duty cycle detector.
The input of Fig. 5, traditional duty cycle detector, output wave figure.
The waveform schematic diagram of Fig. 6, tested pulse width signal.
The ripple schematic diagram of Fig. 7, traditional duty cycle detector output voltage.
Embodiment
Referring to Fig. 1, this detector has a current source mirror image circuit 1, it comprises the constant-current source and the current mirror circuit that is made of this constant-current source PMOS transistor MP3, MP4 that are connected and composed by PMOS transistor MP2 and resistance R, produce a constant current I by described constant-current source, produce two-way and the proportional mirror image constant current of I I1, I2 by current mirror circuit.
This detector also has a capacitor charge and discharge circuit 2, this capacitor charge and discharge circuit is made up of the charging paths and capacitor C 22 charging paths of capacitor C 11, these two charging paths are connected on respectively on two current output terminals of described current source mirror image circuit, on the charging paths of described capacitor C 11, be connected to one electronic switch K3, be used for the charging of control capacitance C11, the control end of this electronic switch K3 and the input of tested pulse width signal PWM join, on described capacitor C 11 and capacitor C 22, be respectively equipped with a bypass discharge paths, and on these two bypass discharge paths, respectively be connected to an electronic switch K1, K2, the discharge of control capacitance C11 and capacitor C 22 respectively.
This detector also has a divider 3, and the charging positive pole of described capacitor C 11, C22 joins with two inputs of this divider respectively, and the output of described divider 3 is drawn for detecting output end vo o.
This detector also has a rising edge testing circuit 4, it comprises PMOS transistor MP1 and the nmos pass transistor MN1 that push-pull type connects, current source Id, capacitor C 33, hysteresis comparator X1, reverser X2 and with door X3, the control utmost point of described MP1 and MN1 joins as the signal input part of this rising edge testing circuit and the input of tested pulse width signal PWM, described current source Id is serially connected on the source electrode of NM0S transistor MN1, described capacitor C 33 is connected in parallel between the drain electrode and ground of MN1 and MP1, the positive pole of capacitor C 33 links to each other with the input of hysteresis comparator X1, the output of hysteresis comparator X1 passes through not gate X2 and links to each other with the input of door X3, join with the input of another input of door X3 and tested pulse width signal PWM, with the output of door X3 as the output of rising edge testing circuit respectively with charge-discharge circuit 2 in electronic switch K1, the control end of K2 joins.
Referring to Fig. 1,2, as tested pulse width signal PWM (V PWM) when being high level, the transistor MN1 conducting in the rising edge testing circuit 4, transistor MP1 end, capacitor C 33 is discharged over the ground by MN1, Id, and (its waveform is seen V C33), hysteresis comparator X1 output high level (is V X1Be height), output low level behind reverser X2 (is V X2For low), the high level of this low level and measured pulse signal PWM mutually " with " after, export a rising edge and detect burst pulse V RESET, this narrow arteries and veins signal makes electronic switch K1, K2 moment conducting, and then capacitor C 11, C22 discharge by bypass, and K1, K2 close subsequently; When the high level of tested pulse width signal PWM arrives, electronic switch K3 conducting, in capacitor C 11, after C22 sparks and finishes, two-way mirror image constant current I1, I2 begins immediately to capacitor C 11, the C22 charging, when measured pulse signal PWM transfers low level to by high level, K3 ends, capacitor C 11 stops charging, and keep current charging voltage, and capacitor C 22 continues charging, till when the high level of measured pulse signal PWM arrives once more, C11, the charge waveforms of C22 such as the VC11 among Fig. 3, shown in the VC22, then the charging peak value of high level period and the charging peak value of 22 periods in last cycle of capacitor C are divided by by divider 3 on the capacitor C 11, promptly draw the dutyfactor value of measured signal.
Specifically being calculated as follows of dutyfactor value:
According to the female law in Europe, the electric current I p2 that PMOS transistor MP2 branch road flows through in the current source mirror image circuit 1 is:
Ip 2 = Vr R - - - ( 1 )
Vr is the voltage drop on the resistance R in the formula (1).
According to the principle of current source mirror image, suppose that the wide Wp2 of MP2, the ratio of long Lp2 are
Figure G200920035064XD00052
The wide Wp3 of MP3, the ratio of long Wp3 are , the wide Wp4 of MP4, the ratio of long Wp4 are
Figure G200920035064XD00054
Then the electric current I p3, the Ip4 that flow through of PMOS transistor MP3, MP4 branch road is:
Ip 3 = Wp 3 · Lp 2 Lp 3 · Wp 2 · Ip 2 - - - ( 2 )
Ip 4 = Wp 4 · Lp 2 Lp 4 · Wp 2 · Ip 2 - - - ( 3 )
When the high level lasting time of tested pulse width signal PWM is Ton, charging voltage V on the capacitor C 11 C11For:
V C 11 = Ip 3 · Ton C 1 - - - ( 4 )
When the cycle of input signal PWM is T, charging voltage V on the capacitor C 22 C22For:
V C 22 = Ip 4 · T C 2 - - - ( 5 )
The coefficient that removes of supposing divider 3 is k ', and then the output voltage V oo of divider 3 is:
Voo = k ′ · V C 11 V C 22 - - - ( 6 )
After (2), (3) substitution (4), (5) formula, substitution again (6), put in order:
Voo = k ′ · V C 11 V C 22 = k ′ · Wp 3 Lp 3 · Lp 4 Wp 4 · C 2 C 1 · Ton T - - - ( 7 )
Order:
k = k ′ · Wp 3 Lp 3 · Lp 4 Wp 4 · C 2 C 1 D=Ton/T
Then formula (7) is reduced to:
Voo = k · Ton T = k · D
The calculation of capacity of charging capacitor C11, C22 that this is routine is as follows:
If image current Ip3, Ip4 are 2uA, still being that 20us is an example by the one-period T of lateral vein bandwidth signals, and the charging peak value of hypothesis C22 is 4V, then
C22=I×T/U=2u*20u/4=10pf
From aforementioned calculation as can be seen, the charge and discharge capacitor C 22 of this detector maximum is littler 1000 times than the charge and discharge capacitor C 1 of above-mentioned conventional detector.
This be since two kinds to detect thinkings different, traditional method electric capacity is in order to filter ripple, therefore to be the bigger the better, and electric capacity of the present utility model is in order to obtain charging peak value, so electric capacity does not need so big.

Claims (2)

1. pulse width signal duty factor detector is characterized in that:
A, has a current source mirror image circuit (1) that the two-way charging current can be provided;
B, has a capacitor charge and discharge circuit (2), this capacitor charge and discharge circuit is by the charging paths and second electric capacity (C22) charging paths of first electric capacity (C11), these two charging paths are connected on respectively on two current output terminals of described current source mirror image circuit, on the charging paths of described first electric capacity, be connected in series one electronic switch K3, be used to control the charging of first electric capacity, the input of the control end of this electronic switch K3 and tested pulse width signal (PWM) joins, on described first electric capacity (C11) and second electric capacity (C22), be respectively equipped with a bypass discharge paths, and on these two bypass discharge paths, respectively be connected in series an electronic switch K1, K2 is used for controlling respectively first electric capacity and second capacitance discharges;
C, have a divider (3), the charging positive pole of described first, second electric capacity (C11, C22) joins with two inputs of this divider (3) respectively, and the output of described divider is drawn for detecting output;
D, has the rising edge testing circuit (4) of a pulse width signal, the input of the input of this rising edge testing circuit and tested pulse width signal (PWM) joins, its output respectively with first electric capacity and the second capacitive bypass discharge paths on electronic switch K1, the control end of K2 join.
2. pulse width signal duty factor detector according to claim 1, it is characterized in that: PMOS transistor (MP1) and nmos pass transistor (MN1) that the rising edge testing circuit of described pulse width signal is connected by push-pull type, a current source (Id), an electric capacity (C33), a hysteresis comparator (X1), a reverser (X2) and one connect and compose with door (X3), the control utmost point of described PMOS transistor (MP1) and nmos pass transistor (MN1) joins as the signal input part of this rising edge testing circuit and the input of tested pulse width signal (PWM), described current source (Id) is serially connected on the source electrode of nmos pass transistor (MN1), described electric capacity (C33) is connected in parallel on the drain electrode of PMOS transistor (MP1) and nmos pass transistor (MN1) and with reference between the ground, the positive pole of described electric capacity (C33) links to each other with the input of hysteresis comparator (X1), the output of described hysteresis comparator (X1) passes through not gate (X2) and links to each other with an input of door (X3), described another input and the input of tested pulse width signal (PWM) with door (X3) joins, the output of described and door (X3) as the output of rising edge testing circuit respectively with the middle electronic switch K1 of charge-discharge circuit (2), the control end of K2 joins.
CN200920035064XU 2009-10-16 2009-10-16 Pulse-width signal duty ratio detector Expired - Lifetime CN201528321U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200920035064XU CN201528321U (en) 2009-10-16 2009-10-16 Pulse-width signal duty ratio detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200920035064XU CN201528321U (en) 2009-10-16 2009-10-16 Pulse-width signal duty ratio detector

Publications (1)

Publication Number Publication Date
CN201528321U true CN201528321U (en) 2010-07-14

Family

ID=42519603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200920035064XU Expired - Lifetime CN201528321U (en) 2009-10-16 2009-10-16 Pulse-width signal duty ratio detector

Country Status (1)

Country Link
CN (1) CN201528321U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101696996B (en) * 2009-10-16 2012-02-15 西安英洛华微电子有限公司 Pulse width signal duty factor detector
CN103187952A (en) * 2011-12-30 2013-07-03 北京中电华大电子设计有限责任公司 High-frequency clock duty-ratio test circuit
CN106330151A (en) * 2015-07-01 2017-01-11 佛山市顺德区美的电热电器制造有限公司 IGBT transistor driving circuit
CN109412581A (en) * 2017-08-18 2019-03-01 杭州晶华微电子有限公司 A kind of clock failure of oscillation detection circuit
CN114424071A (en) * 2019-07-26 2022-04-29 艾尔多股份有限公司 Electronic monitoring circuit for detecting changes in power or current absorbed by at least one electronic circuit to be tested and electronic system for testing the operation of at least one electronic circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101696996B (en) * 2009-10-16 2012-02-15 西安英洛华微电子有限公司 Pulse width signal duty factor detector
CN103187952A (en) * 2011-12-30 2013-07-03 北京中电华大电子设计有限责任公司 High-frequency clock duty-ratio test circuit
CN106330151A (en) * 2015-07-01 2017-01-11 佛山市顺德区美的电热电器制造有限公司 IGBT transistor driving circuit
CN109412581A (en) * 2017-08-18 2019-03-01 杭州晶华微电子有限公司 A kind of clock failure of oscillation detection circuit
CN114424071A (en) * 2019-07-26 2022-04-29 艾尔多股份有限公司 Electronic monitoring circuit for detecting changes in power or current absorbed by at least one electronic circuit to be tested and electronic system for testing the operation of at least one electronic circuit

Similar Documents

Publication Publication Date Title
CN101696996B (en) Pulse width signal duty factor detector
CN201528321U (en) Pulse-width signal duty ratio detector
CN205015388U (en) Controllable formula low -voltage detection chip and power management chip delay
CN100574034C (en) A kind of output voltage state indicator that is used for switching power source chip
CN101510721B (en) Single inductance switch DC voltage converter and three mode control method
CN107659151A (en) Buck load current detection circuits and method without external sampling resistance
CN103063979B (en) Load open-circuit detection circuit
CN107677964B (en) A kind of New energy automobile motor battery analog detection method
CN206962700U (en) Buck converter load current detection circuits without external sampling resistance
CN105375798A (en) Self-adaptive sampling circuit, primary side feedback constant voltage system and switching power supply system
CN106124842B (en) A kind of the low current detection circuit and method of mobile power source
CN101207333A (en) Switch power supply and control method with awaiting orders mode thereof
CN106645893A (en) Charge pump and voltage detection circuit thereof
CN103633974A (en) Power-on reset circuit with fixed resistance-capacitance time delay characteristic
CN103604975B (en) Anti-interference low-voltage detection circuit
CN205015387U (en) Anti -interference low -voltage detection chip
CN106100293A (en) It is applied to current detection circuit and the piezoelectric rectifier of piezoelectric rectifier
CN104333062B (en) The charging circuit of current detecting can be charged
CN103760491B (en) Digital accumulator electric quantity monitoring method and device
CN104518646B (en) Controller for adjusting output voltage of power converter
CN116068274A (en) Insulation detection circuit and detection method of photovoltaic inverter
CN201541361U (en) Peak current control circuit, booster circuit and LED driver
CN109581031B (en) A kind of multi-functional multi gear position current detection circuit and method
CN104269898A (en) Charging unit of super capacitor
CN110109501A (en) Load jump fast response circuit and fast response method

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned

Granted publication date: 20100714

Effective date of abandoning: 20091016