CN112485460B - Signal acquisition and compensation method for rotary transformer - Google Patents

Signal acquisition and compensation method for rotary transformer Download PDF

Info

Publication number
CN112485460B
CN112485460B CN202011286874.XA CN202011286874A CN112485460B CN 112485460 B CN112485460 B CN 112485460B CN 202011286874 A CN202011286874 A CN 202011286874A CN 112485460 B CN112485460 B CN 112485460B
Authority
CN
China
Prior art keywords
signal
signals
rotary transformer
excitation
sine
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.)
Active
Application number
CN202011286874.XA
Other languages
Chinese (zh)
Other versions
CN112485460A (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.)
Shanghai GIE EM Co Ltd
Original Assignee
Shanghai GIE EM Co Ltd
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 Shanghai GIE EM Co Ltd filed Critical Shanghai GIE EM Co Ltd
Priority to CN202011286874.XA priority Critical patent/CN112485460B/en
Publication of CN112485460A publication Critical patent/CN112485460A/en
Application granted granted Critical
Publication of CN112485460B publication Critical patent/CN112485460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/42Devices characterised by the use of electric or magnetic means
    • G01P3/44Devices characterised by the use of electric or magnetic means for measuring angular speed
    • G01P3/48Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage
    • G01P3/4802Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage by using electronic circuits in general

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

The invention discloses a signal acquisition and compensation method of a rotary transformer, which utilizes a peak point of an excitation signal of the rotary transformer as a trigger source to trigger a synchronous sampling module of a processor, and adds or subtracts sine and cosine output signals of the rotary transformer to generate a group of new synthesized signals.

Description

Signal acquisition and compensation method for rotary transformer
Technical Field
The invention relates to a signal acquisition and compensation method of a rotary transformer, in particular to an AD (analog-to-digital) sampling mode of sine and cosine signals of the rotary transformer and phase compensation of sampling signals.
Background
The resolver is a common speed sensor in the field of industrial driving, and currently, two main ways exist in the signal processing of the sensor: firstly, a special processing chip (RDC) is adopted to directly obtain an angle; and the other is to use a discrete device to form a circuit, and after sine and cosine signals are collected, the angle is obtained by using a corresponding algorithm. The special processing chip is adopted, so that the method has the characteristics of stability and convenience, but the price is high. The circuit formed by discrete devices and a certain algorithm are adopted, so that good effects can be obtained. But errors are a problem that must be dealt with when discrete devices are processed.
For example: when sine and cosine signals are collected, two paths of signals cannot be collected at the same time, and the two paths of collected signals cannot be completely orthogonal, so that the accuracy of the algorithm is influenced. There are documents that propose the use of special AD synchronous sampling modules, which increase the cost.
Another example is: the rotary transformer is a resistance-inductance load, the phase shift inevitably occurs between the primary excitation signal and the secondary output signal, and a certain phase shift is caused by the output signal in the conditioning process.
Aiming at the problems, the invention provides a comprehensive solution, and discrete devices are adopted, so that the cost is reduced, and the reliable precision can be ensured in real time.
Disclosure of Invention
Aiming at the problem of errors in the circuit acquisition and processing processes, the invention provides a signal acquisition and compensation method of a rotary transformer based on an AD synchronous sampling function of an excitation signal peak trigger MCU processor, which can obtain a higher signal-to-noise ratio, reduce errors caused by asynchronous sampling of sine and cosine signals and simultaneously has lower cost.
The technical problem to be solved by the invention can be realized by the following technical scheme:
a signal acquisition and compensation method of a rotary transformer is characterized in that: triggering an AD conversion function of outputting sine and cosine signals by the rotary transformer at the peak point of the excitation signal by utilizing the self synchronous sampling function of the MCU processor; simultaneously, adding or subtracting a sine signal and a cosine signal output by the rotary transformer to obtain a new synthetic signal;
after a system is powered on or before a motor runs every time, automatically capturing the phase difference between an excitation signal and a synthesized signal, if the phase difference is within a preset range, converting the phase difference into the time difference between an excitation frequency and a sine signal or a cosine signal output by a rotary transformer, and automatically setting the time difference in an AD delay conversion register of an MCU processor; if the phase difference exceeds the preset range, an error is reported, and the operation is forbidden.
In a preferred embodiment of the present invention, the triggering of the AD conversion function of the resolver to output the sine signal and the cosine signal at the peak point of the excitation signal refers to triggering an AD synchronous sampling module inside the MCU processor to perform synchronous sampling at the peak point of the excitation signal.
In a preferred embodiment of the present invention, the adding or subtracting the sine signal and the cosine signal output by the resolver to obtain a new synthesized signal specifically means: and (3) processing the sine signal and the cosine signal output by the rotary transformer in a trigonometric function processing mode of addition or subtraction to obtain a group of new signals, wherein the new signals are synthesized signals.
In a preferred embodiment of the invention, the phase difference between the synthesized signal and the output sine and cosine signals is fixed.
In a preferred embodiment of the present invention, the excitation signal is represented by the following formula (1):
V=E m *sinωt (1)
the sinusoidal signal output by the resolver is represented by the following formula (2):
V1=k*E m *sinωt*sinθ (2)
the cosine signal output by the resolver is represented by the following formula (3):
V2=k*E m *sinωt*cosθ (3)
the resultant signal is represented by the following formula (4) or formula (5):
Figure GDA0003845577380000021
Figure GDA0003845577380000022
in the above formula (1), formula (3), formula (4), and formula (5): v is the excitation signal, E m The effective value of the excitation voltage of the primary coil of the rotary transformer is shown, sin ω t is the angle sine value of the excitation signal of the primary coil, V1 is the sine signal output by the rotary transformer, V2 is the cosine signal output by the rotary transformer, k is the transformation ratio, and θ is the rotation angle.
In a preferred embodiment of the present invention, the phase difference between the automatic acquisition excitation signal and the synthesized signal is: and acquiring zero-crossing signals or peak signals of the excitation signals and the synthesized signals, and capturing the phase difference of the excitation signals and the synthesized signals.
Due to the adoption of the technical scheme, the phase difference between the excitation signal and the sine signal or the cosine signal entering the MCU processor is measured after the system is powered on every time or before the system runs every time, so that the problems of deviation of device parameters, phase change caused by temperature and the like can be effectively solved.
Since the resolver may output 0 for one phase at some specific angles (0 °, 90 °, 180 °, etc.), the present invention uses the way of adding or subtracting the sine and cosine output signals to obtain a composite signal, which is phase-shifted from the output sine and cosine signal but has a fixed offset.
If the phase difference between the excitation signal and the synthesized signal is smaller than the preset offset, converting the phase difference into the phase difference between the excitation frequency and the output sinusoidal signal, and compensating in the delay sampling time of the synchronous sampling module. If the phase difference is larger than the preset offset, an error is reported and the operation is forbidden.
The invention not only ensures the precision of the collected signal, but also can stably realize the function of phase locking in a simpler mode.
Drawings
FIG. 1 is a schematic diagram of the present invention using an MCU processor to capture excitation signals and synthesized signals.
FIG. 2 is a schematic diagram of the excitation signal and the output signal of the resolver according to the present invention.
FIG. 3 is a schematic diagram of an output signal and a synthesized signal of a resolver according to the present invention.
FIG. 4 is a diagram of synchronous sampling and compensation according to the present invention.
Detailed Description
The present invention is further described with reference to the following drawings and specific embodiments so that those skilled in the art can better understand the present invention and can implement the present invention.
The invention relates to a signal acquisition and compensation method of a rotary transformer, which utilizes the self-carried synchronous sampling function of an MCU processor to trigger the AD conversion function of the rotary transformer to output sine and cosine signals at the peak point of an excitation signal; simultaneously, adding or subtracting the sine signal and the cosine signal output by the rotary transformer to obtain a new synthesized signal;
after a system is powered on or before a motor runs every time, automatically capturing the phase difference between an excitation signal and a synthesized signal, if the phase difference is within a preset range, converting the phase difference into the time difference between an excitation frequency and a sine signal or a cosine signal output by a rotary transformer, and automatically setting the time difference in an AD delay conversion register of an MCU processor; if the phase difference exceeds the preset range, an error is reported, and the operation is forbidden.
The step of triggering the resolver to output the AD conversion function of the sine signal and the cosine signal at the peak point of the excitation signal refers to triggering an AD synchronous sampling module in the MCU processor to perform synchronous sampling by using the peak point of the excitation signal.
The step of adding or subtracting the sine signal and the cosine signal output by the rotary transformer to obtain a new synthesized signal specifically includes: and (3) processing the sine signal and the cosine signal output by the rotary transformer in a trigonometric function processing mode of addition or subtraction to obtain a group of new signals, wherein the new signals are synthesized signals.
The phase difference between the synthesized signal and the output sine and cosine signals is fixed.
The excitation signal is represented by the following formula (1):
V=E m *sinωt (1)
the sinusoidal signal output by the resolver is represented by the following equation (2):
V1=k*E m *sinωt*sinθ (2)
the cosine signal output by the resolver is represented by the following formula (3):
V2=k*E m *sinωt*cosθ (3)
the resultant signal is represented by the following formula (4) or formula (5):
Figure GDA0003845577380000041
Figure GDA0003845577380000042
in the above formula (1), formula (3), formula (4), and formula (5): v is the excitation signal, E m For the effective value of the exciting voltage, s, of the primary coil of the rotary transformerin ω t is an angle sine value of a primary coil excitation signal, V1 is a sine signal output by the rotary transformer, V2 is a cosine signal output by the rotary transformer, and k is a transformation ratio; and theta is a rotation angle.
The phase difference between the automatic acquisition excitation signal and the synthesized signal is as follows: and acquiring zero-crossing signals or peak signals of the excitation signals and the synthesized signals, and capturing the phase difference of the excitation signals and the synthesized signals.
The signal acquisition and compensation method of the resolver of the embodiment specifically comprises the following steps:
(1) The sine signal and the cosine signal output by the rotary transformer are collected, the adder is used to obtain the synthesized signal, and the operational amplifier circuit generates the square wave signal of the zero crossing point (in the embodiment, taking the addition as an example, the synthesized signal lags behind the output sine signal by 45 degrees, and if the subtraction is used, the synthesized signal leads the sine signal by 45 degrees).
(2) And acquiring a zero crossing point of an excitation signal of the rotary transformer, and acquiring a square wave signal of the zero crossing point through an operational amplifier circuit and the like.
(3) The time difference t1 between the excitation signal and the zero point of the synthesized signal is captured with the MCU processor, see fig. 1 in particular.
(4) Converting the time difference t1 in the step (3) into a phase difference α, wherein the frequency of the excitation signal is, the phase difference between the synthesized signal and the excitation signal is the following formula (6):
α=t 1 *f*360° (6)
wherein: f is the frequency of the excitation signal;
(5) Due to the fixed lag sinusoidal signal of the composite signal of 45 °, it can be obtained that the phase difference β between the output sinusoidal signal of the resolver and the excitation signal is the following equation (7):
β=α-45° (7)
(6) And (5) judging whether the phase difference beta in the step (5) exceeds a designed preset value, if the phase difference is too large, generating an error prompt by the system, and forbidding operation.
(7) If the phase difference in the step (5) is within the designed preset range, converting the phase difference into the time difference t between the excitation signal and the sinusoidal signal output by the rotary transformer 2 (the following equation (8)).
t 2 =β/(f*360°) (8)
(8) The AD synchronous sampling is triggered at the zero point of the excitation signal, but with a certain delay sample time added.
Delay sample time = (1/4 excitation signal period) + (term [ 7 ] time difference)
=1/(4*f)+t 2
The delay of 1/4 of the excitation signal period is mainly to ensure sampling at the peak point of the excitation signal to ensure a better signal-to-noise ratio. And meanwhile, the time difference between the excitation signal and the output signal is delayed so as to compensate the phase difference brought by the physical device. The invention adopts a mode of delaying 1/4 of the period of the excitation signal to obtain a peak value sampling point, and if a hardware comparison mode is adopted to obtain the peak value point of the excitation signal, the invention also belongs to the protection range of the patent.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (6)

1. A signal acquisition and compensation method of a rotary transformer is characterized in that: triggering the AD conversion function of outputting sine and cosine signals by the rotary transformer at the peak point of the excitation signal by utilizing the self synchronous sampling function of the MCU processor; simultaneously, adding or subtracting a sine signal and a cosine signal output by the rotary transformer to obtain a new synthetic signal;
after a system is powered on or before a motor runs every time, automatically capturing the phase difference between an excitation signal and a synthesized signal, if the phase difference is within a preset range, converting the phase difference into the time difference between an excitation frequency and a sine signal or a cosine signal output by a rotary transformer, automatically setting the time difference in an AD delay conversion register of an MCU (microprogrammed control unit) processor, triggering AD synchronous sampling at a zero point of the excitation signal, but increasing a certain delay sampling time, wherein the delay sampling time = (1/4 excitation signal time) + (the time difference); if the phase difference exceeds the preset range, an error is reported, and the operation is forbidden.
2. The signal acquisition and compensation method of a resolver according to claim 1, wherein: the step of triggering the resolver to output the AD conversion function of the sine signal and the cosine signal at the peak point of the excitation signal refers to triggering an AD synchronous sampling module in the MCU processor to perform synchronous sampling by using the peak point of the excitation signal.
3. The signal acquisition and compensation method of a resolver according to claim 2, wherein: the step of adding or subtracting the sine signal and the cosine signal output by the rotary transformer to obtain a new synthesized signal specifically means that the sine signal and the cosine signal output by the rotary transformer are processed by a trigonometric function of addition or subtraction to obtain a group of new signals, and the new signals are synthesized signals.
4. A method of signal acquisition and compensation for a resolver according to claim 3, wherein: the phase difference between the synthesized signal and the output sine and cosine signals is fixed.
5. The signal acquisition and compensation method of a resolver according to claim 4, wherein: the excitation signal is represented by the following formula (1):
Figure 739565DEST_PATH_IMAGE001
(1)
the sinusoidal signal output by the resolver is represented by the following equation (2):
Figure 349538DEST_PATH_IMAGE002
(2)
the cosine signal output by the resolver is represented by the following formula (3):
Figure 581936DEST_PATH_IMAGE003
(3)
the resultant signal is represented by the following formula (4) or formula (5):
Figure 884742DEST_PATH_IMAGE004
(4)
Figure 382850DEST_PATH_IMAGE005
(5)
in the above formula (1), formula (3), formula (4), and formula (5):
Figure 999776DEST_PATH_IMAGE006
in order to excite the signal(s),
Figure 883419DEST_PATH_IMAGE007
is an effective value of the exciting voltage of the primary coil of the rotary transformer,
Figure 357125DEST_PATH_IMAGE008
is the value of the angle sine of the primary coil excitation signal,
Figure 591798DEST_PATH_IMAGE009
is a sinusoidal signal output by the rotary transformer,
Figure 294306DEST_PATH_IMAGE010
is the cosine signal output by the rotary transformer,
Figure 501296DEST_PATH_IMAGE011
is a transformation ratio;
Figure 411483DEST_PATH_IMAGE012
is the angle of rotation.
6. The signal acquisition and compensation method of a resolver according to claim 5, wherein: the phase difference between the automatic acquisition excitation signal and the synthesized signal is as follows: and acquiring zero-crossing signals or peak signals of the excitation signals and the synthesized signals, and capturing the phase difference of the excitation signals and the synthesized signals.
CN202011286874.XA 2020-11-17 2020-11-17 Signal acquisition and compensation method for rotary transformer Active CN112485460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011286874.XA CN112485460B (en) 2020-11-17 2020-11-17 Signal acquisition and compensation method for rotary transformer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011286874.XA CN112485460B (en) 2020-11-17 2020-11-17 Signal acquisition and compensation method for rotary transformer

Publications (2)

Publication Number Publication Date
CN112485460A CN112485460A (en) 2021-03-12
CN112485460B true CN112485460B (en) 2022-11-04

Family

ID=74931602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011286874.XA Active CN112485460B (en) 2020-11-17 2020-11-17 Signal acquisition and compensation method for rotary transformer

Country Status (1)

Country Link
CN (1) CN112485460B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113959465A (en) * 2021-10-18 2022-01-21 深圳英恒电子有限公司 Signal compensation method and device of rotary transformer

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203193566U (en) * 2013-04-10 2013-09-11 京滨电子装置研究开发(上海)有限公司 Control device for brushless direct-current motor
CN105469966A (en) * 2016-01-12 2016-04-06 上海吉亿电机有限公司 Rotary transformer
CN106338240A (en) * 2015-07-14 2017-01-18 璧典凯 Rotating position detection method
CN106998162A (en) * 2016-01-26 2017-08-01 通用汽车环球科技运作有限责任公司 rotary transformer phase compensation
CN110380733A (en) * 2019-05-21 2019-10-25 日本电产凯宇汽车电器(江苏)有限公司 A kind of automobile brake system controller rotary transformer coding/decoding method
CN110943670A (en) * 2019-12-30 2020-03-31 中国科学院电工研究所 Motor rotor position obtaining method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100440166B1 (en) * 2002-07-23 2004-07-12 현대자동차주식회사 Resolver phase cablibration system of electric vehicle and method thereof
JP4521258B2 (en) * 2004-01-28 2010-08-11 日立オートモティブシステムズ株式会社 Resolver / digital converter and control system using the same
CN106153177B (en) * 2016-08-25 2019-07-05 中国航空工业集团公司北京长城计量测试技术研究所 A kind of vibration measurement with laser calibrates the quantization measurement method of big trigger delay
US10389281B2 (en) * 2016-10-20 2019-08-20 Texas Instruments Incorporated Correcting offset and gain drift related angle errors with motor position detectors
CN209448718U (en) * 2018-11-13 2019-09-27 河北汉光重工有限责任公司 A kind of rotation becomes excitation and cosine and sine signal processing unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203193566U (en) * 2013-04-10 2013-09-11 京滨电子装置研究开发(上海)有限公司 Control device for brushless direct-current motor
CN106338240A (en) * 2015-07-14 2017-01-18 璧典凯 Rotating position detection method
CN105469966A (en) * 2016-01-12 2016-04-06 上海吉亿电机有限公司 Rotary transformer
CN106998162A (en) * 2016-01-26 2017-08-01 通用汽车环球科技运作有限责任公司 rotary transformer phase compensation
CN110380733A (en) * 2019-05-21 2019-10-25 日本电产凯宇汽车电器(江苏)有限公司 A kind of automobile brake system controller rotary transformer coding/decoding method
CN110943670A (en) * 2019-12-30 2020-03-31 中国科学院电工研究所 Motor rotor position obtaining method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《同步磁阻电机无位置传感器控制系统研究》;王双全等;《微特电机》;20170331;第45卷(第3期);第49-52页 *
《永磁同步电机位置传感器实时故障监测及容错控制的研究》;王谊;《中国优秀硕士论文全文数据库 工程科技II辑》;20190715(第7期);第25-34页 *

Also Published As

Publication number Publication date
CN112485460A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN109579880B (en) Magnetic encoder with adaptive compensation function
JP3368837B2 (en) Resolver signal processor
JP5173962B2 (en) Resolver / digital conversion apparatus and resolver / digital conversion method
EP3256866A1 (en) Parameter estimation and control method and apparatus
CN110943670B (en) Motor rotor position obtaining method and system
CN110868124A (en) Motor position determining method and device based on rotation soft decoding and storage medium
CN112485460B (en) Signal acquisition and compensation method for rotary transformer
US20070251332A1 (en) Rotational position measuring device
JP3624458B2 (en) Digital angle detection method
Jang et al. Quadrature demodulation method for resolver signal processing under different sampling rate
CN112953339B (en) Soft decoding system and method for rotary transformer and storage medium
Attaianese et al. A low cost resolver-to-digital converter
Yongxiang et al. DSP based all-digital resolver-to-digital conversion using DSRF-PLL
EP1199808A2 (en) Automatic resolution changing method and circuit for use in digital conversion of two-phase sinusoidal wave signals
CN111817615A (en) Device and method for detecting position of rotor of high-speed permanent magnet synchronous motor
CN109238117B (en) Signal processing circuit and device for non-contact position sensor
CN117097223A (en) Envelope acquisition method, soft-turning decoding method, circuit, transformer and motor
GB2448350A (en) PLL type resolver utilizing transducer excitation signal
US20120209562A1 (en) Assembly and method for determining an angular position
CN116208050A (en) Signal processing method, signal processing device, storage medium and vehicle
JP2011257254A (en) Rotation angle detection device
Idkhajine et al. System on chip controller for electrical actuator
Aung Analysis and synthesis of precision resolver system
Sivappagari et al. High accuracy resolver to digital converter based on modified angle tracking observer method
Wang et al. High response decoding system of resolver considering signal errors

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant