CN112904764B - A space rendezvous and docking laser radar scanning tracking control system and method - Google Patents
A space rendezvous and docking laser radar scanning tracking control system and method Download PDFInfo
- Publication number
- CN112904764B CN112904764B CN202110056245.6A CN202110056245A CN112904764B CN 112904764 B CN112904764 B CN 112904764B CN 202110056245 A CN202110056245 A CN 202110056245A CN 112904764 B CN112904764 B CN 112904764B
- Authority
- CN
- China
- Prior art keywords
- motor
- azimuth
- pitch
- value
- switch tube
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000003032 molecular docking Methods 0.000 title claims abstract description 22
- 238000004804 winding Methods 0.000 claims description 80
- 238000012937 correction Methods 0.000 claims description 23
- 238000013519 translation Methods 0.000 claims description 23
- 238000002955 isolation Methods 0.000 claims description 11
- 238000013461 design Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010892 electric spark Methods 0.000 description 1
- 230000036039 immunity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
- G01S17/42—Simultaneous measurement of distance and other co-ordinates
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/48—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
- G01S7/481—Constructional features, e.g. arrangements of optical elements
- G01S7/4817—Constructional features, e.g. arrangements of optical elements relating to scanning
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Control Of Position Or Direction (AREA)
- Control Of Stepping Motors (AREA)
Abstract
Description
技术领域technical field
本发明涉及扫描跟踪控制技术领域,特别是涉及一种空间交会对接激光雷达扫描跟踪控制系统及方法。The invention relates to the technical field of scanning and tracking control, in particular to a scanning and tracking control system and method for space rendezvous and docking laser radar.
背景技术Background technique
在空间交会对接中,激光雷达是一种主要的测量设备。激光雷达的工作原理为:激光器发送单脉冲激光(即主波),激光打到合作目标后按原路径返回;探测器接收激光回波,测量主波和回波之间的时间差,解算出目标到雷达的直线距离。根据激光发射的方位角和俯仰角,结合直线距离,得到目标在以雷达为中心的极坐标系下的位置。In space rendezvous and docking, lidar is a major measurement device. The working principle of the laser radar is: the laser sends a single pulse laser (that is, the main wave), and the laser returns to the original path after hitting the cooperative target; the detector receives the laser echo, measures the time difference between the main wave and the echo, and calculates the straight-line distance from the target to the radar. According to the azimuth and elevation angles emitted by the laser, combined with the straight-line distance, the position of the target in the polar coordinate system centered on the radar is obtained.
由于激光具有较强的方向性,光束发散角和探测器接收角均在毫弧度量级,一次脉冲激光发射探测的范围极其有限。为了实现在大范围内对目标进行扫描和捕获,进而进入稳定跟踪状态下测量目标距离和角度,必须配合方位轴和俯仰轴的运动控制。Due to the strong directivity of the laser, the divergence angle of the beam and the acceptance angle of the detector are both on the order of milliradians, and the detection range of a pulse laser emission is extremely limited. In order to scan and capture the target in a wide range, and then enter the stable tracking state to measure the distance and angle of the target, it must cooperate with the motion control of the azimuth axis and the pitch axis.
现有采用直流电机、永磁同步电机等控制方式对于激光雷达的方位、俯仰两轴运动控制。直流电机和永磁同步电机可以提供优越的转矩和响应特性,但控制上也较为复杂。直流电机和永磁同步电机要实现高精度的运动控制,一般采用三环控制,内层电流环要求使用专用的电流传感器实现电流闭环,系统体积、重量、复杂度都相应增加。直流电机存在电刷,换向过程中可能产生电火花,同时电刷会有磨损,产生多余物,系统寿命也会受到限制,可靠性不满足空间应用的需求。永磁同步电机无电刷的问题,但控制更为复杂。永磁同步电机一般为三相,需要对两相电流进行实时测量,并经过较为复杂的变换和解算,对DSP的运算能力要求更高。直流电机和永磁同步电机运动过程中,加速度不同,输出转矩的变化较大,对电源的影响也较大。因此现有两轴控制系统控制较为复杂、成本高、重量大,存在空间环境适应性问题。At present, DC motors, permanent magnet synchronous motors and other control methods are used to control the azimuth and pitch two-axis motion control of the laser radar. DC motors and permanent magnet synchronous motors can provide superior torque and response characteristics, but they are also more complicated to control. To achieve high-precision motion control for DC motors and permanent magnet synchronous motors, three-loop control is generally used. The inner current loop requires the use of dedicated current sensors to achieve current closed-loop, and the volume, weight, and complexity of the system increase accordingly. There are brushes in the DC motor, and electric sparks may be generated during the commutation process. At the same time, the brushes will wear and generate redundant products, and the life of the system will be limited. The reliability does not meet the needs of space applications. Permanent magnet synchronous motors do not have the problem of brushes, but the control is more complicated. Permanent magnet synchronous motors are generally three-phase, which requires real-time measurement of two-phase currents, and undergoes relatively complex transformation and calculation, which requires higher computing power of DSP. During the motion of the DC motor and the permanent magnet synchronous motor, the acceleration is different, the output torque changes greatly, and the impact on the power supply is also large. Therefore, the existing two-axis control system is relatively complicated to control, high in cost, heavy in weight, and has problems of space environment adaptability.
发明内容Contents of the invention
基于此,本发明的目的是提供一种空间交会对接激光雷达扫描跟踪控制系统及方法,在满足精度要求的情况下,降低系统成本和重量、提高了系统可靠性。Based on this, the object of the present invention is to provide a space rendezvous and docking laser radar scanning and tracking control system and method, which can reduce system cost and weight and improve system reliability while meeting accuracy requirements.
为实现上述目的,本发明提供了一种空间交会对接激光雷达扫描跟踪控制系统,所述系统包括:In order to achieve the above object, the present invention provides a space rendezvous and docking lidar scanning and tracking control system, the system includes:
角度传感器,用于检测方位轴角度值和俯仰轴角度值;An angle sensor is used to detect the angle value of the azimuth axis and the angle value of the pitch axis;
四象限探测器,用于根据回波在各象限的能量确定二维脱靶量;The four-quadrant detector is used to determine the two-dimensional miss amount according to the energy of the echo in each quadrant;
DSP闭环控制器,分别与所述角度传感器和所述四象限探测器连接,用于根据所述方位轴角度值、所述俯仰轴角度值和所述二维脱靶量确定两个步进电机的运动方向和分频系数;两个步进电机的运动方向包括:俯仰电机的运动方向和方位电机的运动方向;两个步进电机的分频系数包括俯仰电机的分频系数和方位电机的分频系数;The DSP closed-loop controller is connected with the angle sensor and the four-quadrant detector respectively, and is used to determine the direction of motion and the frequency division coefficient of two stepper motors according to the angle value of the azimuth axis, the angle value of the pitch axis and the two-dimensional miss amount; the direction of motion of the two stepper motors includes: the direction of motion of the pitch motor and the direction of motion of the azimuth motor; the frequency division coefficient of the two stepper motors includes the frequency division coefficient of the pitch motor and the frequency division coefficient of the azimuth motor;
SPWM细分驱动控制器,与所述DSP闭环控制器连接,用于根据所述两个步进电机的运动方向和分频系数确定第一SPWM波和第二SPWM波;A SPWM subdivision drive controller, connected with the DSP closed-loop controller, is used to determine the first SPWM wave and the second SPWM wave according to the direction of motion and the frequency division coefficient of the two stepper motors;
4个双极性H桥功率驱动电路,分别与所述SPWM细分驱动控制器、两个步进电机连接,用于将所述第一SPWM波和所述第二SPWM波进行放大后分别控制两个步进电机,以使两个步进电机分别驱动方位轴和仰俯轴转动,进而带动四象限探测器扫描跟踪;所述两个步进电机分别为方位电机和俯仰电机。4 bipolar H-bridge power drive circuits are respectively connected with the SPWM subdivision drive controller and two stepping motors, and are used to amplify the first SPWM wave and the second SPWM wave and then control the two stepping motors respectively, so that the two stepping motors drive the rotation of the azimuth axis and the pitch axis respectively, and then drive the four-quadrant detector to scan and track; the two stepper motors are respectively an azimuth motor and a pitch motor.
可选地,所述SPWM细分驱动控制器包括:Optionally, the SPWM subdivision drive controller includes:
系统时钟,用于产生时钟信号;The system clock is used to generate a clock signal;
俯仰轴步进脉冲产生器,分别与所述DSP闭环控制器和所述系统时钟连接,用于根据所述俯仰电机的分频系数和所述时钟信号确定第一步进脉冲;A pitch axis stepping pulse generator, connected to the DSP closed-loop controller and the system clock respectively, for determining a first stepping pulse according to the frequency division factor of the pitching motor and the clock signal;
第一计数器,分别与所述DSP闭环控制器、所述系统时钟和所述俯仰轴步进脉冲产生器连接,用于根据所述俯仰电机的运动方向和所述第一步进脉冲进行计数,获得第一计数值;The first counter is respectively connected with the DSP closed-loop controller, the system clock and the pitch axis step pulse generator, and is used to count according to the motion direction of the pitch motor and the first step pulse to obtain a first count value;
第一查表模块,与所述第一计数器连接,用于根据所述第一计数值通过查找俯仰轴SIN表确定俯仰轴SIN值;The first table look-up module is connected to the first counter, and is used to determine the pitch axis SIN value by looking up the pitch axis SIN table according to the first count value;
第二查表模块,与所述第一计数器连接,用于根据所述第一计数值通过查找俯仰轴COS表确定俯仰轴COS值;The second table look-up module is connected to the first counter, and is used to determine the pitch axis COS value by looking up the pitch axis COS table according to the first count value;
方位轴步进脉冲产生器,分别与所述DSP闭环控制器和所述系统时钟连接,用于根据所述方位电机的分频系数和所述时钟信号确定第二步进脉冲;An azimuth axis stepping pulse generator is connected with the DSP closed-loop controller and the system clock respectively, and is used to determine the second stepping pulse according to the frequency division factor of the azimuth motor and the clock signal;
第二计数器,分别与所述DSP闭环控制器、所述系统时钟和所述方位轴步进脉冲产生器连接,用于根据所述方位电机的运动方向和所述第二步进脉冲进行计数,获得第二计数值;The second counter is connected with the DSP closed-loop controller, the system clock and the azimuth axis step pulse generator respectively, and is used to count according to the movement direction of the azimuth motor and the second step pulse to obtain a second count value;
第三查表模块,与所述第二计数器连接,用于根据所述第二计数值通过查找方位轴SIN表确定方位轴SIN值;The third table look-up module is connected to the second counter, and is used to determine the azimuth axis SIN value by searching the azimuth axis SIN table according to the second count value;
第四查表模块,与所述第二计数器连接,用于根据所述第二计数值通过查找方位轴COS表确定方位轴COS值;The fourth table look-up module is connected with the second counter, and is used to determine the azimuth axis COS value by searching the azimuth axis COS table according to the second count value;
载波计数器,与所述系统时钟连接,用于对时钟信号进行载波计数,获得载波值;A carrier counter, connected to the system clock, is used to count the carrier of the clock signal to obtain the carrier value;
平移修正模块,分别与所述第一查表模块、所述第二查表模块、所述第三查表模块和所述第四查表模块连接,用于对所述俯仰轴SIN值、所述俯仰轴COS值、所述方位轴SIN值和所述方位轴COS值进行平移修正;The translation correction module is respectively connected with the first table look-up module, the second table look-up module, the third table look-up module and the fourth table look-up module, and is used to perform translation correction on the pitch axis SIN value, the pitch axis COS value, the azimuth axis SIN value and the azimuth axis COS value;
第一比较器,分别与所述载波计数器和所述平移修正模块连接,用于将所述载波值与修正后的俯仰轴SIN值进行比较,获得俯仰电机A相SPWM波;The first comparator is connected to the carrier counter and the translation correction module respectively, and is used to compare the carrier value with the corrected pitch axis SIN value to obtain a phase A SPWM wave of the pitch motor;
第二比较器,分别与所述载波计数器和所述平移修正模块连接,用于将所述载波值与修正后的俯仰轴COS值进行比较,获得俯仰电机B相SPWM波;所述第一SPWM波包括俯仰电机A相SPWM波和俯仰电机B相SPWM波;The second comparator is respectively connected to the carrier counter and the translation correction module, and is used to compare the carrier value with the corrected COS value of the pitch axis to obtain a B-phase SPWM wave of the pitch motor; the first SPWM wave includes a pitch motor A-phase SPWM wave and a pitch motor B-phase SPWM wave;
第三比较器,分别与所述载波计数器和所述平移修正模块连接,用于将所述载波值与修正后的方位轴SIN值进行比较,获得方位电机A相SPWM波;The third comparator is respectively connected with the carrier counter and the translation correction module, and is used to compare the carrier value with the corrected azimuth axis SIN value to obtain the A-phase SPWM wave of the azimuth motor;
第四比较器,分别与所述载波计数器和所述平移修正模块连接,用于将所述载波值与修正后的方位轴COS值进行比较,获得方位电机B相SPWM波;所述第二SPWM波包括方位电机A相SPWM波和方位电机B相SPWM波。The fourth comparator is respectively connected with the carrier counter and the translation correction module, and is used to compare the carrier value with the corrected azimuth axis COS value to obtain the B-phase SPWM wave of the azimuth motor; the second SPWM wave includes the A-phase SPWM wave of the azimuth motor and the B-phase SPWM wave of the azimuth motor.
可选地,4个双极性H桥功率驱动电路分别为:Optionally, the four bipolar H-bridge power drive circuits are:
方位电机A相绕组驱动电路、方位电机B相绕组驱动电路、俯仰电机A相绕组驱动电路和俯仰电机B相绕组驱动电路;A-phase winding drive circuit for azimuth motor, B-phase winding drive circuit for azimuth motor, A-phase winding drive circuit for pitch motor, and B-phase winding drive circuit for pitch motor;
所述方位电机A相绕组驱动电路包括第一开关管、第二开关管、第三开关管、第四开关管和方位电机A相绕组;所述第一开关管的第一端、所述第三开关管的第一端分别与驱动电源正极连接,所述第一开关管的第三端分别与第二开关管的第一端和所述方位电机A相绕组的一端连接,所述方位电机A相绕组的另一端分别与所述第三开关管的第三端和所述第四开关管的第一端连接,所述第四开关管的第三端与所述第二开关管的第三端分别与驱动电源负极连接,所述第一开关管的第二端和所述第四开关管的第二端分别与所述第一比较器输出的方位电机A相SPWM波连接,所述第二开关管的第二端和所述第三开关管的第二端分别与所述第一比较器输出的方位电机A相SPWM波取反的信号连接;The A-phase winding drive circuit of the azimuth motor includes a first switch tube, a second switch tube, a third switch tube, a fourth switch tube and an A-phase winding of the azimuth motor; the first end of the first switch tube and the first end of the third switch tube are respectively connected to the positive pole of the driving power supply; the third end of the first switch tube is respectively connected to the first end of the second switch tube and one end of the A-phase winding of the azimuth motor; The third end of the second switching tube is connected to the negative pole of the driving power supply respectively, the second end of the first switching tube and the second end of the fourth switching tube are respectively connected to the A-phase SPWM wave of the azimuth motor output by the first comparator, and the second end of the second switching tube and the second end of the third switching tube are respectively connected to the inverted signal of the A-phase SPWM wave of the azimuth motor output by the first comparator;
所述方位电机B相绕组驱动电路包括第五开关管、第六开关管、第七开关管、第八开关管和方位电机B相绕组;所述第五开关管的第一端、所述第七开关管的第一端分别与驱动电源正极连接,所述第五开关管的第三端分别与第六开关管的第一端和所述方位电机B相绕组的一端连接,所述方位电机B相绕组的另一端分别与所述第七开关管的第三端和所述第八开关管的第一端连接,所述第八开关管的第三端与所述第六开关管的第三端分别与驱动电源负极连接,所述第五开关管的第二端和所述第八开关管的第二端分别与所述第二比较器输出的方位电机B相SPWM波连接,所述第六开关管的第二端和所述第七开关管的第二端分别与所述第二比较器输出的方位电机B相SPWM波取反的信号连接;The B-phase winding drive circuit of the azimuth motor includes a fifth switch tube, a sixth switch tube, a seventh switch tube, an eighth switch tube, and a B-phase winding of the azimuth motor; the first end of the fifth switch tube and the first end of the seventh switch tube are respectively connected to the positive pole of the driving power supply; the third end of the fifth switch tube is respectively connected to the first end of the sixth switch tube and one end of the B-phase winding of the azimuth motor; The third end of the third switch tube and the third end of the sixth switch tube are respectively connected to the negative pole of the driving power supply, the second end of the fifth switch tube and the second end of the eighth switch tube are respectively connected to the B-phase SPWM wave of the azimuth motor output by the second comparator, and the second end of the sixth switch tube and the second end of the seventh switch tube are respectively connected to the reversed signal of the B-phase SPWM wave of the azimuth motor output by the second comparator;
所述俯仰电机A相绕组驱动电路包括第九开关管、第十开关管、第十一开关管、第十二开关管和俯仰电机A相绕组;所述第九开关管的第一端、所述第十一开关管的第一端分别与驱动电源正极连接,所述第九开关管的第三端分别与第二十开关管的第一端和所述俯仰电机A相绕组的一端连接,所述俯仰电机A相绕组的另一端分别与所述第十一开关管的第三端和所述第十二开关管的第一端连接,所述第十二开关管的第三端与所述第十开关管的第三端分别与驱动电源负极连接,所述第九开关管的第二端和所述第十二开关管的第二端分别与所述第三比较器输出的仰俯电机A相SPWM波连接,所述第十开关管的第二端和所述第十一开关管的第二端分别与所述第三比较器输出的仰俯电机A相SPWM波取反的信号连接;The A-phase winding drive circuit of the pitch motor includes a ninth switch tube, a tenth switch tube, an eleventh switch tube, a twelfth switch tube, and a pitch motor A-phase winding; the first end of the ninth switch tube and the first end of the eleventh switch tube are respectively connected to the positive pole of the driving power supply; the third end of the ninth switch tube is connected to the first end of the twentieth switch tube and one end of the A-phase winding of the pitch motor; connected, the third end of the twelfth switching tube and the third end of the tenth switching tube are respectively connected to the negative pole of the driving power supply, the second end of the ninth switching tube and the second end of the twelfth switching tube are respectively connected to the A-phase SPWM wave of the pitch motor output by the third comparator, and the second end of the tenth switching tube and the second end of the eleventh switching tube are respectively connected to the inverted signal of the pitch motor A-phase SPWM wave output by the third comparator;
所述俯仰电机B相绕组驱动电路包括第十三开关管、第十四开关管、第十五开关管、第十六开关管和俯仰电机B相绕组;所述第十三开关管的第一端、所述第十五开关管的第一端分别与驱动电源正极连接,所述第十三开关管的第三端分别与第十四开关管的第一端和所述俯仰电机B相绕组的一端连接,所述俯仰电机B相绕组的另一端分别与所述第十五开关管的第三端和所述第十六开关管的第一端连接,所述第十六开关管的第三端与所述第十四开关管的第三端分别与驱动电源负极连接,所述第十三开关管的第二端和所述第十六开关管的第二端分别与所述第四比较器输出的仰俯电机B相SPWM波连接,所述第十四开关管的第二端和所述第十五开关管的第二端分别与所述第四比较器输出的仰俯电机B相SPWM波取反的信号连接。The pitch motor B-phase winding driving circuit includes a thirteenth switch tube, a fourteenth switch tube, a fifteenth switch tube, a sixteenth switch tube, and a pitch motor B-phase winding; the first end of the thirteenth switch tube and the first end of the fifteenth switch tube are respectively connected to the positive pole of the driving power supply; the third end of the thirteenth switch tube is connected to the first end of the fourteenth switch tube and one end of the B-phase winding of the pitch motor; The third end of the sixteenth switching tube and the third end of the fourteenth switching tube are respectively connected to the negative pole of the driving power supply, the second end of the thirteenth switching tube and the second end of the sixteenth switching tube are respectively connected to the B-phase SPWM wave of the pitch motor output by the fourth comparator, and the second end of the fourteenth switching tube and the second end of the fifteenth switching tube are respectively connected to the inverted signal of the B-phase SPWM wave of the pitch motor output by the fourth comparator.
可选地,所述系统还包括:Optionally, the system also includes:
光电隔离电路,设置在所述SPWM细分驱动控制器和4个双极性H桥功率驱动电路之间,用于将所述第一SPWM波和所述第二SPWM波进行光耦隔离。The photoelectric isolation circuit is arranged between the SPWM subdivision drive controller and the four bipolar H-bridge power drive circuits, and is used for optocoupler isolation of the first SPWM wave and the second SPWM wave.
可选地,所述系统还包括:Optionally, the system also includes:
8个功率驱动芯片,设置在所述光电隔离电路和4个双极性H桥功率驱动电路之间,用于分别驱动所述方位电机A相绕组驱动电路、所述方位电机B相绕组驱动电路、所述俯仰电机A相绕组驱动电路和所述俯仰电机B相绕组驱动电路。Eight power drive chips are arranged between the photoelectric isolation circuit and the four bipolar H-bridge power drive circuits, and are used to respectively drive the A-phase winding drive circuit of the azimuth motor, the B-phase winding drive circuit of the azimuth motor, the A-phase winding drive circuit of the pitch motor, and the B-phase winding drive circuit of the pitch motor.
可选地,所述功率驱动芯片的型号为IR2110。Optionally, the model of the power driver chip is IR2110.
可选地,当本发明中第一开关管、第二开关管、第三开关管、第四开关管、第五开关管、第六开关管、第七开关管、第八开关管、第九开关管、第十开关管、第十一开关管、第十二开关管、第十三开关管、第十四开关管、第十五开关管和第十六开关管均为MOS管时,第一端为漏极,第二端为栅极,第三端为源极。Optionally, when the first switching tube, the second switching tube, the third switching tube, the fourth switching tube, the fifth switching tube, the sixth switching tube, the seventh switching tube, the eighth switching tube, the ninth switching tube, the tenth switching tube, the eleventh switching tube, the twelfth switching tube, the thirteenth switching tube, the fourteenth switching tube, the fifteenth switching tube and the sixteenth switching tube are all MOS tubes, the first terminal is the drain, the second terminal is the gate, and the third terminal is the source.
本发明还提供一种空间交会对接激光雷达扫描跟踪控制方法,所述方法包括:The present invention also provides a space rendezvous and docking lidar scanning and tracking control method, the method comprising:
利用角度传感获取方位轴角度值和俯仰轴角度值;Use the angle sensor to obtain the angle value of the azimuth axis and the angle value of the pitch axis;
根据回波在各象限的能量确定二维脱靶量;Determine the two-dimensional off-target amount according to the energy of the echo in each quadrant;
根据所述方位轴角度值、所述俯仰轴角度值和所述二维脱靶量确定两个步进电机的运动方向和分频系数;两个步进电机的运动方向包括:俯仰电机的运动方向和方位电机的运动方向;两个步进电机的分频系数包括俯仰电机的分频系数和方位电机的分频系数;According to the angle value of the azimuth axis, the angle value of the pitch axis and the two-dimensional miss amount, the direction of motion and the frequency division coefficient of the two stepper motors are determined; the direction of motion of the two stepper motors includes: the direction of motion of the pitch motor and the direction of motion of the azimuth motor; the frequency division coefficients of the two stepper motors include the frequency division coefficient of the pitch motor and the frequency division coefficient of the azimuth motor;
根据所述两个步进电机的运动方向和分频系数确定第一SPWM波和第二SPWM波;Determine the first SPWM wave and the second SPWM wave according to the direction of motion and the frequency division coefficient of the two stepper motors;
将所述第一SPWM波和所述第二SPWM波进行放大后分别控制两个步进电机,以使两个步进电机分别驱动方位轴和仰俯轴转动,进而带动四象限探测器扫描跟踪;所述两个步进电机分别为方位电机和俯仰电机。After amplifying the first SPWM wave and the second SPWM wave, respectively control two stepping motors, so that the two stepping motors drive the azimuth axis and the pitch axis to rotate respectively, and then drive the four-quadrant detector to scan and track; the two stepping motors are respectively an azimuth motor and a pitch motor.
可选地,所述根据所述两个步进电机的运动方向和分频系数确定第一SPWM波和第二SPWM波,具体包括:Optionally, the determining the first SPWM wave and the second SPWM wave according to the direction of motion and the frequency division coefficient of the two stepping motors specifically includes:
获取时钟信号;get clock signal;
根据所述俯仰电机的分频系数和所述时钟信号确定第一步进脉冲;determining a first step pulse according to the frequency division factor of the pitch motor and the clock signal;
根据所述俯仰电机的运动方向和所述第一步进脉冲进行计数,获得第一计数值;Counting according to the motion direction of the pitch motor and the first step pulse to obtain a first count value;
根据所述第一计数值通过查找俯仰轴SIN表确定俯仰轴SIN值;Determine the pitch axis SIN value by looking up the pitch axis SIN table according to the first count value;
根据所述第一计数值通过查找俯仰轴COS表确定俯仰轴COS值;Determine the pitch axis COS value by looking up the pitch axis COS table according to the first count value;
对时钟信号进行载波计数,获得载波值;Perform carrier counting on the clock signal to obtain the carrier value;
根据所述方位电机的分频系数和所述时钟信号确定第二步进脉冲;determining a second stepping pulse according to the frequency division factor of the azimuth motor and the clock signal;
根据所述方位电机的运动方向和所述第二步进脉冲进行计数,获得第二计数值;Counting according to the moving direction of the azimuth motor and the second stepping pulses to obtain a second count value;
根据所述第二计数值通过查找方位轴SIN表确定方位轴SIN值;Determine the azimuth axis SIN value by searching the azimuth axis SIN table according to the second count value;
根据所述第二计数值通过查找方位轴COS表确定方位轴COS值;determining the azimuth axis COS value by searching the azimuth axis COS table according to the second count value;
对所述俯仰轴SIN值、所述俯仰轴COS值、所述方位轴SIN值和所述方位轴COS值进行平移修正;Perform translation correction on the pitch axis SIN value, the pitch axis COS value, the azimuth axis SIN value and the azimuth axis COS value;
将所述载波值与修正后的俯仰轴SIN值进行比较,获得俯仰电机A相SPWM波;Comparing the carrier value with the corrected pitch axis SIN value to obtain a phase A SPWM wave of the pitch motor;
将所述载波值与修正后的俯仰轴COS值进行比较,获得俯仰电机B相SPWM波;所述第一SPWM波包括俯仰电机A相SPWM波和俯仰电机B相SPWM波;Comparing the carrier value with the corrected COS value of the pitch axis to obtain the B-phase SPWM wave of the pitch motor; the first SPWM wave includes the A-phase SPWM wave of the pitch motor and the B-phase SPWM wave of the pitch motor;
将所述载波值与修正后的方位轴SIN值进行比较,获得方位电机A相SPWM波;The carrier value is compared with the corrected azimuth axis SIN value to obtain the A-phase SPWM wave of the azimuth motor;
将所述载波值与修正后的方位轴COS值进行比较,获得方位电机B相SPWM波;所述第二SPWM波包括方位电机A相SPWM波和方位电机B相SPWM波。The carrier value is compared with the corrected COS value of the azimuth axis to obtain the B-phase SPWM wave of the azimuth motor; the second SPWM wave includes the A-phase SPWM wave of the azimuth motor and the B-phase SPWM wave of the azimuth motor.
根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the invention, the invention discloses the following technical effects:
本发明基于步进电机高精度SPWM细分驱动闭环系统,以单片DSP构建闭环控制器,以角度传感器和四象限探测器脱靶量作为双反馈,同时实现两轴步进电机的高速扫描控制和稳定跟踪控制。以单片FPGA实现SPWM细分驱动控制器,在不增加额外控制芯片和传感器的情况下,实现了要求的控制功能和性能指标,使得电路和结构都得到了精简,提高了系统可靠性,满足空间交会对接应用的需求。The invention is based on the high-precision SPWM subdivision drive closed-loop system of the stepping motor, constructs the closed-loop controller with a single-chip DSP, uses the angle sensor and the off-target amount of the four-quadrant detector as double feedback, and realizes high-speed scanning control and stable tracking control of the two-axis stepping motor at the same time. The SPWM subdivision drive controller is implemented with a single FPGA, and the required control functions and performance indicators are realized without adding additional control chips and sensors, which simplifies the circuit and structure, improves system reliability, and meets the needs of space rendezvous and docking applications.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative work.
图1为本发明实施例空间交会对接激光雷达扫描跟踪控制系统结构图;Fig. 1 is a structural diagram of a space rendezvous and docking lidar scanning and tracking control system according to an embodiment of the present invention;
图2为本发明实施例两相混合式步进电机步距角细分原理;Fig. 2 is the step angle subdivision principle of the two-phase hybrid stepper motor according to the embodiment of the present invention;
图3为本发明实施例SPWM细分驱动控制器结构图;Fig. 3 is the structural diagram of the SPWM subdivision drive controller of the embodiment of the present invention;
图4为本发明实施例方位电机A相绕组驱动电路结构图;Fig. 4 is a structural diagram of a phase A winding drive circuit of an azimuth motor according to an embodiment of the present invention;
其中,1、角度传感器,2、DSP闭环控制器,3、SPWM细分驱动控制器,4、双极性H桥功率驱动电路,5、四象限探测器,6、俯仰电机,7、方位电机。Among them, 1. Angle sensor, 2. DSP closed-loop controller, 3. SPWM subdivision drive controller, 4. Bipolar H-bridge power drive circuit, 5. Four-quadrant detector, 6. Pitch motor, 7. Azimuth motor.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明的目的是提供一种空间交会对接激光雷达扫描跟踪控制系统及方法,在满足精度要求的情况下,降低系统成本和重量、提高了系统可靠性。The purpose of the present invention is to provide a space rendezvous and docking laser radar scanning tracking control system and method, which can reduce system cost and weight and improve system reliability while meeting the precision requirements.
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
图1为本发明实施例空间交会对接激光雷达扫描跟踪控制系统结构图,如图1所示,本发明公开一种空间交会对接激光雷达扫描跟踪控制系统,所述系统包括:角度传感器1、四象限探测器5、DSP闭环控制器2、SPWM细分驱动控制器3和4个双极性H桥功率驱动电路4;所述DSP闭环控制器2分别与所述角度传感器1和所述四象限探测器5连接,所述SPWM细分驱动控制器3与所述DSP闭环控制器2连接,所述4个双极性H桥功率驱动电路4分别与所述SPWM细分驱动控制器3和两个步进电机连接。Fig. 1 is a structural diagram of a space rendezvous and docking laser radar scanning and tracking control system according to an embodiment of the present invention. As shown in Fig. 1 , the present invention discloses a space rendezvous and docking laser radar scanning and tracking control system. The system includes: an angle sensor 1, a four-quadrant detector 5, a DSP closed-loop controller 2, a SPWM subdivision drive controller 3, and four bipolar H-bridge power drive circuits 4; the DSP closed-loop controller 2 is connected to the angle sensor 1 and the four-quadrant detector 5 respectively; A bipolar H-bridge power drive circuit 4 is connected with the SPWM subdivision drive controller 3 and two stepper motors respectively.
所述角度传感器1用于检测方位轴角度值和俯仰轴角度值;所述四象限探测器5用于根据回波在各象限的能量确定二维脱靶量;所述DSP闭环控制器2用于根据所述方位轴角度值、所述俯仰轴角度值和所述二维脱靶量确定两个步进电机的运动方向和分频系数;两个步进电机的运动方向包括:俯仰电机6的运动方向和方位电机7的运动方向;两个步进电机的分频系数包括俯仰电机6的分频系数和方位电机7的分频系数;所述SPWM细分驱动控制器3用于根据所述两个步进电机的运动方向和分频系数确定第一SPWM波和第二SPWM波;所述4个双极性H桥功率驱动电路4用于将所述第一SPWM波和所述第二SPWM波进行放大后分别控制两个步进电机,以使两个步进电机分别驱动方位轴和仰俯轴转动,进而带动四象限探测器5扫描跟踪;所述两个步进电机分别为方位电机7和俯仰电机6。Described angle sensor 1 is used for detecting azimuth axis angle value and pitch axis angle value; Described four-quadrant detector 5 is used for determining the two-dimensional off-target amount according to the energy of echo in each quadrant; Described DSP closed-loop controller 2 is used for determining the motion direction and the frequency division coefficient of two stepper motors according to the described azimuth axis angle value, the described pitch axis angle value and the described two-dimensional off-target amount; the motion direction of two stepper motors comprises: the motion direction of pitch motor 6 and the motion direction of azimuth motor 7; frequency coefficient and the frequency division coefficient of the azimuth motor 7; the SPWM subdivision drive controller 3 is used to determine the first SPWM wave and the second SPWM wave according to the direction of motion and the frequency division coefficient of the two stepper motors; the four bipolar H-bridge power drive circuits 4 are used to amplify the first SPWM wave and the second SPWM wave to control the two stepper motors respectively, so that the two stepper motors drive the azimuth axis and the pitch axis to rotate respectively, and then drive the four-quadrant detector 5 to scan and track; Lift up the motor6.
本发明中的闭环控制器是基于DSP进行设计的,DSP为航天级高可靠产品,结合控制算法完成闭环控制功能。在扫描状态下,根据角度传感器1检测的方位轴角度值和俯仰轴角度值进行闭环,完成大范围高速扫描运动的控制。在跟踪状态下,根据所述四象限探测器5输出的二维脱靶量进行闭环,实现稳定跟踪控制。DSP输出两轴步进电机的运动方向和分频系数作为控制量。分频系数决定步进电机的运动速度。The closed-loop controller in the present invention is designed based on DSP. The DSP is an aerospace-grade high-reliability product, and the closed-loop control function is completed in combination with a control algorithm. In the scanning state, a closed loop is performed according to the angle value of the azimuth axis and the angle value of the pitch axis detected by the angle sensor 1 to complete the control of large-scale high-speed scanning motion. In the tracking state, a closed loop is performed according to the two-dimensional off-target amount output by the four-quadrant detector 5 to realize stable tracking control. DSP outputs the motion direction and frequency division coefficient of the two-axis stepping motor as the control quantity. The frequency division factor determines the movement speed of the stepper motor.
对SPWM细分驱动控制器3的工作原理说明如下:The working principle of SPWM subdivision drive controller 3 is explained as follows:
空间交会对接激光雷达选用的步进电机为两相混合式步进电机。混合式步进电机具有运行频率高、动态力矩大、波动小、运行平稳、低噪声、定位精度和分辨率高等优点。两相混合式步进电机有两相绕组,空间上相差90°安置,在两相绕组中按一定的时序通过相电流,产生连续变化的转矩,驱动转子转动。The stepper motor used in space rendezvous and docking lidar is a two-phase hybrid stepper motor. The hybrid stepper motor has the advantages of high operating frequency, large dynamic torque, small fluctuation, stable operation, low noise, high positioning accuracy and resolution. The two-phase hybrid stepping motor has two-phase windings, which are arranged with a 90° difference in space. The phase currents pass through the two-phase windings according to a certain sequence to generate continuously changing torque and drive the rotor to rotate.
在不考虑细分的驱动电路中,相电流工作于开关状态,绕组中的电流大小为0或正负额定值。设两相绕组分别为A相和B相,A相绕组通过正向额定电流产生的转矩为TA+,负向额定电流转矩为TA-,B相绕组转矩为TB+和TB-。A、B相绕组转矩相等。以单四拍工作方式为例,转矩变化如图2(a)所示,转子每拍运动1/4个齿距,转矩恒定。In the drive circuit without subdivision, the phase current works in the switch state, and the current in the winding is 0 or the positive and negative rated value. Assume that the two-phase windings are A-phase and B-phase respectively, the torque generated by the positive rated current of the A-phase winding is T A+ , the negative rated current torque is T A- , and the B-phase winding torques are T B+ and T B- . A, B phase winding torque is equal. Taking the single four-beat working mode as an example, the torque change is shown in Figure 2(a), the rotor moves 1/4 of the tooth pitch per beat, and the torque is constant.
对步进电机步距角进行细分是通过改变绕组相电流的方法来实现。在细分驱动电路中,电机相电流不再工作于开关状态,而是从0到额定值的连续变化。设两相电流分别为iA,iB,合成电流矢量为iM,如图2(b)所示。满足如下关系:Subdividing the step angle of the stepping motor is realized by changing the phase current of the winding. In the subdivision drive circuit, the phase current of the motor no longer works in the switch state, but changes continuously from 0 to the rated value. Suppose the two-phase currents are i A , i B , and the resultant current vector is i M , as shown in Figure 2(b). Satisfy the following relationship:
ia=iM sinα (1)i a = i M sinα (1)
ib=iM cosα (2)i b =i M cosα (2)
α为电流矢量方向角。电流矢量方向每变化90°,电机转子转过1个步距角(1/4齿距)。若每次电流矢量方向角变化90°/n,则转子相应转过1个步距角的1/n,实现对步进电机步距角的n次细分。通过上式可以看出,当A、B两相绕组电流以等幅值,相位差为90°的正弦波规律变化时,转矩保持恒力矩均匀旋转。细分后的电机转矩变化如图2(c)所示。α is the direction angle of the current vector. Every time the direction of the current vector changes by 90°, the rotor of the motor turns 1 step angle (1/4 tooth pitch). If the direction angle of the current vector changes by 90°/n each time, the rotor rotates 1/n of a step angle correspondingly, realizing n times subdivision of the step angle of the stepping motor. It can be seen from the above formula that when the currents of the A and B two-phase windings change regularly with sine waves with equal amplitude and a phase difference of 90°, the torque remains constant and rotates evenly. The motor torque variation after subdivision is shown in Fig. 2(c).
SPWM波是正弦脉宽调制波的缩写,SPWM的产生通过FPGA实现,对基于FPGA的步进电机驱动SPWM波的原理和生成方法的说明如下。SPWM wave is the abbreviation of sinusoidal pulse width modulation wave. The generation of SPWM is realized by FPGA. The principle and generation method of FPGA-based stepper motor driving SPWM wave are explained as follows.
SPWM波是脉宽调制波形的一种,其特点为占空比的变化规律为正弦函数。SPWM通过H桥功率驱动电路后,占空比的大小转换为通过电机绕组的平均电流的大小。分别产生以相位差为90°的正弦规律调制的两路SPWM波,经双极性H桥功率驱动电路4后接入两相步进电机的A、B两相,即可实现细分驱动。SPWM wave is a kind of pulse width modulation waveform, and its characteristic is that the change law of duty cycle is a sinusoidal function. After the SPWM passes through the H-bridge power drive circuit, the size of the duty cycle is converted into the size of the average current through the motor winding. Two-way SPWM waves modulated with a sine law with a phase difference of 90° are respectively generated, and connected to the A and B phases of the two-phase stepping motor after passing through the bipolar H-bridge power drive circuit 4 to realize subdivision driving.
激光雷达设计中,方位角选用的步进电机转子齿数为200,齿距1.8°,步距角0.45°,俯仰角步进电机齿数50,齿距7.2°,步距角1.8°。对方位角步进电机一个步距角进行512细分,俯仰电机6一个步距角进行1024细分,FPGA产生SPWM的过程如图3所示,本发明所述SPWM细分驱动控制器3包括:系统时钟、俯仰轴步进脉冲产生器、第一计数器、第一查表模块、第二查表模块、方位轴步进脉冲产生器、第二计数器、第三查表模块、第四查表模块、载波计数器、平移修正模块、第一比较器、第二比较器、第三比较器和第四比较器;所述俯仰轴步进脉冲产生器分别与所述DSP闭环控制器2和所述系统时钟连接,所述第一计数器分别与所述DSP闭环控制器2、所述系统时钟和所述俯仰轴步进脉冲产生器连接,所述第一查表模块与所述第一计数器连接,所述第二查表模块与所述第一计数器连接,所述方位轴步进脉冲产生器分别与所述DSP闭环控制器2和所述系统时钟连接,所述第二计数器分别与所述DSP闭环控制器2、所述系统时钟和所述方位轴步进脉冲产生器连接,所述第三查表模块与所述第二计数器连接,所述第四查表模块与所述第二计数器连接,所述载波计数器与所述系统时钟连接,所述平移修正模块分别与所述第一查表模块、所述第二查表模块、所述第三查表模块和第四查表模块所述连接,所述第一比较器分别与所述载波计数器和所平移修正模块连接,所述第二比较器分别与所述载波计数器和所述平移修正模块连接,所述第三比较器分别与所述载波计数器和所述平移修正模块连接,所述第四比较器分别与所述载波计数器和所述平移修正模块连接。In the lidar design, the number of teeth of the stepper motor rotor used for the azimuth angle is 200, the tooth pitch is 1.8°, the step angle is 0.45°, the pitch angle stepper motor has 50 teeth, the tooth pitch is 7.2°, and the step angle is 1.8°. Carry out 512 subdivisions to a step angle of azimuth stepper motor, 1024 subdivisions to a step angle of pitch motor 6, the process that FPGA produces SPWM as shown in Figure 3, SPWM subdivision drive controller 3 of the present invention comprises: system clock, pitch axis step pulse generator, the first counter, the first look-up table module, the second look-up table module, azimuth axis step pulse generator, the second counter, the third look-up table module, the fourth look-up table module, carrier counter, translation correction module, the first comparator, the second comparator, the third comparator and the fourth comparator; the pitch axis step pulse generator is connected with the DSP closed-loop controller 2 and the system clock respectively, the first counter is connected with the DSP closed-loop controller 2, the system clock and the pitch axis step pulse generator respectively, the first table look-up module is connected with the first counter, the second table look-up module is connected with the first counter, the azimuth axis step pulse generator is connected with the DSP closed-loop controller 2 and the system clock respectively, and the second counter is connected with the DSP closed-loop controller 2, the system clock and the orientation respectively The axis step pulse generator is connected, the third look-up module is connected with the second counter, the fourth look-up module is connected with the second counter, the carrier counter is connected with the system clock, the translation correction module is respectively connected with the first look-up module, the second look-up module, the third look-up module and the fourth look-up module, the first comparator is connected with the carrier counter and the translation correction module, the second comparator is connected with the carrier counter and the translation correction module, and the third comparator is connected with the carrier counter and the translation correction module, respectively. The fourth comparator is respectively connected with the carrier counter and the translation correction module.
系统时钟用于产生时钟信号。俯仰轴步进脉冲产生器用于根据所述俯仰电机6的分频系数和所述时钟信号确定第一步进脉冲;俯仰电机6的分频系数决定第一步进脉冲频率,即决定俯仰电机6速度。The system clock is used to generate the clock signal. The pitch axis step pulse generator is used to determine the first step pulse according to the frequency division coefficient of the pitch motor 6 and the clock signal; the frequency division coefficient of the pitch motor 6 determines the first step pulse frequency, that is, determines the pitch motor 6 speed.
第一计数器用于根据所述俯仰电机6的运动方向和所述第一步进脉冲进行计数,获得第一计数值;具体的,当所述俯仰电机6的运动方向为正时,则进行所述第一步进脉冲加计数,当所述俯仰电机6的运动方向为负时,则进行所述第一步进脉冲减计数,计数器周期为步进电机一个齿距的细分数,对于俯仰轴步进电机,计数周期为1024×4。The first counter is used to count according to the moving direction of the pitching motor 6 and the first stepping pulse to obtain a first count value; specifically, when the moving direction of the pitching motor 6 is positive, the first stepping pulse is counted up; when the moving direction of the pitching motor 6 is negative, the first stepping pulse is counted down.
所述第一查表模块用于根据所述第一计数值通过查找俯仰轴SIN表确定俯仰轴SIN值;所述第二查表模块用于根据所述第一计数值通过查找俯仰轴COS表确定俯仰轴COS值;所述第三查表模块用于根据所述第二计数值通过查找方位轴SIN表确定方位轴SIN值;所述第四查表模块用于根据所述第二计数值通过查找方位轴COS表确定方位轴COS值。本发明根据计数值查表获取相应的SIN值(即正弦值)和COS值(即余弦值),正弦型函数只需要建立1/4周期的查找表即可计算整个周期的值。对于方位轴,查找表大小为512×12bit;对于俯仰轴,查找表大小为1024×12bit。表输出均为12bit位宽。设计载波周期为0~4095(12bit),SIN、COS函数幅值设计为1/2载波周期的3/4(1536)。The first table lookup module is used to determine the pitch axis SIN value by looking up the pitch axis SIN table according to the first count value; the second lookup table module is used to determine the pitch axis COS value by looking up the pitch axis COS table according to the first count value; the third table lookup module is used to determine the azimuth axis SIN value by looking up the azimuth axis SIN table according to the second count value; the fourth table lookup module is used to determine the azimuth axis COS value by looking up the azimuth axis COS table according to the second count value. The present invention obtains the corresponding SIN value (i.e. sine value) and COS value (i.e. cosine value) according to the count value table lookup, and the sine type function only needs to establish a 1/4 cycle lookup table to calculate the value of the entire cycle. For the azimuth axis, the size of the lookup table is 512×12bit; for the pitch axis, the size of the lookup table is 1024×12bit. The table outputs are all 12bit wide. The design carrier cycle is 0~4095 (12bit), and the amplitude of SIN and COS functions is designed to be 3/4 (1536) of 1/2 carrier cycle.
所述方位轴步进脉冲产生器用于根据所述方位电机7的分频系数和所述时钟信号确定第二步进脉冲;方位电机7的分频系数决定第二步进脉冲频率,即决定方位电机7速度。The azimuth axis stepping pulse generator is used to determine the second stepping pulse according to the frequency division coefficient of the azimuth motor 7 and the clock signal;
所述第二计数器用于根据所述方位电机7的运动方向和所述第二步进脉冲进行计数,获得第二计数值;具体的,当所述方位电机7的运动方向为正时,则进行所述第二步进脉冲加计数,当所述方位电机7的运动方向为负时,则进行所述第二步进脉冲减计数,计数器周期为步进电机一个齿距的细分数,对于方位轴电机,计数周期为512×4。The second counter is used to count according to the moving direction of the azimuth motor 7 and the second stepping pulse to obtain a second counting value; specifically, when the moving direction of the azimuth motor 7 is positive, the second stepping pulse is counted up; when the moving direction of the azimuth motor 7 is negative, the second stepping pulse is counted down.
所述载波计数器用于对时钟信号进行载波计数,获得载波值;所述平移修正模块用于对所述俯仰轴SIN值、所述俯仰轴COS值、所述方位轴SIN值和所述方位轴COS值进行平移修正;所述第一比较器用于将所述载波值与修正后的俯仰轴SIN值进行比较,获得俯仰电机A相SPWM波;所述第二比较器用于将所述载波值与修正后的俯仰轴COS值进行比较,获得俯仰电机B相SPWM波;所述第一SPWM波包括俯仰电机A相SPWM波和俯仰电机B相SPWM波;所述第三比较器用于将所述载波值与修正后的方位轴SIN值进行比较,获得方位电机A相SPWM波;所述第四比较器用于将所述载波值与修正后的方位轴COS值进行比较,获得方位电机B相SPWM波;所述第二SPWM波包括方位电机A相SPWM波和方位电机B相SPWM波。The carrier counter is used to count the clock signal to obtain the carrier value; the transplanting modification module is used to transfer the pitch shaft SIN value, the pitch shaft COS value, the axis shaft value, and the axis shaft COS value. For comparison, obtain a pitch motor A -phase SPWM wave; the second comparator is used to compare the carrier value with the corrected pitch shaft COS value to obtain the pitch motor B phase SPWM wave; The axis shaft SIN values are compared to obtain a orientation motor A -phase SPWM wave; the fourth comparator is used to compare the load -wave value with the corrected axis shaft COS value to obtain a orientation motor B phase SPWM wave;
本发明中的SPWM细分驱动控制器3选用航天级高可靠反熔丝FPGA产品进行设计,对空间辐照和单粒子效应具有较强的免疫力,适应空间交会对接的需求。FPGA主要实现步进电机细分驱动控制,根据DSP输入的方向参数和步进电机分频系数,生成相应的俯仰电机A相SPWM波、俯仰电机B相SPWM波、方位电机A相SPWM波和方位电机B相SPWM波,即所述第一SPWM波和所述第二SPWM波。The SPWM subdivision drive controller 3 in the present invention is designed with an aerospace-grade high-reliability antifuse FPGA product, which has strong immunity to space radiation and single event effects, and meets the needs of space rendezvous and docking. The FPGA mainly realizes the subdivision drive control of the stepping motor. According to the direction parameter input by the DSP and the frequency division factor of the stepping motor, corresponding SPWM waves of phase A of the pitching motor, SPWM waves of the B phase of the pitching motor, SPWM waves of the A phase of the azimuth motor and SPWM waves of the B phase of the azimuth motor, that is, the first SPWM wave and the second SPWM wave.
通过上述方法产生SPWM波驱动步进电机运动,电机转速V(单位°/s)与DSP输入的分频系数C的关系如下:The SPWM wave is generated by the above method to drive the stepper motor. The relationship between the motor speed V (unit °/s) and the frequency division coefficient C input by the DSP is as follows:
式中,V为电机转速,C为分频系数,D为电机步距角(1/4齿距,单位°),N为细分数,F为系统时钟频率(单位Hz)。In the formula, V is the motor speed, C is the frequency division coefficient, D is the motor step angle (1/4 pitch, unit °), N is the subdivision number, and F is the system clock frequency (unit Hz).
作为一种实施方式,本发明所述SPWM细分驱动控制器3还包括:平移修正模块,分别与所述第一查表模块、所述第二查表模块、所述第三查表模块、所述第四查表模块、所述第一比较器、所述第二比较器、所述第三比较器和所述第四比较器连接,用于对所述俯仰轴SIN值、所述俯仰轴COS值所述方位轴SIN值和所述方位轴COS值进行平移修正,当查表值为0时,对应占空比50%,即1/2载波周期(2048)。修正后的SIN、COS值的变化范围为2048±1536。基于系统时钟进行0~4095载波计数,与修正后的SIN和COS值比较后输出载波周期内高电平占比按正弦/余弦规律变化的方波,即相位差为90°的两相SPWM波驱动信号。As an embodiment, the SPWM subdivision drive controller 3 of the present invention further includes: a translation correction module, respectively connected to the first table look-up module, the second table look-up module, the third table look-up module, the fourth table look-up module, the first comparator, the second comparator, the third comparator, and the fourth comparator, for performing translation correction on the pitch axis SIN value, the pitch axis COS value, the azimuth axis SIN value, and the azimuth axis COS value. When the table lookup value is 0, the corresponding duty cycle is 50%. That is 1/2 carrier period (2048). The variation range of the corrected SIN and COS values is 2048±1536. Based on the system clock, the carrier counts from 0 to 4095. After comparing with the corrected SIN and COS values, it outputs a square wave whose high-level proportion in the carrier cycle changes according to the sine/cosine law, that is, a two-phase SPWM wave drive signal with a phase difference of 90°.
作为一种实施方式,本发明4个双极性H桥功率驱动电路4分别为:方位电机A相绕组驱动电路、方位电机B相绕组驱动电路、俯仰电机A相绕组驱动电路和俯仰电机B相绕组驱动电路。方位电机B相绕组驱动电路、俯仰电机A相绕组驱动电路和俯仰电机B相绕组驱动电路的电路结构图与方位电机A相绕组驱动电路电路结构图相同,在此不再一一给出附图。As an embodiment, the four bipolar H-bridge power drive circuits 4 of the present invention are respectively: an azimuth motor A-phase winding drive circuit, an azimuth motor B-phase winding drive circuit, a pitch motor A-phase winding drive circuit and a pitch motor B-phase winding drive circuit. The circuit structure diagram of the B-phase winding drive circuit of the azimuth motor, the A-phase winding drive circuit of the pitch motor, and the B-phase winding drive circuit of the pitch motor is the same as the circuit structure diagram of the A-phase winding drive circuit of the azimuth motor, and no drawings are given here.
以方位电机A相绕组为例,如图4所示,所述方位电机A相绕组驱动电路包括第一开关管Q1、第二开关管Q2、第三开关管Q3、第四开关管Q4和方位电机A相绕组L1;所述第一开关管Q1的第一端、所述第三开关管Q3的第一端分别与驱动电源正极连接,所述第一开关管Q1的第三端分别与第二开关Q2管的第一端和所述方位电机A相绕组L1的一端连接,所述方位电机A相绕组L1的另一端分别与所述第三开关管Q3的第三端和所述第四开关管Q4的第一端连接,所述第四开关管Q4的第三端与所述第二开关管Q2的第三端分别与驱动电源负极连接,所述第一开关管Q1的第二端和所述第四开关管Q4的第二端分别与所述第一比较器输出的方位电机A相SPWM波连接,所述第二开关管Q2的第二端和所述第三开关管Q3的第二端分别与所述第一比较器输出的方位电机A相SPWM波取反的信号连接。当本发明中第一开关管Q1、第二开关管Q2、第三开关管Q3和第四开关管Q4均为MOS管,第一端为漏极,第二端为栅极,第三端为源极。以方位电机A相绕组为例,如图4所示,所述方位电机A相绕组驱动电路包括第一开关管Q 1 、第二开关管Q 2 、第三开关管Q 3 、第四开关管Q 4和方位电机A相绕组L 1 ;所述第一开关管Q 1的第一端、所述第三开关管Q 3的第一端分别与驱动电源正极连接,所述第一开关管Q 1的第三端分别与第二开关Q 2管的第一端和所述方位电机A相绕组L 1的一端连接,所述方位电机A相绕组L 1的另一端分别与所述第三开关管Q 3的第三端和所述第四开关管Q 4的第一端连接,所述第四开关管Q 4的第三端与所述第二开关管Q 2的第三端分别与驱动电源负极连接,所述第一开关管Q 1的第二端和所述第四开关管Q 4的第二端分别与所述第一比较器输出的方位电机A相SPWM波连接,所述第二开关管Q 2的第二端和所述第三开关管Q 3的第二端分别与所述第一比较器输出的方位电机A相SPWM波取反的信号连接。 When the first switching tube Q 1 , the second switching tube Q 2 , the third switching tube Q 3 and the fourth switching tube Q 4 in the present invention are all MOS tubes, the first terminal is the drain, the second terminal is the gate, and the third terminal is the source.
第一开关管Q1、第四开关管Q4为一组,第二开关管Q2、第三开关管Q3为一组。同一组MOS管输入相同的波形,同时导通或截止。不同组MOS管的输入波形电导通,平取反,当一组MOS管导通时,另一组MOS管截止。The first switching tube Q 1 and the fourth switching tube Q 4 form a group, and the second switching tube Q 2 and the third switching tube Q 3 form a group. The same group of MOS transistors input the same waveform and are turned on or off at the same time. The input waveforms of different groups of MOS transistors are electrically turned on, and the level is inverted. When one group of MOS transistors is turned on, the other group of MOS transistors is turned off.
在一个PWM周期中,当输入的波形U1为高电平时,第一开关管Q1、第四开关管Q4导通,此时U2为低电平,第二开关管Q2、第三开关管Q3截止,电机绕组承受A+到A-的正向电压;当U1为低电平时,第一开关管Q1、第四开关管Q4截止,此时U2为高电平,第二开关管Q2、第三开关管Q3导通,电机绕组承受A-到A+的反向电压。In a PWM cycle, when the input waveform U 1 is at a high level, the first switching tube Q 1 and the fourth switching tube Q 4 are turned on , and at this time U 2 is at a low level, the second switching tube Q 2 and the third switching tube Q 3 are turned off, and the motor winding bears the forward voltage from A+ to A-; Through, the motor winding bears the reverse voltage from A- to A+.
一个PWM周期中,电机绕组上的平均电压Ua与占空比的关系如下:In a PWM cycle, the relationship between the average voltage Ua on the motor winding and the duty cycle is as follows:
其中,Us为驱动电路供电电压,T为PWM周期,t1为高电平时间,r为占空比。可以看出,占空比为50%时,电机绕组上的平均电压为0。Among them, U s is the power supply voltage of the driving circuit, T is the PWM period, t 1 is the high level time, and r is the duty cycle. It can be seen that when the duty cycle is 50%, the average voltage across the motor windings is 0.
根据前述基于FPGA的SPWM波产生过程,得到占空比的变化规律如下:According to the aforementioned FPGA-based SPWM wave generation process, the changing law of the duty cycle is as follows:
带入上式,得到电机绕组平均电压的变化规律为:Putting it into the above formula, the change law of the average voltage of the motor winding is obtained as:
Ua=p·US·sinα (6)U a = p·U S ·sinα (6)
式中,p为正弦型函数的幅值相对于1/2周期的占比,实际设计中选取p为0.75,可以看出电机绕组上的平均电压和电流按正弦规律变化。In the formula, p is the ratio of the amplitude of the sinusoidal function to the 1/2 period. In the actual design, p is selected as 0.75. It can be seen that the average voltage and current on the motor winding change according to the sinusoidal law.
本发明所述方位电机B相绕组驱动电路包括第五开关管、第六开关管、第七开关管、第八开关管和方位电机B相绕组;所述第五开关管的第一端、所述第七开关管的第一端分别与驱动电源正极连接,所述第五开关管的第三端分别与第六开关管的第一端和所述方位电机B相绕组的一端连接,所述方位电机B相绕组的另一端分别与所述第七开关管的第三端和所述第八开关管的第一端连接,所述第八开关管的第三端与所述第六开关管的第三端分别与驱动电源负极连接,所述第五开关管的第二端和所述第八开关管的第二端分别与所述第二比较器输出的方位电机B相SPWM波连接,所述第六开关管的第二端和所述第七开关管的第二端分别与所述第二比较器输出的方位电机B相SPWM波取反的信号连接。The B-phase winding drive circuit of the azimuth motor in the present invention includes a fifth switch tube, a sixth switch tube, a seventh switch tube, an eighth switch tube, and a B-phase winding of the azimuth motor; the first end of the fifth switch tube and the first end of the seventh switch tube are respectively connected to the positive pole of the driving power supply; the third end of the fifth switch tube is respectively connected to the first end of the sixth switch tube and one end of the B-phase winding of the azimuth motor; The third end of the tube and the third end of the sixth switching tube are respectively connected to the negative pole of the drive power supply, the second end of the fifth switching tube and the second end of the eighth switching tube are respectively connected to the B-phase SPWM wave of the azimuth motor output by the second comparator, and the second end of the sixth switching tube and the second end of the seventh switching tube are respectively connected to the inverted signal of the B-phase SPWM wave of the azimuth motor output by the second comparator.
本发明所述俯仰电机A相绕组驱动电路包括第九开关管、第十开关管、第十一开关管、第十二开关管和俯仰电机A相绕组;所述第九开关管的第一端、所述第十一开关管的第一端分别与驱动电源正极连接,所述第九开关管的第三端分别与第二十开关管的第一端和所述俯仰电机A相绕组的一端连接,所述俯仰电机A相绕组的另一端分别与所述第十一开关管的第三端和所述第十二开关管的第一端连接,所述第十二开关管的第三端与所述第十开关管的第三端分别与驱动电源负极连接,所述第九开关管的第二端和所述第十二开关管的第二端分别与所述第三比较器输出的仰俯电机A相SPWM波连接,所述第十开关管的第二端和所述第十一开关管的第二端分别与所述第三比较器输出的仰俯电机A相SPWM波取反的信号连接。The pitch motor A-phase winding drive circuit of the present invention includes a ninth switch tube, a tenth switch tube, an eleventh switch tube, a twelfth switch tube, and a pitch motor A-phase winding; the first end of the ninth switch tube and the first end of the eleventh switch tube are respectively connected to the positive pole of the driving power supply; the third end of the ninth switch tube is connected to the first end of the twentieth switch tube and one end of the A-phase winding of the pitch motor; The third end of the twelfth switching tube and the third end of the tenth switching tube are respectively connected to the negative pole of the drive power supply, the second end of the ninth switching tube and the second end of the twelfth switching tube are respectively connected to the phase A SPWM wave of the pitch motor output by the third comparator, and the second end of the tenth switching tube and the second end of the eleventh switching tube are respectively connected to the inverted signal of the phase A SPWM wave of the pitch motor output by the third comparator.
本发明所述俯仰电机B相绕组驱动电路包括第十三开关管、第十四开关管、第十五开关管、第十六开关管和俯仰电机B相绕组;所述第十三开关管的第一端、所述第十五开关管的第一端分别与驱动电源正极连接,所述第十三开关管的第三端分别与第十四开关管的第一端和所述俯仰电机B相绕组的一端连接,所述俯仰电机B相绕组的另一端分别与所述第十五开关管的第三端和所述第十六开关管的第一端连接,所述第十六开关管的第三端与所述第十四开关管的第三端分别与驱动电源负极连接,所述第十三开关管的第二端和所述第十六开关管的第二端分别与所述第四比较器输出的仰俯电机B相SPWM波连接,所述第十四开关管的第二端和所述第十五开关管的第二端分别与所述第四比较器输出的仰俯电机B相SPWM波取反的信号连接。The pitch motor B-phase winding drive circuit of the present invention includes a thirteenth switch tube, a fourteenth switch tube, a fifteenth switch tube, a sixteenth switch tube, and a pitch motor B-phase winding; the first end of the thirteenth switch tube and the first end of the fifteenth switch tube are respectively connected to the positive pole of the driving power supply; the third end of the thirteenth switch tube is respectively connected to the first end of the fourteenth switch tube and one end of the B-phase winding of the pitch motor; The first end of the switch tube is connected, the third end of the sixteenth switch tube and the third end of the fourteenth switch tube are respectively connected to the negative pole of the driving power supply, the second end of the thirteenth switch tube and the second end of the sixteenth switch tube are respectively connected to the B-phase SPWM wave of the pitch motor output by the fourth comparator, and the second end of the fourteenth switch tube and the second end of the fifteenth switch tube are respectively connected to the inverted signal of the B-phase SPWM wave of the pitch motor output by the fourth comparator.
作为一种实施方式,本发明所述系统还包括:光电隔离电路,设置在所述SPWM细分驱动控制器3和4个双极性H桥功率驱动电路4之间,用于将所述第一SPWM波和所述第二SPWM波进行光耦隔离。As an embodiment, the system of the present invention further includes: a photoelectric isolation circuit, arranged between the SPWM subdivision drive controller 3 and the four bipolar H-bridge power drive circuits 4, for optocoupler isolation of the first SPWM wave and the second SPWM wave.
作为一种实施方式,本发明所述系统还包括:8个功率驱动芯片,设置在所述光电隔离电路和4个双极性H桥功率驱动电路4之间,用于分别驱动所述方位电机A相绕组驱动电路、所述方位电机B相绕组驱动电路、所述俯仰电机A相绕组驱动电路和所述俯仰电机B相绕组驱动电路。As an embodiment, the system of the present invention further includes: 8 power drive chips, arranged between the photoelectric isolation circuit and the four bipolar H-bridge power drive circuits 4, for respectively driving the A-phase winding drive circuit of the azimuth motor, the B-phase winding drive circuit of the azimuth motor, the A-phase winding drive circuit of the pitch motor, and the B-phase winding drive circuit of the pitch motor.
在激光雷达设计中,SPWM细分驱动控制器3产生的SPWM波经过所述光电隔离电路进行光耦隔离后,输入功率驱动芯片IR2110来驱动双极性H桥功率驱动电路4。IR2110具有高速开关频率,满足数十Hz到数百kHz范围的应用需求,同时还具有两个输入输出通道,以及开通慢、关断快的死区保护功能,防止桥臂直通的优点,一个IR2110控制H桥同侧上下两个桥臂的MOS管,因此每相绕组驱动电路需要两个IR2110。另外,H桥的功率MOS管选用IRHNJ67230,具有空间辐照和单粒子效应增强的特性,连续工作电流达到10A以上。In the lidar design, after the SPWM wave generated by the SPWM subdivision drive controller 3 passes through the photoelectric isolation circuit for optocoupler isolation, the power drive chip IR2110 is input to drive the bipolar H-bridge power drive circuit 4 . IR2110 has a high-speed switching frequency, which meets the application requirements ranging from dozens of Hz to hundreds of kHz. It also has two input and output channels, and a dead zone protection function with slow turn-on and fast turn-off to prevent the bridge arm from passing through. One IR2110 controls the MOS tubes of the upper and lower bridge arms of the same side of the H-bridge, so each phase winding drive circuit needs two IR2110. In addition, the power MOS tube of the H bridge is selected from IRHNJ67230, which has the characteristics of enhanced space radiation and single event effect, and the continuous working current reaches more than 10A.
本发明还提供一种空间交会对接激光雷达扫描跟踪控制方法,所述方法包括:The present invention also provides a space rendezvous and docking lidar scanning and tracking control method, the method comprising:
步骤S10:利用角度传感获取方位轴角度值和俯仰轴角度值。Step S10: Obtain the angle value of the azimuth axis and the angle value of the pitch axis by using the angle sensor.
步骤S20:根据回波在各象限的能量确定二维脱靶量。Step S20: Determine the two-dimensional miss amount according to the energy of the echo in each quadrant.
步骤S30:根据所述方位轴角度值、所述俯仰轴角度值和所述二维脱靶量确定两个步进电机的运动方向和分频系数;两个步进电机的运动方向包括:俯仰电机的运动方向和方位电机的运动方向;两个步进电机的分频系数包括俯仰电机的分频系数和方位电机的分频系数。Step S30: Determine the motion direction and frequency division coefficient of the two stepper motors according to the angle value of the azimuth axis, the angle value of the pitch axis, and the two-dimensional miss amount; the motion directions of the two stepper motors include: the motion direction of the pitch motor and the motion direction of the azimuth motor; the frequency division coefficients of the two stepper motors include the frequency division coefficient of the pitch motor and the frequency division coefficient of the azimuth motor.
步骤S40:根据所述两个步进电机的运动方向和分频系数确定第一SPWM波和第二SPWM波。Step S40: Determine the first SPWM wave and the second SPWM wave according to the moving directions of the two stepping motors and the frequency division coefficient.
步骤S50:将所述第一SPWM波和所述第二SPWM波进行放大后分别控制两个步进电机,以使两个步进电机分别驱动方位轴和仰俯轴转动,进而带动四象限探测器5扫描跟踪;所述两个步进电机分别为方位电机和俯仰电机。Step S50: after amplifying the first SPWM wave and the second SPWM wave, respectively control two stepping motors, so that the two stepping motors respectively drive the azimuth axis and the pitch axis to rotate, and then drive the four-quadrant detector 5 to scan and track; the two stepping motors are respectively an azimuth motor and a pitch motor.
作为一种实施方式,本发明所述根据所述两个步进电机的运动方向和分频系数确定第一SPWM波和第二SPWM波,具体包括:As an implementation, the present invention determines the first SPWM wave and the second SPWM wave according to the direction of motion and the frequency division coefficient of the two stepping motors, specifically including:
步骤S401:获取时钟信号。Step S401: Obtain a clock signal.
步骤S402:根据所述俯仰电机的分频系数和所述时钟信号确定第一步进脉冲。Step S402: Determine a first step pulse according to the frequency division coefficient of the pitch motor and the clock signal.
步骤S403:根据所述俯仰电机的运动方向和所述第一步进脉冲进行计数,获得第一计数值。Step S403: Counting is performed according to the moving direction of the pitch motor and the first stepping pulse to obtain a first count value.
步骤S404:根据所述第一计数值通过查找方位轴SIN表确定方位轴SIN值。Step S404: Determine the azimuth axis SIN value by looking up the azimuth axis SIN table according to the first count value.
步骤S405:根据所述第一计数值通过查找方位轴COS表确定俯仰轴COS值。Step S405: Determine the pitch axis COS value by looking up the azimuth axis COS table according to the first count value.
步骤S406:对时钟信号进行载波计数,获得载波值。Step S406: Carrier counting is performed on the clock signal to obtain a carrier value.
步骤S407:根据所述方位电机的分频系数和所述时钟信号确定第二步进脉冲。Step S407: Determine a second step pulse according to the frequency division factor of the azimuth motor and the clock signal.
步骤S408:根据所述方位电机的运动方向和所述第二步进脉冲进行计数,获得第二计数值。Step S408: Counting is performed according to the moving direction of the azimuth motor and the second stepping pulse to obtain a second count value.
步骤S409:根据所述第二计数值通过查找方位轴SIN表确定方位轴SIN值。Step S409: Determine the azimuth axis SIN value by looking up the azimuth axis SIN table according to the second count value.
步骤S410:根据所述第二计数值通过查找方位轴COS表确定方位轴COS值。Step S410: Determine the COS value of the azimuth axis by searching the COS table of the azimuth axis according to the second count value.
步骤S411:对所述俯仰轴SIN值、所述俯仰轴COS值、所述方位轴SIN值和所述方位轴COS值进行平移修正。Step S411: performing translation correction on the pitch axis SIN value, the pitch axis COS value, the azimuth axis SIN value and the azimuth axis COS value.
步骤S412:将所述载波值与修正后的俯仰轴SIN值进行比较,获得俯仰电机A相SPWM波。Step S412: Comparing the carrier value with the corrected SIN value of the pitch axis to obtain the A-phase SPWM wave of the pitch motor.
步骤S413:将所述载波值与修正后的俯仰轴COS值进行比较,获得俯仰电机B相SPWM波;所述第一SPWM波包括俯仰电机A相SPWM波和俯仰电机B相SPWM波。Step S413: Compare the carrier value with the corrected COS value of the pitch axis to obtain the B-phase SPWM wave of the pitch motor; the first SPWM wave includes the A-phase SPWM wave of the pitch motor and the B-phase SPWM wave of the pitch motor.
步骤S414:将所述载波值与修正后的方位轴SIN值进行比较,获得方位电机A相SPWM波。Step S414: Comparing the carrier value with the corrected SIN value of the azimuth axis to obtain the A-phase SPWM wave of the azimuth motor.
步骤S415:将所述载波值与修正后的方位轴COS值进行比较,获得方位电机B相SPWM波;所述第二SPWM波包括方位电机A相SPWM波和方位电机B相SPWM波。Step S415: Compare the carrier value with the corrected COS value of the azimuth axis to obtain the B-phase SPWM wave of the azimuth motor; the second SPWM wave includes the A-phase SPWM wave of the azimuth motor and the B-phase SPWM wave of the azimuth motor.
本发明的优点包括:Advantages of the present invention include:
1、系统结构紧凑、集成度高,主要包括以下两方面。1. The system has a compact structure and a high degree of integration, mainly including the following two aspects.
(1)利用单片FPGA配合外围H桥驱动电路,即可实现激光雷达两轴步进电机的细分驱动控制。FPGA为激光雷达电控系统中的核心芯片之一,实现DSP外围接口扩展和逻辑控制等功能。利用FPGA根据DSP的输入分频系数和方向信息,产生两轴步进电机运动所需的SPWM波,不需要额外增加专用的电机驱动芯片或模块,提高了系统的集成度和可靠性,也有助于降低系统重量。(1) Using a single-chip FPGA with the peripheral H-bridge drive circuit, the subdivision drive control of the two-axis stepping motor of the laser radar can be realized. FPGA is one of the core chips in the lidar electronic control system, which realizes functions such as DSP peripheral interface expansion and logic control. The FPGA is used to generate the SPWM wave required for the two-axis stepper motor movement according to the input frequency division coefficient and direction information of the DSP. There is no need to add a dedicated motor driver chip or module, which improves the integration and reliability of the system and also helps to reduce the weight of the system.
(2)基于步进电机高精度细分驱动建立闭环控制系统,以单片DSP作为控制器,以角度传感器和四象限探测器脱靶量作为双反馈,同时实现两轴步进电机的高速扫描控制和稳定跟踪控制。DSP为激光雷达的控制核心,除了实现电机控制之外,还实现雷达系统控制和接口通讯等功能。在不增加额外控制芯片和传感器的情况下,实现了要求的控制功能和性能指标,电路和结构都得到了精简。(2) Establish a closed-loop control system based on the high-precision subdivision drive of the stepper motor, use the single-chip DSP as the controller, and use the angle sensor and the four-quadrant detector miss-target as the double feedback, and realize the high-speed scanning control and stable tracking control of the two-axis stepper motor at the same time. DSP is the control core of lidar. In addition to realizing motor control, it also realizes functions such as radar system control and interface communication. Without adding additional control chips and sensors, the required control function and performance index are realized, and the circuit and structure are simplified.
2、电机输出转矩稳定,速度可调范围大,细分精度高且细分精度可控。在高速扫描和稳定跟踪过程中,加速度变化较大,步进电机输出转矩基本保持稳定,使电源的输出功率保持基本恒定,减小了对电源的影响。采用基于SPWM波的步进电机细分驱动控制方法,可根据需要设计细分步数,实现要求的细分精度,在最高转速和最小步距角之间进行折中。实际设计中,激光雷达俯仰电机细分后步距角约为0.0018°,方位电机细分后步距角约为0.0009°,俯仰轴扫描过程中最高转速达到1000°/s以上。2. The output torque of the motor is stable, the speed can be adjusted in a large range, the subdivision precision is high and the subdivision precision is controllable. In the process of high-speed scanning and stable tracking, the acceleration changes greatly, and the output torque of the stepping motor remains basically stable, so that the output power of the power supply remains basically constant, reducing the impact on the power supply. Using the stepper motor subdivision drive control method based on SPWM wave, the number of subdivision steps can be designed according to the needs to achieve the required subdivision accuracy, and a compromise can be made between the highest speed and the minimum step angle. In the actual design, the step angle of the laser radar pitch motor is about 0.0018° after subdivision, the step angle of the azimuth motor is about 0.0009° after subdivision, and the maximum speed during the scanning process of the pitch axis reaches more than 1000°/s.
3、符合空间交会对接的应用需求。步进电机细分驱动闭环控制系统中所用DSP、FPGA、双极性H桥功率驱动电路等,均采用航天级高可靠产品,在DSP软件和FPGA逻辑设计中加强了可靠性和冗余设计,具有较强的空间环境适应性。系统结构和电路紧凑、集成度高,体积和重量满足满足对航天载荷的限制条件。3. Meet the application requirements of space rendezvous and docking. The DSP, FPGA, and bipolar H-bridge power drive circuit used in the stepping motor subdivision drive closed-loop control system are all aerospace-grade high-reliability products, and the reliability and redundancy design have been strengthened in the DSP software and FPGA logic design, which has strong space environment adaptability. The system structure and circuit are compact, highly integrated, and the volume and weight meet the constraints on aerospace loads.
本发明说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。Each embodiment in the description of the present invention is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
本发明中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本发明说明书内容不应理解为对本发明的限制。In the present invention, specific examples are used to illustrate the principle of the present invention and the implementation mode. The description of the above examples is only used to help understand the method of the present invention and its core idea; meanwhile, for those of ordinary skill in the art, according to the thought of the present invention, there will be changes in the specific implementation mode and the scope of application. In summary, the contents of the description of the present invention should not be construed as limiting the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110056245.6A CN112904764B (en) | 2021-01-15 | 2021-01-15 | A space rendezvous and docking laser radar scanning tracking control system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110056245.6A CN112904764B (en) | 2021-01-15 | 2021-01-15 | A space rendezvous and docking laser radar scanning tracking control system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112904764A CN112904764A (en) | 2021-06-04 |
CN112904764B true CN112904764B (en) | 2023-07-21 |
Family
ID=76113682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110056245.6A Active CN112904764B (en) | 2021-01-15 | 2021-01-15 | A space rendezvous and docking laser radar scanning tracking control system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112904764B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113608194B (en) * | 2021-08-06 | 2023-08-11 | 中国科学院光电技术研究所 | An energy adaptive control method suitable for space rendezvous and docking lidar |
CN114629487B (en) * | 2022-03-22 | 2023-03-21 | 深圳吉华微特电子有限公司 | Reinforced driving circuit resisting single event effect |
CN115480391A (en) * | 2022-09-14 | 2022-12-16 | 长春理工大学 | Micro light spot tracking device and method based on four-quadrant detector |
CN117559851B (en) * | 2024-01-12 | 2024-03-19 | 中国科学院长春光学精密机械与物理研究所 | On-orbit self-adaptive subdivision calibration system of scanning stepping motor and calibration method thereof |
CN117647792B (en) * | 2024-01-30 | 2024-04-16 | 山东省科学院海洋仪器仪表研究所 | Laser radar two-dimensional scanning control method and system based on FPGA |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938241A (en) * | 2009-06-30 | 2011-01-05 | 河南中光学集团有限公司 | A stepping motor control system and its control method |
CN101969291A (en) * | 2010-10-28 | 2011-02-09 | 哈尔滨工业大学 | System-on-chip driver of high-subdivision multi-path stepping motor |
CN203745914U (en) * | 2014-03-06 | 2014-07-30 | 长安大学 | A light source tracking device for teaching |
CN104836554A (en) * | 2015-05-11 | 2015-08-12 | 江苏宏云技术有限公司 | Realization method of multifunctional SPWM |
CN107276469A (en) * | 2017-07-27 | 2017-10-20 | 深圳怡化电脑股份有限公司 | The driving method and drive device of stepper motor |
CN110032101A (en) * | 2019-04-08 | 2019-07-19 | 中国科学院光电技术研究所 | A kind of configurable closed loop controller implementation method based on FPGA |
CN112882052A (en) * | 2021-01-15 | 2021-06-01 | 中国科学院光电技术研究所 | Laser radar for space rendezvous and docking |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100498625C (en) * | 2007-08-06 | 2009-06-10 | 北京航空航天大学 | Control system for satellite antenna motion |
JP5161543B2 (en) * | 2007-11-12 | 2013-03-13 | 三菱重工業株式会社 | Driving method of brushless DC motor |
CN106342248B (en) * | 2011-12-14 | 2013-02-13 | 中国电子科技集团公司第二十七研究所 | A kind of laser radar for intersection docking between space device |
CN104601062A (en) * | 2015-01-15 | 2015-05-06 | 北京奥普维尔科技有限公司 | FPGA based stepping motor control system and method |
CN104615153A (en) * | 2015-02-09 | 2015-05-13 | 哈尔滨工业大学 | TMX320F28335 floating point DSP (Digital Signal Processor) based two-shaft photoelectric tracking system |
CN105337540A (en) * | 2015-11-25 | 2016-02-17 | 北京金自天正智能控制股份有限公司 | Two-level circuit board for achieving permanent magnet synchronous motor frequency conversion soft start and grid-connected control |
CN107276470B (en) * | 2017-06-22 | 2020-07-21 | 防灾科技学院 | Three-phase hybrid stepping motor controller soft core based on FPGA |
CN109729258A (en) * | 2017-10-31 | 2019-05-07 | 许亚夫 | A kind of photoelectric platform image Auto-focus control system |
CN110391770A (en) * | 2018-04-17 | 2019-10-29 | 德昌电机(深圳)有限公司 | Electric machine, motor-drive circuit and driving method |
CN108828999B (en) * | 2018-06-19 | 2020-09-22 | 南京恩瑞特实业有限公司 | Universal radar servo system capable of realizing 'building block type' combination |
CN109586636B (en) * | 2018-11-19 | 2021-04-27 | 北京航空航天大学 | Permanent magnet fault-tolerant motor drive controller for thrust vector control and control method |
-
2021
- 2021-01-15 CN CN202110056245.6A patent/CN112904764B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938241A (en) * | 2009-06-30 | 2011-01-05 | 河南中光学集团有限公司 | A stepping motor control system and its control method |
CN101969291A (en) * | 2010-10-28 | 2011-02-09 | 哈尔滨工业大学 | System-on-chip driver of high-subdivision multi-path stepping motor |
CN203745914U (en) * | 2014-03-06 | 2014-07-30 | 长安大学 | A light source tracking device for teaching |
CN104836554A (en) * | 2015-05-11 | 2015-08-12 | 江苏宏云技术有限公司 | Realization method of multifunctional SPWM |
CN107276469A (en) * | 2017-07-27 | 2017-10-20 | 深圳怡化电脑股份有限公司 | The driving method and drive device of stepper motor |
CN110032101A (en) * | 2019-04-08 | 2019-07-19 | 中国科学院光电技术研究所 | A kind of configurable closed loop controller implementation method based on FPGA |
CN112882052A (en) * | 2021-01-15 | 2021-06-01 | 中国科学院光电技术研究所 | Laser radar for space rendezvous and docking |
Non-Patent Citations (4)
Title |
---|
Stabilization Control Mothed for Two-Axis Inertially Stabilized Platform Based on Active Disturbance Rejection Control With Noise Reduction Disturbance Observer;F. Wang;《EEE Access,》;第7卷;第99521-99529页 * |
一种激光扫描跟踪实验装置的设计;杨武;《光电工程》;第30卷(第10期);第34-36页 * |
卫星光通信用潜望式粗跟踪转台伺服控制系统;龚文;《中国优秀硕士学位论文全文数据库信息科技辑》;I136-1079 * |
大口径望远镜伺服控制系统研究;钱俊璋;《中国优秀博士学位论文全文数据库工程科技Ⅱ辑》;C030-2 * |
Also Published As
Publication number | Publication date |
---|---|
CN112904764A (en) | 2021-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112904764B (en) | A space rendezvous and docking laser radar scanning tracking control system and method | |
CN107196543B (en) | Common DC bus opens winding asynchronous electric system zero sequence circulation inhibition method | |
CN102611370B (en) | Control method and control circuit for modulating sine waves of permanent-magnet synchronous motor | |
JP4429338B2 (en) | Motor control device, current detection unit | |
US8471518B2 (en) | Power conversion device | |
CN101917159B (en) | System and method for controlling running speed and displacement of linear motor | |
CN108258976B (en) | An open-winding motor driver topology and its modulation method | |
CN102082546B (en) | Pulse Width Modulation Dead Zone Compensation Device and Method for Frequency Converter | |
US10608571B2 (en) | Open-winding motor drive topology and modulation method thereof | |
CN103281018A (en) | Control system for driving reflecting mirror | |
CN108683365B (en) | Multi-direct current motor reverse series control system and method | |
CN104716878B (en) | Control method and driving system of three-phase double-salient-pole brushless direct current motor | |
CN104506101B (en) | The operation method of permanent-magnet brushless DC electric machine permanent torque step motion control | |
CN107294464B (en) | A motor drive device and a stator DC excitation motor system | |
CN105790651B (en) | A kind of control method and its drive system of three-phase doubly-salient brushless DC generator | |
CN111510046B (en) | Bearingless switched reluctance motor phase current reconstruction system and bearingless switched reluctance motor phase current reconstruction method | |
CN206077268U (en) | For the cosine and sine signal process circuit that speed and position are fed back | |
Cao et al. | Research on two-dimensional turntable tracking and aiming system based on BLDC speed regulation system | |
CN110649844A (en) | Brushless direct current motor vector control system and method based on alpha beta current controller | |
Lifang | Study of the SVPWM Converter Bassed on TMS320F24X | |
CN105226991B (en) | A kind of high power constant pressure injection device and its method of work | |
CN108199624A (en) | Bi-motor three-leg inverter driving circuit and its Field orientable control method | |
CN103368485B (en) | A kind of special multi-coordinate servo drive method of medical imaging equipment and device | |
Cheng et al. | Sensorless vector control of complementary and modular linear flux-switching permanent magnet motor based on MRAS and SVPWM | |
CN205080270U (en) | Constant voltage electromagnetic emitting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |