CN102809961B - Solution for time varying and time slag problems of telescope control system - Google Patents

Solution for time varying and time slag problems of telescope control system Download PDF

Info

Publication number
CN102809961B
CN102809961B CN201210309250.4A CN201210309250A CN102809961B CN 102809961 B CN102809961 B CN 102809961B CN 201210309250 A CN201210309250 A CN 201210309250A CN 102809961 B CN102809961 B CN 102809961B
Authority
CN
China
Prior art keywords
time
umac
absolute time
program
absolute
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
CN201210309250.4A
Other languages
Chinese (zh)
Other versions
CN102809961A (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.)
Nanjing Institute of Astronomical Optics and Technology NIAOT of CAS
Original Assignee
Nanjing Institute of Astronomical Optics and Technology NIAOT of CAS
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 Nanjing Institute of Astronomical Optics and Technology NIAOT of CAS filed Critical Nanjing Institute of Astronomical Optics and Technology NIAOT of CAS
Priority to CN201210309250.4A priority Critical patent/CN102809961B/en
Publication of CN102809961A publication Critical patent/CN102809961A/en
Application granted granted Critical
Publication of CN102809961B publication Critical patent/CN102809961B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Control Of Position Or Direction (AREA)

Abstract

望远镜控制系统时变时滞问题的解决方法:设计绝对时间计算程序;利用UMAC内部的高精度时钟;作为一个高优先级PLC程序(甚至最高优先级的PLC0程序)在UMAC后台运行;程序从上位机GPS处得到绝对时间的初值T0,同时从高精度时钟中得到此时计数值为t0;在以后任意时间,采样高精度时钟中得到当前计数值为t,可求得此时绝对时间T;功能特性通过参数I变量设置;I10设置伺服中断时间;即得绝对时间;跟踪过程中得到上位机跟踪数据流,含有被跟踪目标的绝对时间信息;UMAC运动程序在数据流中根据绝对时间找到目标进行跟踪;从而摆脱对上位机时钟的依赖和通讯中时滞的影响,极大提高了望远镜的实时性和指向跟踪精度。

The solution to the time-varying delay problem of the telescope control system: design an absolute time calculation program; use the high-precision clock inside the UMAC; run in the background of the UMAC as a high-priority PLC program (even the highest priority PLC0 program); The initial value T 0 of the absolute time is obtained from the GPS of the mobile phone, and the count value at this time is obtained from the high-precision clock at the same time; at any time in the future, the current count value obtained from sampling the high-precision clock is t, and the absolute time at this time can be obtained T; the functional characteristics are set by the parameter I variable; I10 sets the servo interruption time; the absolute time is obtained; the tracking data flow of the host computer is obtained during the tracking process, which contains the absolute time information of the tracked target; the UMAC motion program is based on the absolute time in the data flow Find the target and track it; thereby get rid of the dependence on the host computer clock and the influence of time lag in communication, and greatly improve the real-time performance and pointing and tracking accuracy of the telescope.

Description

望远镜控制系统时变时滞问题的解决方法The solution to the time-varying time-delay problem of the telescope control system

技术领域 technical field

本发明涉及一种控制系统的时变时滞问题的解决方法,具体涉及一种大口径望远镜控制系统时变时滞问题的解决方法。本发明是国家自然科学基金面上项目(11073034)“南极大口径天文光学望远镜低速高精度跟踪中的低温非线性干扰补偿的研究”(江苏省“333”工程共同资助项目)的研究成果。 The invention relates to a solution to the time-varying time-delay problem of a control system, in particular to a solution to the time-varying time-delay problem of a large-aperture telescope control system. This invention is the research achievement of the National Natural Science Foundation of China project (11073034) "Research on Low-temperature Nonlinear Interference Compensation in Low-speed and High-precision Tracking of Antarctica Astronomical Optical Telescope" (Jiangsu Province "333" Project Co-funded Project).

背景技术 Background technique

时滞问题是许多控制系统都存在的问题,时滞会降低控制系统的性能甚至影响到系统的稳定性。望远镜控制系统中也存在时滞问题。时滞问题难以通过常规的控制算法加以解决。 The time-lag problem is a problem in many control systems, and the time-lag will reduce the performance of the control system and even affect the stability of the system. There is also time lag in the telescope control system. The time lag problem is difficult to be solved by conventional control algorithms.

当前国内的几台大型天文望远镜(如LAMOST)的控制系统采用“IPC+UMAC+独立高性能伺服驱动器+独立伺服力矩电机”这种分层且分布式控制的方式被证明效果非常好。强实时性任务由UMAC完成,上位机只负责通讯管理,系统维护以及天体轨迹计算等弱实时性任务。形成了各司所长的工作方式。 At present, the control system of several large astronomical telescopes in China (such as LAMOST) adopts the layered and distributed control method of "IPC + UMAC + independent high-performance servo drive + independent servo torque motor", which has proved to be very effective. Strong real-time tasks are completed by UMAC, and the host computer is only responsible for weak real-time tasks such as communication management, system maintenance and celestial trajectory calculation. The working methods of the directors of each department have been formed.

UMAC即通用运动与自动化控制器(Universal Motion and Automation Controller)是美国Delta Tau公司的多轴运动控制产品。UMAC是3U架构、集成化的PMAC,更加易于扩展,功能也更为强大。UMAC运动控制器具有类似与BASIC形式的PMAC编程语言,用该语言编程,可使控制器独立工作。但是,UMAC的缺点是内部的绝对时间无法参加运算。其“DATE”、“TIME”仅供在线命令查询显示,且精度仅能到秒。天文望远镜跟踪天体,对时间的精度要求比较高,以方位轴跟踪时速度为15″/s计算,时间误差10毫秒,则带来方位轴指向跟踪误差为0.15″。数据交换过程中的时滞给望远镜控制精度带来了巨大的困扰。由于UMAC在依赖工控机的时钟,依赖工控机得到当前指向目标,从工控机发送该目标给UMAC执行跟踪,是有时滞的。时滞造成了的跟踪误差是随着跟踪目标速度的变化而变化的。另外,这个时滞在通讯过程中受到通讯介质、通讯繁忙程度、操作系统实时性的影响,时滞自身也是在一定范围内变化的,即是个时变时滞。 UMAC is the Universal Motion and Automation Controller (Universal Motion and Automation Controller), which is a multi-axis motion control product of Delta Tau Company in the United States. UMAC is a 3U architecture and integrated PMAC, which is easier to expand and more powerful. The UMAC motion controller has a PMAC programming language similar to BASIC, programming with this language can make the controller work independently. However, the disadvantage of UMAC is that the internal absolute time cannot participate in the operation. Its "DATE" and "TIME" are only for online command query and display, and the precision can only be down to the second. The tracking of celestial bodies by astronomical telescopes requires relatively high accuracy of time. If the azimuth axis tracking speed is 15″/s, the time error is 10 milliseconds, and the azimuth axis pointing error is 0.15″. The time lag in the data exchange process has brought great trouble to the control accuracy of the telescope. Since UMAC relies on the clock of the industrial computer and relies on the industrial computer to obtain the current pointing target, there is a time lag when sending the target from the industrial computer to the UMAC for tracking. The tracking error caused by the time lag varies with the speed of the tracking target. In addition, this time lag is affected by the communication medium, communication busyness, and real-time performance of the operating system during the communication process. The time lag itself also changes within a certain range, that is, a time-varying time lag.

如图1所示,这是一台望远镜的方位轴跟踪数据。从中可见:随速度变化,19分钟内方位轴跟踪误差从-0.6″~-0.8″的区间逐渐漂移到-1.2″~-1.4″的区间。从中可见数据交换中的时变时滞给望远镜跟踪精度带来的巨大的影响。 As shown in Figure 1, this is azimuth axis tracking data for a telescope. It can be seen that as the speed changes, the tracking error of the azimuth axis gradually drifts from the range of -0.6" to -0.8" to the range of -1.2" to -1.4" within 19 minutes. It can be seen that the time-varying delay in data exchange has a huge impact on the tracking accuracy of the telescope.

这个时变时滞问题的根源是因为UMAC没有绝对时间,造成望远镜控制系统不得不依赖上位工控机的时间。目前望远镜控制系统还没有很好的根本性解决方法,只能通过提高通讯和操作系统的实时性进行缓解。 The root of this time-varying time-lag problem is that the UMAC has no absolute time, so the telescope control system has to rely on the time of the upper industrial computer. At present, there is no good fundamental solution for the telescope control system, and it can only be alleviated by improving the real-time performance of communication and operating system.

发明内容 Contents of the invention

本发明的目的是针对现有技术的不足,提出一种望远镜控制系统时变时滞问题的解决方法。本方法采用UMAC控制器的天文望远镜跟踪控制系统,获得可靠的绝对时间,从而解决望远镜控制系统的时变时滞问题,能够极大地提高望远镜的实时性和指向跟踪精度。 The purpose of the present invention is to propose a solution to the time-varying time-lag problem of the telescope control system aiming at the deficiencies of the prior art. The method adopts the astronomical telescope tracking control system of the UMAC controller to obtain reliable absolute time, thereby solving the time-varying time-lag problem of the telescope control system, and can greatly improve the real-time performance and pointing tracking accuracy of the telescope.

实现上述发明目的的的技术方案是:一种望远镜控制系统时变时滞问题的解决方法,其特征在于,步骤如下: The technical solution for realizing the above-mentioned purpose of the invention is: a solution to the time-varying time-lag problem of the telescope control system, characterized in that the steps are as follows:

⑴. 设计一个绝对时间计算程序; ⑴. Design an absolute time calculation program;

⑵. 该绝对时间计算程利用UMAC内部的高精度的时钟(例如伺服周期计数器);该绝对时间计算程序作为一个高优先级的PLC程序(或PLC0程序)在UMAC后台运行; ⑵. The absolute time calculation program uses the high-precision clock inside the UMAC (such as the servo cycle counter); the absolute time calculation program runs in the background of the UMAC as a high-priority PLC program (or PLC0 program);

⑶.该 PLC程序或PLC0程序从上位机的GPS处得到绝对时间的初值T0,而同时从高精度的时钟(例如伺服周期计数器)中得到此时的计数值为t0; ⑶. The PLC program or PLC0 program obtains the initial value T 0 of absolute time from the GPS of the upper computer, and at the same time obtains the count value t0 at this time from a high-precision clock (such as a servo cycle counter);

⑷. UMAC的功能特性是通过参数I变量设置;其中I10设置伺服中断时间; ⑷. The functional characteristics of UMAC are set by the parameter I variable; among them, I10 sets the servo interruption time;

伺服中断时间T s与I10的关系是: The relationship between the servo interruption time T s and I10 is:

(1), (1),

其中8388608是223where 8388608 is 2 23 ;

这样任意时间的绝对时间计算公式为: The formula for calculating the absolute time at any time is:

(2), (2),

在公式(2)中,所有时间均以秒为单位进行计算,所以进一步把T化为年月日时分秒的形式,即得到了我们需要的绝对时间; In the formula (2), all time is calculated in seconds, so T is further converted into the form of year, month, day, hour, minute, and second to obtain the absolute time we need;

⑸. UMAC在跟踪过程中,得到来自上位机的跟踪数据流,该数据中含有被跟踪目标的绝对时间信息,其信息格式为: ⑸. During the tracking process, UMAC obtains the tracking data stream from the host computer, which contains the absolute time information of the tracked target, and its information format is:

“绝对时间 方位轴目标 高度轴目标 消旋轴目标”; "Absolute Time Azimuth Axis Target altitude axis target derotation axis target";

由于已经得到当前绝对时间,UMAC运动程序在数据流中根据绝对时间找到目标进行跟踪;从而摆脱了对上位机时钟的依赖和通讯中时滞的影响。 Since the current absolute time has been obtained, the UMAC motion program finds the target according to the absolute time in the data stream to track; thus getting rid of the dependence on the host computer clock and the influence of time lag in communication.

本发明的工作原理,以及更具体更优化的操作是: Working principle of the present invention, and more specific and more optimized operation is:

UMAC内部是有高精度的时钟的,例如伺服周期计数器。该时钟/计数器是一个24位计数器。设计一个绝对时间计算程序,利用了伺服周期计数器,绝对时间计算程序作为一个高优先级的PLC程序在UMAC后台运行,其绝对时间的初值来自上位机的GPS。PMAC的PLC程序可以以很快的速度重复执行。之所以称作PLC程序,因为这些程序执行类似硬件可编程逻辑控制器的功能。PLC控制模块用于系统的开关量的逻辑控制。当运动程序在前台有序运行时,UMAC可以在后台运行多达32个异步PLC程序。PLC程序能够以极高的采样速率监视模拟输入和数字输入、命令运动停止/起动等作业,以极高的循环速度对PLC程序进行反复扫描。PLC0是更加特殊的PLC程序,不同于其它PLC程序在后台循环执行,PLC0是和伺服算法一起在前台执行,其优先级很高,所以这个程序不能太大,否则会占用伺服算法的时间,PLC0用来处理实时性要求很高、紧急的任务,此处我们用PLC0来实现绝对时间的计算,确保了时间的精确性。 There is a high-precision clock inside the UMAC, such as a servo cycle counter. The clock/counter is a 24-bit counter. Design an absolute time calculation program, using the servo cycle counter, the absolute time calculation program runs in the background of UMAC as a high-priority PLC program, and the initial value of its absolute time comes from the GPS of the host computer. The PLC program of PMAC can be executed repeatedly at a very fast speed. They are called PLC programs because these programs perform functions similar to hardware programmable logic controllers. The PLC control module is used for the logic control of the switching value of the system. While the motion program is running orderly in the foreground, UMAC can run up to 32 asynchronous PLC programs in the background. The PLC program can monitor analog input and digital input at a very high sampling rate, command motion stop/start, etc., and repeatedly scan the PLC program at a very high cycle speed. PLC0 is a more special PLC program, which is different from other PLC programs that execute in the background cycle. PLC0 is executed in the foreground together with the servo algorithm, and its priority is very high, so this program should not be too large, otherwise it will take up the time of the servo algorithm. PLC0 It is used to deal with high real-time requirements and urgent tasks. Here we use PLC0 to realize the calculation of absolute time to ensure the accuracy of time.

PLC0程序从上位机的GPS处得到绝对时间的初值T0,而同时从伺服周期计数器中得到此时的计数值为t0,这样在以后的任意时间,采样伺服周期计数器得到当前计数值为t,可以求得此时的绝对时间T(形如年月日时分秒),其中秒带有小数,精确到0.001秒。 The PLC0 program obtains the initial value T 0 of the absolute time from the GPS of the upper computer, and at the same time obtains the current count value t0 from the servo cycle counter, so that at any time in the future, the current count value obtained by sampling the servo cycle counter is t , the absolute time T at this time can be obtained (in the form of year, month, day, hour, minute, second), where the second has decimals and is accurate to 0.001 second.

UMAC的功能特性是通过参数I变量设置的。其中I10设置伺服中断时间。 The functional characteristics of the UMAC are set through the parameter I variable. Among them, I10 sets the servo interruption time.

伺服中断时间T s与I10的关系是: The relationship between the servo interruption time T s and I10 is:

(1) (1)

其中8388608是223where 8388608 is 2 23 .

这样任意时间的绝对时间计算公式为: The formula for calculating the absolute time at any time is:

(2) (2)

在公式(2)中,所有时间均以秒为单位进行计算,所以进一步把T化为年月日时分秒的形式,即得到了我们需要的绝对时间。之所以不是每次都从上位机取GPS时间,仅仅赋初值的时候读取一次,以后依靠PLC0程序自己累计,就是为了避免双机通讯与数据交换中的时变时滞。 In the formula (2), all times are calculated in seconds, so further convert T into the form of year, month, day, hour, minute, and second to obtain the absolute time we need. The reason why the GPS time is not taken from the host computer every time, but only read once when the initial value is assigned, and then accumulated by the PLC0 program is to avoid time-varying time lag in two-machine communication and data exchange.

UMAC在跟踪过程中,得到来自上位机的跟踪数据流,该数据中含有被跟踪目标的绝对时间信息,其信息格式为: During the tracking process, UMAC obtains the tracking data stream from the host computer, which contains the absolute time information of the tracked target, and its information format is:

“绝对时间 方位轴目标 高度轴目标 消旋轴目标” "Absolute Time Azimuth Axis Target Altitude Axis Target Derotation Axis Target"

由于已经得到当前绝对时间,UMAC运动程序在数据流中根据绝对时间找到目标进行跟踪。从而摆脱了对上位机时钟的依赖和通讯中时滞的影响。 Since the current absolute time has been obtained, the UMAC motion program finds the target to track according to the absolute time in the data stream. Thus getting rid of the dependence on the host computer clock and the influence of time lag in communication.

本发明的有益效果是本发明为采用UMAC控制器的天文望远镜跟踪控制系统获得了可靠的绝对时间,从而解决了望远镜控制系统的时变时滞问题,极大地提高了望远镜的实时性和指向跟踪精度。 The beneficial effect of the present invention is that the present invention obtains reliable absolute time for the astronomical telescope tracking control system using the UMAC controller, thereby solving the time-varying time-lag problem of the telescope control system, and greatly improving the real-time performance and pointing tracking of the telescope precision.

附图说明 Description of drawings

图1为方位轴跟踪误差随速度变化曲线图; Figure 1 is a graph of the variation of the tracking error of the azimuth axis with the speed;

图2为绝对时间PLC程序变量监视图; Fig. 2 is an absolute time PLC program variable monitoring diagram;

图3为获得绝对时间的PLC程序流程图; Fig. 3 is the PLC program flowchart that obtains absolute time;

图4为时间计算程序流程图。 Figure 4 is a flow chart of the time calculation program.

具体实施方式 Detailed ways

下面将结合附图和具体实施例对本发明做进一步的说明。 The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

UMAC内部有伺服周期计数器,这是一个高精度的时钟。在UMAC中编写如下代码: Inside the UMAC there is a servo cycle counter, which is a high precision clock. Write the following code in UMAC:

#define ServoCounter M100 ; 24-bit servo cycle counter #define ServoCounter M100 ; 24-bit servo cycle counter

ServoCounter->X:$000000,0,24,S ServoCounter->X:$000000,0,24,S

使存储单元M100指向伺服周期计数器X:$000000,0,24,S,该时钟/计数器是一个24位计数器,每个伺服周期增加1。它的计数从UMAC上电开始,计数到最大值后会翻转到负数。在实施例的望远镜的控制系统中,UMAC的晶振频率为19.6608MHz,系统参数I10=4194560,求得UMAC的伺服中断时间为 Make memory location M100 point to servo cycle counter X: $000000,0,24,S, this clock/counter is a 24-bit counter that increments by 1 every servo cycle. Its count starts when the UMAC is powered on, and it will roll over to a negative number when it reaches the maximum value. In the control system of the telescope of the embodiment, the crystal oscillator frequency of UMAC is 19.6608MHz, and the system parameter I10=4194560, the servo interruption time of obtaining UMAC is

(3) (3)

即M100中每增加1,代表增加500。这样就得到了一个分辨率为500的绝对时钟。 That is, every increase of 1 in M100 represents an increase of 500 . This results in a resolution of 500 absolute clock.

绝对时间计算程序作为一个高优先级的PLC程序在UMAC后台运行,其绝对时间的初值来自GPS,由计算机通过Ethernet通讯为UMAC赋值。 The absolute time calculation program runs in the background of UMAC as a high-priority PLC program. The initial value of its absolute time comes from GPS, and the computer assigns the value to UMAC through Ethernet communication.

采用具有最高优先级的PLC0进行获得绝对时间的工作。PLC0程序流程图如图3所示,其中的时间计算程序流程图如图4所示。此处需要指出的是,时间计算程序不是一个独立的子程序,而是程序中的一个部分,为了能够清楚说明程序的功能,所以特别独立出来。 The absolute time acquisition is done with PLC0 having the highest priority. The PLC0 program flow chart is shown in Figure 3, and the time calculation program flow chart is shown in Figure 4. It should be pointed out here that the time calculation program is not an independent subroutine, but a part of the program. In order to clearly illustrate the function of the program, it is especially independent.

由于伺服周期计数器是一个24位计数器,有计数到最大值就会翻转的问题,所以程序特别对此进行判断处理,其翻转常数值为223=8388608。 Since the servo cycle counter is a 24-bit counter, there is a problem that it will flip when it counts to the maximum value, so the program specially judges this, and its flip constant value is 2 23 =8388608.

在获得了以秒为单位的当前时间(即总秒数)后,根据望远镜跟踪控制的需要,实施例把总秒数进一步化为年月日时分秒的形式,这由时间计算程序完成,如图4。 After obtaining the current time in seconds (that is, the total number of seconds), according to the needs of the telescope tracking control, the embodiment further converts the total number of seconds into the form of year, month, day, hour, minute, and second, which is completed by the time calculation program, such as Figure 4.

在流程图中,秒钟是整数,而总秒数带有小数位。总秒数、总分钟、总小时均是以UMAC开机为起始零点到当前计数值的相对值加上UMAC开机时的绝对时间。 In flowcharts, seconds are integers, and total seconds have decimal places. The total seconds, total minutes, and total hours are the relative values from the zero point when the UMAC is powered on to the current count value plus the absolute time when the UMAC is powered on.

在进行时间的计算时,要特别考虑平年和闰年的计算问题。此处通过以下条件判断闰年:能被400整除;能被4整除,但不能被100整除。 When calculating time, special consideration should be given to the calculation of ordinary years and leap years. Here the leap year is judged by the following conditions: divisible by 400; divisible by 4, but not divisible by 100.

通过以上方法就得到了天文望远镜跟踪天体所需要的绝对时间,UMAC在跟踪过程中,得到来自上位机的跟踪数据流,信息格式为“绝对时间 方位轴目标 高度轴目标 消旋轴目标”,由于已经得到当前绝对时间,UMAC运动程序在数据流中根据绝对时间找到目标进行跟踪。 Through the above method, the absolute time required by the astronomical telescope to track the celestial body is obtained. During the tracking process, the UMAC obtains the tracking data stream from the host computer. The information format is "absolute time Azimuth axis target Altitude axis target Race axis target", since the current absolute time has been obtained, the UMAC motion program finds the target according to the absolute time in the data stream for tracking.

图2上位机监视图,显示了UMAC中PLC程序计算出来的绝对时间变化,证明该方法正确、可靠。 Figure 2 is the monitoring diagram of the upper computer, which shows the absolute time change calculated by the PLC program in UMAC, which proves that the method is correct and reliable.

Claims (4)

1. a solution that becomes Time Delay when telescope control system, is characterized in that, step is as follows:
(1). design an absolute time calculation procedure;
(2). this absolute time calculation procedure utilizes the high-precision clock of UMAC inside; This absolute time calculation procedure is as the PLC program of a high priority, or PLC0 program, at UMAC running background;
(3). this PLC program or PLC0 program obtain the initial value T of absolute time from the GPS of host computer 0, and the count value obtaining from high-precision clock is now t0 simultaneously; Random time afterwards, in the high-precision clock of sampling, obtaining current count value is t, can be in the hope of absolute time T now;
(4). the functional characteristic of UMAC is by parameter I variable set up; Wherein I10 arranges the servo interrupt time;
The servo interrupt time t swith the relation of I10 be:
(1),
Wherein 8388608 is 2 23;
The absolute time computing formula of random time is like this:
(2),
In formula (2), institute all calculate in seconds if having time, further tturn to the form of date Hour Minute Second, obtained the absolute time needing;
(5). UMAC, in tracing process, obtains the streams of trace data from host computer, contains the absolute time information of tracked target in these data, and its information format is:
" absolute time azimuth axis object height axle target racemization axle target ";
Owing to obtaining current absolute time, UMAC motor program finds target to follow the tracks of according to absolute time in data stream; Thereby break away from the impact of time lag in dependence on host computer clock and communication;
Step is the high precision clock of described UMAC inside (1), is to adopt the servo period counter of 24.
2. the solution that becomes Time Delay when telescope control system according to claim 1, is characterized in that, (2) step writes following code in described UMAC:
#define ServoCounter M100 ; 24-bit servo cycle counter
ServoCounter->X:$000000,0,24,S
Make storage unit M100 point to servo period counter X:$ 000000,0,24, S.
3. the solution that becomes Time Delay when telescope control system according to claim 1, is characterized in that, (3) described " trying to achieve absolute time T now " of step, wherein second with decimal, is accurate to 0.001 second.
4. during according to telescope control system one of claim 1-3 Suo Shu, become the solution of Time Delay, it is characterized in that, in telescope control system, the crystal oscillator frequency of UMAC is 19.6608MHz, systematic parameter I10=4194560, the servo interrupt time of trying to achieve UMAC is
(3)。
CN201210309250.4A 2012-08-27 2012-08-27 Solution for time varying and time slag problems of telescope control system Expired - Fee Related CN102809961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210309250.4A CN102809961B (en) 2012-08-27 2012-08-27 Solution for time varying and time slag problems of telescope control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210309250.4A CN102809961B (en) 2012-08-27 2012-08-27 Solution for time varying and time slag problems of telescope control system

Publications (2)

Publication Number Publication Date
CN102809961A CN102809961A (en) 2012-12-05
CN102809961B true CN102809961B (en) 2014-09-17

Family

ID=47233675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210309250.4A Expired - Fee Related CN102809961B (en) 2012-08-27 2012-08-27 Solution for time varying and time slag problems of telescope control system

Country Status (1)

Country Link
CN (1) CN102809961B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1337058A2 (en) * 2002-02-19 2003-08-20 eRide, Inc. Method and system for distributing absolute time in a GPS receiver network
CN101047434A (en) * 2007-04-10 2007-10-03 华为技术有限公司 Time tag synchronous method, system and device
CN101060425A (en) * 2006-04-21 2007-10-24 大唐移动通信设备有限公司 Absolute time data acquiring method and system
CN101739731A (en) * 2009-11-20 2010-06-16 佛山市艾科电子工程有限公司 Distributed time measurement method for each measuring point and distributed time measurement system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7139225B2 (en) * 2003-03-27 2006-11-21 Qualcomm, Incorporated Virtual real-time clock based on time information from multiple communication systems
US8035558B2 (en) * 2008-05-30 2011-10-11 The Boeing Company Precise absolute time transfer from a satellite system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1337058A2 (en) * 2002-02-19 2003-08-20 eRide, Inc. Method and system for distributing absolute time in a GPS receiver network
CN101060425A (en) * 2006-04-21 2007-10-24 大唐移动通信设备有限公司 Absolute time data acquiring method and system
CN101047434A (en) * 2007-04-10 2007-10-03 华为技术有限公司 Time tag synchronous method, system and device
CN101739731A (en) * 2009-11-20 2010-06-16 佛山市艾科电子工程有限公司 Distributed time measurement method for each measuring point and distributed time measurement system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于 UMAC的精密伺服控制系统;徐欣圻等;《安徽大学学报》;20050731;第29卷(第4期);全文 *
徐欣圻等.基于 UMAC的精密伺服控制系统.《安徽大学学报》.2005,第29卷(第4期),全文.

Also Published As

Publication number Publication date
CN102809961A (en) 2012-12-05

Similar Documents

Publication Publication Date Title
CN105045101B (en) A kind of mechanical arm servo-drive system full-order sliding mode control method based on extended state observer
CN106313044B (en) A kind of industrial robot feedforward torque compensation method
CN110865641B (en) Track tracking method of wheeled mobile robot controlled by inversion sliding mode
CN107544256A (en) Underwater robot sliding-mode control based on adaptive Backstepping
CN104536297B (en) Cascade active disturbance rejection multi-closed-loop control method
CN105182906B (en) Position and speed control method based on high-order S-shaped motion trajectory
CN105549383B (en) Linear motor precision trajectory tracking device and method
CN104742127A (en) Robot control method and robot
CN108645404B (en) Method for resolving attitude of small multi-rotor unmanned aerial vehicle
CN106527125A (en) Model-free control method in intelligent control
CN111673742A (en) Industrial robot trajectory tracking control algorithm
CN103983998A (en) Integrated navigation intelligent alignment method based on Kalman filtering and feedback control
CN106681134A (en) High-precision steering engine position control method
CN102809961B (en) Solution for time varying and time slag problems of telescope control system
CN102662407B (en) Tracking control method of three-axis telescope
CN115421391B (en) Backstepping sliding mode control method of photoelectric tracking turntable
Wang et al. Sliding mode control for trajectory tracking of nonholonomic wheeled mobile robots based on neural dynamic model
Yin et al. A positioning algorithm based on improved adaptive unscented Kalman filter
CN103645750B (en) The implementation method of interference observer in embedded motion control
CN103176442B (en) Method for communicating astronomical telescope with UMAC (universal motion and automation controller)
Chen et al. Research on Trajectory Tracking Control of Non-holonomic Wheeled Robot Using Backstepping Adaptive PI Controller
CN108107885B (en) A trochoidal tracking control method for a wheeled mobile stage robot
Arolovich et al. Control improvement of under-damped systems and structures by input shaping
CN107664951A (en) Device for inhibiting carrier-based stable platform jitter and control method thereof
CN110231823A (en) A kind of direct control method of two-wheel robot

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

Granted publication date: 20140917

Termination date: 20180827

CF01 Termination of patent right due to non-payment of annual fee