CN205720567U - For detecting the equipment of the state of switch - Google Patents
For detecting the equipment of the state of switch Download PDFInfo
- Publication number
- CN205720567U CN205720567U CN201620181263.1U CN201620181263U CN205720567U CN 205720567 U CN205720567 U CN 205720567U CN 201620181263 U CN201620181263 U CN 201620181263U CN 205720567 U CN205720567 U CN 205720567U
- Authority
- CN
- China
- Prior art keywords
- signal
- switch
- equipment
- state
- generate
- 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
Links
Landscapes
- Electronic Switches (AREA)
Abstract
Embodiment of the disclosure the equipment of the state relating to detection switch.This equipment being used for detecting the state of switch includes: transformator, and the primary side winding of described transformator is electrically coupled to described switch;And trigger, it is electrically coupled to the vice-side winding of described transformator, and is configured in response to trigger signal, generate the response signal being associated with the on off state of described switch.This equipment also includes controller, is configured to generate described triggering signal, and based on described response signal, generates the state of switch signal representing described switch.
Description
Technical field
Embodiment of the disclosure and relate to field of power detection, and more particularly relate to detection
The equipment of the state of switch.
Background technology
In field of power detection, it usually needs determine various switch (the wettest Node Switch)
State.Such as, for chopper, it may be necessary to determine the states such as OF, SD.
Ordinary tap condition detection method and equipment generally use photo-coupler by measured switch with
Isolate between testing circuit.But, this method typically requires connects with measured switch
Resistor, in order to detect.Resistor would generally produce bigger power consumption, and changes into
Heat performance and the operation of equipment are adversely affected.Additionally, conventional method also has other
Problems, such as, are unfavorable for the detection (such as, the situation of SD state) of wide-voltage range,
The switching signal of interlocking cannot detect simultaneously, and detection speed is slow, and low-response consumes ADC end
Mouthful, consume cpu resource etc..
Utility model content
Embodiment of the disclosure and aim to provide the equipment solving the problems referred to above at least in part.
According to embodiment of the disclosure, it is provided that the equipment of a kind of state for detecting switch,
Including: transformator, the primary side winding of described transformator is electrically coupled to described switch;And touch
Send out device, be electrically coupled to the vice-side winding of described transformator, and be configured in response to trigger
Signal, generates the response signal being associated with the on off state of described switch.Described equipment also wraps
Include controller, be configured to generate described triggering signal, and based on described response signal, raw
Become to represent the state of switch signal of described switch.
In certain embodiments, described equipment also includes comparator, is configured to described response
Signal and threshold signal compare with generating quantification signal;And wherein said controller joined
It is set to, based on described quantized signal, generate the state of switch signal representing described switch.
In certain embodiments, described equipment also includes threshold generator, is configured to generate institute
State threshold signal.
In certain embodiments, described threshold generator is configured so that described threshold signal rings
Ying Yu is adjusted from the control signal of described controller.
In certain embodiments, described controller is further configured to: within a predetermined period of time,
Described quantized signal is received from described comparator, to generate numeral letter according to predetermined time interval
Number;Each value in described digital signal is added up, to generate count value;And by institute
State count value to compare with threshold value, to generate described in the on off state representing described switch
Switching signal.
In certain embodiments, described transformator includes pulse transformer.
In certain embodiments, described trigger includes triggering switch, and the described switch that triggers is joined
It is set to close in response to described triggering signal, to generate described response signal.
In certain embodiments, described controller includes micro controller unit.
In certain embodiments, described triggering signal includes pulse-width signal.
Embodiment of the disclosure and can reduce power consumption, and it is little to generate heat, it is to avoid the problem of temperature rise.
Additionally, some embodiments can also be without using ADC port, and only use GPIO port i.e.
Can, detection speed is fast, and the Key dithering time can significantly reduce.Additionally, some embodiments are the most more
Add saving cpu resource, and some embodiments can carry out multi-way detecting, reduces example simultaneously
The taking of port such as micro controller unit (MCU).
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the disclosure, constitutes the application
A part, the schematic description and description of the disclosure is used for explaining the disclosure, not structure
Become improper restriction of this disclosure, wherein:
Fig. 1 shows according to the detection equipment that embodiment of the disclosure and application scenarios thereof;
Fig. 2 shows the flow process of the method according to the determination on off state that embodiment of the disclosure
Figure;
Fig. 3 shows the circuit diagram according to the detection equipment that embodiment of the disclosure;And
Fig. 4 shows the simulation curve of the signal in the detection equipment of the embodiment shown in Fig. 3;
And
Fig. 5 shows the simulation curve of the signal in the detection equipment of the embodiment shown in Fig. 3.
Detailed description of the invention
Some illustrative embodiments shown in below with reference to the accompanying drawings describe the disclosure
Principle and spirit.Should be appreciated that these embodiments of description are only used to make art technology
Personnel better understood when and then realize the disclosure, and limits the disclosure the most by any way
Scope.
Fig. 1 shows according to the detection equipment 10 that embodiment of the disclosure and application scenarios thereof.
As it is shown in figure 1, load 1 is supplied by power supply (such as, AC power supplies) by chopper 2
Electricity.Detection equipment 10 can be connected with the switch in chopper 2, to determine the state of switch,
Thus the states such as OF, SD, SDE are detected.
Replace conventional resistive dividing potential drop detection mode by transformator, greatly reduce power consumption, and
Reduce the caloric value of equipment, decrease the cost of equipment, add the ruggedness of equipment.
In certain embodiments, transformator 3 can be pulse transformer.With conventional transformer phase
Ratio, pulse transformer is more applicable for transient process (also referred to as transient process), with response letter
Number detection more compatible.
Detection equipment 10 includes transformator 3, as by shown in two dotted lines, and the former limit of transformator 3
Winding can be connected to the switch ends in chopper 2.Additionally, detection equipment 10 also includes
Trigger 4, it is electrically coupled to the vice-side winding of transformator 3.Trigger 4 can be from control
Device 6 receives and triggers signal, and generates response signal in response to triggering signal.Real at some
Executing in example, trigger 4 can include triggering switch, and it closes in response to triggering signal, from
And generate response signal.
Response signal is time dependent transient signal, its response speed and switch to be detected
On off state is associated.Therefore, controller 6 can be by time dependent to response signal
Analyze, determine the on off state of measured switch, be i.e. on or off.Such as, open to be measured
In the case of pass is in open state, response signal change over time is the slowest;On the contrary,
In the case of measured switch is in off status, response signal change over time is the most fast
Speed.
In certain embodiments, controller 6 can be micro controller unit (MCU) etc., its
Can generate triggering signal, triggering signal can be pulsewidth modulation (PWM) signal etc..
Additionally, in order to detect response signal more easily and alleviate the resource occupation of controller 5
(such as, reducing the operand of CPU), it is also possible to response signal from analog amount is converted into
Digital quantity, to generate digital signal.Generally, come by analogue-to-digital converters (ADC)
Complete this operation.ADC generally by analogue signal being sampled successively, quantifies thus
Generate digital signal.But, there is passage and take, cannot be carried out Width funtion in the use of ADC
The problems such as range detection.
Alternatively, detection equipment 10 also includes comparator 5, and comparator 5 is by described response signal
Comparing with threshold signal, with generating quantification signal, then, controller 6 is based on this quantization
Signal determines the state of switch.Quantized signal is binary signal, i.e. has high and low two letters
Number level.Therefore, the quantized signal obtained by response signal is after comparator 5 is similar to
Step signal.By the analysis to quantized signal, can more easily determine declining of response signal
Deceleration, so that it is determined that on off state.
Owing to avoiding the use of ADC, thus solve ADC channel and take, cannot be carried out
The problem of wide-voltage range detection.
Alternatively, detection equipment 10 also includes threshold generator 7, is used for generating for comparator
The threshold signal of 5.Threshold generator 7 can receive the control signal from controller 5, with
The numerical value of threshold signal is adjusted according to control signal.Owing to the value of threshold signal can be by control
Device processed adjusts, and therefore detection equipment 10 can the detection of the most adaptive various switches.
In order to preferably detect on off state, alleviate the resource occupation (example of controller 6 further
As, reduce the operand of CPU), in certain embodiments, controller 6 is in the scheduled time
In section, receive quantized signal according to predetermined time interval from comparator 5, thus by quantized signal
Discretization, generates digital signal, and such as, the time series of low and high level (is similar to 0 and 1
Time series).Then, controller 6 can to each value in digital signal (such as,
The sequence of 0 and 1) add up, to generate count value.Finally, controller 6 can will be counted
Numerical value compares with threshold value, thus generates switching signal.
Thus, it is possible to find out, the method realizes the quantizing process of analogue signal by comparator,
And then realized the discretization process of quantized signal by controller, thus obtain numeral letter
Number, this with the analog-digital conversion of ADC during the complete phase of step of the discrete re-quantization of elder generation
Instead.
In the case of PWM is as triggering signal, predetermined amount of time can be less than an arteries and veins
Rushing the appropriate time value in time span, this can be configured according to specific needs.Additionally,
Threshold value can also be configured according to specific needs.The setting of these parameters makes quantized signal
Step point be in the proper range of predetermined amount of time, otherwise may cause the meter finally given
Numerical value is excessive, or too small, thus compares with corresponding larger or smaller threshold value so that
Computation complexity and precision all may reduce.
Fig. 2 shows the detailed of the method 200 according to the determination on off state that embodiment of the disclosure
Thin flow chart.As in figure 2 it is shown, the method can be implemented by the controller 6 in Fig. 1.?
In some embodiments, the method is implemented by firmware in the controller.
Method 200 after the start at step 201, generates in step 202 and triggers signal, trigger
Signal is sent to trigger (such as, the trigger 4 in Fig. 1).In such as Fig. 1
Circuit arrangement, creates quantized signal.In step 203, detection is connected to the port of comparator
State, i.e. detect correspondence quantized signal.In the case of controller is MCU, this end
Mouth can be Capture port.In step 204, determine the state of this port, such as, be
High level or low level.If low level, then advance to step 205, count value-1,
Otherwise advance to step 206, count value+1.Then, step 207 is advanced to, it may be judged whether
Reach predetermined amount of time.If it has not, then return step 204, with between the scheduled time
Every continuing counting.If having reached predetermined amount of time, then advance to step 208, it is judged that counting
Whether value is more than predetermined threshold, if it is, judge to switch as closure state in step 209.
Otherwise judge to switch as off-state in step 210.
It is alternatively possible to save step 205 or save step 206, or it is modified.
Such as, in the case of saving step 205, when port status is high level, advance to step
Rapid 206, when port status is low level, to count value without modification.The most also may be used
To arrange respective threshold, compare with final count value.
Further alternatively, dead band can be set, such as, two threshold values are set, wherein first
Threshold value is more than Second Threshold.If count value is more than first threshold, then it is assumed that switch is Guan Bi,
If count value is less than Second Threshold, then it is assumed that switch is off.And if count value is in
Between first threshold and Second Threshold, i.e. it is in dead band, then may need further to judge
Just can determine that the state of switch.The benefit of this design is can to prevent erroneous judgement etc. further
Situation.
In certain embodiments, after step 201, predetermined amount of time can be configured,
Predetermined time interval can also be configured, to facilitate subsequent treatment.
Method shown in Fig. 2 is very simple effectively, it is possible to simplifies the processing procedure of controller, carries
Hand over computational efficiency, be used for quickly detecting.Additionally, this method is due at different reception
Signal, therefore, it can carry out multi-way detecting simultaneously, saves controller (such as, MCU)
The taking of port.
Fig. 3 shows the detailed circuit diagram according to the detection equipment that embodiment of the disclosure.Such as figure
Shown in 3, U1 is the switch in chopper, and it may indicate that the states such as OF, SD.L2 and
L1 is respectively primary side winding and the vice-side winding of transformator, the leakage inductance of L3 indication transformer.Open
Close the composition triggers such as U3, diode D1, resistor R1 and R4.Switch U3 receives and touches
Signal, and close in response to receiving triggering signal.Triggering signal can be PWM
Signal.After switch U3 Guan Bi, just producing response signal, response signal is provided to compare
The reversed input terminal of device U4 (-).Response signal is carried out by comparator U4 with threshold signal
Compare, thus generating quantification signal.As it is shown on figure 3, non-at comparator U4 of threshold signal
Comparator U2 it is supplied at reversed input terminal.Adjustable voltage benchmark U5, resistor R5 and
R6 etc. form threshold generator, for providing threshold signal to comparator U4.Adjustable voltage base
Quasi-U5 can receive control signal from controller, to adjust threshold signal to be generated.Such as figure
Shown in, adjustable voltage benchmark U5 can be TL431 type voltage reference.
The output of comparator U4 is alternatively coupled to controller, and controller can be according to shown in Fig. 2
Method detect the state of switch.
Fig. 4-Fig. 5 shows the simulation result of the circuit shown in Fig. 3, and wherein Fig. 4 shows out
Closing response signal, threshold signal and quantized signal when being in closure state, Fig. 5 shows out
Close response signal, threshold signal and quantized signal when being off.These three signal divides
It is not taken from three shown in Fig. 3 pin (expression probe) place.In Fig. 4-Fig. 5
In each accompanying drawing, the step signal in upper figure is quantized signal, and it is the ratio of circuit of Fig. 3
The relatively output of device U4.The signal of the substantial constant in figure below is threshold signal, and its numerical value exists
Between 4-5V, this is the signal obtained at the non-inverting input of comparator.Wink in figure below
Varying signal is in response to signal, and it is the signal obtained at the vice-side winding of transformator.
Response signal in Fig. 4 is fast-response signal, has a shorter die-away time, and Fig. 5
In response signal be slow-response signal, there is longer die-away time.Therefore, it practice,
By the on off state that more i.e. may determine that switch of die-away time.But, it is generally the case that
Analogue signal is processed and is typically inconvenient or poor efficiency.Therefore, in order to improve performance,
Reduce the resource occupation of controller, by comparator, analogue signal is converted into quantized signal, example
As above the step signal in figure.If quantized signal is acquired according to the time, counts, then
Can compare with predetermined threshold more easily, so that it is determined that on off state.
In the example of Fig. 4-Fig. 5, it is assumed that the predetermined amount of time of controller sampling is 100 microseconds,
The i.e. length of whole transverse axis in figure, and assume that sampling predetermined time interval is 1 microsecond.Permissible
Finding out, the quantized signal in Fig. 4 is low level at 1-13 microseconds, and at 13-100
Microseconds is high level.Thus, count value is 87-13=74.It is likewise possible to calculate,
Count value corresponding to quantized signal in Fig. 5 is 19-91=-72.If setting a threshold to 0,
Judge the state of switch the most easily.
It will be appreciated by those skilled in the art that and combine the various theorys that example disclosed herein describes
Bright property logical block (such as, controller) can use be designed to perform described herein
The general processor of function, digital signal processor (DSP), special IC (ASIC),
Field programmable gate array (FPGA) or other programmable logic units, discrete door or
Transistor logic, discrete hardware component or its combination in any realize or perform.One
In individual or multiple exemplary embodiment, described function can use hardware, software, firmware or
Its combination in any realizes.
There is provided the description of disclosed exemplary embodiment so that those skilled in the art's energy
Enough make or use this utility model.Those skilled in the art will be apparent from these exemplary realities
Execute the various amendments of example, and generic principles defined herein can apply to other and implements
Example is without departing from spirit and scope of the present utility model.Therefore, this utility model is not intended to
It is limited to herein shown exemplary embodiment, but is endowed former with disclosed herein
Manage the widest range consistent with novel feature.
Claims (9)
1. the equipment being used for detecting the state of switch, it is characterised in that described equipment bag
Include:
Transformator, the primary side winding of described transformator is electrically coupled to described switch;
Trigger, is electrically coupled to the vice-side winding of described transformator, and is configured to respond to
In triggering signal, generate the response signal being associated with the on off state of described switch;And
Controller, is configured to generate described triggering signal, and based on described response signal,
Generate the state of switch signal representing described switch.
Equipment the most according to claim 1, it is characterised in that described equipment also includes
Comparator, is configured to compare described response signal and threshold signal believe with generating quantification
Number;And
Wherein said controller is configured to, based on described quantized signal, generate and represent described switch
State of switch signal.
Equipment the most according to claim 2, it is characterised in that described equipment also includes
Threshold generator, is configured to generate described threshold signal.
Equipment the most according to claim 3, it is characterised in that described threshold generator
Be configured so that described threshold signal in response to the control signal from described controller quilt
Adjust.
Equipment the most according to claim 2, it is characterised in that described controller is entered
One step is configured to:
Within a predetermined period of time, described quantization is received according to predetermined time interval from described comparator
Signal, to generate digital signal;
Each value in described digital signal is added up, to generate count value;And
Described count value is compared with threshold value, to generate the switch shape representing described switch
The described switching signal of state.
Equipment the most according to claim 1, it is characterised in that described transformator includes
Pulse transformer.
Equipment the most according to claim 1, it is characterised in that described trigger includes
Triggering switch, described triggering switch is configured in response to described triggering signal and closes, with life
Become described response signal.
Equipment the most according to claim 1, it is characterised in that described controller includes
Micro controller unit.
Equipment the most according to claim 1, it is characterised in that described triggering signal packet
Include pulse-width signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620181263.1U CN205720567U (en) | 2016-03-10 | 2016-03-10 | For detecting the equipment of the state of switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620181263.1U CN205720567U (en) | 2016-03-10 | 2016-03-10 | For detecting the equipment of the state of switch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205720567U true CN205720567U (en) | 2016-11-23 |
Family
ID=57334536
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620181263.1U Active CN205720567U (en) | 2016-03-10 | 2016-03-10 | For detecting the equipment of the state of switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205720567U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107179496A (en) * | 2016-03-10 | 2017-09-19 | 施耐德电气工业公司 | Method and apparatus for the state of detection switch |
-
2016
- 2016-03-10 CN CN201620181263.1U patent/CN205720567U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107179496A (en) * | 2016-03-10 | 2017-09-19 | 施耐德电气工业公司 | Method and apparatus for the state of detection switch |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103746566B (en) | Primary side controlled switching power supply and control method thereof | |
US9444441B2 (en) | Zero-crossing detection circuit and method for synchronous step-down converter | |
CN101640477B (en) | Voltage regulating circuit for limiting average input current and current limiting method thereof | |
US9036385B2 (en) | Power supply, power management device applied to a power supply, and method for performing brown-out protection and overheat protection of a power management device | |
US9755421B2 (en) | Control circuit applied to a power converter and operation method thereof | |
CN101594048A (en) | A kind of PWM type buck converter with overcurrent protection function | |
US10707842B2 (en) | Pulse width modulation technique with time-ratio duty cycle computation | |
CN103415120B (en) | Power source management driving chip and application circuit thereof | |
IT201800004743A1 (en) | SYNCHRONOUS RECTIFIER CIRCUIT, CORRESPONDING DEVICE AND PROCEDURE | |
CN205249038U (en) | Drive and control circuit and switching power supply | |
CN104201887A (en) | Zero crossing regulating circuit and zero crossing regulating method of buck converter | |
CN103560783A (en) | Digital event generator, comparator, switched mode energy converter and method | |
CN205720567U (en) | For detecting the equipment of the state of switch | |
US20180191249A1 (en) | Switching regulator | |
CN107367700B (en) | Detection circuit and detection method of LED switching power supply | |
TW201514649A (en) | Controller for adjusting an output voltage of a power converter and related method thereof | |
KR910019302A (en) | Charging device | |
CN105467333A (en) | Switching power supply no-load detection circuit and detection method | |
CN107179496A (en) | Method and apparatus for the state of detection switch | |
CN204694767U (en) | A kind of Width funtion low-power consumption two-way zero-crossing testing circuit | |
CN207408504U (en) | A kind of load detecting circuit and electronic equipment | |
US10103635B2 (en) | Buck-boost controller achieving high power factor and valley switching | |
CN104980019A (en) | Power converter and driving method for the same | |
CN213094077U (en) | Synchronous rectification control circuit and flyback switching power supply | |
CN103280970A (en) | Quasi-average current control circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |