A kind of digital oscilloscope that has by the output of/failure detection
Technical field
The utility model relates to the digital oscilloscope technology, particularly a kind of digital oscilloscope that has by the output of/failure detection.
Background technology
On industry spot or production line, a large amount of checkout equipments all adopts by/failure detection mode measured device is detected.So-called passing through/failure detection, promptly according to the characteristic requirement of required measured device, in the middle of checkout equipment, oscillograph for example, preestablish the permissible range bound of the electrical characteristics (for example certain specific output waveform) of specific measured device, then detect the output waveform of measured device.If the output waveform of measured device is within permissible range, checkout equipment is just indicated (for example green indication, low level indication) by ad hoc fashion so, with representative " by "; If the output waveform of measured device surpasses permissible range, checkout equipment also is to indicate (for example red light indication, high level indication) by ad hoc fashion so, with representative " failure ".
Because the demand of modern production robotization, the demand of artificial judgement simple problem is progressively reduced, this detection by/failure is all carried out automatically.And for automated system, the indicating mode that most convenient is accepted is exactly the level mode.Therefore, in the middle of digital oscilloscope, in order to satisfy this class needs, a lot of digital oscilloscopes have all possessed the output port by/failure detection.
In the prior art, the passing through of some digital oscilloscopes/failure detection port adopts the direct-connected high-low level output port of the circuit with digital oscilloscope itself as output.As shown in Figure 1, the oscillograph of prior art mainly comprises: controlled processing unit, signal input unit, LCD display unit, keyboard input block, by/failure detection unit, by/failure detection output port 103 and power supply, wherein: controlled processing unit is made up of CPU, storer, logical circuit; Signal input unit is made up of probe 102, VGA amplifier 101 and analog to digital converter (A/D).The output level of the output port of this mode has directly determined the incoming level of tested automation control system, underaction under many circumstances.For example the output level of digital oscilloscope is up to 3.3V, and tested automation control system needs the input of a 5V.Just there is the problem of level conversion in the middle of this.Has certain bias voltage on for example tested incoming line of automation control system more own, as 2.5V, because the output port of digital oscilloscope directly is connected with this level, to be difficult to normal output, and even even have influence on the operate as normal of the whole tested automation control system of digital oscilloscope.
In addition owing to exist a large amount of industrial noise signals in industry spot, these undesired signals will oppositely pass back to from equipment under test in the middle of the circuit of digital oscilloscope by the passing through of digital oscilloscope/failure detection output port, and this interference is very violent, this will produce tremendous influence for this class exact instrument of digital oscilloscope, and even unexpected phenomenon such as digital oscilloscope system in case of system halt takes place.
In order to overcome above-mentioned defective, by an electric capacity tested automation control system and the circuit system of digital oscilloscope own are isolated the passing through of digital oscilloscope/failure detection output port in the prior art.This scheme has solved the bias voltage problem on the tested automation control system incoming line.Yet because electric capacity has been isolated direct current signal, causing final passing through/failure detection can only be that pulse (being alternating signal) mode is exported, and needs the control system of long DC level for some, and this pulse signal output can't satisfy the demands.
In addition, exist because the industrial noise signal is a large amount of alternating signal form equally, can oppositely pass back in the middle of the accurate control circuit of digital oscilloscope by this isolation capacitance yet, anti-interference problem does not still obtain basic solution.
The utility model content
The purpose of this utility model is to provide a kind of digital oscilloscope that has by/failure detection output, with so that the passing through of digital oscilloscope/failure detection port not only can satisfy output simultaneously by/failure detection signal, and digital oscilloscope system and external interference are isolated fully.Regardless of the incoming level of outside automation control system, the passing through of digital oscilloscope/failure detection port can both directly connect the input of outside automation control system.
The technical solution of the utility model is: a kind of digital oscilloscope that has by the output of/failure detection, comprise: controlled processing unit, signal input unit, display unit, man-computer interface unit, by/failure detection unit, by/failure detection output port and power supply, described controlled processing unit is respectively with described signal input unit, display unit, man-computer interface unit, be connected by/failure detection unit; Also comprise: semiconductor switching module; One end of the described semiconductor switching module other end that is connected with described controlled processing unit is connected by/failure detection output port with described; If make controlled processing unit output high level by/failure detection unit, then described semiconductor switching module conducting describedly forms a switching signal by on/failure detection output port, and described switching signal is used for the control of outside equipment under test.
Described semiconductor switching module is a photoelectricity isolated form relay, if describedly make controlled processing unit output high level by/failure detection unit, led lighting in the described photoelectric isolating relay, make the conducting of switch MOS pipe, then described by/form a switching signal above the failure detection output port.
Described semiconductor switching module is a photoelectrical coupler, if describedly make controlled processing unit output high level by/failure detection unit, then described by/form a switching signal above the failure detection output port.
Described controlled processing unit comprises: CPU; Described CPU is connected with described semiconductor switching module by the I/O interface.
The described digital oscilloscope that has by the output of/failure detection also comprises: storer, and described storer is connected with described CPU; Described by/failure detection unit be stored in the described storer and with described CPU interaction.
Described signal input unit is used to obtain outer input analog signal waveform; Described CPU is used for the built-in waveform with bound of input analog signal waveform and digital oscilloscope outside this is compared, if import the bound that analog signal waveform exceeds built-in waveform in the digital oscilloscope outward, then exports failure signal; If import outward in the bound scope of analog signal waveform built-in waveform in digital oscilloscope, then signal is passed through in output; Described is the high level that CPU passes through the I/O interface output of CPU by signal; Described failure signal is the low level that CPU passes through the I/O interface output of CPU; Describedly drive described photoelectric isolating relay or photoelectrical coupler work by signal or failure signal, described by/form a switching signal above the failure detection output port.
Described man-computer interface unit comprises: keyboard, touch-screen, mouse or communication interface.
Described communication interface is meant wired and/or wireless communication interface.
Described display unit is meant: LCDs or plasma panel.
The beneficial effects of the utility model are, by a kind of digital oscilloscope that has by the output of/failure detection is provided, make the passing through of digital oscilloscope/failure detection port not only can satisfy output simultaneously, and digital oscilloscope system and external interference are isolated fully by/failure detection signal.Regardless of the incoming level of outside automation control system, the passing through of digital oscilloscope/failure detection port can both directly connect the input of outside automation control system.
Because semiconductor switching module (as: photoelectric isolating relay, photoelectrical coupler) has the characteristic of the isolation voltage that can bear 1500V, and control signal adopts the light mode to transmit, have unidirectional characteristics, thereby the undesired signal of extraneous industry spot can't pass back to the inside of digital oscilloscope by this passage.
Because semiconductor switching module is designed to bear greater than 300V, the electric current of 100mA, thereby it is very convenient with being connected of outside equipment under test (as: a complete set of automation control system), incoming level regardless of outside equipment under test requires, only need to have semiconductor switching module and isolate by/failure detection output and be used as a switch connecting system and get final product, be simple and easy to usefulness.
Description of drawings
Fig. 1 is for having the digital oscilloscope structured flowchart by/failure detection output in the prior art;
Fig. 2 is the digital oscilloscope structured flowchart with semiconductor switching module by the output of/failure detection of the present utility model;
Fig. 3 is the structured flowchart of embodiment 1 of the present utility model;
Fig. 4 is the structured flowchart of embodiment 2 of the present utility model;
Oscillogram when Fig. 5 a does not exceed the bound of built-in waveform in the digital oscilloscope for outer input analog signal waveform;
Oscillogram when Fig. 5 b exceeds the bound of built-in waveform in the digital oscilloscope for outer input analog signal waveform;
Fig. 6 is the structured flowchart of embodiment 3 of the present utility model;
Fig. 7 is the control flow chart of the utility model controlled processing unit.
Embodiment
Below in conjunction with description of drawings embodiment of the present utility model.The utility model is a kind of digital oscilloscope that has by the output of/failure detection, as shown in Figure 2, it comprises: controlled processing unit, signal input unit, display unit, man-computer interface unit, by/failure detection unit, by/failure detection output port and power supply, described controlled processing unit is respectively with described signal input unit, display unit, man-computer interface unit, be connected by/failure detection unit; Also comprise: semiconductor switching module; One end of the described semiconductor switching module other end that is connected with described controlled processing unit is connected by/failure detection output port with described; If make described controlled processing unit output high level by/failure detection unit, then described semiconductor switching module conducting, form a switching signal on described passing through/failure detection output port, described switching signal is used for the control of outside equipment under test.
Embodiment 1
This digital oscilloscope that has by the output of/failure detection adopts keyboard as the man-computer interface unit, adopts LCD display as display unit.
Adopt probe 102, VGA amplifier 101, analog to digital converter (A/D) to form signal input unit.Wherein, probe 102 is used to gather external analog signal, VGA amplifier 101 carries out convergent-divergent with the external analog signal of gathering to be handled, and the signal after analog to digital converter (A/D) is handled convergent-divergent carries out analog-to-digital conversion process, and the digital signal after will changing sends controlled processing unit to.
Adopt CPU, storer, logical circuit to form controlled processing unit, and describedly can be stored in the described storer and also can be passing through/failure detection circuit module (as shown in Figure 3) of being connected with CPU by/failure detection unit.Wherein, logical circuit receives the digital signal from signal input unit, CPU will import outward that the built-in waveform of software compares (waveform that normally has bound) in analog signal waveform and the storer, if import the bound that analog signal waveform exceeds built-in waveform in the digital oscilloscope outward, then export failure signal; If import outward in the bound scope of analog signal waveform built-in waveform in digital oscilloscope, then signal is passed through in output; Described is the high level that CPU passes through the I/O output of CPU by signal; Described failure signal is the low level that CPU passes through the I/O output of CPU.
As shown in Figure 6, adopt photoelectric isolating relay to be connected as semiconductor switching device and with the I/O interface of CPU, if the described I/O interface output high level that makes CPU by/failure detection unit and CPU interaction, led lighting in the described photoelectric isolating relay, make the conducting of switch MOS pipe, then described by/form a switching signal above the failure detection output port.
If described passing through/the failure detection unit output low level, the diode in the described photoelectric isolating relay is not luminous, makes the switch MOS pipe disconnect.
Fig. 5 a and Fig. 5 b are seen in waveform signal by/failure, and wherein dash area is the bound of built-in waveform, and the black line be to import analog signal waveform outward.The control flow of controlled processing unit is referring to Fig. 7.
Because photoelectric isolating relay has the characteristic of the isolation voltage that can bear 1500V, and control signal adopts the light mode to transmit, have unidirectional characteristics, thereby the undesired signal of extraneous industry spot can't pass back to the inside of digital oscilloscope by this passage.
The output characteristics of photoelectric isolating relay shows as a semiconductor switch, can bear on the switch again greater than 300V, the electric current of 100mA, thereby it is very convenient with being connected of a complete set of automation control system, incoming level regardless of automation control system requires, only need to have photoelectricity and isolate by/failure detection output and be used as a switch connecting system and get final product, be simple and easy to usefulness.
Embodiment 2
This digital oscilloscope that has by the output of/failure detection adopts keyboard as the man-computer interface unit, adopts LCD display as display unit.
Adopt probe 102, VGA amplifier 101, analog to digital converter (A/D) to form signal input unit.Wherein, probe 102 is used to gather external analog signal, VGA amplifier 101 carries out convergent-divergent with the external analog signal of gathering to be handled, and the signal after analog to digital converter (A/D) is handled convergent-divergent carries out analog-to-digital conversion process, and the digital signal after will changing sends controlled processing unit to.
Adopt CPU, storer, logical circuit to form controlled processing unit, and describedly can be stored in the described storer and also can be passing through/failure detection circuit module (as shown in Figure 4) of being connected with CPU by/failure detection unit.Wherein, logical circuit receives the digital signal from signal input unit, CPU will import outward that the built-in waveform of software compares (waveform that normally has bound) in analog signal waveform and the storer, if import the bound that analog signal waveform exceeds built-in waveform in the digital oscilloscope outward, then export failure signal; If import outward in the bound scope of analog signal waveform built-in waveform in digital oscilloscope, then signal is passed through in output; Described is the high level that CPU passes through the I/O output of CPU by signal; Described failure signal is the low level that CPU passes through the I/O output of CPU.
Adopt photoelectrical coupler to be connected as semiconductor switching device and with the I/O interface of CPU, if the described I/O interface output high level that makes CPU by/failure detection unit and CPU interaction, led lighting in the described photoelectrical coupler, make the conducting of switch MOS pipe, then described by/form a switching signal above the failure detection output port.
If the diode in the I/O interface output low level of CPU, described photoelectrical coupler is not luminous, make the switch MOS pipe disconnect.
Fig. 5 a and Fig. 5 b are seen in waveform signal by/failure, and wherein dash area is the bound of built-in waveform, and the black line be to import analog signal waveform outward.The control flow of controlled processing unit is referring to Fig. 7.
Because photoelectric isolating relay has the characteristic of the isolation voltage that can bear 1500V, and control signal adopts the light mode to transmit, have unidirectional characteristics, thereby the undesired signal of extraneous industry spot can't pass back to the inside of digital oscilloscope by this passage.
The output characteristics of photoelectric isolating relay shows as a semiconductor switch, can bear on the switch again greater than 300V, the electric current of 100mA, thereby it is very convenient with being connected of a complete set of automation control system, incoming level regardless of automation control system requires, only need to have photoelectricity and isolate by/failure detection output and be used as a switch connecting system and get final product, be simple and easy to usefulness.
Above embodiment only is used to illustrate the utility model, but not is used to limit the utility model.