CN100576139C - A kind of implementation method of digital angle converter - Google Patents

A kind of implementation method of digital angle converter Download PDF

Info

Publication number
CN100576139C
CN100576139C CN200610104600A CN200610104600A CN100576139C CN 100576139 C CN100576139 C CN 100576139C CN 200610104600 A CN200610104600 A CN 200610104600A CN 200610104600 A CN200610104600 A CN 200610104600A CN 100576139 C CN100576139 C CN 100576139C
Authority
CN
China
Prior art keywords
angle
converter
data
multiplier
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200610104600A
Other languages
Chinese (zh)
Other versions
CN101059708A (en
Inventor
杨军一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Aerospace Times Electronics Corp
Original Assignee
China Aerospace Times Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Aerospace Times Electronics Corp filed Critical China Aerospace Times Electronics Corp
Priority to CN200610104600A priority Critical patent/CN100576139C/en
Publication of CN101059708A publication Critical patent/CN101059708A/en
Application granted granted Critical
Publication of CN100576139C publication Critical patent/CN100576139C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

The present invention relates to a kind of implementation method of digital angle converter circuit, with the circuit of photoelectrical coupler, two DA converters, sine, cosine multiplier, voltage lifting and driving circuits and sine-wave generator, angle and analog digital amount conversion control circuit and angle-data register composition.Data variation by angle and analog digital amount conversion control circuit monitoring angle degrees of data register, when new data write the angle-data register, the angular metric θ that angle is corresponding according to these data with analog digital amount conversion control circuit solves and Sin θ and the corresponding digital quantity of Cos θ; Finish the conversion of Sin θ and Cos θ digital quantity and corresponding analog quantity by two DA converters, also finish respectively and the multiplying each other of reference signal simultaneously by two DA converters, after finishing conversion process, be automatically brought to input data signal is carried out new identification, repeat said process.The present invention adopts to use always and easily purchases function and the key technical indexes that components and parts have been realized the DRC chip, has reduced the cost of DRC chip.

Description

A kind of implementation method of digital angle converter
Technical field
The invention belongs to the Computer Applied Technology field, be specifically related to the implementation method of digital angle converter (DRC).
Background technology
For many years, the realization of DRC converter all is to adopt special-purpose DRC chip to realize.DRC chip commonly used has AD2S65/66, the DRC1745/1746 etc. of U.S. AD company.
These chips all are the hybrid package circuit, cost an arm and a leg and are limited by external.About 1999, because the stopping production of DRC chip, cause (being difficult to buy) in short supply of the source of goods and raise up (13450 yuan of every agreements that contracts a film or TV play to an actor or actress) of price, make original design integrated circuit board not use, have to change the device otherwise designed, or just need to wait for very long procurement cycle and will unilaterally accept expensive unit price.
Summary of the invention
The objective of the invention is to, a kind of implementation method of digital angle converter is provided, the inconvenience that brings with the stopping production that remedies the DRC chip, and reduce the high cost of DRC chip significantly.
In order to realize above-mentioned task, the present invention takes following technical solution:
A kind of implementation method of digital angle converter is characterized in that, comprises the following steps:
The first step is at first determined circuit structure, and its structure comprises:
By photoelectrical coupler control system and analog angle signal are isolated, be connected with a DA converter and the 2nd DA converter on this photoelectrical coupler respectively, the one DA converter is connected with sinusoidal multiplier, the 2nd DA converter is connected with the cosine multiplier, sinusoidal multiplier and cosine multiplier are connected with sinusoidal voltage lifting and driving circuit and cosine voltage respectively and promote and driving circuit, and be connected with on sinusoidal multiplier and the cosine multiplier as sine-wave generator, also have the voltage of reference signal to promote and driving circuit on the sine-wave generator with reference to signal.
Photoelectrical coupler also is connected with an angle and analog digital amount conversion control circuit, by angle and analog digital amount conversion control circuit the angular metric θ that imports is calculated conversion, be connected with the angle-data register on angle and the analog digital amount conversion control circuit.
In second step, determine the circuit working flow process.The data variation of angle and analog digital amount conversion control circuit monitoring angle degrees of data register, when new data write the angle-data register, the angular metric θ that angle is corresponding according to these data with analog digital amount conversion control circuit solves corresponding Sin θ and Cos θ; The positive full scale of the maximal value 1 corresponding angle data register of data-signal; The negative full scale of the minimum value of data-signal-1 corresponding angle data register; The sine value and the cosine value that solve are write a DA converter and the 2nd DA converter respectively; By a DA converter and the 2nd DA converter Sin θ and Cos θ are delivered to sinusoidal multiplier and cosine multiplier and reference signal respectively and multiply each other, then finish this computing, be automatically brought to then input data signal is discerned, continue said process.At last by sinusoidal voltage lifting and driving circuit with cosine voltage promotes and driving circuit is sent the consequential signal of taking advantage of.
Implementation method of the present invention adopts to use always and easily purchases components and parts, has realized the function and the key technical indexes of digital angle converter DRC chip; And its material cost only is about 2000 yuans, to greatly reduce the cost of DRC chip.
Description of drawings
Fig. 1 is a digital angle converter circuit structure block diagram of the present invention.
Fig. 2 is the workflow diagram of control circuit among the present invention.
Fig. 3 is the test comparison data picture that integrated circuit board carried out of integrated circuit board of the present invention and former employing special digital angle converter DRC chip.
Fig. 4 is the circuit diagram of a specific embodiment of the present invention.
The present invention is described in further detail below in conjunction with embodiment that accompanying drawing and inventor provide.
Embodiment
According to method of the present invention, the realization of digital angle converter comprises the following steps:
1. circuit structure
Its circuit block diagram as shown in Figure 1.According to analysis to DRC chip principle, the development of combined digital signal treatment technology, DRC circuit of the present invention is made of following several parts:
The photoelectrical coupler that is connected with the DA converter, photoelectrical coupler is connected to a DA converter and the 2nd DA converter, the one DA converter is connected with sinusoidal multiplier, the 2nd DA converter is connected with the cosine multiplier, sinusoidal multiplier and cosine multiplier are connected with sinusoidal voltage lifting and driving circuit and cosine voltage respectively and promote and driving circuit, be connected with on wherein sinusoidal multiplier and the cosine multiplier as sine-wave generator, also have the voltage of reference signal to promote and driving circuit on the sine-wave generator with reference to signal.
Photoelectrical coupler also is connected with an angle and analog digital amount conversion control circuit, by angle and analog digital amount conversion control circuit the angular metric θ that imports is calculated, and is connected with the angle-data register on angle and the analog digital amount conversion control circuit.
2. the realization of multiplier
First, second DA converter and multiplier two parts are actually to be finished by a DA converter, method is the digital quantity input end that digital quantity is mail to first, second DA converter, its corresponding simulating amount output is fixed according to the size of reference signal, therefore, the analog that will multiply each other with it is directly connected to the reference signal input end of DA converter, has just realized multiplying each other of analog quantity after the digital quantity conversion and reference signal automatically.
3. calculation of parameter
According to precision is the needs of 14 bit digital angle converter DRC chips, selects for use 16 DA converters to finish the conversion of Y1=Sin θ and Y2=Cos θ; Computational accuracy also intercepting simultaneously is 16; Consider that the required simple harmonic wave frequency of DRC chip is 400Hz~800Hz, so actual frequency is designed to about 500Hz.
Require the frequency response of its large-signal to be simultaneously in the selecting for use of DAC (digital to analog converter): when the error of Vout is not less than 0.006%FSR, must not be lower than 80KHz by frequency, offset voltage must not be greater than ± 2LSBFSRV.
The data variation of angle and analog digital amount conversion control circuit monitoring angle degrees of data register when new data write the angle-data register, is then carried out corresponding calculating to angular metric θ, and computing formula is as follows:
At first the angular metric θ according to input calculates corresponding Sin θ and Cos θ.
Sinθ = θ - θ 3 3 ! + θ 5 5 ! - θ 7 7 ! + · · · = Σ n = 1 ∞ ( - 1 ) n + 1 θ 2 n - 1 ( 2 n - 1 ) !
Cosθ = 1 - θ 2 2 ! + θ 4 4 ! - θ 6 6 ! + · · · = Σ n = 1 ∞ ( - 1 ) n + 1 θ 2 ( n - 1 ) [ 2 ( n - 1 ) ] !
Then itself and reference signal ViSin ω t are multiplied each other, obtain:
Vo sin=ViSinωtSinθ
Vo cos=ViSinωtCosθ
At last according to of the requirement of RDC (analog angle and data converter) chip,, draw the output of ViSin ω tSin θ and the ViSin ω tCos θ adjustment that gains to the resolver amplitude:
Vo sin=GViSinωtSinθ
Vo cos=GViSinωtCosθ
3. angle and analog digital amount conversion control circuit control flow design
Angle and analog digital amount conversion control circuit play a part the control maincenter in whole conversion, the workflow of angle and analog digital amount conversion control circuit has embodied the control thought of entire circuit.
Referring to Fig. 2, after system powers on, at first carry out initialization, then the data of input are discerned, obtain θ; Obtain pairing sine and cosine value Sin θ and Cos θ by calculating; Sin θ and Cos θ are delivered to sinusoidal multiplier and cosine multiplier and reference signal respectively multiply each other, then finish this and handle, control forwards to carries out new identification to the input data, and continues said process.
Concrete principle of work of the present invention is: when the angle-data that will take place as the CPU of control system writes the angle-data register of DRC by data bus, angle in the DRC circuit and analog digital amount conversion control circuit are monitored the data variation of this angle-data register, when new data writes the angle-data register, the angle that angle is corresponding according to these data with analog digital amount conversion control circuit solves corresponding Sin θ and Cos θ; The positive full scale of the maximal value 1 corresponding angle data register value of this data-signal; The negative full scale of the minimum value of this data-signal-1 corresponding angle data register value; The sine and cosine value that solves is write a DA converter (DAC1) and the 2nd DA converter (DAC2) respectively.Because the relation of circuit amplitude, the output of two-way digital to analog converter (DAC1, DAC2) is respectively ViSin θ and ViCos θ.
ViSin θ and ViCos θ are sent to sinusoidal multiplier 1 and cosine multiplier 2, multiply each other with reference signal Sin ω t respectively, and, finally obtain GViSin ω tSin θ and GViSin ω tCos θ through sinusoidal voltage lifting and driving circuit and lifting of cosine voltage and driving circuit realization gain adjustment.
The present invention has realized the function and the key technical indexes of DRC chip; Secondly components and parts of the present invention are the device of easily purchasing commonly used; The 3rd material cost of the present invention only is about 2000 yuans.
The workflow of angle and analog digital amount conversion control circuit can be used chip microcontroller, also can adopt sequential control circuit to realize; Corresponding flow process as shown in Figure 2.
The present invention has been used for the unit testing instrument of certain equipment, after tested proof: 84 measured values that carried out are all qualified, and maximum error is 2 LSB, and have only a measured value.Fig. 3 is the test comparison data that integrated circuit board carried out of integrated circuit board of the present invention and the special-purpose DRC chip of former employing.
According to method of the present invention, the applicant provides a specific embodiment, as shown in Figure 4, entire circuit comprises that one of eight of one of two of data register 54HCT373, code translator GAL16V8, optical coupling isolator HCPL-5630, single chip computer AT 89C51, one of two of DA converter AD7849, sinusoidal signal generator MAX038, four of operational amplifier OPA2227, voltage promote three of operational amplifier OPA445, boosting voltage and produce each one of circuit LM337T and LM317T.
The ultimate principle of this circuit is as follows:
P1 among the figure, P2 are two bus plugs, and it is the interface of certain DRC circuit board and host CPU, and when this circuit was used for other system, its attachment plug was not necessarily identical therewith, and it just sets up the annexation of DRC circuit and host CPU.
By host CPU the data register (two 54HCT373) that hangs on the bus is carried out the write operation of angle-data; The output of data register is delivered to 14 isolated data respectively on the P0 and P2 mouth of single-chip microcomputer (AT89C51) by 8 opto-coupler chips, single-chip microcomputer is gathered the data variation of these two mouths and is differentiated, when finding that data change, carry out data computation (Sin θ and Cos θ) immediately, and result of calculation is sent to DA converter (two AD7849) respectively, MAX038 is responsible for producing the standard sine wave signal, after this sine wave signal amplifies through OPA2227 (D17A), be sent to the reference signal input end (the VREF+ end of D13 and D14) of DA converter, the output of two DA converters is sent to OPA2227 (D16A and D16B) respectively and carries out voltage follow, and D18 is sent in the output of follower and D19 (OPA445) carries out the voltage lifting; Be sent to OPA2227 (D17B) through the sine wave signal after OPA2227 (D17A) amplification and carry out voltage follow, the output of follower is sent to D20 (OPA445) and is carried out the voltage lifting; Finally finished the generation of three signals (sinusoidal signal, cosine signal, reference signal).
D21 (LM7905) produces required-5V voltage for MAX038; D22 and D23 (LM337T and LM317T) provide ± the 20V power supply for operational amplifier (OPA445).
They are exactly to connect the concrete application circuit of realization according to the present invention, and have been applied in the unit testing instrument of certain model.

Claims (1)

1. the implementation method of a digital angle converter is characterized in that, comprises the following steps:
The first, at first determine circuit structure, its structure comprises:
An optocoupler circuit, be connected with a DA converter and the 2nd DA converter on this photoelectrical coupler respectively, the one DA converter is connected with sinusoidal multiplier, the 2nd DA converter is connected with the cosine multiplier, sinusoidal multiplier and cosine multiplier are connected with sinusoidal voltage lifting and driving circuit and cosine voltage respectively and promote and driving circuit, be connected with on wherein sinusoidal multiplier and the cosine multiplier as the sine-wave generator with reference to signal, the output of sine-wave generator has the voltage of reference signal to promote and driving circuit;
Photoelectrical coupler also is connected with an angle and analog digital amount conversion control circuit, is used for the angular metric θ of input is carried out corresponding calculating, also is connected with the angle-data register on angle and the analog digital amount conversion control circuit;
Photoelectrical coupler is used for digital control circuit and DRC simulating signal are kept apart, to improve the precision of drc signal; When system does not require isolation, also can save photoelectrical coupler;
Second, the data variation of angle and analog digital amount conversion control circuit monitoring angle degrees of data register, when new data-signal write the angle-data register, the angular metric θ that angle is corresponding according to these data with analog digital amount conversion control circuit solved corresponding Sin θ and Cos θ; The positive full scale of the maximal value 1 corresponding angle data register of data-signal; The negative full scale of the minimum value of data-signal-1 corresponding angle data register; The sine value and the cosine value that solve are write a DA converter and the 2nd DA converter respectively; By a DA converter and the 2nd DA converter Sin θ and Cos θ are delivered to first multiplier and second multiplier and reference signal respectively and multiply each other, then finish this and handle, be automatically brought to then input data signal is carried out new identification, and continue said process;
Described first, second DA converter is actually by a DA converter and is achieved with sinusoidal, cosine multiplier two parts, its implementation is the digital quantity input end that digital quantity is mail to described DA converter, the analog quantity output of DA converter is fixed according to the size of reference signal, therefore, the analog that will multiply each other with it is directly connected to the reference signal input end of DA converter, just can realizes multiplying each other of analog quantity after the digital quantity conversion and reference signal automatically.
CN200610104600A 2006-09-18 2006-09-18 A kind of implementation method of digital angle converter Expired - Fee Related CN100576139C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610104600A CN100576139C (en) 2006-09-18 2006-09-18 A kind of implementation method of digital angle converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610104600A CN100576139C (en) 2006-09-18 2006-09-18 A kind of implementation method of digital angle converter

Publications (2)

Publication Number Publication Date
CN101059708A CN101059708A (en) 2007-10-24
CN100576139C true CN100576139C (en) 2009-12-30

Family

ID=38865850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610104600A Expired - Fee Related CN100576139C (en) 2006-09-18 2006-09-18 A kind of implementation method of digital angle converter

Country Status (1)

Country Link
CN (1) CN100576139C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346795A (en) * 2013-06-26 2013-10-09 中国航天科技集团公司第九研究院第七七一研究所 Method for realizing digital angle converter and digital angle switching circuit of digital angle converter
CN110220595A (en) * 2019-04-28 2019-09-10 北京锐达芯集成电路设计有限责任公司 A kind of chip

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
14位S/RDC的设计. 徐赏林.四川大学硕士学位论文. 2006
14位S/RDC的设计. 徐赏林.四川大学硕士学位论文. 2006 *
小型化高精度DRC/DSC模块开发研究. 徐大林,顾良圭,黄新吉.电子工程师. 1999
小型化高精度DRC/DSC模块开发研究. 徐大林,顾良圭,黄新吉.电子工程师. 1999 *
数字/旋转变压器转换模块及其外围电路设计. 沈祝山,杨笃伟,杨东升.电子技术应用. 2001
数字/旋转变压器转换模块及其外围电路设计. 沈祝山,杨笃伟,杨东升.电子技术应用. 2001 *

Also Published As

Publication number Publication date
CN101059708A (en) 2007-10-24

Similar Documents

Publication Publication Date Title
CN104614593A (en) Self-calibration based high-precision intelligent instrument system and application method thereof
CN206945765U (en) Signal generator and system
CN207198253U (en) A kind of servo rotary transformer analog device based on FPGA
CN100576139C (en) A kind of implementation method of digital angle converter
CN204330001U (en) A kind of angle to digital conversion Module Automatic Test System based on LAN (Local Area Network)
CN203422097U (en) Multifunctional networking digital shaft angle converter
CN103926550A (en) Device and method for checking electric transformer based on virtual instrument
CN103383443A (en) Modularized three-phase instrument calibrating device for smart grid
CN104569899A (en) High-accuracy high-voltage direct-current transformer calibrator
CN203881815U (en) Simple high-precision DC electronic load
CN204515006U (en) A kind of eight railway digital System of voltage acquisitions
CN203433041U (en) An electric energy meter provided with a communication function
CN201788231U (en) Micro-power fieldbus instrument
CN109855661A (en) A kind of incremental encoder signal processing method and system
CN108036718A (en) A kind of tablet planeness detection system and its method
CN201255768Y (en) Three phase harmonic standard electrical energy meter
CN203535207U (en) Modularized three-phase instrument calibrating device for smart grid
CN103616086B (en) Thermal resistance temperature transmitter
CN203773040U (en) Virtual instrument calibration electric transformer-based device
CN202305551U (en) Engine speed signal instrument for complete vehicle test
CN202330695U (en) Electric energy meter calibrating device capable of conducting dual-track error calculation
CN205750373U (en) Flowmeter for realizing 4-20mA loop detection
CN110068438A (en) A kind of nuclear power engineering structure autoexcitation Gernral Check-up monitoring data acquisition device
CN103346795A (en) Method for realizing digital angle converter and digital angle switching circuit of digital angle converter
Zhao et al. Design of a data acquisition system for building electrical fault diagnosis

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091230

Termination date: 20160918