A kind of digital isolated electrical net detect device
Technical field
The present invention relates to integrated circuit fields, be specifically related to a kind of digital isolated electrical net detect device.
Background technology
Along with the development of power technology, in electric system, communication system, use the power-supply device such as Switching Power Supply, UPS more and more widely.These equipment will detect voltage, the current signal of main circuit bar none.Testing circuit is the interface of main circuit and control circuit, is the requisite important component part of power-supply device.
First, existing electrical net detect device lacks necessary input filter circuit.When accessing electrical network, incoming wave own frequency has low frequency, one or more characteristics such as high frequency, should test one by one for the incoming wave under each spectral characteristic, and existing electrical net detect device only has low-pass characteristic, cannot detect when incoming wave only has medium, high frequency; Incoming wave is a large amount of disorderly clutter incidentally, has a strong impact on accuracy of detection and the linearity; Secondly, light emitting diode and photodiode optocoupler, its transmission precision is limited and greatly limited to sensors work frequency; Light emitting diode is easily aging, affects the detecting device life-span.In addition, existing electrical network detector, require the optocoupler unit that one group of optocoupler characteristic is extremely similar, technological requirement is high, and technology is difficult to realize.
Summary of the invention
For above-mentioned prior art, the object of the invention is to provide a kind of digital isolated electrical net detect device, and it is limited that it is intended to solve existing electrical net detect device frequency of operation, there is clutter crosstalk, luminotron is easily aging, and manufacture craft requires too high, and precision is limited and do not have the technical matterss such as versatility.
For achieving the above object, the technical solution used in the present invention is as follows:
A kind of digital isolated electrical net detect device, comprises the filtering circuit connected successively, has adjustable filtering operation frequency; Input operational amplification circuit, has high-speed figure conversion efficiency and input enlarging function; Digital isolator, has the function of insulation blocking, noise reduction reduction; Export operational amplification circuit, there is output enlarging function.
In such scheme, described filtering circuit, comprises low-pass filter: the first resistance, the first tunable capacitor, and one end of the first tunable capacitor connects the first resistance, other end ground connection; Hi-pass filter: the second resistance, the second tunable capacitor, one end of the second tunable capacitor connects the first resistance, and the other end connects the second resistance; Also comprise the voltage follower with anti-phase closed loop: output terminal connects the output terminal of low-pass filter, and output terminal also connects in-phase input end, and inverting input is connected with the output terminal of Hi-pass filter; Low-pass filter and Hi-pass filter series connection.Filtering circuit has low-pass filter, the Hi-pass filter of tunable capacitor, makes frequency filtering adjustable, and frequency spectrums of operation covers low frequency, intermediate frequency, high frequency, and duration of work frequency filtering has single characteristic; Incoming wave voltage, current detecting environment under single spectral characteristic are provided; Possesses the function detecting different frequency incoming wave, General Promotion electrical net detect device frequency spectrums of operation scope; The clutter of filtering and frequency filtering different characteristics; Precision and versatility significantly promote.
In such scheme, described input operational amplification circuit, comprises the first operational amplifier: in-phase input end connects the output terminal of filtering circuit, and inverting input is connected to feedback; Also comprise analog to digital converter: input end connects the output terminal of the first operational amplifier.Incoming wave characteristic is amplified.
In such scheme, described digital isolator, comprises coil component: the output terminal of a winding switching analog to digital converter; Noise reduction element: the Secondary Winding of input end connecting coil device; Digital to analog converter: input end connects the output terminal of noise reduction element.Described noise reduction element, comprises output loop: the Secondary Winding of the coil component of series connection, the first switch, second switch, Schmidt trigger; Noise for short-circuited coil device Secondary Winding blocks loop: three switch in parallel with coil component Secondary Winding, the 4th switch of connecting with the 3rd switch; Also comprise the input feedback timing unit of gauge tap conducting and disconnection.Realize isolation; Input feedback timing unit has the function of each switch that is automatically turned on or off, its control inputs ON time, thus blocks transition waveform, leaches afterbody noise, intercepts out effective waveform; Schmidt trigger has and carries out the function of output waveform reconstruction to the transition waveform after noise reduces, realize complete, accurate, export reliably.
In such scheme, described input feedback timing unit, comprises the first comparer: the Secondary Winding of high level end connecting coil device, and low level end connects divider resistance; Second comparer: high level end connects divider resistance and the Secondary Winding of low level end connecting coil device; Rest-set flip-flop: S holds the output terminal of connection first comparer and the output terminal of R end connection second comparer; For controlling the monostalbe trigger of the first switch, second switch: input end connects rest-set flip-flop Q end; For controlling the phase inverter of the 3rd switch, the 4th switch: input end connects the output terminal of monostalbe trigger.Rest-set flip-flop, the first comparer, the second comparer and monostalbe trigger have input synchronization timing function, and monostalbe trigger, by controlling each switch conduction or disconnection, realizes the input conducting of coil component Secondary Winding and short circuit.After isolation, waveform is not by any capacitor and inductor filtering circuit, blocks from the noise perturbation of inductance loop seclusion to waveform generation, maximally ensures detected ripple primary characteristic.
In such scheme, described output operational amplification circuit, comprise second operational amplifier with anti-phase closed loop, in-phase input end is connected with digital to analog converter output terminal, and the output port exporting operational amplification circuit comprises the output terminal of the second operational amplifier.Incoming wave characteristic secondary amplifies and exports, and number, mode convertion weaken clutter perturbation, improves output accuracy.
Accompanying drawing explanation
Fig. 1 is schematic block circuit diagram of the present invention;
Fig. 2 is physical circuit figure of the present invention;
Fig. 3 is existing electrical net detect device circuit diagram;
In figure: IN_GRID-electrical network accesses, OUT_FLAG-output token, 1-filtering circuit, 2-inputs operational amplification circuit, 3-digital isolator, 4-exports operational amplification circuit, 5-low-pass filter, 6-Hi-pass filter, 7-voltage follower, 8-first operational amplifier, 9-analog to digital converter, 10-coil component, 11-feeds back timing unit, 12-monostalbe trigger, 13-first comparer, 14-second comparer, 15-RS trigger, 16-Schmidt trigger, 17-digital to analog converter, 18-second operational amplifier, 19-phase inverter, 20-noise reduction element.
Embodiment
All features disclosed in this instructions, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
Below in conjunction with accompanying drawing, the present invention will be further described:
Fig. 1 is schematic block circuit diagram of the present invention, and a kind of digital isolated electrical net detect device, comprises the filtering circuit 1 connected successively, have adjustable filtering operation frequency; Input operational amplification circuit 2, has high-speed figure conversion efficiency and input enlarging function; Digital isolator 3, has the function of insulation blocking, noise reduction reduction; Export operational amplification circuit 4, there is output enlarging function.
Fig. 2 is physical circuit figure of the present invention, described filtering circuit 1, comprises low-pass filter 5: the first resistance R1, the first tunable capacitor C1, and one end of the first tunable capacitor C1 connects the first resistance R1, other end ground connection; One end of Hi-pass filter 6: the second resistance R2, the second tunable capacitor C2, the second tunable capacitor C2 connects the first resistance R1, and the other end connects the second resistance R2; Also comprise the voltage follower 7 with anti-phase closed loop: output terminal connects the output terminal of low-pass filter 5, and output terminal also connects in-phase input end, and inverting input is connected with the output terminal of Hi-pass filter 6; Low-pass filter 5 and Hi-pass filter 6 are connected.
By debugging capacitance size, whole filtering circuit 1 is made to embody low-pass characteristic or high pass characteristic or bandpass characteristics or band-stop response.
Embodiment 1, when incoming wave is low frequency characteristic, after debugging electric capacity, filtering circuit 1 works, and solely embodies low-pass characteristic, and detecting device of the present invention obtains and exports; And then control capacittance, filtering circuit 1 only embodies bandpass characteristics again, and incoming wave is low frequency characteristic, does not have intermediate frequency characteristics, and now detecting device of the present invention does not export.
Embodiment 2, when incoming wave has intermediate frequency and high frequency characteristics, after debugging electric capacity, filtering circuit 1 works, and solely embodies low-pass characteristic, and detecting device of the present invention does not export; And then control capacittance, filtering circuit 1 only embodies bandpass characteristics again, detecting device of the present invention obtains the output under incoming wave intermediate frequency characteristics, the high frequency characteristics of incoming wave can not affect because of being filtered off and now export, finally regulate an electric capacity, incoming wave characteristic under acquisition high frequency, intermediate frequency characteristics can not affect and now export.Sensors work spectral range of the present invention is wide, and during work, frequency filtering is single.
Described input operational amplification circuit 2, comprises the first operational amplifier 8: in-phase input end connects the output terminal of filtering circuit 1, and inverting input is connected to feedback; Also comprise analog to digital converter 9: input end connects the output terminal of the first operational amplifier 8.
Described digital isolator 3, comprises the output terminal of coil component 10: winding switching analog to digital converters 9; Noise reduction element 20: the Secondary Winding of input end connecting coil device 10; Digital to analog converter 17: input end connects the output terminal of noise reduction element 20.Described noise reduction element 20, comprises output loop: the Secondary Winding of the coil component 10 of series connection, the first switch S 1, second switch S2, Schmidt trigger 16; Noise for short-circuited coil device 10 Secondary Winding blocks loop: three switch S 3 in parallel with coil component 10 Secondary Winding, the 4th switch S 4 of connecting with the 3rd switch S 3; Also comprise the input feedback timing unit 11 of gauge tap conducting and disconnection.
Described input feedback timing unit 11, comprises the first comparer 13: the Secondary Winding of high level end connecting coil device, and low level end connects divider resistance; Second comparer 14: high level end connects divider resistance and the Secondary Winding of low level end connecting coil device 8; Rest-set flip-flop 15:S holds the output terminal of connection first comparer 13 and the output terminal of R end connection second comparer 14; For controlling the monostalbe trigger 12 of the first switch S 1, second switch S2: input end connects rest-set flip-flop 15Q end; For controlling the phase inverter 19 of the 3rd switch S 3, the 4th switch S 4: input end connects the output terminal of monostalbe trigger 12.
Described output operational amplification circuit 4, comprise second operational amplifier 18 with anti-phase closed loop, in-phase input end is connected with digital to analog converter 17 output terminal.
Embodiment 3, electrical net detect device of the present invention in use, if the incoming wave of a unknown frequency accesses from IN_GRID, first filtering circuit 1 is debugged as low-pass characteristic, if do not receive effective output at output operational amplification circuit 4, then filtering circuit 1 is debugged as higher frequency on state characteristic, export until obtain; Can connect all kinds of detection of electrons device at electrical net detect device output terminal OUT_FLAG of the present invention, as oscillograph, voltage, current detector, can draw incoming wave characteristic further.
Beneficial effect of the present invention: operating frequency range is wide, device realizes easily, and isolation implementation is excellent, little by noise jamming, and the higher and versatility of precision significantly promotes.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly belongs to those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.