Summary of the invention
Technical matters to be solved by this invention is at the deficiencies in the prior art, and a kind of autosyn/rotary transformer-analog DC voltage transforming method is provided, and it can overcome above-mentioned defective, and the analog DC voltage of output is directly proportional with the angle of input.
Technical matters to be solved by this invention is to realize by following technical scheme.The present invention is a kind of autosyn/rotary transformer-analog DC voltage transforming method, is characterized in, selsyn signal/signals of rotating transformer carries out the Signal Spacing conversion through miniature isolating transformer, produces one group of cosine and sine signal V
1And V
2, the digital angle φ that produces with up-down counter multiplies each other in the sine and cosine multiplier, obtains signal V
3, V
4Error signal kEoSin of output behind error amplifier (θ-φ), the closed loop that this error signal is formed through phase-sensitive demodulator, integrator, voltage controlled oscillator and up-down counter, seek the Sin (zero point of θ-φ), when this process is finished, VSin (θ-φ)<1LSB, autosyn/rotary transformer shaft angle θ converts the up-down counter numeral angle φ output of parallel natural binary code form to; Export digital angle φ and digital angle φ is carried out digital processing and amplifying through the FPGA Programmable Logic Controller, make the digital angle of output step-length increase or reduce, reach the amplification of signal or dwindle, the digital angle σ of FPGA Programmable Logic Controller output is transported to the digital-analogue dc voltage changer of being made up of D/A converter, reference power supply and operational amplifier, become analog DC voltage signal Vo, finish shaft angle-DC voltage translation function, the digital-analogue dc voltage changer is provided with voltage gain and total null voltage adjustment; (among the θ-φ), k is a no-load voltage ratio, and Eo is the amplitude of reference voltage, and θ is the autosyn/rotary transformer shaft angle, and φ is the up-down counter numeral angle of parallel natural binary code form at kEoSin.
Technical matters to be solved by this invention can also further realize by following technical scheme.Above-described a kind of autosyn/rotary transformer-analog DC voltage transforming method, be characterized in, in the FPGA Programmable Logic Controller, the digital angle φ signal of input is selected control through mode, the digital angle φ ' of output is increased and linear increasing or linear the minimizing with input angle φ, after the design of arithmetic circuity realization pipelining, the output voltage of setting and the digital angle φ ' of input carry out multiplier computing and signal Processing, increase or reduce to export the step-length of digital angle signal, realize the amplification of digital signal or dwindle; Described multiplier is provided with reference clock and controls.
Technical matters to be solved by this invention can also further realize by following technical scheme.Above-described a kind of autosyn/rotary transformer-analog DC voltage transforming method, be characterized in, for the system that needs zero shift, the deviation angle tolerance ρ of input is by the FPGA Programmable Logic Controller, make deviation angle tolerance ρ and superpose through full adder by the digital angle after the signal Processing, realize finishing the skew of zero signal between the null position biasing scope-180 °-+180 °, described full adder is realized the pipelining design by arithmetic circuity; Enable control signal control output latch, make the angle output of skew numeral or the shutoff of full adder output; Described full adder is provided with reference clock and controls.
Be specifically addressed below.
1.1 autosyn/rotary transformer-digital conversion technique
Circuit is made up of seven parts such as miniature isolating transformer, sine and cosine multiplier, error amplifier, phase-sensitive demodulator, integrator, voltage controlled oscillator, up-down counters, has adopted 2 rank servo loops, the digital angle signal Continuous Tracking input shaft angle of output.If selsyn signal input, selsyn 3 line signals through miniature isolating transformer just converting to, the voltage signal V of cosine form
1And V
2
V
1=kEoSin?ω?t?Sinθ
V
2=kEoSin ω?t?Cosθ
θ is the shaft angle of selsyn;
K is a no-load voltage ratio;
E0 is the amplitude of reference voltage;
ω is a carrier frequency, both the angular frequency of excitation voltage.
If the signals of rotating transformer input, rotary transformer 4 line signals only rise and isolate and hypotensive effect behind isolating transformer.
Suppose that the current digital angle of up-down counter is φ.So, V
1, V
2The digital angle φ of signal and up-down counter multiplies each other V in the sine and cosine multiplier
1Multiply by cos φ, V2 multiply by sin φ and obtains voltage signal V
3And V
4:
V
3=kEoSin?ω?t?SinθCosφ
V
4=kEoSin?ω?t?CosθSinφ
These signals subtract each other through error amplifier and obtain:
V
3-V
4=kEoSin?ω?t(sinθCosφ-CosθSinφ)=kEoSin?ω?tSin(θ-φ)
(zero point of θ-φ) such as a closed loop system looks Sin who forms through phase-sensitive demodulator, integrator, voltage controlled oscillator and up-down counter etc.In the accuracy rating of converter regulation, up-down counter digital angle φ at this moment equals the shaft angle θ of autosyn/rotary transformer, with parallel natural binary code form output.
1.2 FPGA PLC technique
Adopt FPGA field-programmable controller technology design digital amplifier, its principle as shown in Figure 2.The signal of input is selected control through mode, and described mode selects control to have 2 kinds, and a kind of is that the zero-bit digital voltage is zero, and exporting digital angle φ ' increases and linear increasing with input angle φ; Another kind is that the zero-bit digital voltage is a maximal value, exporting digital angle φ ' increases and linear the minimizing with input angle φ, carry out multiplier computing and signal Processing by the output voltage of setting and the digital angle φ ' of input, increase or reduce to export the step-length of digital angle signal, realize the amplification of digital signal or dwindle.Digital amplifier is compared with analogue amplifier, and the voltage signal linearity of amplification is good, and the zero-point voltage error does not change with amplifier.For the system that needs zero shift, input deviation angle tolerance, the digital angle stack by full adder and conversion realizes the skew of null position.
In order significantly to improve the speed of system.Multiplier and full adder are realized the pipelining design by arithmetic circuity, and the logical operation that will finish in a clock is divided into the less operation of several steps, and insert the data throughput that several clock period improve system.
1.3 digital-analogue dc voltage conversion technology
The digital angle σ of FPGA Programmable Logic Controller output binary code, after buffering, be connected to the digital-analogue dc voltage changer, converter inside has the high precision reference power supply and the operational amplifier of D/A converter, band temperature compensation, has finished the conversion of parallel natural binary code to the analog DC voltage signal.The gain of output signal voltage and zero point can be regulated by potentiometer.Output dc voltage is directly proportional with the digital angle of the autosyn/rotary transformer of input, and the cycle changes.
1.4 technical performance index
Autosyn/rotary transformer-DC voltage conversion performance index is as shown in table 1.
Table 1:
Compared with prior art, the present invention is based on autosyn/rotary transformer-digital conversion technique, utilize that its tracing property is strong, speed is fast, the conversion accuracy advantages of higher, the digital-analogue dc voltage conversion technology of combined high precision and FPGA control technology able to programme realize that selsyn signal/signals of rotating transformer converts the analog DC voltage signal to.The present invention adopts hybrid integration technology, has the integrated level height, and is low in energy consumption, characteristics such as reliability height.The present invention adopts FPGA Controlled by Programmable Controller output analog DC voltage size, and the analog DC voltage of output is directly proportional with the angle of input.
Embodiment
Embodiment 1.With reference to Fig. 1.A kind of autosyn/rotary transformer-analog DC voltage transforming method is characterized in that, selsyn signal/signals of rotating transformer carries out the Signal Spacing conversion through miniature isolating transformer, produces one group of cosine and sine signal V
1And V
2, the digital angle φ that produces with up-down counter multiplies each other in the sine and cosine multiplier, obtains signal V
3, V
4Error signal KEoSin of output behind error amplifier (θ-φ), the closed loop that this error signal is formed through phase-sensitive demodulator, integrator, voltage controlled oscillator and up-down counter etc., seek the Sin (zero point of θ-φ), when this process is finished, VSin (θ-φ)<1LSB, autosyn/rotary transformer shaft angle θ converts the digital angle φ output of parallel natural binary code form to; Export digital angle φ and digital angle φ is carried out digital processing and amplifying through the FPGA Programmable Logic Controller, make the digital angle of output step-length increase or reduce, reach the amplification of signal or dwindle, the digital angle σ of FPGA Programmable Logic Controller output is transported to the digital-analogue dc voltage changer of being made up of D/A converter, reference power supply and operational amplifier, become analog DC voltage signal Vo, finish shaft angle-DC voltage translation function, the digital-analogue dc voltage changer is provided with voltage gain and total null voltage adjustment.
Embodiment 2.With reference to Fig. 1, Fig. 2, in embodiment 1, in the FPGA Programmable Logic Controller, the digital angle φ signal of input is selected control through mode, linear increase or linearity reduce with input angle φ increase to make the digital angle φ ' of output, and after the design of arithmetic circuity realization pipelining, the digital angle φ ' of the output voltage of setting and input carries out multiplier computing and signal Processing, increase or reduce to export the step-length of digital angle signal, realize the amplification of digital signal or dwindle; Described multiplier is provided with reference clock and controls.
Embodiment 3.With reference to Fig. 1, Fig. 2, in embodiment 2, for the system that needs zero shift, the deviation angle tolerance ρ of input is by the FPGA Programmable Logic Controller, make deviation angle tolerance ρ and superpose through full adder by the digital angle after the signal Processing, realize finishing the skew of zero signal between the null position biasing scope-180 °-+180 °, described full adder is realized the pipelining design by arithmetic circuity; Enable control signal control output latch, make the angle output of skew numeral or the shutoff of full adder output; Described full adder is provided with reference clock and controls.
Embodiment 4.
For the selsyn input signal:
VS1-S3=kEoSin?ω?tSinθ
V
S3-S2=kEoSin?ω?tSin(θ+120)
V
S2-S1=kEoSin?ω?tSin(θ+240)
For the rotary transformer input signal:
V
S1-S3=kEoSin?ω?tSinθ
V
S2-S4=kEoSin?ω?tCosθ
Output dc voltage | Vo|≤+ 10V, Vm≤+ 10V.Output voltage is proportional with the input shaft angle, when θ=179.99 °, and output voltage V o=Vm, when θ=180 °, output voltage V o=-Vm, its output waveform is as shown in Figure 3.
Embodiment 5.
For the selsyn input signal:
V
S1-S3=kEoSin?ω?tSin(θ+ρ)
V
S3-S2=kEoSin?ω?tSin(θ+ρ+120)
V
S2-S1=kEoSin?ω?tSin(θ+ρ+240)
For the rotary transformer input signal:
V
S1-S3=kEoSin?ω?tSin(θ+ρ)
V
S2-S4=kEoSin?ω?tCos(θ+ρ)
Output dc voltage | Vo|≤+ 10V, Vm≤+ 10V, ρ is a leading angle, 0 °<ρ<180 °.Output voltage is proportional with the input shaft angle, when θ+ρ=179.99 °, and output voltage V o=Vm, when θ+ρ=180 °, output voltage V o=-Vm, its output waveform is as shown in Figure 4.
Embodiment 6.
For the selsyn input signal:
V
S1-S3=kEoSin?ω?tSin(θ-ρ)
V
S3-S2=kEoSin?ω?tSin(θ-ρ+120)
V
S2-S1=kEoSin?ω?tSin(θ-ρ+240)
For the rotary transformer input signal:
V
S1-S3=kEoSin?ω?tSin(θ-ρ)
V
S2-S4=kEoSin?ω?tCos(θ-ρ)
Output dc voltage | Vo|≤+ 10V, Vm≤+ 10V, ρ is the hysteresis angle, 0 °<ρ<180 °.Output voltage is proportional with the input shaft angle, when θ-ρ=179.99 °, and output voltage V o=Vm, when θ-ρ=180 °, output voltage V o=-Vm, its output waveform is as shown in Figure 5.
Embodiment 7.
For the selsyn input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSinθ
V
S3-S2=-kEoSinωtSin(θ+120)
V
S2-S1=-kEoSin?ω?tSin(θ+240)
For the rotary transformer input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSinθ
V
S2-S4=kEoSin?ω?tCosθ
Output dc voltage | Vo|≤+ 10V, Vm≤+ 10V.Output voltage is proportional with the input shaft angle, when θ=179.99 °, and output voltage V o=-Vm, when θ=180 °, output voltage V o=Vm, its output waveform is as shown in Figure 6.
Embodiment 8.
For the selsyn input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSin(θ+ρ)
V
S3-S2=-kEoSin?ω?tSin(θ+ρ+120)
V
S2-S1=-kEoSin?ω?tSin(θ+ρ+240)
For the rotary transformer input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSin(θ+ρ)
V
S2-S4=kEoSin?ω?tCos(θ+ρ)
Output dc voltage | Vo|≤+ 10V, Vm≤+ 10V, ρ is a leading angle, 0 °<ρ<180 °.Output voltage is proportional with the input shaft angle, when θ+ρ=179.99 °, and output voltage V o=-Vm, when θ+ρ=180 °, output voltage V o=Vm, its output waveform is as shown in Figure 7.
Embodiment 9.
For the selsyn input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSin(θ-ρ)
V
S3-S2=-kEoSin?ω?tSin(θ-ρ+120)
V
S2-S1=-kEoSin?ω?tSin(θ-ρ+240)
For the rotary transformer input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSin(θ-ρ)
V
S2-S4=kEoSin?ω?tCos(θ-ρ)
Output dc voltage | Vo|≤+ 10V, Vm≤+ 10V, ρ is the hysteresis angle, 0 °<ρ<180 °.Output voltage is proportional with the input shaft angle, when θ-ρ=179.99 °, and output voltage V o=-Vm, when θ-ρ=180 °, output voltage V o=Vm, its output waveform is as shown in Figure 8.
Embodiment 10.
For the selsyn input signal:
V
S1-S3=kEoSin?ω?tSinθ
V
S3-S2=kEoSin?ω?tSin(θ+120)
V
S2-S1=kEoSin?ω?tSin(θ+240)
For the rotary transformer input signal:
V
S1-S3=kEoSin?ω?tSinθ
V
S2-S4=kEoSin ω tCos θ output dc voltage | Vo| 〉+10V,
Output voltage is proportional with the input shaft angle, when 180 °〉θ 〉=θ
mThe time, output voltage V o=+10V is as 180 °+θ
mDuring θ 〉=180 °, and output voltage V o=-10V, its output waveform is as shown in Figure 9.
Embodiment 11.
For the selsyn input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSinθ
V
S3-S2=-kEoSin?ω?tSin(θ+120)
V
S2-S1=-kEoSin?ω?tSin(θ+240)
For the rotary transformer input signal:
V
S1-S3=-kEoSin?ω?tSinθ
V
S2-S4=kEoSin?ω?tCosθ
Output dc voltage | Vo| 〉+10V,
Output voltage is proportional with the input shaft angle, when 180 °〉θ 〉=θ
mThe time, output voltage V o=-10V is as 180 °+θ
mDuring θ 〉=180 °, and output voltage V o=+10V, its output waveform is as shown in figure 10.
Embodiment 12.
For the selsyn input signal:
V
S1-S3=kEoSin?ω?tSinθ
V
S3-S2=kEoSin?ω?tSin(θ+120)
V
S2-S1=kEoSin?ω?tSin(θ+240)
For the rotary transformer input signal:
V
S1-S3=kEoSin?ω?tSinθ
V
S2-S4=kEoSin?ω?tCosθ
Output dc voltage 0V<Vo≤+ 10V, Vm≤+ 10V.Output voltage is proportional with the input shaft angle, when θ=0 °, and output voltage V o=Vm, when θ=179.99 °, output voltage V o=0V, its output waveform is as shown in figure 11.
Embodiment 13.
For the selsyn input signal:
V
S1-S3=kEoSin?ω?tSin(θ+ρ)
V
S3-S2=kEoSin?ω?tSin(θ+ρ+120)
V
S2-S1=kEoSin?ω?tSin(θ+ρ+240)
For the rotary transformer input signal:
V
S1-S3=kEoSin?ω?tSin(θ+ρ)
V
S2-S4=kEoSin?ω?tCos(θ+ρ)
Output dc voltage 0V<Vo≤+ 10V, ρ is a leading angle, Vm≤+ 10V, 0 °<ρ<90 °.Output voltage is proportional with the input shaft angle, when θ+ρ=0 °, and output voltage V o=Vm, when θ+ρ=179.99 °, output voltage V o=0V, its output waveform is as shown in figure 12.
Embodiment 14.
For the selsyn input signal:
V
S1-S3=kEoSin?ωtSin(θ-ρ)
V
S3-S2=kEoSin?ω?tSin(θ-ρ+120)
V
S2-S1=kEoSin?ω?tSin(θ-ρ+240)
For the rotary transformer input signal:
V
S1-S3=kEoSin?ω?tSin(θ-ρ)
V
S2-S4=kEoSin?ω?tCos(θ-ρ)
Output dc voltage 0V<Vo≤+ 10V, ρ is the hysteresis angle, Vm≤+ 10V.Output voltage is proportional with the input shaft angle, and 0 °<ρ<180 °, when θ-ρ=0 °, output voltage V o=Vm, when θ-ρ=179.99 °, output voltage V o=0V, its output waveform is as shown in figure 13.
Embodiment 15.
For the selsyn input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSinθ
V
S3-S2=-kEoSin?ω?tSin(θ+120)
V
S2-S1=-kEoSin?ω?tSin(θ+240)
For the rotary transformer input signal:
V
S1-S3=-kEoSin?ω?tSinθ
V
S2-S4=kEoSin?ω?tCosθ
Output dc voltage 0V<Vo≤+ 10V, Vm≤+ 10V.Output voltage is proportional with the input shaft angle, when θ=0 °, and output voltage V o=OV, when θ=179.99 °, output voltage V o=Vm, its output waveform is as shown in figure 14.
Embodiment 16.
For the selsyn input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSin(θ+ρ)
V
S3-S2=-kEoSin?ω?tSin(θ+ρ+120)
V
S2-S1=-kEoSin?ω?tSin(θ+ρ+240)
For the rotary transformer input signal:
V
S1-S3=-kEoSin?ω?tSin(θ+ρ)
V
S2-S4=kEoSin?ω?tCos(θ+ρ)
Output dc voltage 0V<Vo≤+ 10V, ρ is a leading angle, Vm≤+ 10V.Output voltage is proportional with the input shaft angle, and 0 °<ρ<90 °, when θ+ρ=0 °, output voltage V o=0V, when θ+ρ=179.99 °, output voltage V o=Vm, its output waveform is as shown in figure 15.
Embodiment 17.
For the selsyn input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSin(θ-ρ)
V
S3-S2=-kEoSin?ω?tSin(θ-ρ+120)
V
S2-S1=-kEoSin?ω?tSin(θ-ρ+240)
For the rotary transformer input signal, S1 and S3 exchange back:
V
S1-S3=-kEoSin?ω?tSin(θ-ρ)
V
S2-S4=kEoSin?ω?tCos(θ-ρ)
Output dc voltage 0<Vo≤+ 10V, ρ is the hysteresis angle, Vm≤+ 10V, 0 °<ρ<90 °.Output voltage is proportional with the input shaft angle, when θ-ρ=0 °, and output voltage V o=0V, when θ-ρ=179.99 °, output voltage V o=Vm, its output waveform is as shown in figure 16.