[go: up one dir, main page]

CN104865848A - Dynamic object generation system for aviation spectral camera - Google Patents

Dynamic object generation system for aviation spectral camera Download PDF

Info

Publication number
CN104865848A
CN104865848A CN201510303773.1A CN201510303773A CN104865848A CN 104865848 A CN104865848 A CN 104865848A CN 201510303773 A CN201510303773 A CN 201510303773A CN 104865848 A CN104865848 A CN 104865848A
Authority
CN
China
Prior art keywords
encoder
speed
film
voltage
output
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.)
Granted
Application number
CN201510303773.1A
Other languages
Chinese (zh)
Other versions
CN104865848B (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.)
Jilin University
Original Assignee
Jilin University
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 Jilin University filed Critical Jilin University
Priority to CN201510303773.1A priority Critical patent/CN104865848B/en
Publication of CN104865848A publication Critical patent/CN104865848A/en
Application granted granted Critical
Publication of CN104865848B publication Critical patent/CN104865848B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Shaping By String And By Release Of Stress In Plastics And The Like (AREA)
  • Feedback Control In General (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

一种航空光谱相机动态目标发生系统,属于光电检测技术领域。本发明的目的是提供一种可以保证目标胶片在低速和高速高精度匀速转动(速度范围7mm/s~51mm/s)与匀变速运动,更加真实、可靠的模拟飞机与地面景物相对运动的航空光谱相机动态目标发生系统。本发明是由上位机、cRIO系统、伺服电机及伺服驱动器、伺服电机减速机、编码器、稳压模块、目标胶片、机械安装架和箱体、主控系统构成。本发明价格低廉、灵活便捷、控制精度高的一种动态目标发生系统。系统结构模块化,便于组装及拆卸。本发明是一种动态目标发生系统,简化通过机械转台来控制动态目标转动速度,又能精确控制目标胶片的速度,适用于当前高空高速环境下使用的航空光谱相机成像检测。

The invention relates to a dynamic target generating system of an aerial spectrum camera, which belongs to the technical field of photoelectric detection. The purpose of the present invention is to provide a kind of aerial film that can ensure the target film to rotate at low speed and high speed and high precision at a constant speed (speed range 7mm/s~51mm/s) and move at a uniform speed, more realistically and reliably simulating the relative movement of the aircraft and the ground scene. Spectral camera dynamic target generation system. The invention is composed of a host computer, a cRIO system, a servo motor and a servo driver, a servo motor reducer, an encoder, a voltage stabilizing module, a target film, a mechanical mounting frame and a box body, and a main control system. The invention is a dynamic target generating system with low price, flexibility and convenience, and high control precision. The system structure is modular, easy to assemble and disassemble. The invention is a dynamic target generation system, which simplifies the control of the rotation speed of the dynamic target through a mechanical turntable, and can accurately control the speed of the target film, and is suitable for the imaging detection of the aerial spectrum camera used in the current high-altitude and high-speed environment.

Description

航空光谱相机动态目标发生系统Dynamic Target Generating System for Aeronautical Spectrum Camera

技术领域 technical field

本发明属于光电检测技术领域。 The invention belongs to the technical field of photoelectric detection.

背景技术 Background technique

光谱成像技术广泛应用于军事侦察、资源考察、农林、水文和地质勘查、环境监测、灾害调查以及测绘制图等领域。航空光谱相机的成像性能直接决定了航空对地观测的结果,这就需要我们在研制和使用维护过程中对光谱相机的性能指标进行检测。直接的检测方法就是将光谱相机安装到本机或它机上进行试飞试验,通过大量的飞行试验,调整设备状态,考核设备的成像性能。然而,试飞试验需要耗费大量的人力、物力和财力,而且需要试飞多次才能完成检测任务,资源消耗巨大。因此,如果能够在地面实验室内对航空光谱相机的各项技术指标进行充分测试和正确评估,将为外场试飞试验提供可靠的基础数据,从而大幅减少使用实际飞行试验对其进行检测的试飞次数,不但节省了大量的人力、物力和资金,还缩短了研制周期,提高了研制质量。 Spectral imaging technology is widely used in military reconnaissance, resource inspection, agriculture and forestry, hydrological and geological exploration, environmental monitoring, disaster investigation, surveying and mapping and other fields. The imaging performance of aerial spectral cameras directly determines the results of aerial earth observation, which requires us to test the performance indicators of spectral cameras in the process of development, use and maintenance. The direct detection method is to install the spectral camera on the aircraft or other aircraft for flight test, through a large number of flight tests, adjust the equipment status, and evaluate the imaging performance of the equipment. However, the flight test requires a lot of manpower, material and financial resources, and it needs to fly many times to complete the detection task, which consumes a lot of resources. Therefore, if the various technical indicators of the aeronautical spectrum camera can be fully tested and correctly evaluated in the ground laboratory, reliable basic data will be provided for the field test flight test, thereby greatly reducing the number of test flights using actual flight tests to detect it , not only saves a lot of manpower, material resources and funds, but also shortens the development cycle and improves the quality of development.

目前国内航空相机检测设备的研究单位主要有中科院长春光机所、某兵工企业、哈尔滨工业大学、长春理工大学等科研机构。中科院长春光机所研究的动态目标仿真系统,通过转台带动目标图形作一定规律的运动,动态目标图形做成鉴别率板的图线,模拟无穷远地面动态成像,确定相机的动态成像的分辨能力;某兵工企业研制的航空CCD相机性能检测设备,将被测相机的CCD像面与三个固定角度间隔的平行光管的光轴交点共面,根据飞机的速高比控制分辨率板的运行速度,相机通过平行光管成像,判读测试出相机在不同视场角下的分辨率;哈尔滨工业大学研制的航空相机性能检测设备,模拟飞机在高空的偏航运动和横滚运动,分辨率板以不同的速度做直线运动,来模拟飞机与地面景物的相对运动,通过评价相机拍摄相片质量来检测航空相机性能;长春理工大学研制的航空相机地面景物模拟系统,采用胶片模拟地面景物,力矩电机带动胶片转动,被测航空相机放置于平行光管另一侧对以一定速度匀速转动的胶片进行拍照,然后对其拍摄图像进行质量评价,给出评价结果。 At present, the research units of domestic aerial camera testing equipment mainly include Changchun Institute of Optics and Mechanics of Chinese Academy of Sciences, a certain military industry enterprise, Harbin Institute of Technology, Changchun University of Science and Technology and other scientific research institutions. The dynamic target simulation system researched by the Changchun Institute of Optics and Mechanics, Chinese Academy of Sciences, drives the target graphics to move regularly through the turntable, and the dynamic target graphics are made into the graph line of the discrimination rate board, simulating the dynamic imaging of the ground at infinity, and determining the dynamic imaging resolution of the camera The aviation CCD camera performance testing equipment developed by an ordnance enterprise, the CCD image plane of the camera to be tested is coplanar with the intersection of the optical axes of three parallel light tubes with fixed angle intervals, and the resolution plate is controlled according to the speed-to-height ratio of the aircraft. Running speed, the camera is imaged through a collimated light tube, and the resolution of the camera under different field of view angles is interpreted and tested; the aerial camera performance testing equipment developed by Harbin Institute of Technology simulates the yaw motion and roll motion of the aircraft at high altitude, and the resolution The board moves in a straight line at different speeds to simulate the relative movement between the aircraft and the ground scene, and the performance of the aerial camera is tested by evaluating the quality of the photos taken by the camera; the aerial camera ground scene simulation system developed by Changchun University of Science and Technology uses film to simulate the ground scene, and the torque The motor drives the film to rotate, and the aerial camera under test is placed on the other side of the collimator to take pictures of the film rotating at a constant speed, and then evaluate the quality of the captured images and give the evaluation results.

上述检测设备主要是为早期的胶片相机或者CCD相机提供分辨率检测或动态成像检测功能,主要测试可见光段光学相机。对于可见光至红外谱段的航空光谱相机,原有检测设备的成像目标、光学系统不能满足光谱相机的成像检测需求。 The above detection equipment mainly provides resolution detection or dynamic imaging detection functions for early film cameras or CCD cameras, and mainly tests optical cameras in the visible light segment. For the aerial spectral camera in the visible light to infrared spectrum, the imaging target and optical system of the original detection equipment cannot meet the imaging detection requirements of the spectral camera.

针对目前高空高速环境下使用的航空光谱相机,成像检测设备需要模拟的飞行高度从低空几千米到临近空间30千米,模拟的飞行速度从低亚音速到3马赫超音速,模拟的飞行平台俯仰角和横滚角变化范围-15°~+15°,被测相机的谱段范围400nm~2500nm,视场角达到30°以上。为满足上述需求,研制的系统包括模拟气动热和气动力环境的高温高速气流生成装置、模拟飞行姿态的摇摆平台、模拟地面运动场景的动态目标发生装置、模拟无限远成像的光学系统及相应的辅助设备。 For the aerial spectral cameras currently used in high-altitude and high-speed environments, the imaging detection equipment needs to simulate the flight altitude from a few thousand meters in the low altitude to 30 kilometers in the adjacent space, and the simulated flight speed from low subsonic speed to Mach 3 supersonic speed. The simulated flight platform The range of pitch angle and roll angle is -15°~+15°, the spectral range of the tested camera is 400nm~2500nm, and the field of view reaches more than 30°. In order to meet the above requirements, the developed system includes a high-temperature and high-speed airflow generation device for simulating aerothermal and aerodynamic environments, a swing platform for simulating flight attitude, a dynamic target generation device for simulating ground movement scenes, an optical system for simulating infinite imaging and corresponding auxiliary equipment.

其中,动态目标发生装置主要配合平行光管模拟飞机飞行时的地面环境,其主要实现功能是通过带动目标胶片按照主控平台所给的速度参数运动,同时调节光源亮度模拟地面环境亮度。由于动态目标发生直接影响后续的航空相机成像性能评价,所以精确控制胶片的转动速率至为关键。 Among them, the dynamic target generating device mainly cooperates with the collimator to simulate the ground environment when the aircraft is flying. Its main function is to drive the target film to move according to the speed parameters given by the main control platform, and at the same time adjust the brightness of the light source to simulate the brightness of the ground environment. Since the occurrence of dynamic targets directly affects the subsequent imaging performance evaluation of aerial cameras, it is critical to precisely control the rotation rate of the film.

国内现有的如中科院长春光机所、某兵工企业、哈尔滨工业大学所研制的动态目标发生装置都是通过机械转台来控制动态目标的速度,加工成本高,不便于移动及携带。长春理工大学研制的航空相机地面景物模拟系统是通过力矩电机控制其速度,虽然其灵活便捷,但是在控制精度方便,则达不到很好的效果。 The existing domestic dynamic target generating devices such as the Changchun Institute of Optics and Mechanics of the Chinese Academy of Sciences, an ordnance enterprise, and Harbin Institute of Technology all control the speed of the dynamic target through a mechanical turntable. The processing cost is high and it is not easy to move and carry. The aerial camera ground scene simulation system developed by Changchun University of Science and Technology uses a torque motor to control its speed. Although it is flexible and convenient, it cannot achieve good results when the control accuracy is convenient.

发明内容 Contents of the invention

本发明的目的是提供一种可以保证目标胶片在低速和高速高精度匀速转动(速度范围7 mm/s ~51mm/s)与匀变速运动,更加真实、可靠的模拟飞机与地面景物相对运动的航空光谱相机动态目标发生系统。 The purpose of the present invention is to provide a device that can ensure the target film to rotate at a low speed and high speed and high precision at a constant speed (speed range 7 mm/s ~51 mm/s) and move at a uniform speed, and more realistically and reliably simulate the relative motion of the aircraft and the ground scene. Dynamic target generation system for aerial spectrum camera.

本发明是由上位机、cRIO系统、伺服电机及伺服驱动器、伺服电机减速机、编码器、稳压模块、目标胶片、机械安装架和箱体、主控系统构成; The present invention is composed of a host computer, a cRIO system, a servo motor and a servo driver, a servo motor reducer, an encoder, a voltage stabilizing module, a target film, a mechanical mounting frame and a box, and a main control system;

其中主控系统是采用的LabVIEW人机界面软件程序,安装在上位机内; The main control system is the LabVIEW man-machine interface software program, which is installed in the host computer;

上位机通过以太网,一根网线与cRIO系统的控制器相连接,机箱插在控制器上,电源接入220V电压,电源输出接线端子24V+通过导线连接到控制器接线端子V1与稳压模块的输入+,电源接线端子24V﹣通过导线连接到控制器的接线端子C与稳压模块的输入﹣,稳压模块的输出+连接到伺服驱动器接线端子X1的1管脚与编码器的红线上,数字板卡和模拟板卡插在机箱插槽中,分别插入1插槽和2插槽,模拟板卡的0管脚通过导线连接到伺服驱动器的接线端子X1的21管脚,编码器的输出为蓝色线连接到数字板卡的14管脚,伺服驱动器接线端子X2与伺服电机通过标准插口相连,伺服驱动器的接线端子U、V、W与伺服电机通过标准插口相连,伺服驱动器的接线端子L1与L1C,L2与L2C通过导线相连,L1与L2通过电源线接入220V电压,伺服电机的转动轴连接入减速机,通过外六角扳手将伺服电机锁死在减速机上,减速机转动轴连接到固定在机械安装架上的胶片鼓下方,通过螺丝固定住,机械安装架上方,目标胶片绕在胶片鼓上,调节压片装置,将胶片撑紧,编码器固定在机械安装架上,编码器转轴安装上联轴器,联轴器贴紧胶片,使胶片转动带动编码器转动,稳压模块的输出﹣、模拟板卡的1管脚(COM接线端口)、数字板卡的1管脚(COM接线端口)、伺服驱动器的接线端子X1的8管脚、9管脚、14管脚都接入0V; The upper computer is connected to the controller of the cRIO system through Ethernet and a network cable, the chassis is plugged into the controller, the power supply is connected to 220V voltage, and the power output terminal 24V+ is connected to the controller terminal V1 and the voltage regulator module through wires. Input+, power supply terminal 24V-connected to terminal C of the controller and input- of the voltage stabilizing module through wires, output + of the voltage stabilizing module is connected to pin 1 of the terminal X1 of the servo driver and the red line of the encoder, The digital board and the analog board are inserted into the slots of the chassis, respectively inserted into slot 1 and slot 2. The 0 pin of the analog board is connected to the 21 pin of the terminal X1 of the servo drive through a wire, and the output of the encoder The blue line is connected to the 14 pins of the digital board. The servo drive terminal X2 is connected to the servo motor through a standard socket. The servo drive terminal U, V, W is connected to the servo motor through a standard socket. The servo drive terminal L1 and L1C, L2 and L2C are connected by wires, L1 and L2 are connected to 220V voltage through the power cord, the rotating shaft of the servo motor is connected to the reducer, and the servo motor is locked on the reducer by an external hexagonal wrench, and the rotating shaft of the reducer is connected Go to the bottom of the film drum fixed on the mechanical mounting frame, fix it with screws, above the mechanical mounting frame, the target film is wound on the film drum, adjust the film pressing device, tighten the film, fix the encoder on the mechanical mounting frame, and encode Install the upper coupling on the rotating shaft, and the coupling is close to the film, so that the film rotates to drive the encoder to rotate, the output of the voltage regulator module -, the 1 pin of the analog board (COM connection port), and the 1 pin of the digital board (COM connection port), the 8 pins, 9 pins and 14 pins of the servo drive terminal X1 are all connected to 0V;

操作过程:Operation process:

上位机主控制系统设定一个线速度给PID控制算法的设定量输入端,由于PID的输入输出为模拟电压,将设定的线速度转换成对应伺服电机转动需要设定的电压值,线速度与模拟电压关系是通过如下方法得出的: The main control system of the upper computer sets a line speed to the set value input terminal of the PID control algorithm. Since the input and output of the PID are analog voltages, the set line speed is converted into the voltage value that needs to be set corresponding to the rotation of the servo motor. The relationship between speed and analog voltage is obtained by the following method:

上位机输出均匀增加模拟电压输出给伺服电机,使其做加速度不变的匀加速转动,通过编码器采集此过程的线速度,即得出模拟输出电压与目标胶片的线速度的数据对照关系,再通过MATLAB软件,拟合出线速度—电压关系式;通过拟合,得出模拟电压与胶片鼓线速度关系为: The output of the upper computer evenly increases the analog voltage output to the servo motor to make it rotate at a uniform acceleration with constant acceleration. The linear velocity of this process is collected through the encoder, and the data comparison relationship between the analog output voltage and the linear velocity of the target film is obtained. Then use the MATLAB software to fit the line speed-voltage relationship; through fitting, the relationship between the analog voltage and the line speed of the film drum is obtained as:

U=0.2033v+0.0462 U=0.2033v+0.0462

U:模拟电压 U: Analog voltage

v:胶片线速度 v: film linear velocity

编码器为光电编码器,编码器采集实时线速度的方法为: The encoder is a photoelectric encoder, and the method for the encoder to collect real-time linear velocity is:

当胶片鼓带动目标胶片转动的同时带动编码器转轴转动,所以胶片鼓的线速度与编码器转轴的线速度是相同的,编码器输出为方波脉冲,目标胶片的线速度计算如下: When the film drum drives the target film to rotate, it also drives the encoder shaft to rotate, so the linear speed of the film drum is the same as that of the encoder shaft, and the output of the encoder is a square wave pulse. The linear speed of the target film is calculated as follows:

f:方波脉冲频率 f: square wave pulse frequency

m:编码器分辨率 m: encoder resolution

r:编码器联轴器转轴半径 r: Encoder coupling shaft radius

v:目标胶片线速度 v: Target film linear velocity

PID控制算法的输入即为模拟电压,设置上位机的cRIO系统配套软件,将模拟电压通过模拟板卡的0管脚输出,模拟电压信号通过导线传递给伺服驱动器的接线端子X1的21管脚,伺服驱动器控制伺服电机以设定的线速度转动,此时,由于没有形成PID闭环控制,所以误差较大,再通过编码器采集实时线速度,将线速度转换成模拟电压,将实时的模拟电压值作为PID控制算法的变化量输入,通过反馈量调节控制量,实现对电机速度的精确控制; The input of the PID control algorithm is the analog voltage. Set the cRIO system supporting software of the upper computer to output the analog voltage through the 0 pin of the analog board, and transmit the analog voltage signal to the 21 pin of the terminal X1 of the servo drive through the wire. The servo driver controls the servo motor to rotate at the set line speed. At this time, because there is no PID closed-loop control, the error is relatively large, and then the real-time line speed is collected by the encoder, and the line speed is converted into an analog voltage. The real-time analog voltage The value is used as the variable input of the PID control algorithm, and the control variable is adjusted through the feedback value to realize precise control of the motor speed;

上述PID控制算法由比例单元P、积分单元I和微分单元D组成,其输入控制器输入与设定值之间的误差e (t)与输出u (t)的关系如下: The above PID control algorithm is composed of proportional unit P, integral unit I and differential unit D. The relationship between the error e (t) between the input controller input and the set value and the output u (t) is as follows:

其中KP为比例系数;TI为积分时间常数; TD为微分时间常数; Among them, KP is the proportional coefficient; TI is the integral time constant; TD is the differential time constant;

在计算机处理算法时不能够对模拟量进行直接处理,要使用数字PID控制器进行计算,所以要对上式进行离散化处理,作变量替换: When the computer processes the algorithm, the analog quantity cannot be directly processed, and a digital PID controller is used for calculation, so the above formula must be discretized and replaced by variables:

公式中,k是采样序号,T是采样周期,T越短系统精度越高但计算量也相应增加; In the formula, k is the sampling number, and T is the sampling period. The shorter T is, the higher the system accuracy is, but the amount of calculation also increases accordingly;

令kT简化变成k,得: Let kT simplify to k, get:

       

由于场景胶片转动速度的控制需要的是控制量的增量,且只与最近的前k次反馈的数值有关,因此在速度测控系统中选取增量式PID控制算法,由上式递推得: Since the control of the scene film rotation speed requires the increment of the control amount, and it is only related to the value of the last k feedbacks, the incremental PID control algorithm is selected in the speed measurement and control system, and it is recursively obtained from the above formula:

两式相减得到: Subtract the two formulas to get:

     

上式中,In the above formula, ;

由上式可以看出,如果输入了KP、TI、TD三个参数的值,仅仅使用之前的三次得到的反馈值与设定值,即可以用增量式PID控制算法对输出量进行计算。 It can be seen from the above formula that if the values of the three parameters K P , T I , and T D are input, only the feedback value and the set value obtained in the previous three times can be used to control the output volume with the incremental PID control algorithm. Calculation.

本发明价格低廉、灵活便捷、控制精度高的一种动态目标发生系统。系统结构模块化,便于组装及拆卸。本发明是一种动态目标发生系统,简化通过机械转台来控制动态目标转动速度,又能精确控制目标胶片的速度,适用于当前高空高速环境下使用的航空光谱相机成像检测。 The invention is a dynamic target generating system with low price, flexibility and convenience, and high control precision. The system structure is modular, easy to assemble and disassemble. The invention is a dynamic target generation system, which simplifies the control of the rotation speed of the dynamic target through a mechanical turntable, and can accurately control the speed of the target film, and is suitable for the imaging detection of the aerial spectrum camera used in the current high-altitude and high-speed environment.

附图说明 Description of drawings

图1是本发明控制流程图; Fig. 1 is a control flowchart of the present invention;

图2是本发明硬件连接关系图; Fig. 2 is a hardware connection diagram of the present invention;

图3是本发明控制流程与硬件连接对照图; Fig. 3 is a comparison diagram of control flow and hardware connection of the present invention;

图4是本发明的控制过程框图; Fig. 4 is a control process block diagram of the present invention;

图5是本发明的控制程序流程图; Fig. 5 is a flow chart of the control program of the present invention;

图6是线速度与模拟电压拟合曲线; Fig. 6 is linear velocity and analog voltage fitting curve;

图7是设定速度与实时速度的数据采集图; Fig. 7 is the data acquisition diagram of setting speed and real-time speed;

图8是伺服电机带动目标胶片转动,编码器采集实时线速度,编码器输出为方波脉冲,采集到的脉冲图; Figure 8 is the servo motor drives the target film to rotate, the encoder collects the real-time linear velocity, the encoder outputs a square wave pulse, and the collected pulse diagram;

图9是采集到的实时线速度与设定的线速度图。 Figure 9 is a diagram of the collected real-time line speed and the set line speed.

具体实施方式 Detailed ways

本发明系统系统包括上位机、cRIO系统、伺服电机及伺服驱动器、伺服电机减速机、编码器、稳压模块、单端信号转差分信号芯片、目标胶片、机械安装架和箱体、LabVIEW人机界面软件程序; The system of the present invention includes a host computer, a cRIO system, a servo motor and a servo driver, a servo motor reducer, an encoder, a voltage stabilization module, a single-ended signal to differential signal chip, a target film, a mechanical mounting frame and a box, and a LabVIEW man-machine Interface software program;

cRIO系统为美国国家仪器公司的紧凑型实时控制平台cRIO,包括控制器(cRIO 9024),机箱(cRIO 9113),电源(NI PS-15),数字板卡(NI 9401),模拟板卡(NI 9263); The cRIO system is a compact real-time control platform cRIO of National Instruments, including a controller (cRIO 9024), a chassis (cRIO 9113), a power supply (NI PS-15), a digital board (NI 9401), an analog board (NI 9263);

伺服电机为米格40ST,伺服驱动器为Maxsine-EP3; The servo motor is MiG 40ST, and the servo driver is Maxsine-EP3;

编码器为NOC-S5000-2MHC; The encoder is NOC-S5000-2MHC;

伺服减速机由上海纵亨精密机械有限公司生产,减速比为1:320; The servo reducer is produced by Shanghai Zongheng Precision Machinery Co., Ltd., with a reduction ratio of 1:320;

稳压模块型号为LM2576-12; The voltage regulator module model is LM2576-12;

其中伺服电机、伺服电机减速机、编码器和目标胶片安装在机械安装架的相应位置,伺服电机连接伺服电机减速机,机身置于机械箱体内部,减速机转轴连接胶片鼓,胶片鼓置于机械安装架上方,带动目标胶片转动,伺服电机与伺服电机驱动器相连接,其转速由伺服电机驱动器控制,伺服电机驱动器驱动电压由稳压模块提供,稳压模块输入为cRIO电源(NI PS-15),该电源不仅给cRIO系统供电,还经过稳压模块给伺服电机驱动器与编码器供电,cRIO电源(NI PS-15)接入家用220v电压即可,驱动器的X1口连接cRIO模拟板卡(NI 9263),精确控制电机转速,cRIO本身所具有的FPGA模块,可以实现毫秒级实时控制,并将其与PID控制算法相结合,根据数字闭环调速系统的总体结构,在灰色预测理论形成新误差序列的基础上导出了校正PID参数表达式,接着对输出预测进行滤波处理, 以消除预测值偏高的不足,通过反馈量调节控制量,实现对电机速度的精确控制,同时提高了电机转速控制的鲁棒性及模型不准确带来的误差,进而达到精确控制目标胶片匀速运动,编码器的输出连接入数字板卡(NI 9401),采集当前转速数据,cRIO系统的数字板卡和模拟板卡插在机箱(cRIO 9113)相应插槽中,cRIO控制器(cRIO 9024)通过以太网口与上位机进行通信,其中编码器、稳压模块、cRIO系统和伺服电机驱动器需要在电路中需要共用一个地。上位机主控系统采用LabVIEW软件编程,能充分发挥计算机的能力,并充分利用LabVIEW软件的层次化、模块化的特点进行软件设计,将数字板卡采集到的速度数据进行处理计算,运用PID控制算法,达到精确控制目标胶片转速的目的。 Among them, the servo motor, servo motor reducer, encoder and target film are installed at the corresponding positions of the mechanical mounting frame, the servo motor is connected to the servo motor reducer, the body is placed inside the mechanical box, the reducer shaft is connected to the film drum, and the film drum is placed Above the mechanical installation frame, it drives the target film to rotate. The servo motor is connected to the servo motor driver, and its speed is controlled by the servo motor driver. The driving voltage of the servo motor driver is provided by the voltage stabilization module. 15), the power supply not only supplies power to the cRIO system, but also supplies power to the servo motor driver and encoder through the voltage stabilization module. The cRIO power supply (NI PS-15) can be connected to the household 220v voltage, and the X1 port of the driver is connected to the cRIO analog board (NI 9263), to precisely control the motor speed, the FPGA module of cRIO itself can realize millisecond-level real-time control, and combine it with the PID control algorithm. According to the overall structure of the digital closed-loop speed regulation system, it is formed in the gray prediction theory On the basis of the new error sequence, the corrected PID parameter expression is derived, and then the output prediction is filtered to eliminate the shortage of high predicted value, and the control amount is adjusted through the feedback value to achieve precise control of the motor speed, and at the same time improve the motor speed. The robustness of the speed control and the error caused by the inaccurate model can achieve precise control of the uniform motion of the target film. The output of the encoder is connected to the digital board (NI 9401) to collect the current speed data. The digital board of the cRIO system and The analog board is inserted into the corresponding slot of the chassis (cRIO 9113), and the cRIO controller (cRIO 9024) communicates with the host computer through the Ethernet port. The encoder, voltage regulator module, cRIO system and servo motor driver need to be in the circuit Need to share a place. The main control system of the upper computer adopts LabVIEW software programming, which can give full play to the computer's ability, and make full use of the hierarchical and modular characteristics of LabVIEW software for software design, process and calculate the speed data collected by the digital board, and use PID control Algorithm to achieve the purpose of precisely controlling the target film speed.

如图硬件连接,上位机上面安装主控系统,上位机通过以太网,一根网线与cRIO系统的控制器相连接,机箱插在控制器上,电源接入220V电压,电源输出接线端子24V+通过导线连接到控制器接线端子V1与稳压模块(LM2576-12)的输入+,电源接线端子24V﹣通过导线连接到控制器的接线端子C与稳压模块的输入﹣,稳压模块的输出+连接到伺服驱动器接线端子X1的1管脚与编码器的红线上,数字板卡和模拟板卡插在机箱插槽中,分别插入1插槽和2插槽,模拟板卡的0管脚(AO0接线端口)通过导线连接到伺服驱动器的接线端子X1的21管脚,编码器的输出为蓝色线连接到数字板卡的14管脚(DIO0接线端口),伺服驱动器接线端子X2与伺服电机通过标准插口相连,伺服驱动器的接线端子U、V、W与伺服电机通过标准插口相连,伺服驱动器的接线端子L1与L1C,L2与L2C通过导线相连,L1与L2通过电源线接入220V电压,伺服电机的转动轴连接入减速机,通过外六角扳手将伺服电机锁死在减速机上,减速机转动轴连接到固定在机械安装架上的胶片鼓下方,通过螺丝固定住,机械安装架上方,目标胶片绕在胶片鼓上,调节压片装置,将胶片撑紧,编码器固定在机械安装架上,编码器转轴安装上联轴器,联轴器贴紧胶片,使胶片转动带动编码器转动,稳压模块的输出﹣、模拟板卡的1管脚(COM接线端口)、数字板卡的1管脚(COM接线端口)、伺服驱动器的接线端子X1的8管脚、9管脚、14管脚都接入0V。 As shown in the hardware connection, the main control system is installed on the upper computer, and the upper computer is connected to the controller of the cRIO system through Ethernet and a network cable. The wire is connected to the controller terminal V1 and the input + of the voltage stabilization module (LM2576-12), the power supply terminal 24V- is connected to the terminal C of the controller and the input − of the voltage stabilization module through wires, and the output of the voltage stabilization module is + Connect to the 1 pin of the servo drive terminal X1 and the red line of the encoder. The digital board and the analog board are inserted into the slots of the chassis, respectively inserted into the 1 slot and the 2 slot, and the 0 pin of the analog board ( AO0 wiring port) is connected to the 21 pins of the servo drive terminal X1 through wires, the output of the encoder is connected to the 14 pins of the digital board (DIO0 wiring port) with a blue line, and the servo drive terminal X2 is connected to the servo motor It is connected through a standard socket, the connecting terminals U, V, W of the servo drive are connected with the servo motor through a standard socket, the connecting terminals L1 and L1C of the servo drive, L2 and L2C are connected through wires, and L1 and L2 are connected to 220V voltage through the power line. The rotating shaft of the servo motor is connected to the reducer, and the servo motor is locked on the reducer by an external hexagonal wrench. The rotating shaft of the reducer is connected to the bottom of the film drum fixed on the mechanical mounting frame and fixed by screws. Above the mechanical mounting frame, The target film is wound on the film drum, the film pressing device is adjusted, the film is tightened, the encoder is fixed on the mechanical mounting frame, the shaft of the encoder is installed with a coupling, and the coupling is tightly attached to the film, so that the rotation of the film drives the rotation of the encoder , the output of the voltage regulator module -, 1 pin of the analog board (COM connection port), 1 pin of the digital board (COM connection port), 8 pins, 9 pins, 14 pins of the servo drive terminal X1 Pins are connected to 0V.

操作过程及实现原理:Operation process and realization principle:

通过上位机主控制系统设定一个线速度(速度范围7 mm/s ~51mm/s)给PID控制算法的设定量输入端,由于PID的输入输出为模拟电压,我们需要将设定的线速度转换成对应伺服电机转动需要设定的电压值,线速度与模拟电压关系是通过如下方法得出的: Set a line speed (speed range 7 mm/s ~51mm/s) to the set value input terminal of the PID control algorithm through the main control system of the host computer. Since the input and output of the PID are analog voltages, we need to set the line speed The speed is converted into the voltage value that needs to be set corresponding to the rotation of the servo motor. The relationship between the linear speed and the analog voltage is obtained by the following method:

通过上位机输出0.01v均匀增加模拟电压输出给伺服电机,使其做加速度不变的匀加速转动,通过编码器(在专利发明内容里具体介绍了型号)采集此过程的线速度,即得出模拟输出电压与目标胶片的线速度的数据对照关系,再通过MATLAB软件,拟合出线速度—电压关系式。通过拟合,得出模拟电压与胶片鼓线速度关系为: Output 0.01v from the host computer to uniformly increase the analog voltage output to the servo motor to make it rotate at a uniform acceleration with constant acceleration, and collect the linear speed of this process through the encoder (the model is specifically introduced in the content of the patent invention), which is obtained Simulate the relationship between the output voltage and the linear velocity of the target film, and then use the MATLAB software to fit the linear velocity-voltage relationship. Through fitting, the relationship between the analog voltage and the linear velocity of the film drum is obtained as:

U=0.2033v+0.0462 U=0.2033v+0.0462

U:模拟电压 U: Analog voltage

v:胶片线速度 v: film linear velocity

编码器为光电编码器,编码器采集实时线速度的方法为: The encoder is a photoelectric encoder, and the method for the encoder to collect real-time linear velocity is:

当胶片鼓带动目标胶片转动的同时带动编码器转轴转动,所以胶片鼓(目标胶片)的线速度与编码器转轴的线速度是相同的,编码器输出为方波脉冲,目标胶片的线速度计算如下: When the film drum drives the target film to rotate, it also drives the encoder shaft to rotate, so the linear velocity of the film drum (target film) is the same as that of the encoder shaft, and the output of the encoder is a square wave pulse. Calculate the linear velocity of the target film as follows:

f:方波脉冲频率 f: square wave pulse frequency

m:编码器分辨率 m: encoder resolution

r:编码器联轴器转轴半径 r: Encoder coupling shaft radius

v:目标胶片线速度 v: Target film linear velocity

PID控制算法的输入即为模拟电压,设置上位机的cRIO系统配套软件,将模拟电压通过模拟板卡的0管脚(AO0接线端口)输出,模拟电压信号通过导线传递给伺服驱动器的接线端子X1的21管脚,伺服驱动器控制伺服电机以设定的线速度转动,此时,由于没有形成PID闭环控制,所以误差较大,再通过编码器采集实时线速度,将线速度转换成模拟电压,将实时的模拟电压值作为PID控制算法的变化量输入,通过反馈量调节控制量,实现对电机速度的精确控制。 The input of the PID control algorithm is the analog voltage. Set the cRIO system supporting software of the upper computer to output the analog voltage through the 0 pin (AO0 terminal) of the analog board, and transmit the analog voltage signal to the terminal X1 of the servo drive through the wire 21 pins, the servo driver controls the servo motor to rotate at the set line speed. At this time, because the PID closed-loop control is not formed, the error is relatively large, and then the real-time line speed is collected by the encoder, and the line speed is converted into an analog voltage. The real-time analog voltage value is input as the change amount of the PID control algorithm, and the control amount is adjusted through the feedback amount to realize precise control of the motor speed.

上述PID(比例(proportion)、积分(integration)、微分(differentiation))控制算法由比例单元(P)、积分单元(I)和微分单元(D)组成。其输入e (t)(控制器输入与设定值之间的误差)与输出u (t)的关系如下: The above PID (proportion, integration, differentiation) control algorithm consists of a proportional unit (P), an integral unit (I) and a differential unit (D). The relationship between its input e (t) (the error between the controller input and the set value) and output u (t) is as follows:

其中KP为比例系数;TI为积分时间常数; TD为微分时间常数; Among them, KP is the proportional coefficient; TI is the integral time constant; TD is the differential time constant;

在计算机处理算法时不能够对模拟量进行直接处理,要使用数字PID控制器进行计算,所以要对上式进行离散化处理,作变量替换: When the computer processes the algorithm, the analog quantity cannot be directly processed, and a digital PID controller is used for calculation, so the above formula must be discretized and replaced by variables:

公式中,k是采样序号,T是采样周期,T越短系统精度越高但计算量也相应增加。 In the formula, k is the sampling number, and T is the sampling period. The shorter T is, the higher the system accuracy is, but the amount of calculation increases accordingly.

为书写方便,令kT简化变成k,得: For the convenience of writing, let kT be simplified into k, and get:

           

由于场景胶片转动速度的控制需要的是控制量的增量,且只与最近的前k次反馈的数值有关,因此在速度测控系统中选取增量式PID控制算法,由上式递推得: Since the control of the scene film rotation speed requires the increment of the control amount, and it is only related to the value of the last k feedbacks, the incremental PID control algorithm is selected in the speed measurement and control system, and it is recursively obtained from the above formula:

两式相减得到: Subtract the two formulas to get:

上式中,In the above formula, .

由上式可以看出,如果输入了KP、TI、TD三个参数的值,仅仅使用之前的3次得到的反馈值与设定值,即可以用增量式PID控制算法对输出量进行计算,可以使系统的响应时间更快。 It can be seen from the above formula that if the values of the three parameters K P , T I , and T D are input, the incremental PID control algorithm can be used to control the output Quantities are calculated, which can make the response time of the system faster.

在主控程序中通过设置一个给定的线速度,经由线速度—电压关系式,转换为模拟电压输出给PID控制算法的给定量,同时将编码器采集到的当前目标胶片的线速度输出给PID控制算法的变化量,PID的输出给cRIO系统的模拟板卡来控制伺服电机转速。通过选取适当的KP、TI与TD参数,可以将速度精度控制到0.8%以内,使后续的航空相机成像性能做出较好的评价。 In the main control program, by setting a given line speed, through the line speed-voltage relational expression, it is converted into an analog voltage output to the given amount of the PID control algorithm, and at the same time, the line speed of the current target film collected by the encoder is output to the The variation of the PID control algorithm, and the output of the PID is sent to the analog board of the cRIO system to control the speed of the servo motor. By selecting appropriate KP, TI and TD parameters, the speed accuracy can be controlled to within 0.8%, so that the subsequent aerial camera imaging performance can be better evaluated.

实例: Example:

先计算模拟输出电压与胶片鼓线速度关系:通过上位机输出0.01v均匀增加模拟电压输出给伺服电机,使其做加速度不变的匀加速转动,通过编码器采集此过程的线速度,即得出模拟输出电压与目标胶片的线速度的数据对照关系,由于电压变化范围从0v到10v,数据点数为1000个,下表只给列出了50组数据: First calculate the relationship between the analog output voltage and the linear velocity of the film drum: output 0.01v through the host computer to uniformly increase the analog voltage output to the servo motor to make it rotate at a uniform acceleration with constant acceleration, and collect the linear velocity of this process through the encoder, that is, Figure out the data comparison relationship between the analog output voltage and the linear velocity of the target film. Since the voltage ranges from 0v to 10v and the number of data points is 1000, the following table only lists 50 sets of data:

 再通过MATLAB软件,拟合出线速度—电压关系式。通过拟合,得出模拟电压与胶片鼓线速度关系为: Then use MATLAB software to fit the line speed-voltage relationship. Through fitting, the relationship between the analog voltage and the linear velocity of the film drum is obtained as:

U=0.2038v+0.0462 U=0.2038v+0.0462

U:模拟电压 U: Analog voltage

v:胶片线速度 v: film linear velocity

通过上位机主控制系统设定一个9 mm/s的线速度给PID控制算法的设定量输入端,通过上面模拟电压与胶片鼓线速度关系公式,可以算出PID控制算法的设定量输入为1.8804v。 Set a line speed of 9 mm/s to the set input terminal of the PID control algorithm through the main control system of the host computer, and use the above formula for the relationship between the analog voltage and the line speed of the film drum to calculate the set amount input of the PID control algorithm as 1.8804v.

伺服电机带动目标胶片转动,编码器采集实时线速度,编码器输出为方波脉冲,采集到的脉冲如图8。 The servo motor drives the target film to rotate, the encoder collects the real-time linear velocity, and the output of the encoder is a square wave pulse, and the collected pulse is shown in Figure 8.

编码器的输出为蓝色线连接到数字板卡的14管脚(DIO0接线端口),在上位机中读到最近三次方波脉冲的频率分别为793Hz,786Hz,798Hz,由公式: The output of the encoder is connected to the 14-pin (DIO0 wiring port) of the digital board by the blue line, and the frequencies of the latest three square wave pulses read in the host computer are 793Hz, 786Hz, and 798Hz, respectively, according to the formula:

f:方波脉冲频率 f: square wave pulse frequency

m:编码器分辨率为5000 m: Encoder resolution is 5000

r:编码器联轴器转轴半径为9mm r: Encoder coupling shaft radius is 9mm

v:目标胶片线速度 v: Target film linear velocity

得出目标胶片的最近三次实时线速度分别为8.969mm/s,8.889mm/s,9.025mm/s,由模拟电压与胶片鼓线速度关系式 The last three real-time linear velocities of the target film are 8.969mm/s, 8.889mm/s, and 9.025mm/s, respectively, according to the relationship between the analog voltage and the linear velocity of the film drum

U=0.2033v+0.0462 U=0.2033v+0.0462

得出PID控制算法最近三次的变化量输入分别为1.8696v,1.8833v,1.8810v,再经过PID控制算法 It is obtained that the last three changes in the PID control algorithm are 1.8696v, 1.8833v, 1.8810v, and then through the PID control algorithm

其中T是采样周期,为采样频率的倒数,上位机中采样频率设置为1000,则T为0.001s,通过上位机设置适当的KP为0.900、TI为0.110与、TD为0.001,得出PID输出的控制电压为0.082v。 Among them, T is the sampling period, which is the reciprocal of the sampling frequency. If the sampling frequency in the host computer is set to 1000, then T is 0.001s. The appropriate KP is set to 0.900, TI is 0.110 and TD is 0.001 through the host computer, and the PID output is obtained. The control voltage is 0.082v.

采集到的实时线速度与设定的线速度如图9。 The collected real-time linear velocity and the set linear velocity are shown in Figure 9.

Claims (1)

1.一种航空光谱相机动态目标发生系统,其特征在于:是由上位机、cRIO系统、伺服电机及伺服驱动器、伺服电机减速机、编码器、稳压模块、目标胶片、机械安装架和箱体、主控系统构成; 1. An aerial spectrum camera dynamic target generating system is characterized in that: it is composed of host computer, cRIO system, servo motor and servo driver, servo motor reducer, encoder, voltage stabilizing module, target film, mechanical mounting frame and box body and main control system; 其中主控系统是采用的LabVIEW人机界面软件程序,安装在上位机内; The main control system is the LabVIEW man-machine interface software program, which is installed in the host computer; 上位机通过以太网,一根网线与cRIO系统的控制器相连接,机箱插在控制器上,电源接入220V电压,电源输出接线端子24V+通过导线连接到控制器接线端子V1与稳压模块的输入+,电源接线端子24V﹣通过导线连接到控制器的接线端子C与稳压模块的输入﹣,稳压模块的输出+连接到伺服驱动器接线端子X1的1管脚与编码器的红线上,数字板卡和模拟板卡插在机箱插槽中,分别插入1插槽和2插槽,模拟板卡的0管脚通过导线连接到伺服驱动器的接线端子X1的21管脚,编码器的输出为蓝色线连接到数字板卡的14管脚,伺服驱动器接线端子X2与伺服电机通过标准插口相连,伺服驱动器的接线端子U、V、W与伺服电机通过标准插口相连,伺服驱动器的接线端子L1与L1C,L2与L2C通过导线相连,L1与L2通过电源线接入220V电压,伺服电机的转动轴连接入减速机,通过外六角扳手将伺服电机锁死在减速机上,减速机转动轴连接到固定在机械安装架上的胶片鼓下方,通过螺丝固定住,机械安装架上方,目标胶片绕在胶片鼓上,调节压片装置,将胶片撑紧,编码器固定在机械安装架上,编码器转轴安装上联轴器,联轴器贴紧胶片,使胶片转动带动编码器转动,稳压模块的输出﹣、模拟板卡的1管脚(COM接线端口)、数字板卡的1管脚(COM接线端口)、伺服驱动器的接线端子X1的8管脚、9管脚、14管脚都接入0V; The upper computer is connected to the controller of the cRIO system through Ethernet and a network cable, the chassis is plugged into the controller, the power supply is connected to 220V voltage, and the power output terminal 24V+ is connected to the controller terminal V1 and the voltage regulator module through wires. Input+, power supply terminal 24V-connected to terminal C of the controller and input- of the voltage stabilizing module through wires, output + of the voltage stabilizing module is connected to pin 1 of the terminal X1 of the servo driver and the red line of the encoder, The digital board and the analog board are inserted into the slots of the chassis, respectively inserted into slot 1 and slot 2. The 0 pin of the analog board is connected to the 21 pin of the terminal X1 of the servo drive through a wire, and the output of the encoder The blue line is connected to the 14 pins of the digital board. The servo drive terminal X2 is connected to the servo motor through a standard socket. The servo drive terminal U, V, W is connected to the servo motor through a standard socket. The servo drive terminal L1 and L1C, L2 and L2C are connected by wires, L1 and L2 are connected to 220V voltage through the power cord, the rotating shaft of the servo motor is connected to the reducer, and the servo motor is locked on the reducer by an external hexagonal wrench, and the rotating shaft of the reducer is connected Go to the bottom of the film drum fixed on the mechanical mounting frame, fix it with screws, above the mechanical mounting frame, the target film is wound on the film drum, adjust the film pressing device, tighten the film, fix the encoder on the mechanical mounting frame, and encode Install the upper coupling on the rotating shaft, and the coupling is close to the film, so that the film rotates to drive the encoder to rotate, the output of the voltage regulator module -, the 1 pin of the analog board (COM connection port), and the 1 pin of the digital board (COM connection port), the 8 pins, 9 pins and 14 pins of the servo drive terminal X1 are all connected to 0V; 操作过程:Operation process: 上位机主控制系统设定一个线速度给PID控制算法的设定量输入端,由于PID的输入输出为模拟电压,将设定的线速度转换成对应伺服电机转动需要设定的电压值,线速度与模拟电压关系是通过如下方法得出的: The main control system of the upper computer sets a line speed to the set value input terminal of the PID control algorithm. Since the input and output of the PID are analog voltages, the set line speed is converted into the voltage value that needs to be set corresponding to the rotation of the servo motor. The relationship between speed and analog voltage is obtained by the following method: 上位机输出均匀增加模拟电压输出给伺服电机,使其做加速度不变的匀加速转动,通过编码器采集此过程的线速度,即得出模拟输出电压与目标胶片的线速度的数据对照关系,再通过MATLAB软件,拟合出线速度—电压关系式;通过拟合,得出模拟电压与胶片鼓线速度关系为: The output of the upper computer evenly increases the analog voltage output to the servo motor to make it rotate at a uniform acceleration with constant acceleration. The linear velocity of this process is collected through the encoder, and the data comparison relationship between the analog output voltage and the linear velocity of the target film is obtained. Then use the MATLAB software to fit the line speed-voltage relationship; through fitting, the relationship between the analog voltage and the line speed of the film drum is obtained as: U=0.2033v+0.0462 U=0.2033v+0.0462 U:模拟电压 U: Analog voltage v:胶片线速度 v: film linear velocity 编码器为光电编码器,编码器采集实时线速度的方法为: The encoder is a photoelectric encoder, and the method for the encoder to collect real-time linear velocity is: 当胶片鼓带动目标胶片转动的同时带动编码器转轴转动,所以胶片鼓的线速度与编码器转轴的线速度是相同的,编码器输出为方波脉冲,目标胶片的线速度计算如下: When the film drum drives the target film to rotate, it also drives the encoder shaft to rotate, so the linear speed of the film drum is the same as that of the encoder shaft, and the output of the encoder is a square wave pulse. The linear speed of the target film is calculated as follows: f:方波脉冲频率 f: square wave pulse frequency m:编码器分辨率 m: encoder resolution r:编码器联轴器转轴半径 r: Encoder coupling shaft radius v:目标胶片线速度 v: Target film linear velocity PID控制算法的输入即为模拟电压,设置上位机的cRIO系统配套软件,将模拟电压通过模拟板卡的0管脚输出,模拟电压信号通过导线传递给伺服驱动器的接线端子X1的21管脚,伺服驱动器控制伺服电机以设定的线速度转动,此时,由于没有形成PID闭环控制,所以误差较大,再通过编码器采集实时线速度,将线速度转换成模拟电压,将实时的模拟电压值作为PID控制算法的变化量输入,通过反馈量调节控制量,实现对电机速度的精确控制; The input of the PID control algorithm is the analog voltage. Set the cRIO system supporting software of the upper computer to output the analog voltage through the 0 pin of the analog board, and transmit the analog voltage signal to the 21 pin of the terminal X1 of the servo drive through the wire. The servo driver controls the servo motor to rotate at the set line speed. At this time, because there is no PID closed-loop control, the error is relatively large, and then the real-time line speed is collected by the encoder, and the line speed is converted into an analog voltage. The real-time analog voltage The value is used as the variable input of the PID control algorithm, and the control variable is adjusted through the feedback value to realize precise control of the motor speed; 上述PID控制算法由比例单元P、积分单元I和微分单元D组成,其输入控制器输入与设定值之间的误差e (t)与输出u (t)的关系如下: The above PID control algorithm is composed of proportional unit P, integral unit I and differential unit D. The relationship between the error e (t) between the input controller input and the set value and the output u (t) is as follows: 其中KP为比例系数;TI为积分时间常数; TD为微分时间常数; Among them, KP is the proportional coefficient; TI is the integral time constant; TD is the differential time constant; 在计算机处理算法时不能够对模拟量进行直接处理,要使用数字PID控制器进行计算,所以要对上式进行离散化处理,作变量替换: When the computer processes the algorithm, the analog quantity cannot be directly processed, and a digital PID controller is used for calculation, so the above formula must be discretized and replaced by variables: 公式中,k是采样序号,T是采样周期,T越短系统精度越高但计算量也相应增加; In the formula, k is the sampling number, and T is the sampling period. The shorter T is, the higher the system accuracy is, but the amount of calculation also increases accordingly; 令kT简化变成k,得: Let kT simplify to k, get:         由于场景胶片转动速度的控制需要的是控制量的增量,且只与最近的前k次反馈的数值有关,因此在速度测控系统中选取增量式PID控制算法,由上式递推得: Since the control of the scene film rotation speed requires the increment of the control amount, and it is only related to the value of the last k feedbacks, the incremental PID control algorithm is selected in the speed measurement and control system, and it is recursively obtained from the above formula: 两式相减得到: Subtract the two formulas to get:       上式中,In the above formula, ; 由上式可以看出,如果输入了KP、TI、TD三个参数的值,仅仅使用之前的三次得到的反馈值与设定值,即可以用增量式PID控制算法对输出量进行计算。 It can be seen from the above formula that if the values of the three parameters K P , T I , and T D are input, only the feedback value and the set value obtained in the previous three times can be used to control the output volume with the incremental PID control algorithm. Calculation.
CN201510303773.1A 2015-06-05 2015-06-05 Dynamic object generation system for aviation spectral camera Expired - Fee Related CN104865848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510303773.1A CN104865848B (en) 2015-06-05 2015-06-05 Dynamic object generation system for aviation spectral camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510303773.1A CN104865848B (en) 2015-06-05 2015-06-05 Dynamic object generation system for aviation spectral camera

Publications (2)

Publication Number Publication Date
CN104865848A true CN104865848A (en) 2015-08-26
CN104865848B CN104865848B (en) 2017-04-12

Family

ID=53911761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510303773.1A Expired - Fee Related CN104865848B (en) 2015-06-05 2015-06-05 Dynamic object generation system for aviation spectral camera

Country Status (1)

Country Link
CN (1) CN104865848B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107504982A (en) * 2017-08-22 2017-12-22 中国科学院长春光学精密机械与物理研究所 Aerial camera Imaging Simulation system over the ground

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129339A (en) * 2004-11-01 2006-05-18 Nikon Corp Digital camera
JP2006129375A (en) * 2004-11-01 2006-05-18 Fujitsu Ltd Movie data generation apparatus and movie data generation method
CN1896867A (en) * 2005-08-31 2007-01-17 中国科学院长春光学精密机械与物理研究所 Analog dynamic object generator for testing avitation camera dynamic resolving power
CN201173855Y (en) * 2008-04-10 2008-12-31 中国科学院长春光学精密机械与物理研究所 dynamic target generator
JP2009017385A (en) * 2007-07-06 2009-01-22 Fujifilm Corp Motion picture generating apparatus, motion picture generating method and motion picture generating program
CN101556206A (en) * 2008-04-07 2009-10-14 长春理工大学 System for detecting dynamic resolution of aerial camera
CN102853998A (en) * 2012-08-29 2013-01-02 中国科学院长春光学精密机械与物理研究所 Variable pitch dynamic goal simulating system and using method thereof
CN104061947A (en) * 2014-07-14 2014-09-24 中国科学院光电研究院 Dynamic target simulation system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129339A (en) * 2004-11-01 2006-05-18 Nikon Corp Digital camera
JP2006129375A (en) * 2004-11-01 2006-05-18 Fujitsu Ltd Movie data generation apparatus and movie data generation method
CN1896867A (en) * 2005-08-31 2007-01-17 中国科学院长春光学精密机械与物理研究所 Analog dynamic object generator for testing avitation camera dynamic resolving power
JP2009017385A (en) * 2007-07-06 2009-01-22 Fujifilm Corp Motion picture generating apparatus, motion picture generating method and motion picture generating program
CN101556206A (en) * 2008-04-07 2009-10-14 长春理工大学 System for detecting dynamic resolution of aerial camera
CN201173855Y (en) * 2008-04-10 2008-12-31 中国科学院长春光学精密机械与物理研究所 dynamic target generator
CN102853998A (en) * 2012-08-29 2013-01-02 中国科学院长春光学精密机械与物理研究所 Variable pitch dynamic goal simulating system and using method thereof
CN104061947A (en) * 2014-07-14 2014-09-24 中国科学院光电研究院 Dynamic target simulation system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
段洁 等: "全景航空相机性能检测系统设计", 《红外与激光工程》 *
肖作江 等: "基于LabVIEW动态目标发生器稳定性光电检测技术研究", 《仪器仪表学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107504982A (en) * 2017-08-22 2017-12-22 中国科学院长春光学精密机械与物理研究所 Aerial camera Imaging Simulation system over the ground

Also Published As

Publication number Publication date
CN104865848B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
CN201653429U (en) MEMS gyro test system with double-shaft turntable
CN104535079B (en) Airborne optoelectronic inertial stabilization platform isolation testing system and method
CN108163229B (en) Synchronous detection system and method for lift thrust and wing motion information of flapping-wing robot
CN103344258B (en) Servo system of electro-optic theodolite performance testing device and method of testing
CN106017847A (en) Observation system and method for aerodynamic force test and flapping wing flow field of flapping-wing micro air vehicle
CN107677959A (en) Unmanned plane induction machine combined test stand and method of testing
CN205139164U (en) Particle image velocimetry detecting system based on unmanned aerial vehicle
CN108845256A (en) Unmanned plane dynamic test system
CN203038129U (en) Photoelectric tracking system dynamic tracking precision calibrating device
CN114577433B (en) Wind tunnel virtual flight test balance aerodynamic force acquisition and processing system
Wei Design and implementation of inverse kinematics and motion monitoring system for 6dof platform
CN110282155B (en) A two-degree-of-freedom unmanned aerial vehicle dynamic test system
Mudford et al. Hypersonic wind-tunnel free-flying experiments with onboard instrumentation
CN104865848B (en) Dynamic object generation system for aviation spectral camera
CN105974935B (en) A kind of quadrotor agricultural remote control aircraft and its control method
CN108519081A (en) A high-precision detection device for industrial robots
CN209553488U (en) A kind of air speed variable-pitch propeller and aircraft pitch control system
CN113049215B (en) Quantitative assessment and test system for airflow interference resistance of rotor unmanned aerial vehicle position
CN103884352B (en) Method that optical fibre gyro output delay time is measured automatically and device
Wang et al. Influence of the inner tilt angle on downwash airflow field of multi-rotor UAV based on wireless wind speed acquisition system
CN111223384A (en) Teaching experiment platform for characteristics and control of variable-pitch aviation power system
CN208255378U (en) Unmanned plane dynamic test system
CN104536458A (en) Portable flight parameter data calibration method and device
Pätzold et al. Flight Experiments and Numerical simulations for investigating multicopter flow field and structure deformation
CN105865740B (en) Takeoff and landing stage flow field dynamic characteristic open air measuring method and measurement smoking device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
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: 20170412