Square wave generating device and method for detecting digital-axial angle converter

文档序号:986563 发布日期:2020-11-06 浏览:4次 中文

阅读说明:本技术 一种用于检测数字-轴角转换器的方波发生装置和方法 (Square wave generating device and method for detecting digital-axial angle converter ) 是由 张明 韦厚余 孙硕 索超 赵乾 陈艺夫 祁伟 穆如传 张星 周凯 于 2020-08-31 设计创作,主要内容包括:一种用于检测数字-轴角转换器的方波发生装置和方法,包括壳体和装在壳体内的转换电路板,转换电路板上装有沿信号输入方向依次连接的参考输入电路、移相电路、比较电路、整流电路、电平驱动电路、分频器电路,转换电路板上设有作为电源接口、信号输入端口、信号输出端口的若干插针引脚,插针引脚从壳体穿出。本发明采用全电子变换电路产生触发信号取代手动拨打机械开关产生触发信号的方式;采用两级相移调整电路,确保输出方波信号产生90°移相信号的精确性,保证数字-轴角转换器输出建立时间测试的准确性;易于使用、维修,可实现国家级实验室及产品检验部门进行电子转换模块检测所需专用进口测试设备的替代及测试需要。(A square wave generating device and method for detecting a digital-axial angle converter comprises a shell and a conversion circuit board arranged in the shell, wherein the conversion circuit board is provided with a reference input circuit, a phase shift circuit, a comparison circuit, a rectification circuit, a level driving circuit and a frequency divider circuit which are sequentially connected along a signal input direction, the conversion circuit board is provided with a plurality of pin pins serving as a power interface, a signal input port and a signal output port, and the pin pins penetrate out of the shell. The invention adopts a mode that a full electronic conversion circuit generates a trigger signal to replace a manual dialing mechanical switch to generate the trigger signal; the two-stage phase shift adjusting circuit is adopted to ensure the accuracy of generating a 90-degree phase shift signal by an output square wave signal and ensure the accuracy of testing the output set-up time of the digital-axial angle converter; the test device is easy to use and maintain, and can realize the replacement and test requirements of special imported test equipment required by electronic conversion module detection in national laboratories and product inspection departments.)

1. A square wave generating apparatus for detecting a digital-to-axis converter, characterized by: the square wave generating device comprises a shell and a conversion circuit board for providing standard square wave signals for a digital-axial angle converter, wherein the conversion circuit board is sealed in the shell, a reference input circuit, a phase-shifting circuit, a comparison circuit, a rectification circuit, a level driving circuit and a frequency divider circuit which are sequentially connected along a signal input direction are arranged on the conversion circuit board, a plurality of contact pin pins which are connected with the circuits and used for power supply, signal input and signal output are arranged on the conversion circuit board, and the contact pin pins penetrate out of the shell.

2. The square wave generating device for detecting a digital-to-axis converter according to claim 1, wherein: the reference input circuit is a differential signal amplifying circuit composed of an operational amplifier and a resistor.

3. The square wave generating device for detecting a digital-to-axis converter according to claim 1, wherein: the phase shift circuit is at least provided with two stages, each stage consists of a capacitor and a resistor, the capacitors of the two stages of phase shift circuits are connected in series on a main circuit of the conversion circuit board, the second stage of phase shift circuit is also connected with an adjustable resistor with a knob, and a lateral opening for the knob on the adjustable resistor to extend out is arranged on the shell.

4. The square wave generating device for detecting a digital-to-axis converter according to claim 1, wherein: the comparison circuit is a zero-bit comparator composed of an operational amplifier and a peripheral resistor.

5. The square wave generating device for detecting a digital-to-axis converter according to claim 1, wherein: the rectifying circuit consists of a rectifying diode, a divider resistor and a voltage stabilizing diode; the alternating current square wave signal forms a direct current square wave signal based on 0V after passing through a rectifier diode, the high level voltage value of the square wave signal reaches a direct current voltage of +15V, and the direct current square wave signal with the maximum amplitude of +5V is generated and output after being stabilized by a voltage dividing resistor and a voltage stabilizing tube.

6. The square wave generating device for detecting a digital-to-axis converter according to claim 1, wherein: the level driving circuit is formed by connecting two stages of NOT gate circuits in series.

7. The square wave generating device for detecting a digital-to-axis converter according to claim 1, wherein: the frequency divider circuit consists of a counter with a reset end, a pull-up resistor and a power-on reset circuit; the square wave signal driven by the gate level circuit is used as a counting clock signal and is sent to a counting adding end of a counter, a power-on reset circuit clears data at an output end at the moment when the counter is powered on, when the counting adding end of the counter receives two square wave signals, a lowest data output end QA of the counter completes level inversion for one period, 1/2 frequency division of the square wave signal at an input end is realized, finally the square wave signal which is shifted by 90 degrees and has the frequency of only 1/2 is sent to a square wave output signal pin VL from the QA end of the counter to be output, and the standard square wave signal source is provided when the digital-axial angle converter carries out output signal establishment time test.

8. The square wave generating device for detecting a digital-to-axis converter according to claim 1, wherein: the shell is internally filled with heat-conducting silica gel, and the circuit conversion board is sealed in the shell through the heat-conducting silica gel.

9. The square wave generating device for detecting a digital-to-axis angle converter according to claim 1 or 8, wherein: the shell is composed of a shell with an opening at the bottom and a cover plate for sealing the opening at the bottom, a step for positioning the cover plate is arranged at the edge of the opening of the shell, and a pin hole for the pin of the contact pin to penetrate out is arranged on the cover plate.

10. A square wave generating method for detecting a digital-to-axis converter according to any one of claims 1 to 9, characterized in that: comprises the following specific steps of,

(1) the reference input signals RH and RL are subjected to voltage conversion through a reference input circuit and output to a phase-shifting circuit;

(2) through the coarse adjustment and the fine adjustment of the two-stage phase shift circuit, the output alternating current signal is 90 degrees ahead of the phase of the input reference signal, and then the signal is output to the comparison circuit;

(3) the comparison circuit compares and converts an input alternating current signal with a phase advanced by 90 degrees with a reference signal, converts an alternating current voltage higher than a zero level into a positive direct current power supply voltage, converts an alternating current voltage lower than the zero level into a negative direct current power supply voltage, and outputs an alternating current square wave signal based on a 0V standard to the rectification circuit;

(4) generating a direct current square wave signal with the maximum amplitude of +5V through a rectification circuit, sending the direct current square wave signal to a level driving circuit, and sending the input direct current square wave signal of 0V-5V to a frequency divider circuit after the level driving circuit carries out logic level driving on the input direct current square wave signal;

(5) the frequency divider circuit carries out 1/2 frequency division on the square wave signal at the input end, finally, the square wave signal which is shifted by 90 degrees and has the frequency of only 1/2 is sent to a square wave output signal pin VL, the square wave output signal pin VL is output to the highest digital bit input end of the digital-to-axial angle converter from the pin, and the digital-to-axial angle converter is subjected to output signal setup time test.

Technical Field

The present invention relates to a square wave generator, and more particularly, to a square wave generator and a method for detecting a digital-to-axial converter.

Background

At present, digital-to-axis angle converters are used more and more widely in military products, and in the laboratory detection process, a digital trigger signal which changes from a low level to a high level at the moment that an input reference waveform is at the maximum value needs to be provided for the highest digital bit input end of the converter, so that the output signal establishment time value of the digital-to-axis angle converter can be accurately tested. In the actual test process of a laboratory, the test method generally controls the conversion of the logic level of the signal by dialing the position of an external button switch, and then uses an oscilloscope to capture the total time required by the conversion process from the conversion moment of the input level of the highest digital bit of the output signal of the digital-to-axial angle converter to the stabilization of the output waveform so as to determine the dynamic stabilization time of the converter.

The test mode has the disadvantages that the level conversion time of the output square wave signal is difficult to control, the waveform of the square wave signal cannot be ensured to be converted at the time of the maximum value of the reference waveform, and the accuracy of the test result is influenced; after the switch is dialed once, the oscilloscope is difficult to detect the time process that the output waveform of the digital-to-axis converter is converted to the stable waveform when the trigger signal is input, and the oscilloscope can capture the effective converted waveform only by dialing the switch for dozens of times, so the oscilloscope is low in test efficiency and not suitable for batch test of laboratory products; the digital trigger signal generated by the toggle switch and the position of the maximum time of the reference signal are relatively random, and the consistency of the test result is poor.

Disclosure of Invention

The technical problem to be solved by the invention is to provide a square wave generating device which can effectively control the output waveform of a digital-axial angle converter and improve the accuracy and reliability of the output setup time test result of the digital-axial angle converter aiming at the defects of the prior art.

Another technical problem to be solved by the present invention is to provide a method for providing a standard square wave signal to a digital-to-axis converter by using the square wave generator, aiming at the defects of the prior art.

The technical problem to be solved by the invention is realized by the following technical scheme, and the invention relates to a square wave generating device for detecting a digital-axial angle converter, which is characterized by comprising a shell and a converting circuit board for providing a standard square wave signal for the digital-axial angle converter, wherein the converting circuit board is sealed in the shell, a reference input circuit, a phase-shifting circuit, a comparison circuit, a rectifying circuit, a level driving circuit and a frequency divider circuit which are sequentially connected along a signal input direction are arranged on the converting circuit board, a plurality of pin pins which are connected with the circuits and are used for power supply, signal input and signal output are arranged on the converting circuit board, and the pin pins penetrate out of the shell.

The technical problem to be solved by the present invention can also be solved by the following technical solution, where the reference input circuit is a differential signal amplifying circuit composed of an operational amplifier and a resistor, and the reference input signals RH and RL are subjected to voltage conversion and then output to the phase shift circuit.

The technical problem to be solved by the invention can also be realized by the following technical scheme that the phase shift circuit is at least provided with two stages, each stage consists of a capacitor and a resistor, the capacitors of the two stages of phase shift circuits are connected in series on a main circuit of a conversion circuit board, the second stage of phase shift circuit is also connected with an adjustable resistor with a knob, and a lateral opening for the knob on the adjustable resistor to extend out is arranged on a shell; the first-stage phase shift circuit realizes coarse phase adjustment of an input alternating current signal by changing the resistance value of a resistor or the capacitance value of a capacitor, the second-stage phase shift circuit carries out fine phase adjustment on the alternating current signal output by the first-stage phase shift circuit through an adjustable resistor, the two-stage phase shift circuit can meet the reference frequency requirement of any type of digital-to-axial angle converter, the output alternating current signal is 90 degrees ahead of the phase of the input reference signal, and then the signal is output to the comparison circuit.

The technical problem to be solved by the present invention can also be solved by a zero-phase comparator composed of an operational amplifier and a peripheral resistor, wherein the zero-phase comparator compares and converts an ac signal whose input phase leads a reference signal by 90 °, converts an ac voltage higher than a zero level into a positive dc power supply voltage, converts an ac voltage lower than the zero level into a negative dc power supply voltage, outputs an ac square wave signal based on a 0V reference, and then sends the ac square wave signal to a subsequent rectification circuit.

The technical problem to be solved by the invention can also be solved by the following technical scheme that the rectifying circuit is composed of a rectifying diode, a voltage dividing resistor and a voltage stabilizing diode, wherein an alternating current square wave signal forms a direct current square wave signal based on 0V after passing through the rectifying diode, the high level voltage value of the square wave signal reaches the direct current voltage of +15V, and the direct current square wave signal with the maximum amplitude of +5V is generated and output to the level driving circuit after being stabilized by the voltage dividing resistor and the voltage stabilizing tube.

The technical problem to be solved by the invention can also be solved by the following technical scheme that the level driving circuit is formed by connecting two stages of NOT gate circuits in series, and the input direct-current square wave signal of 0V-5V is subjected to logic level driving and then is sent to the frequency divider circuit.

The technical problem to be solved by the invention can also be solved by the following technical scheme that the frequency divider circuit consists of a counter with a reset end, a pull-up resistor and a power-on reset circuit, a square wave signal driven by a gate-level circuit is used as a counting clock signal and is sent to a counting end of the counter, the power-on reset circuit clears the data at the output end at the moment when the counter is powered on, when the adding and counting end of the counter receives two square wave signals, the lowest data output end QA of the counter completes level inversion for one period to realize frequency division of the square wave signals at the input end, finally the square wave signals which are shifted by 90 degrees and have the frequency of only the input reference frequency are sent to a square wave output signal pin VL from the QA end of the counter to be output, the device is used for providing a standard square wave signal source when the digital-to-axis converter carries out an output signal setup time test.

The technical problem to be solved by the invention can also be solved by adopting the following technical scheme that the shell is filled with heat-conducting silica gel, and the circuit conversion board is sealed in the shell through the heat-conducting silica gel.

The technical problem to be solved by the invention can also be solved by the following technical scheme that the shell consists of a housing arranged at the bottom opening and a cover plate for closing the bottom opening, the edge of the opening of the housing is provided with a step for positioning the cover plate, and the cover plate is provided with a pin hole for the pin of the contact pin to penetrate out.

The technical problem to be solved by the invention can be realized by the following technical scheme that the position of the surface of the housing corresponding to the pin of the contact pin is provided with an identification block which is matched with the functions of each pin, so that the shell is convenient for operators to use, and the shell is cuboid and has the external dimension of 79.4 multiplied by 66.7 multiplied by 10.2.

The invention also provides a method for detecting square wave of digital-to-axial converter, which comprises the following steps,

(1) the reference input signals RH and RL are subjected to voltage conversion through a reference input circuit and output to a phase-shifting circuit;

(2) through the coarse adjustment and the fine adjustment of the two-stage phase shift circuit, the output alternating current signal is 90 degrees ahead of the phase of the input reference signal, and then the signal is output to the comparison circuit;

(3) the comparison circuit compares and converts an input alternating current signal with a phase advanced by 90 degrees with a reference signal, converts an alternating current voltage higher than a zero level into a positive direct current power supply voltage, converts an alternating current voltage lower than the zero level into a negative direct current power supply voltage, and outputs an alternating current square wave signal based on a 0V standard to the rectification circuit;

(4) generating a direct current square wave signal with the maximum amplitude of +5V through a rectification circuit, sending the direct current square wave signal to a level driving circuit, and sending the input direct current square wave signal of 0V-5V to a frequency divider circuit after the level driving circuit carries out logic level driving on the input direct current square wave signal;

(5) the frequency divider circuit carries out 1/2 frequency division on the square wave signal at the input end, finally, the square wave signal which is shifted by 90 degrees and has the frequency only being the input reference frequency is sent to a square wave output signal pin VL for output, the square wave output signal pin VL is output to the highest digital bit input end of the digital-axial angle converter, and the digital-axial angle converter is subjected to output signal setup time test.

Compared with the prior art, the invention has the following beneficial effects:

(1) the mode that a full-electronic conversion circuit is adopted to generate a trigger signal to replace a manual dialing mechanical switch to generate the trigger signal is adopted, the size is small, the reliability is high, and the output of a square wave signal is automatically controlled by an input reference signal;

(2) the two-stage phase shift circuit is adopted, so that the accuracy of generating a 90-degree phase shift signal by an output square wave signal is ensured, and the accuracy of testing the output set-up time of the digital-axial angle converter is ensured;

(3) the reference signal after phase shift processing adopts a zero-bit comparator, is not influenced by the voltage and frequency range of the input reference signal, is suitable for the test requirements of digital-to-axial angle converters of different models, and has wide application range.

The invention is a modular electronic product which is independently designed, has simple structure, is easy to use and maintain, and can realize the replacement and the test requirements of special imported test equipment which is required by the detection of an electronic conversion module in national laboratories and product inspection departments.

Drawings

FIG. 1 is a block diagram of a square wave generator according to the present invention;

FIG. 2 is a top view of FIG. 1;

FIG. 3 is a side view of FIG. 1;

fig. 4 is a circuit diagram of the square wave generating device of the present invention.

Detailed Description

The embodiments of the present invention will be further described with reference to the accompanying drawings so that those skilled in the art can further understand the present invention without limiting the right of the present invention.

Referring to fig. 1-3, a square wave generator for detecting a digital-to-axial converter, which is used as a precise control signal source of the highest digital input end of the converter, is a cuboid electronic conversion module, has a size of 79.4mm × 66.7mm × 10.2mm, and comprises four parts, including a circuit conversion board 1, a cover 2, a cover plate 3 and a heat-conducting silica gel 5, wherein the cover and the cover plate are made of plastic, a group of pin pins 4 which are used for power supply, signal input and signal output and made of metal are riveted on the circuit conversion board 1, the cover 2 is a rectangular cavity with an open bottom, elements of the circuit conversion board 1 face inwards, the pin pins face outwards and are arranged in the cavity, the cavity is filled with the heat-conducting silica gel 5, the whole circuit conversion board 1 is sealed in the cavity, pin holes of the cover plate 3 pass through the metal pin pins 4 and are covered on the edge steps of the cover 2, the circuit conversion board 1, the cavity and the cover plate form a compact whole, and the functional symbol blocks 6 of all pins are printed on the surface of the housing 2 and the positions corresponding to the pins of the metal contact pins 4, so that the circuit conversion board is convenient for operators to use.

Referring to fig. 4, the circuit conversion board 1 inside the square wave generator of the present invention is provided with a reference input circuit 8, a phase shift circuit 9, a comparison circuit 10, a rectification circuit 11, a level driving circuit 12 and a frequency divider circuit 13, the circuit conversion board is composed of a printed board and electronic components in the above circuits, the electronic components are fixed on the printed board,

the reference input circuit 8 is a differential signal amplifying circuit composed of an operational amplifier and a resistor, and performs voltage conversion on the reference input signals RH and RL, and then outputs the reference input signals RH and RL to the phase shift circuit 9,

the phase shift circuit 9 is provided with at least two stages, each stage is composed of a capacitor and a resistor, the capacitors of the two stages of phase shift circuits are connected in series on a main circuit of the conversion circuit board, the second stage of phase shift circuit is also connected with an adjustable resistor 7 with a knob, a lateral opening for the knob on the adjustable resistor to extend out is arranged on the shell, the external adjustment is convenient, the output alternating current signal leads 90 degrees ahead of the phase of the input reference signal through the coarse adjustment and the fine adjustment of the two stages of phase shift circuits, then the signal is output to the comparison circuit 10,

the comparator circuit 10 is a zero comparator composed of an operational amplifier and a peripheral resistor, the zero comparator compares and converts an input AC signal with a phase leading a reference signal by 90 degrees, converts an AC voltage higher than a zero level into a positive DC power voltage, converts an AC voltage lower than the zero level into a negative DC power voltage, the input voltage value of the reference input circuit is converted in a wide voltage range of 10V-115V, an AC square wave signal based on a 0V reference is output, and then the AC square wave signal is sent to a rear-stage rectifier circuit 11,

the rectifying circuit 11 is composed of a rectifying diode, a voltage dividing resistor and a voltage stabilizing diode, an alternating current square wave signal forms a direct current square wave signal based on 0V after passing through the rectifying diode, the high level voltage value of the square wave signal reaches the direct current voltage of +15V, the direct current square wave signal is stabilized by the voltage dividing resistor and a voltage stabilizing tube to generate a direct current square wave signal with the maximum amplitude of +5V, then the direct current square wave signal is sent to a rear level driving circuit 12, the level driving circuit 12 is composed of two levels of non-gate circuits, the input direct current square wave signal of 0V-5V is sent to a rear level frequency divider circuit 13 after being subjected to logic level driving,

the frequency divider circuit 13 is composed of a counter with a reset terminal, a pull-up resistor and a power-on reset circuit, a square wave signal driven by a gate-level circuit is used as a counting clock signal and is sent to a counting adding terminal of the counter, the power-on reset circuit clears the data at the output terminal at the moment when the counter is powered on, when the adding and counting end of the counter receives two square wave signals, the lowest data output end QA of the counter completes level inversion of one period, the purpose of frequency division of the square wave signals at the input end is realized, finally, the square wave signals which are shifted by 90 degrees and have the frequency only being the input reference frequency are sent to a square wave output signal pin VL from the QA end of the counter to be output to the highest digital bit input end of the digital-axial angle converter from the pin, and carrying out output signal establishment time test on the digital-axial angle converter, and providing a standard square wave signal source when the digital-axial angle converter carries out the output signal establishment time test.

The above embodiments are only for more clearly illustrating the technical solutions of the present invention, and the scope of the present invention includes but is not limited to the above embodiments, and any suitable changes or substitutions that are consistent with the claims of the present invention and are made by those skilled in the art shown should fall within the scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电表箱

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类