A square wave generating device and method for detecting a digital-to-axis converter

By designing a square wave generating device and using multiple circuit components in the conversion circuit board to generate a standard square wave signal, the problem of accuracy and consistency of the digital-axis angle converter output signal setup time test is solved, and an efficient and reliable testing process.

CN111896784BActive Publication Date: 2024-09-27LIANYUNGANG JARI ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010896997.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-31
Publication Date
2024-09-27
Estimated Expiration
2040-08-31

AI Technical Summary

Technical Problem

When the existing technology detects the establishment time of the output signal of the digital-axis angle converter, the level transformation of the square wave signal is difficult to control, which affects the accuracy and consistency of the test results, and the test efficiency is low, making it unsuitable for batch testing.

Method used

A square wave generating device is designed, including a conversion circuit board and a casing. It implements a digital-axis angle converter through a reference input circuit, a phase shift circuit, a comparison circuit, a rectifier circuit, a level drive circuit and a frequency divider circuit. Precise control of output signal, generate standard square wave signal to test output signal settling time.

Benefits of technology

It improves the accuracy and reliability of the output setup time test of the digital-axis angle converter. It is small in size and highly reliable. It is suitable for testing different types of converters, simplifies the test process, and improves the test efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111896784B
    Figure CN111896784B
Patent Text Reader

Abstract

A square wave generating device and method for detecting a digital-axis-angle converter, comprising a housing and a conversion circuit board installed in the housing, the conversion circuit board being equipped with a reference input circuit, a phase shift circuit, a comparison circuit, a rectifier circuit, a level drive circuit, and a frequency divider circuit connected in sequence along the signal input direction, and the conversion circuit board being provided with a plurality of pins as a power interface, a signal input port, and a signal output port, the pins extending out of the housing. The present invention uses a fully electronic conversion circuit to generate a trigger signal to replace the method of manually dialing a mechanical switch to generate a trigger signal; a two-stage phase shift adjustment circuit is used to ensure the accuracy of the output square wave signal to generate a 90° phase shift signal, and to ensure the accuracy of the digital-axis-angle converter output settling time test; it is easy to use and maintain, and can realize the replacement and testing needs of special imported test equipment required for electronic conversion module testing by national laboratories and product inspection departments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a square wave generating device, and in particular to a square wave generating device and method for detecting a digital-axis angle converter. Background Art

[0002] At present, digital-axis-angle converters are increasingly used in military products. In the laboratory testing process, it is necessary to provide a digital trigger signal that changes from low level to high level when the input reference waveform is at its maximum value to the highest digital bit input of the converter, so as to accurately test the output signal establishment time value of the digital-axis-angle converter. In the actual testing process of the laboratory, the test method is usually to control the transformation of the signal logic level by dialing the position of the external button switch, and then use an oscilloscope to capture the total time required for the transformation process from the highest digital bit input level transformation moment to the output waveform stabilization of the digital-axis-angle converter output signal to determine the dynamic stabilization time of the converter.

[0003] The disadvantage of this test method is that the level change moment of the output square wave signal is difficult to control, and it is impossible to ensure that the square wave signal waveform changes at the maximum value of the reference waveform, which affects the accuracy of the test results; after a single switch is turned on, it is difficult for the oscilloscope to detect the time process from the digital-axis converter output waveform change to stability when the trigger signal is input. Sometimes it takes dozens of times of turning the switch to capture the effective conversion waveform. The test efficiency is low and it is not suitable for batch testing of laboratory products; the position of the digital trigger signal generated by turning the switch and the maximum value of the reference signal is relatively random, and the consistency of the test results is poor. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a square wave generating device for effectively controlling the output waveform of a digital-axis angle converter and improving the accuracy and reliability of the test results of the output establishment time of the digital-axis angle converter in view of the deficiencies in the prior art.

[0005] 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 above-mentioned square wave generating device in view of the deficiencies in the prior art.

[0006] The technical problem to be solved by the present invention is achieved through the following technical scheme. The present invention is a square wave generating device for detecting a digital-axis angle converter, which is characterized in that the square wave generating device includes a shell and a conversion circuit board for providing a standard square wave signal to the digital-axis angle converter, the conversion circuit board is sealed in the shell, and the conversion circuit board is equipped with a reference input circuit, a phase shift circuit, a comparison circuit, a rectifier circuit, a level drive circuit, and a divider circuit connected in sequence along the signal input direction. The conversion circuit board is provided with a plurality of pin pins connected to the above circuits and used for power supply, signal input, and signal output, and the pin pins pass through the shell.

[0007] The technical problem to be solved by the present invention can also be achieved through the following technical solution. The reference input circuit is a differential signal amplifier circuit composed of an operational amplifier and a resistor, which converts the reference input signal "RH, RL" into voltage and then outputs it to the phase shift circuit.

[0008] The technical problem to be solved by the present invention can also be achieved through the following technical scheme, the phase shifting circuit is provided with at least two stages, each stage is composed of a capacitor and a resistor, the capacitors of the two-stage phase shifting circuits are connected in series on the main circuit of the conversion circuit board, the second-stage phase shifting circuit is also connected to an adjustable resistor with a knob, and a lateral opening is provided on the shell for the knob on the adjustable resistor to extend out; the first-stage phase shifting circuit realizes coarse phase adjustment of the input AC signal by changing the resistance value of the resistor or the capacitance value of the capacitor, and the second-stage phase shifting circuit performs fine phase adjustment on the AC signal output by the first-stage phase shifting circuit through the adjustable resistor. The two-stage phase shifting circuit can meet the reference frequency requirements of any model of digital-to-axis angle converter, and realize that the output AC signal is 90° ahead of the input reference signal in phase, and then the signal is output to the comparison circuit.

[0009] The technical problem to be solved by the present invention can also be achieved by the following technical scheme, wherein the comparison circuit is a zero-position comparator composed of an operational amplifier and peripheral resistors, and the zero-position comparator compares and transforms the AC signal whose phase leads the reference signal by 90° at the input end, and transforms the AC voltage higher than the zero level into a positive DC power supply voltage, and transforms the AC voltage lower than the zero level into a negative DC power supply voltage, and outputs an AC square wave signal based on a 0V reference, which is then sent to the subsequent rectifier circuit.

[0010] The technical problem to be solved by the present invention can also be achieved by the following technical scheme. The rectifier circuit is composed of a rectifier diode, a voltage-dividing resistor and a voltage-stabilizing diode. The AC square wave signal forms a DC square wave signal based on 0V after passing through the rectifier diode. The high-level voltage value of the square wave signal reaches a DC voltage of +15V. After being stabilized by the voltage-dividing resistor and the voltage-stabilizing diode, a DC square wave signal with a maximum amplitude of +5V is generated and output to the level driving circuit.

[0011] The technical problem to be solved by the present invention can also be achieved by the following technical solution. The level driving circuit is composed of two stages of NOT gate circuits connected in series, and the input 0V~5V DC square wave signal is driven by logic level and then sent to the divider circuit.

[0012] The technical problem to be solved by the present invention can also be achieved through the following technical scheme. The divider circuit consists of a counter with a reset terminal, 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 the add-count terminal of the counter. The power-on reset circuit clears the output data at the moment the counter is powered on. When the add-count terminal of the counter receives two square wave signals, the lowest-order data output terminal QA of the counter will complete a cycle of level flipping to achieve frequency division of the input square wave signal. Finally, the square wave signal with a phase shift of 90° and a frequency only equal to the input reference frequency is sent from the QA terminal of the counter to the square wave output signal pin "VL" for output, which is used to provide a standard square wave signal source when the digital-axis angle converter performs output signal establishment time test.

[0013] The technical problem to be solved by the present invention can also be achieved by the following technical solution: the shell is filled with thermally conductive silica gel, and the circuit conversion board is sealed in the shell by the thermally conductive silica gel.

[0014] The technical problem to be solved by the present invention can also be achieved by the following technical solution, wherein the shell is composed of a cover shell with a bottom opening and a cover plate closing the bottom opening, a step for positioning the cover plate is provided at the edge of the cover shell opening, and a pin hole for the plug pin to pass through is provided on the cover plate.

[0015] The technical problem to be solved by the present invention can also be achieved by the following technical solution: an identification block matching the function of each pin is provided on the surface of the cover shell at a position corresponding to the plug pin, which is convenient for operators to use. The shell is a rectangular parallelepiped with an outer dimension of 79.4×66.7×10.2.

[0016] Another technical problem to be solved by the present invention is achieved through the following technical solution. The present invention is a square wave generation method for detecting a digital-axis angle converter, which is characterized in that it includes the following specific steps:

[0017] (1) The reference input signals "RH, RL" are converted into voltage by the reference input circuit and output to the phase shift circuit;

[0018] (2) Through the coarse and fine adjustment of the two-stage phase shift circuit, the output AC signal is made 90° ahead of the input reference signal in phase, and then the signal is output to the comparison circuit;

[0019] (3) The comparison circuit compares and transforms the input AC signal whose phase leads the reference signal by 90°, transforms the AC voltage above the zero level into a positive DC power supply voltage, and transforms the AC voltage below the zero level into a negative DC power supply voltage, and outputs an AC square wave signal based on a 0V reference to the rectifier circuit;

[0020] (4) A DC square wave signal with a maximum amplitude of +5V is generated by the rectifier circuit, and then the DC square wave signal is sent to the level driving circuit. The level driving circuit performs logic level driving on the input 0V~5V DC square wave signal and sends it to the divider circuit;

[0021] (5) The frequency divider circuit divides the square wave signal at the input end by 1 / 2, and finally sends the square wave signal with a phase shift of 90° and a frequency only equal to the input reference frequency to the square wave output signal pin "VL" output, and then outputs from this pin to the highest digital bit input terminal of the digital-axis-to-axis converter to perform an output signal establishment time test on the digital-axis-to-axis converter.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] (1) The trigger signal is generated by a fully electronic conversion circuit instead of manually dialing a mechanical switch. It has the advantages of small size, high reliability, and the output of the square wave signal is automatically controlled by the input reference signal;

[0024] (2) A two-stage phase shift circuit is used to ensure the accuracy of the 90° phase shift signal generated by the output square wave signal, thereby ensuring the accuracy of the digital-to-axis converter output settling time test;

[0025] (3) The reference signal after phase shift processing uses a zero-position comparator, which is not affected by the voltage and frequency range of the input reference signal. It is suitable for the testing needs of different models of digital-to-axis converters and has a wide range of applications.

[0026] The present invention is a modular electronic product designed independently, which has a simple structure, is easy to use and maintain, and can meet the replacement and testing needs of special imported testing equipment required for electronic conversion module testing by national laboratories and product inspection departments. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a structural diagram of the square wave generating device of the present invention;

[0028] Figure 2 yes Figure 1 A top view of

[0029] Figure 3 yes Figure 1 Side view of

[0030] Figure 4It is a circuit diagram of the square wave generating device of the present invention. DETAILED DESCRIPTION

[0031] The specific technical solutions of the present invention are further described below with reference to the accompanying drawings so that those skilled in the art can further understand the present invention, but it does not constitute a limitation on the rights of the present invention.

[0032] Reference Figure 1-3 A square wave generator for detecting a digital-axis angle converter, which is a precise control signal source for the highest digital bit input end of the converter, is essentially a rectangular electronic conversion module with a size of 79.4mm×66.7mm×10.2mm. It consists of four parts, including a circuit conversion board 1, a housing 2, a cover 3 and a thermal conductive silicone 5. The housing and the cover are made of plastic. A group of metal components for power supply, signal input and signal output are riveted on the circuit conversion board 1. The cover 2 is a rectangular cavity with an open bottom. The component surface of the circuit conversion board 1 faces inwards and the pins are installed into the cavity with the pins facing outwards. The cavity is filled with thermal conductive silicone 5 to seal the entire circuit conversion board 1 in the cavity. The pin holes of the cover 3 pass through the metal pins 4 and cover the edge steps of the cover 2, so that the circuit conversion board 1, the cavity and the cover form a compact whole. The surface of the cover 2 is printed with a function symbol block 6 of each pin at a position opposite to the metal pin 4 pin, which is convenient for operators to use.

[0033] Reference Figure 4 The circuit conversion board 1 inside the square wave generating device of the present invention is equipped with a reference input circuit 8, a phase shift circuit 9, a comparison circuit 10, a rectifier circuit 11, a level driving circuit 12 and a frequency divider circuit 13. The circuit conversion board is composed of a printed board and the electronic components in the above circuits, and the electronic components are fixed on the printed board.

[0034] The reference input circuit 8 is a differential signal amplifier circuit composed of an operational amplifier and a resistor, which converts the reference input signal "RH, RL" into a voltage and then outputs it to the phase shift circuit 9.

[0035] The phase shift circuit 9 is provided with at least two stages, each of which is composed of a capacitor and a resistor. The capacitors of the two-stage phase shift circuits are connected in series to the main circuit of the conversion circuit board. The second-stage phase shift circuit is also connected to an adjustable resistor 7 with a knob. A lateral opening is provided on the housing for the knob on the adjustable resistor to extend out, which is convenient for external adjustment. Through the coarse adjustment and fine adjustment of the two-stage phase shift circuit, the output AC signal is 90° ahead of the input reference signal in phase. Then, the signal is output to the comparison circuit 10.

[0036] The comparison circuit 10 is a zero-position comparator composed of an operational amplifier and peripheral resistors. The zero-position comparator compares and transforms the input AC signal whose phase leads the reference signal by 90°, transforms the AC voltage higher than the zero level into a positive DC power supply voltage, and transforms the AC voltage lower than the zero level into a negative DC power supply voltage. It is suitable for the input voltage value of the reference input circuit in a wide voltage range of 10V to 115V, outputs an AC square wave signal based on a 0V reference, and then sends it to the subsequent rectifier circuit 11.

[0037] The rectifier circuit 11 is composed of a rectifier diode, a voltage-dividing resistor and a voltage-stabilizing diode. The AC square wave signal forms a DC square wave signal based on 0V after passing through the rectifier diode. The high-level voltage value of the square wave signal reaches a DC voltage of +15V. After being stabilized by the voltage-dividing resistor and the voltage-stabilizing diode, a DC square wave signal with a maximum amplitude of +5V is generated. Then, it is sent to the subsequent level driving circuit 12. The level driving circuit 12 is composed of a two-stage NOT gate circuit. After performing logic level driving on the input DC square wave signal of 0V to 5V, it is sent to the subsequent frequency divider circuit 13.

[0038] The divider circuit 13 is composed of a counter with a reset terminal, 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 the add-count terminal of the counter. The power-on reset circuit clears the output data at the moment the counter is powered on. When the add-count terminal of the counter receives two square wave signals, the lowest-order data output terminal QA of the counter will complete a cycle of level flipping, thereby achieving the purpose of dividing the square wave signal at the input terminal. Finally, a square wave signal with a phase shift of 90° and a frequency only equal to the input reference frequency is sent from the QA terminal of the counter to the square wave output signal pin "VL" for output, and is output from this pin to the highest digital bit input terminal of the digital-axis-angle converter, so as to perform an output signal establishment time test on the digital-axis-angle converter, and is used to provide a standard square wave signal source when the output signal establishment time test is performed on the digital-axis-angle converter.

[0039] The above implementation modes are only used to more clearly illustrate the technical solutions of the present invention. The protection scope of the present invention includes but is not limited to the above specific implementation modes. Any appropriate changes or substitutions made thereto by ordinary technicians in any of the technical fields shown in accordance with the claims of the present invention shall fall within the patent protection scope of the present invention.

Claims

1. A square wave generating method for detecting a digital-to-axis converter, characterized in that: The method adopts the following square wave generating device, which includes a housing and a conversion circuit board for providing a standard square wave signal to a digital-column angle converter, the conversion circuit board is sealed in the housing, and the conversion circuit board is equipped with a reference input circuit, a phase shift circuit, a comparison circuit, a rectifier circuit, a level driving circuit, and a frequency divider circuit connected in sequence along a signal input direction, and the conversion circuit board is provided with a plurality of pins connected to the above circuits and used for power supply, signal input, and signal output, and the pins are inserted from the housing; The method comprises the following specific steps: (1) The reference input signals "RH, RL" are converted into voltage by the reference input circuit and output to the phase shift circuit; (2) Through the coarse and fine adjustment of the two-stage phase shift circuit, the output AC signal is made 90° ahead of the input reference signal in phase, and then the signal is output to the comparison circuit; (3) The comparison circuit compares and transforms the input AC signal whose phase leads the reference signal by 90°, transforms the AC voltage above the zero level into a positive DC power supply voltage, and transforms the AC voltage below the zero level into a negative DC power supply voltage, and outputs an AC square wave signal based on a 0V reference to the rectifier circuit; (4) A DC square wave signal with a maximum amplitude of +5V is generated by the rectifier circuit, and then the DC square wave signal is sent to the level driving circuit. The level driving circuit performs logic level driving on the input 0V~5V DC square wave signal and sends it to the divider circuit; (5) The frequency divider circuit divides the square wave signal at the input end by 1 / 2, and finally sends the square wave signal with a phase shift of 90° and a frequency of only 1 / 2 of the input reference frequency to the square wave output signal pin "VL". From this pin, it is output to the highest digital bit input end of the digital-axis converter to test the output signal establishment time of the digital-axis converter.

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

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

4. The square wave generating method for detecting a digital-to-axis converter according to claim 1, characterized in that: The comparison circuit is a zero-position comparator composed of an operational amplifier and peripheral resistors.

5. The square wave generating method for detecting a digital-to-axis converter according to claim 1, characterized in that: The rectifier circuit is composed of a rectifier diode, a voltage-dividing resistor and a voltage-stabilizing diode; the AC square wave signal forms a DC square wave signal based on 0V after passing through the rectifier diode, and the high-level voltage value of the square wave signal reaches a DC voltage of +15V. After being stabilized by the voltage-dividing resistor and the voltage-stabilizing diode, a DC square wave signal with a maximum amplitude of +5V is generated and then output.

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

7. The square wave generating method for detecting a digital-to-axis converter according to claim 1, characterized in that: The frequency divider circuit is composed of a counter with a reset terminal, 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 the add-count terminal of the counter. The power-on reset circuit clears the output data at the moment the counter is powered on. When the add-count terminal of the counter receives two square wave signals, the lowest-order data output terminal QA of the counter will complete a cycle of level flipping, realizing 1 / 2 frequency division of the input square wave signal. Finally, the square wave signal with a phase shift of 90° and a frequency of only 1 / 2 of the input reference frequency is sent from the QA terminal of the counter to the square wave output signal pin "VL" for output, which is used to provide a standard square wave signal source when the digital-axis angle converter performs an output signal establishment time test.

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

9. The square wave generating method for detecting a digital-to-axis converter according to claim 1 or 8, characterized in that: The shell body is composed of a cover shell with a bottom opening and a cover plate closing the bottom opening. The edge of the cover shell opening is provided with a step for positioning the cover plate, and the cover plate is provided with a pin hole for the pin pins to pass through.