CN100514002C - Method for realizing numerical control rotating platform angular displacement forecast measurement using time gate displacement sensor - Google Patents

Method for realizing numerical control rotating platform angular displacement forecast measurement using time gate displacement sensor Download PDF

Info

Publication number
CN100514002C
CN100514002C CNB2007100924207A CN200710092420A CN100514002C CN 100514002 C CN100514002 C CN 100514002C CN B2007100924207 A CNB2007100924207 A CN B2007100924207A CN 200710092420 A CN200710092420 A CN 200710092420A CN 100514002 C CN100514002 C CN 100514002C
Authority
CN
China
Prior art keywords
time
numerical control
constantly
prediction
angular displacement
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
CNB2007100924207A
Other languages
Chinese (zh)
Other versions
CN101082507A (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.)
Chongqing University of Technology
Original Assignee
Chongqing Institute of Technology
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 Chongqing Institute of Technology filed Critical Chongqing Institute of Technology
Priority to CNB2007100924207A priority Critical patent/CN100514002C/en
Publication of CN101082507A publication Critical patent/CN101082507A/en
Application granted granted Critical
Publication of CN100514002C publication Critical patent/CN100514002C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)

Abstract

This invention provides a sort of metrical method which realizes the forecast of the angular displacement of the numerical control rotating floor by the time-bar displacement sensing device. Add an intelligent interface unit between the time-bar and the numerical control system, the import of the intelligent interface unit is the absolute value of the angle which is measured by the time-bar; the export is the increment type impulse signal which can connects with the currency numerical control system. The intelligent interface unit progresses the forecast to the angular displacement figures in the unborn spell according to several discrete absolute value of the measured angle of the time-bar which is in the nonce and in the past. It corrects the predictive error figures which are in the former time slice according to the real measured angle figures which is in now. It realizes the predictive measure of the angular displacement of the numerical control rotating floor. This invention applies to the displacement sensing device with the timing sampling that the time-bar is used to be the deputation, and it applies to the position feedback of the whole closed loop which is from the function unit of the numerical control division likes the numerical control rotating floor, and so on.

Description

Displacement transducer is realized the method that numerical control rotating platform angular displacement prediction is measured when utilizing
Technical field
The present invention relates to a kind of displacement transducer prediction new measurement method, can with the time grid be that the timing sampling displacement transducer of representative is used for numerical control scale-division class functional part Full Closed-loop Position feedbacks such as numerical control rotating platform.
Background technology
The time gate sensor be a kind of neoteric displacement transducer, utilize the time measurement locus, belong to static absolute type survey sensor.Based on the time grid of static measurement principle design,, there is not new measurement result output in certain period because the existence of measuring period (being the sampling period) can exist and measure the blind area.And digital control system is when carrying out full cut-off ring servocontrol, adopt hardware timer interrupt mode sampling location feedback information, the time grid and digital control system timing cycle inconsistent, and the time grid and digital control system adopt separately independently clock system respectively, two cover clock systems are also asynchronous.Therefore, grid can't be applied to dynamic continuous position feedback at present the time.
Summary of the invention
For with the time grid be used for numerical control scale-division class functional part Full Closed-loop Position such as numerical control rotating platform feedback, realize the high precision position servocontrol, displacement transducer is realized the method that numerical control rotating platform angular displacement prediction is measured when the invention provides a kind of the utilization.
The technical solution adopted for the present invention to solve the technical problems is: the time increase an intelligent interface unit between grid and numerical control (CNC) system, the absolute angle value that grid are measured during being input as of intelligent interface unit, be output as can with the increment type pulse signal of universal numerical control system interface, this intelligent interface unit according to the time grid current and in the past some discrete absolute angle measured values, the value of angular displacement of grid is predicted in following a period of time the time, generate the increment type continuous impulse signal of representative prediction value of angular displacement then by the time sequence, and, realize that the prediction of numerical control rotating platform angular displacement is measured according to the prediction error value of current actual measurement angle value correction previous time period.
The specific implementation process is as follows:
1. grid obtain the current absolute angle value of numerical control rotating platform every the time T once sampling time, and grid are at T when supposing N-1Sampling constantly obtains an actual measurement angle value θ N-1(absolute angle value), as shown in Figure 1.Utilize autoregressive model that front N time grid actual measurements angle value constantly carried out modeling, obtain from T N-1Constantly to T nThe value of angular displacement of the optimum linearity of numerical control rotating platform prediction constantly, and in the last measuring period (from T N-2Constantly to T N-1Prediction error value constantly) is revised, and prediction with the correction algorithm expression formula is:
Wherein,
Figure C200710092420D00052
For from T N-1The time be carved into t iPrediction value of angular displacement (increment size) constantly, as shown in Figure 2; θ kRepresent T kTime grid actual measurement angle values (absolute angle value) constantly;
Figure C200710092420D00053
Be inertial coefficient, require to satisfy condition With
Figure C200710092420D00055
Be T N-1Prediction angle value (absolute angle value) constantly, its calculation expression is:
Figure C200710092420D00056
N-1'-θ N-1) represent T N-1Prediction error value is constantly promptly predicted the poor of angle value and actual measurement angle value; Δ t i=t i-T N-1(0<Δ t i≤ T).
2. the prediction value of angular displacement that calculates according to formula (1), intelligent interface unit is inner, and to adopt crystal oscillator be clock reference, by the time sequence in next measuring period (from T N-1Constantly to T nConstantly) send equably and represent angular displacement Δ θ i' the increment type pulse signal, pulse equivalency is 1 rad/pulse.
The time grid, intelligence interface and CNC system press the said process periodic duty, constitute Full Closed-loop Position Servo System.Prediction and modification method synoptic diagram are as shown in Figure 3.
The technical program can be summarized as: according to discrete measured value, generate the continuous space position signalling by the time sequence, and revise in real time.
The invention has the beneficial effects as follows, by designing an intelligence interface, utilize software that the displacement of following a period of time is predicted, predicted value is exported with the delta pulse signal form, can with the time grid be used for numerical control scale-division class functional part Full Closed-loop Position such as numerical control rotating platform feedback, required hardware is less, and function is mainly realized by software.
Description of drawings
The present invention is further described below in conjunction with drawings and Examples.
Fig. 1 is a technical scheme work synoptic diagram of the present invention.
Grid position feedback working timing figure when Fig. 2 is.
Fig. 3 is prediction and modification method schematic block diagram.
Fig. 4 is the structured flowchart of a kind of specific implementation of the present invention.
Fig. 5 is an arm processor interrupt service routine process flow diagram.
Embodiment
Realization below in conjunction with concrete hardware and software explanation the inventive method:
Referring to Fig. 4, the time grid adopt digital signal processor DSP (U1) deal with data, its concrete model is TMS320VC33.U1 /STRB and PAGE3 end by or door U31, the output terminal of U31 inserts the input end of rejection gate U32, the A0 end of another input termination U1 of U32, the output terminal of U32 divide EINT3 end that two-way inserts U1 respectively and the LOCK of latch U33 to hold.32 single data incoming line D31~D0 of U33 link to each other with 32 data lines D31~D0 of U1 successively, the 32 single data output lines 031~00 of U33 link to each other with the Data In-Line D15~D0 of two 16 tristate bus line impact dampers (U34 and U35) respectively, and the DOL Data Output Line 015~00 of U34 and U35 all connects P0.17~P0.2 end of arm processor LPC2138 (U2).Output enable end/En of U34 and output enable end/En of U35 link to each other with the P1.16 end with the P1.17 of U2 respectively.U31, U32, U33, U34 and U35 are integrated in a programmable logic chip CycloneII (U3) inside.
Be that example describes implementation procedure of the present invention in detail to get N=7 below.The time grid obtain an actual measurement angle value θ k every a measuring period, the D31~D0 by U1 holds output, concrete output format is: D31~D16 end output degree value, D15~D8 end output score value, D7~D0 end output second value.Adopt simultaneously a DSP write operation instruction control U1 /STRB ,/state of PAGE3 and A0 end, produce a positive pulse, at the rising edge of pulse the angle value of D31~D0 output of U1 is latched into 031~00 end of U33, triggers U2 at the negative edge of pulse and interrupt.In the arm processor master routine, the mode that instruction U2 response interruption is set by the interrupt response mode is set to the triggering of pulse negative edge, and tax sampling number k initial value is 0.As shown in Figure 5, in the arm processor interrupt service routine, U2 at first utilizes bit manipulation instruction control P1.16 and P1.17 end state to read in 32 θ from P0.17~P0.2 end at twice kThe value, after with θ kValue is stored in the data-carrier store that U2 inside carries, and the k value is increased by 1, and when k≤6, the arm processor interrupt service routine only reads and store θ kValue is not done other operation.U2 responds to have no progeny in 7 times and collects θ like this 0, θ 1, θ 2..., θ 6Deng 7 data.Behind U2 the 8th secondary response interrupt service routine, at first read and store T with aforementioned the same manner 7Time grid actual measurements angle value θ constantly 7At this moment k=7 after value, k value increase by 1, k satisfies condition〉6, the U2 interrupt service routine turns to carry out and utilizes formula (1) calculating from T 7Constantly to t iConstantly predict value of angular displacement Δ θ i', referring to Fig. 5.Get
Figure C200710092420D0006100528QIETU
, T=1000 μ s, θ 7'=θ 7, then formula (1) can be written as:
Δθ i ′ = Σ k = 1 7 1 7 ( θ k - θ k - 1 ) - ( θ 7 ′ - θ 7 ) 1000 Δ t i , - - - ( 3 )
Calculate from T according to formula (3) 7Constantly to t iPrediction angular displacement constantly
Figure C200710092420D00062
0<Δ t in the formula i≤ 1000, i=1,2 ..., 1000, adopt pulse width modulation mode (PWM mode) output representative continuously then
Figure C200710092420D00063
The pulse signal of angle, pulse equivalency are 1 rad/pulse.If angle value increases gradually, from the PWM1 end output pulse signal of U2; If angle value reduces gradually, then the PWM2 from U2 holds output pulse signal.When the absolute angle value is zero, from zero signal of P0.31 end output of U2.
Behind U2 the 9th secondary response interrupt service routine, at first still read and store T with aforementioned the same manner 8Time grid actual measurements angle value θ constantly 8Value utilizes formula (2) to calculate T then 8Prediction angle value θ constantly 8', concrete calculation expression is:
θ 8 ′ = Σ k = 1 7 1 7 ( θ k - θ k - 1 ) - θ 7 ′ + 2 θ 7 , - - - ( 4 )
Utilize formula (1) to calculate again from T 8Constantly to t iConstantly predict value of angular displacement Concrete calculation expression is:
Δθ i ′ = Σ k = 2 8 1 7 ( θ k - θ k - 1 ) - ( θ 8 ′ - θ 8 ) 1000 Δ t i , - - - ( 5 )
Similarly adopt the PWM mode to export the representative angular displacement continuously at last
Figure C200710092420D00073
Pulse signal.
Arm processor U2 is each later on to interrupt, and all interrupts same works by above-mentioned the 9th secondary response.

Claims (3)

1. a displacement transducer when utilizing is realized the method that numerical control rotating platform angular displacement prediction is measured, it is characterized in that: the time increase an intelligent interface unit between grid and the digital control system, the absolute angle value that grid are measured during being input as of intelligent interface unit, be output as can with the increment type pulse signal of universal numerical control system interface; This intelligent interface unit according to the time grid current and in the past some discrete absolute angle measured values, the value of angular displacement of grid is predicted in following a period of time the time, generate the increment type continuous impulse signal of representative prediction angle value then by the time sequence, and, realize that the prediction of numerical control rotating platform angular displacement is measured according to the prediction error value of current actual measurement angle value correction previous time period.
2, displacement transducer is realized the method that numerical control rotating platform angular displacement prediction is measured during according to claim 1 the utilization, it is characterized in that predicting that measuring process is as follows:
1. grid obtain the current absolute angle value of numerical control rotating platform every the time T once sampling time, and grid are at T when establishing N-1Sampling constantly obtains an actual measurement angle value θ N-1, i.e. absolute angle value, intelligent interface unit utilizes autoregressive model that front N time grid actual measurements angle value constantly carried out modeling, obtains from T N-1Constantly to T nThe optimum linearity of numerical control rotating platform is predicted value of angular displacement constantly, and the prediction error value in the last measuring period is revised, and be from T a described last measuring period N-2Constantly to T N-1Constantly, prediction with the correction algorithm expression formula is:
Wherein,
Figure C200710092420C00022
For from T N-1The time be carved into t iPrediction value of angular displacement constantly, i.e. increment size; θ kRepresent T kTime grid actual measurements angle value constantly, i.e. absolute angle value; Be inertial coefficient, require to satisfy condition
Figure C200710092420C00024
Figure C200710092420C00025
θ N-1' be T N-1Prediction angle value constantly, i.e. absolute angle value, its calculation expression is:
Figure C200710092420C00026
θ N-1'-θ N-1Represent T N-1Prediction error value is constantly promptly predicted the poor of angle value and actual measurement angle value; Δ t i=t i-T N-1, 0<Δ t i≤ T;
2. the prediction value of angular displacement that calculates according to formula (1), intelligent interface unit is inner, and to adopt crystal oscillator be clock reference, by the time sequence in next measuring period, promptly from T N-1Constantly to T nConstantly, send the representative angle equably
Figure C200710092420C0002140058QIETU
The increment type pulse signal give digital control system, pulse equivalency is 1 rad/pulse;
The time grid, intelligent interface unit and digital control system press the said process periodic duty, constitute Full Closed-loop Position Servo System.
3, displacement transducer is realized the method that numerical control rotating platform angular displacement prediction is measured during according to claim 1 and 2 the utilization, it is characterized in that: intelligent interface unit is finished prediction and correction algorithm by microprocessor software, adopts hardware pulse width modulation mode output increment formula pulse signal.
CNB2007100924207A 2007-07-13 2007-07-13 Method for realizing numerical control rotating platform angular displacement forecast measurement using time gate displacement sensor Expired - Fee Related CN100514002C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100924207A CN100514002C (en) 2007-07-13 2007-07-13 Method for realizing numerical control rotating platform angular displacement forecast measurement using time gate displacement sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100924207A CN100514002C (en) 2007-07-13 2007-07-13 Method for realizing numerical control rotating platform angular displacement forecast measurement using time gate displacement sensor

Publications (2)

Publication Number Publication Date
CN101082507A CN101082507A (en) 2007-12-05
CN100514002C true CN100514002C (en) 2009-07-15

Family

ID=38912192

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100924207A Expired - Fee Related CN100514002C (en) 2007-07-13 2007-07-13 Method for realizing numerical control rotating platform angular displacement forecast measurement using time gate displacement sensor

Country Status (1)

Country Link
CN (1) CN100514002C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103591896B (en) * 2013-11-29 2016-05-11 重庆理工大学 A kind of time grating straight-line displacement sensor based on alternation light field
CN104677258B (en) * 2014-09-30 2017-03-22 重庆理工大学 Two-dimensional plane displacement sensor
CN107741731B (en) * 2017-10-16 2020-02-14 深圳市合信自动化技术有限公司 Error processing method caused by S-curve calculation precision
CN108267072B (en) * 2018-01-31 2019-09-13 重庆理工大学 Grating straight-line displacement sensor when a kind of
CN110454322B (en) * 2019-07-24 2021-06-04 华自科技股份有限公司 Water turbine speed regulation control method, device and system based on multivariable dynamic matrix
CN111562798A (en) * 2019-12-24 2020-08-21 中国航空工业集团公司北京航空精密机械研究所 Device capable of generating fixed-angle pulse at specified position and working method thereof

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
时栅传感器在数控系统中的应用. 王彦刚,彭东林,石永福,吴崇咸.自动化仪表,第27卷,卷第1期. 2006
时栅传感器在数控系统中的应用. 王彦刚,彭东林,石永福,吴崇咸.自动化仪表,第27卷第1期. 2006 *
时栅位移传感器的增量式实现方法研究. 石永福,彭东林,王彦刚,李岩.工具技术,第2006年卷第2期. 2006
时栅位移传感器的增量式实现方法研究. 石永福,彭东林,王彦刚,李岩.工具技术,第2006年卷第2期. 2006 *
时空坐标转换方法的增量式实现与增量式时栅位移传感器研究. 彭东林,王彦刚,万文略,朱革.中国机械工程,第18卷,卷第4期. 2007
时空坐标转换方法的增量式实现与增量式时栅位移传感器研究. 彭东林,王彦刚,万文略,朱革.中国机械工程,第18卷第4期. 2007 *
智能时栅位移传感器的通信接口电路设计. 刘小康,彭东林,张兴红.电子技术,第2002年卷第11期. 2002
自补偿技术在时栅位移传感器中的应用. 刘小康,彭东林,张兴红,陈锡候.仪器仪表学报,第27卷,卷第1期. 2006

Also Published As

Publication number Publication date
CN101082507A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
CN100514002C (en) Method for realizing numerical control rotating platform angular displacement forecast measurement using time gate displacement sensor
US7865349B2 (en) Simulation, measurement and/or control system and method with coordinated timing
Backx et al. Integration of model predictive control and optimization of processes: Enabling technology for market driven process operation
CN100370380C (en) Opening rearrangeable soft digital control system
CN103591961B (en) A kind of strapdown compass navigational computer based on DSP and FPGA
Ecker et al. An ellipsoid algorithm for nonlinear programming
CN102393656A (en) Embedded multinuclear main controller of modular robot based on FPGA (Field Programmable Gata Array)
CN101114174A (en) Built-in type 4 axis sport controller
CN106354695A (en) Output-only linear time-varying structure modal parameter identification method
CN102346441B (en) Encoder signal simulation device and method thereof
CN105114189A (en) Model prediction control system for electronic throttle valve based on FPGA
CN104898562A (en) Modeling method of thermal error compensation of numerically-controlled machine tool
CN106502771A (en) Time overhead model building method and system based on kernel functions
CN102436184A (en) EMP (embedded microprocessor)-based double-target machine control real-time simulation system
CN112327954A (en) High-precision positioning method for linear motor controlled by asymmetric S-shaped speed curve
CN202120088U (en) Multitime error weighted stacking compensating system of numerical control system
US7659683B2 (en) Resonant frequency identification
CN102354154B (en) Real-time kernel chip of open numerical control system
Esposito et al. An asynchronous integration and event detection algorithm for simulating multi-agent hybrid systems
Seethaler et al. The regulation of position error in contouring systems
CN202159426U (en) Traffic light fuzzy control system based on PLC
CN102591209B (en) Calculation method of satellite closed-loop test jet thrust control
Ghabri et al. Controlled continuous Petri nets
CN102611452B (en) Digital-selsyn signal conversion method adopting alpha-beta heterodyne value algorithm
Wang et al. Mesoscopic modelling and analysis of traffic flow based on stationary observations

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
C56 Change in the name or address of the patentee

Owner name: CHONGQING UNIVERSITY OF TECHNOLOGY

Free format text: FORMER NAME: CHONGQING POLYTECHNIC COLLEGE

CP01 Change in the name or title of a patent holder

Address after: Chongqing Jiulongpo Yangjiaping Xingsheng Road No. 4

Patentee after: Chongqing University of Technology

Address before: Chongqing Jiulongpo Yangjiaping Xingsheng Road No. 4

Patentee before: Chongqing Engineering College

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: 20090715

Termination date: 20190713