CN206235820U - A kind of control device of real-time detection square-wave signal dutycycle - Google Patents
A kind of control device of real-time detection square-wave signal dutycycle Download PDFInfo
- Publication number
- CN206235820U CN206235820U CN201621224210.XU CN201621224210U CN206235820U CN 206235820 U CN206235820 U CN 206235820U CN 201621224210 U CN201621224210 U CN 201621224210U CN 206235820 U CN206235820 U CN 206235820U
- Authority
- CN
- China
- Prior art keywords
- signal
- counter
- dutycycle
- real
- wave signal
- 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 - Fee Related
Links
Landscapes
- Feedback Control In General (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
The utility model discloses a kind of control device of real-time detection square-wave signal dutycycle, it includes counter, measured signal is connected with counter Vin ends, reference clock signal is connected with counter Clk ends, counter M ends and N-terminal are connected with the M ends of divider and N-terminal respectively, divider Dc ends output duty cycle signal;The detection circuit for solving the dutycycle detection use of prior art square-wave signal is relatively complicated, high cost, poor reliability;The technical problems such as the realtime control difference to data signal, magnetic valve or sensor and device for power switching etc. are realized by duty cycle signals.
Description
Technical field
The utility model belongs to signal detection technique field, more particularly to a kind of real-time detection square-wave signal dutycycle
Control device.
Background technology
In digital display circuit or numerical model analysis system, the dutycycle of square-wave signal often be used to judging signal condition,
Automatically control, reflect its dependent variable etc. indirectly.For example, in digital communication, the dutycycle of pulse signal reflects holding for signal
The continuous time;In automobile electronic system, duty cycle signals can be used to control magnetic valve or sensor;In power switch converter
In, the dutycycle of PWM (Pulse Width Modulation, pulse width modulation) signal is usually used in control input to output
Transformation, the load condition of system also can be indirectly reflected in some occasions.Dutycycle detection has analog- and digital- two kinds of basic skills,
Testing result need to be digitized display by analog detecting method by analog-digital converter.Digital measuring side common at present
Method is had and is detected using single-chip microcomputer, charge pump, phaselocked loop etc., and detection circuit is relatively complicated, complicated circuit structure certainty
The problems such as causing poor reliability, high cost.And to be realized to data signal, magnetic valve or sensor, work(by square-wave signal
The control of rate switching device etc., in addition it is also necessary to the module such as compare and control.Current control method is typically after dutycycle is detected
Next cycle be just controlled, real-time is poor.
Utility model content:
The technical problems to be solved in the utility model:A kind of control dress of real-time detection square-wave signal dutycycle is provided
Put, detect that the detection circuit for using is relatively complicated with the dutycycle for solving prior art square-wave signal, high cost, reliability
Difference;It is poor to the realtime control of data signal, magnetic valve or sensor and device for power switching etc. to be realized by duty cycle signals
Etc. technical problem.
Technical solutions of the utility model:
A kind of control device of real-time detection square-wave signal dutycycle, it includes counter, measured signal and counter
Vin ends connect, and reference clock signal is connected with counter Clk ends, counter M ends and N-terminal respectively with the M ends of divider and N-terminal
Connection, divider Dc ends output duty cycle signal.
Divider Dc ends are connected with comparator Dc ends, and reference signal is connected with comparator reference signal input part, comparator
Output end R output control signals.
The beneficial effects of the utility model:
Operation principle of the present utility model is:A reference clock signal clk is determined first, is low level in measured signal
When it is sampled with reference signal, the dutycycle of square-wave signal is obtained by divider, the dutyfactor value and benchmark that will be obtained
Value compares, and a control signal is exported according to comparative result in measured signal saltus step to high level, after the control signal passes through
Continuous control module can be used for digital signal detection with control, magnetic valve or sensor control, the combination control of switch arrays, intelligence
The fields such as energy power model;Adopt in such a way so that control signal is exported within the same cycle, to follow-up control mould
Block is controlled, and improves the real-time of control.
The utility model compared with prior art, with advantages below:
The utility model detects dutycycle and is compared with reference signal, controls to believe in high level output using low level
Number, do not influence so to export the working condition of branch road, sampling difficulty is reduced, real-time detection and control can be realized again.This reality
Dutycycle is detected with new direct use digital circuit, so structure of the detecting device is simple, accuracy of detection is adjustable and high precision, institute
Obtain result and can be directly used for follow-up control, solve the detection circuit that the dutycycle detection of prior art square-wave signal is used
It is relatively complicated, high cost, poor reliability;Realized to data signal, magnetic valve or sensor and power by duty cycle signals
The technical problems such as the realtime control difference of switching device etc..
Brief description of the drawings:
Fig. 1 is the utility model structural representation.
In figure:Vin is measured signal, clock signal on the basis of clk, and rstn is reset signal, and M is one week of measured signal
Clock number in phase, N is measured signal low level clock number, and Dc is dutycycle, and R is the control signal of output, for controlling
Subsequent conditioning circuit v1, v2, v3.....vn processed etc..
Specific embodiment:
A kind of control device of real-time detection square-wave signal dutycycle, it includes counter, measured signal and counter
Vin ends connect, and reference clock signal is connected with counter Clk ends, counter M ends and N-terminal respectively with the M ends of divider and N-terminal
Connection, divider Dc ends output duty cycle signal.
Divider Dc ends are connected with comparator Dc ends, and reference signal is connected with comparator reference signal input part, comparator
Output end R output control signals.
A kind of implementation method of the control device of real-time detection square-wave signal dutycycle, it includes:
Step 1, counter detection Vin first five cycle duration are averaged and obtain a cycle clock number and be designated as M;
Step 1 clock on the basis of clk, in Vin trailing edges, to Vin, first five cycle duration is counted, so as to obtain M.
Step 2, counter detect the low duration in each cycle of Vin, and write down clock number N;Step 2 is first sentenced
Whether disconnected reset signal is high level, then judges whether Vin is low level, and meter is proceeded by when Vin signals are into low level
Number, as Vin for high level is off counting, so as to obtain N.
Step 3, when low level counting after the completion of, N values and M values are input to divider, be calculated dutycycle
It also includes:
Step 4, the dutycycle for obtaining step 3 are compared with pre-set reference signal;According to the knot for comparing
Really, corresponding control signal is exported in Vin signal rising edges, the control signal is input to different circuit control modules,
It is capable of achieving the control to data signal, magnetic valve or sensor, device for power switching etc..So as to reach low level detection, electricity high
The purpose of flat control.
The utility model is to ensure circuit stability reliably working in device simultaneously, to circuit there is provided reset function, in electricity
System is resetted during Lu Shang electricity, initialization counter, divider, comparator etc.;If there is excessively stream, excess temperature etc. in late-class circuit
Abnormal conditions, reseting controling end makes circuit return to state, reaches the purpose of protection circuit, multiple when rstn is low level
Position signal effectively, to dutycycle detection, compares and output module resets, system worked well when rstn is high level.
Claims (2)
1. a kind of control device of real-time detection square-wave signal dutycycle, it includes counter, it is characterised in that:Measured signal
Be connected with counter Vin ends, reference clock signal is connected with counter Clk ends, counter M ends and N-terminal respectively with the M of divider
End and N-terminal connection, divider Dc ends output duty cycle signal.
2. the control device of a kind of real-time detection square-wave signal dutycycle according to claim 1, it is characterised in that:Remove
Musical instruments used in a Buddhist or Taoist mass Dc ends are connected with comparator Dc ends, and reference signal is connected with comparator reference signal input part, comparator output terminal R outputs
Control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621224210.XU CN206235820U (en) | 2016-11-15 | 2016-11-15 | A kind of control device of real-time detection square-wave signal dutycycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621224210.XU CN206235820U (en) | 2016-11-15 | 2016-11-15 | A kind of control device of real-time detection square-wave signal dutycycle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206235820U true CN206235820U (en) | 2017-06-09 |
Family
ID=58990123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621224210.XU Expired - Fee Related CN206235820U (en) | 2016-11-15 | 2016-11-15 | A kind of control device of real-time detection square-wave signal dutycycle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206235820U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106444459A (en) * | 2016-11-15 | 2017-02-22 | 贵州大学 | Control apparatus for detecting duty ratio of rectangular wave signal in real time and realization method thereof |
-
2016
- 2016-11-15 CN CN201621224210.XU patent/CN206235820U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106444459A (en) * | 2016-11-15 | 2017-02-22 | 贵州大学 | Control apparatus for detecting duty ratio of rectangular wave signal in real time and realization method thereof |
CN106444459B (en) * | 2016-11-15 | 2023-04-28 | 贵州大学 | Control device for detecting duty ratio of rectangular wave signal in real time and implementation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203365558U (en) | Circuit and device for three-phase power open-phase detection | |
CN102035455B (en) | M/T speed measuring method for frequency converter | |
CN204556731U (en) | Internal resistance of cell measuring system | |
CN104349532B (en) | LED constant-current driver and LED constant current driving method | |
CN102393484A (en) | Device for detecting stability of current | |
CN109633246A (en) | Alternating current power failure detection method, apparatus and system | |
CN205562768U (en) | Equipment of battery resistance is measured to four terminals | |
CN206235820U (en) | A kind of control device of real-time detection square-wave signal dutycycle | |
CN2919261Y (en) | AC current and voltage measuring circuit adopting AC sampling | |
CN204575774U (en) | There is the programmable electronic load of direct current resistance measuring ability | |
CN104201948B (en) | Control device and method of position-free sensor of switched reluctance motor | |
CN201909812U (en) | Novel phase difference detection circuit | |
CN107462766B (en) | New method for detecting mains voltage and mains frequency and detection circuit | |
CN203310908U (en) | Electric energy detection device for air conditioner | |
CN209419518U (en) | A kind of novel brushless direct current motor sensorless control system | |
CN202041607U (en) | Three-phase AC open-phase and anti-phase detection circuit | |
CN112213557A (en) | Direct-current metering method for electric energy meter | |
CN106444459A (en) | Control apparatus for detecting duty ratio of rectangular wave signal in real time and realization method thereof | |
CN103018580B (en) | Method and device for detecting vector transformation of three-phase power phase sequence | |
CN201732110U (en) | Multimeter | |
CN114878903A (en) | Detection circuit based on zero-crossing detection discrimination method and electric energy meter wrong wiring detector | |
Wang et al. | Measuring energy meter of three-phase electricity-stealing defense system | |
CN210775646U (en) | Load test system | |
CN208654223U (en) | A kind of underpressure pulses output circuit of band sluggishness | |
CN206192942U (en) | Little water wide range coulometer summation circuit for appearance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170609 Termination date: 20171115 |
|
CF01 | Termination of patent right due to non-payment of annual fee |