CN103746616B - Mobile CT synchronous scannings control system and method - Google Patents
Mobile CT synchronous scannings control system and method Download PDFInfo
- Publication number
- CN103746616B CN103746616B CN201310399962.4A CN201310399962A CN103746616B CN 103746616 B CN103746616 B CN 103746616B CN 201310399962 A CN201310399962 A CN 201310399962A CN 103746616 B CN103746616 B CN 103746616B
- Authority
- CN
- China
- Prior art keywords
- control module
- rotary
- synchronous
- motor
- motor control
- 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
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 102
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000009977 dual effect Effects 0.000 claims abstract description 6
- 238000012546 transfer Methods 0.000 claims description 22
- 238000006880 cross-coupling reaction Methods 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 3
- 230000033001 locomotion Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 238000005070 sampling Methods 0.000 description 8
- 238000013461 design Methods 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000009347 mechanical transmission Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Control Of Multiple Motors (AREA)
- Numerical Control (AREA)
Abstract
本发明涉及一种移动CT同步扫描控制系统,其中,所述主控器用于向同步控制模块发送运行命令信息;所述同步控制模块用于将该命令信息转换为各驱动器的控制量,并将该控制量分别发送给旋转机架旋转电机控制模块及旋转机架水平电机控制模块的驱动器;所述旋转机架旋转电机控制模块及旋转机架水平电机控制模块的驱动器用于分别根据所述控制量对各自电机进行驱动;所述旋转机架旋转电机控制模块及旋转机架水平电机控制模块的编码器用于将实际的位置、速度信息反馈给同步控制模块;所述同步控制模块还用于根据上述各电机实际的位置、速度信息计算上述双电机的同步误差及补偿量。本发明还涉及一种移动CT同步扫描控制方法。
The present invention relates to a mobile CT synchronous scanning control system, wherein the main controller is used to send operation command information to the synchronous control module; the synchronous control module is used to convert the command information into the control amount of each driver, and The control quantity is sent to the driver of the rotary motor control module of the rotary frame and the horizontal motor control module of the rotary frame respectively; the drivers of the rotary motor control module of the rotary frame and the horizontal motor control module of the rotary frame are used to control the drive the respective motors; the encoders of the rotary motor control module of the rotary frame and the horizontal motor control module of the rotary frame are used to feed back the actual position and speed information to the synchronous control module; the synchronous control module is also used to The actual position and speed information of each of the above-mentioned motors is used to calculate the synchronization error and compensation amount of the above-mentioned dual motors. The invention also relates to a method for controlling the synchronous scanning of the mobile CT.
Description
【技术领域】【Technical field】
本发明涉及一种移动CT同步扫描控制系统及方法。The invention relates to a mobile CT synchronous scanning control system and method.
【背景技术】【Background technique】
目前的CT螺旋扫描同步控制系统中,多采用机械传动链方式,这样内部件的数量的增加,不仅增加了成本压力,而且也违背了移动CT便携式设计的初衷,同时移动CT水平移动采用的步进电机固有的丢步问题又降低了螺旋同步的精度。In the current CT helical scanning synchronous control system, the mechanical transmission chain is mostly used. The increase in the number of internal parts not only increases the cost pressure, but also violates the original intention of the portable design of the mobile CT. The inherent step loss problem of the motor reduces the precision of the screw synchronization.
移动CT扫描仪有多种成像模式,其中一种为螺旋扫描。在这种模式下,搭载X射线球管、探测器、数据采集系统等影像链主要部件的旋转机架通过直驱电机带动,进行连续旋转,同时旋转机架进行水平移动。这两种运动具有一定的位置对应关系,以达到均匀的投影数据采集。实际上,无论是上述直驱电机还是交流电机,在运动过程中都很难保证绝对的匀速运动,速度存在波动是难以避免的。因此,在实施过程中需要采用一种同步控制技术,以实现均匀采样的目的。申请号为201110273871.7的专利申请提出了主从同步控制策略来实现双电机同步控制的方案,但主从同步控制方式固有的缺陷是当从电机受到干扰影响时,主电机不能感知并且跟随从电机的变化,同步精度差,有一定的局限性。Mobile CT scanners have multiple imaging modes, one of which is helical scanning. In this mode, the rotating frame equipped with the main components of the image chain such as X-ray tubes, detectors, and data acquisition systems is driven by a direct drive motor to continuously rotate, while the rotating frame moves horizontally. These two movements have a certain positional correspondence to achieve uniform projection data acquisition. In fact, whether it is the above-mentioned direct drive motor or an AC motor, it is difficult to ensure absolute uniform motion during the motion process, and fluctuations in speed are unavoidable. Therefore, a synchronous control technology needs to be adopted in the implementation process to achieve the purpose of uniform sampling. The patent application with the application number 201110273871.7 proposes a master-slave synchronous control strategy to realize the synchronous control of dual motors, but the inherent defect of the master-slave synchronous control method is that when the slave motor is affected by interference, the master motor cannot perceive and follow the movement of the slave motor. Changes, poor synchronization accuracy, and certain limitations.
目前大型固定CT扫描仪在机械结构上,旋转机架和水平移动床是两个分开独立的组成部分,旋转机架和扫描床负载相差悬殊,这种结构所采用的主从同步控制方法,一旦从电机受到扰动时,主电机不能及时跟踪从电机的变化,同步精度差,局限性很大。At present, in the mechanical structure of large fixed CT scanners, the rotating frame and the horizontal moving bed are two separate and independent components, and the loads of the rotating frame and the scanning bed are very different. When the slave motor is disturbed, the master motor cannot track the change of the slave motor in time, and the synchronization accuracy is poor, which has great limitations.
【发明内容】【Content of invention】
有鉴于此,本发明提供一种移动CT同步扫描控制系统,包括主控器、旋转机架旋转电机控制模块、旋转机架水平电机控制模块以及同步控制模块,其中,所述旋转机架旋转电机控制模块及所述旋转机架水平电机控制模块均包括各自的驱动器、电机及编码器。所述主控器用于向同步控制模块发送运行命令信息;所述同步控制模块用于接收主控器发送的运行命令信息,将该命令信息转换为旋转机架旋转电机控制模块、旋转机架水平电机控制模块中各驱动器当前时刻的控制量,并将该控制量分别发送给旋转机架旋转电机控制模块及旋转机架水平电机控制模块各自的驱动器;所述旋转机架旋转电机控制模块及旋转机架水平电机控制模块的驱动器用于分别根据所述控制量对各自电机进行驱动;所述旋转机架旋转电机控制模块及旋转机架水平电机控制模块的编码器用于分别收集上述各电机实际的位置、速度信息,并将所述实际的位置、速度信息反馈给同步控制模块;所述同步控制模块还用于根据上述各电机实际的位置、速度信息及同步误差传递函数计算上述双电机的同步误差,然后根据所述同步误差计算出补偿量,实时补偿给旋转机架旋转电机控制模块和旋转机架水平电机控制模块,以实现双电机的精确同步。In view of this, the present invention provides a mobile CT synchronous scanning control system, including a main controller, a rotating frame rotating motor control module, a rotating frame horizontal motor control module and a synchronous control module, wherein the rotating frame rotating motor Both the control module and the horizontal motor control module of the rotary frame include respective drivers, motors and encoders. The main controller is used to send running command information to the synchronous control module; the synchronous control module is used to receive the running command information sent by the main controller, and convert the command information into the rotating rack rotating motor control module, the rotating rack level The control amount of each driver in the motor control module at the current moment, and the control amount is sent to the respective drivers of the rotating frame rotating motor control module and the rotating frame horizontal motor control module; the rotating frame rotating motor control module and the rotating frame The driver of the horizontal motor control module of the rack is used to drive the respective motors according to the control amount respectively; Position and speed information, and feed back the actual position and speed information to the synchronous control module; the synchronous control module is also used to calculate the synchronization of the above-mentioned dual motors according to the actual position and speed information of the above-mentioned motors and the synchronization error transfer function Error, and then calculate the compensation amount according to the synchronization error, and compensate in real time to the rotary motor control module of the rotating frame and the horizontal motor control module of the rotating frame, so as to realize the precise synchronization of the double motors.
所述控制量包括:旋转机架旋转电机控制模块及旋转机架水平电机控制模块各电机的位置、速度信息。The control quantity includes: the position and speed information of each motor of the rotary motor control module of the rotary frame and the horizontal motor control module of the rotary frame.
所述同步误差传递函数定义为:The synchronization error transfer function is defined as:
其中,Gc为同步误差传递函数:Among them, Gc is the synchronization error transfer function:
α=(1+GpyGy)(1+GpxGx)α=(1+G py G y )(1+G px G x )
所述同步控制模块包括ARM同步控制板。The synchronous control module includes an ARM synchronous control board.
所述ARM同步控制板包括MCU单元、旋转机架旋转电机驱动器接口、旋转机架水平电机驱动器接口、数模转换单元、串口接口、JTAG接口以及CAN接口。The ARM synchronous control board includes an MCU unit, a rotating frame rotating motor driver interface, a rotating frame horizontal motor driver interface, a digital-to-analog conversion unit, a serial port interface, a JTAG interface and a CAN interface.
所述CAN接口用于实现ARM同步控制板和主控器之间的通信。The CAN interface is used to realize the communication between the ARM synchronization control board and the main controller.
所述数模转换单元用于将所述命令信息转换成模拟信号。The digital-to-analog conversion unit is used to convert the command information into an analog signal.
有鉴于此,本发明还提供一种移动CT同步扫描控制的方法,包括:同步控制模块接收主控器发送的运行命令信息;同步控制模块将收到的所述运行命令信息转换成旋转机架旋转电机控制模块、旋转机架水平电机控制模块中各驱动器当前时刻的控制量,并将该控制量分别发送给旋转机架旋转电机控制模块及旋转机架水平电机控制模块各自的驱动器;所述旋转机架旋转电机控制模块及旋转机架水平电机控制模块的驱动器分别根据所述控制量对各自电机进行驱动;所述旋转机架旋转电机控制模块及旋转机架水平电机控制模块的编码器分别收集上述各电机实际的位置、速度信息,并将所述实际的位置、速度信息反馈给同步控制模块;所述同步控制模块根据上述各电机实际的位置、速度信息及同步误差传递函数计算上述双电机的同步误差,然后根据所述同步误差计算出补偿量,实时补偿给旋转机架旋转电机控制模块和旋转机架水平电机控制模块,以实现双电机的精确同步。In view of this, the present invention also provides a method for synchronous scanning control of mobile CT, including: the synchronous control module receives the running command information sent by the main controller; the synchronous control module converts the received running command information into a rotating frame The current control amount of each driver in the rotating motor control module and the rotating rack horizontal motor control module, and send the controlled amount to the respective drivers of the rotating rack rotating motor control module and the rotating rack horizontal motor control module; The drivers of the rotary motor control module of the rotary frame and the horizontal motor control module of the rotary frame drive their respective motors according to the control quantities; the encoders of the rotary motor control module of the rotary frame and the horizontal motor control module of the rotary frame are respectively Collect the actual position and speed information of the above-mentioned motors, and feed back the actual position and speed information to the synchronous control module; the synchronous control module calculates the above-mentioned dual The synchronous error of the motor, and then calculate the compensation amount according to the synchronous error, and compensate in real time to the rotary motor control module of the rotating frame and the horizontal motor control module of the rotating frame, so as to realize the precise synchronization of the double motors.
所述的控制量包括:旋转机架旋转电机控制模块及旋转机架水平电机控制模块各电机的位置、速度信息。The control quantity includes: the position and speed information of each motor of the rotary motor control module of the rotary frame and the horizontal motor control module of the rotary frame.
所述的同步误差传递函数定义为:The synchronization error transfer function is defined as:
其中,Gc为同步误差传递函数:Among them, Gc is the synchronization error transfer function:
α=(1+GpyGy)(1+GpxGx)α=(1+G py G y )(1+G px G x )
所述同步控制模块包括ARM同步控制板。The synchronous control module includes an ARM synchronous control board.
本发明移动CT同步扫描控制系统及方法,能够实现移动CT螺旋同步扫描方式下双电机的精确同步,提高CT螺旋扫描模式下成像质量。The mobile CT synchronous scanning control system and method of the present invention can realize the precise synchronization of the double motors in the mobile CT helical synchronous scanning mode, and improve the imaging quality in the CT helical scanning mode.
【附图说明】【Description of drawings】
图1是旋转机架旋转电机(电机1)、旋转机架水平电机(电机2)在空间的扫描轨迹示意图。Fig. 1 is a schematic diagram of the scanning trajectory in space of the rotary motor (motor 1) of the rotary frame and the horizontal motor (motor 2) of the rotary frame.
图2是电机1和电机2耦合后的直线轮廓示意图。FIG. 2 is a schematic diagram of a straight line profile after motor 1 and motor 2 are coupled.
图3是双电机同步控制系统非交叉耦合控制系统结构框图。Fig. 3 is a structural block diagram of the non-cross-coupling control system of the dual-motor synchronous control system.
图4是双电机同步控制系统交叉耦合控制系统结构框图。Figure 4 is a structural block diagram of the cross-coupling control system of the dual-motor synchronous control system.
图5是移动CT螺旋同步扫描控制系统硬件架构图。Fig. 5 is a hardware architecture diagram of the mobile CT helical synchronous scanning control system.
图6是ARM同步控制板硬件电路示意图。Fig. 6 is a schematic diagram of the hardware circuit of the ARM synchronous control board.
图7是本发明移动CT同步扫描控制系统及方法的作业流程图。Fig. 7 is a flow chart of the operation of the mobile CT synchronous scanning control system and method of the present invention.
【具体实施方式】【detailed description】
下面结合附图和具体实施例对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
为更好地解释本发明,首先对同步误差和交叉耦合同步误差传递函数进行定义。In order to better explain the present invention, firstly, the synchronization error and cross-coupling synchronization error transfer functions are defined.
同步误差:Synchronization error:
在移动CT双电机螺旋线运动同步控制系统中,旋转机架旋转电机(电机1)沿垂直面做连续匀速旋转运动,旋转机架水平电机(电机2)在水平面同步匀速直线运动,这样两电机在空间的扫描轨迹呈螺旋状前进。如图1所示。两台电机在各自平面做连续匀速运动,二者的同步关系可用如下公式表达:In the mobile CT dual-motor helical motion synchronous control system, the rotary motor (motor 1) of the rotating frame performs continuous uniform rotational motion along the vertical plane, and the horizontal motor (motor 2) of the rotating frame moves synchronously and uniformly in a straight line on the horizontal plane, so that the two motors The scanning trajectory in space advances in a spiral shape. As shown in Figure 1. The two motors move continuously at a constant speed in their respective planes, and the synchronous relationship between the two can be expressed by the following formula:
式中:In the formula:
Lr1(t)—旋转运动在圆周表面的旋转弧长;L r1 (t)—the length of the arc of rotation on the surface of the circumference;
Lr2(t)—直线运动在水平面的前进距离;L r2 (t)—the advance distance of linear motion in the horizontal plane;
r—螺旋线的旋转半径;r—the radius of rotation of the helix;
τ—螺旋线的螺距。τ—the pitch of the helix.
由同步关系式(1)知,在双电机螺旋线运动同步控制中,螺旋线轨迹形成的实质可以看成将电机1的旋转运动和电机2的直线运动在XY平面耦合成的一条直线。通过这种耦合关系来定义同步误差,电机1和电机2耦合后的直线轮廓如图2所示。According to the synchronous relationship (1), in the synchronous control of dual-motor helical motion, the essence of the helical trajectory can be regarded as a straight line that couples the rotational motion of motor 1 and the linear motion of motor 2 in the XY plane. The synchronous error is defined through this coupling relationship, and the straight line profile after the coupling of motor 1 and motor 2 is shown in Figure 2.
图2中P*为任意参考输入的期望位置,P为该时刻系统运行的实际位置,θ为参考点处直线与水平左边轴的夹角,Ey为竖直面匀速连续旋转运动的跟踪误差,Ex为水平面同步直线运动的跟踪误差,ε为系统轮廓误差,其定义为期望位置与实际位置的最短距离,该定义的优点是:交叉耦合同步控制与补偿的目标是使期望位置与实际位置一致,由此构建的同步误差模型是一个实时的误差模型,具有实际意义。根据图3所示的各个变量的几何关系,同步误差可表示为:In Figure 2, P* is the expected position of any reference input, P is the actual position of the system at this moment, θ is the angle between the straight line at the reference point and the horizontal left axis, Ey is the tracking error of the continuous rotation motion of the vertical plane at a constant speed, Ex is the tracking error of horizontal synchronous linear motion, ε is the system profile error, which is defined as the shortest distance between the expected position and the actual position, the advantage of this definition is: the goal of cross-coupling synchronous control and compensation is to make the expected position consistent with the actual position , the synchronous error model constructed from this is a real-time error model, which has practical significance. According to the geometric relationship of each variable shown in Figure 3, the synchronization error can be expressed as:
交叉耦合同步误差传递函数:Cross-coupled synchronization error transfer function:
交叉耦合同步误差传递函数用来描述非交叉耦合控制系统和交叉耦合控制系统之间同步误差的动态关系。通过这个函数交叉耦合补偿器的设计可以简单的看成反馈控制问题。The cross-coupled synchronization error transfer function is used to describe the dynamic relationship of the synchronization error between the non-cross-coupled control system and the cross-coupled control system. The design of cross-coupled compensators through this function can be simply regarded as a feedback control problem.
双电机同步控制系统非交叉耦合控制系统结构框图如图3所示,定义ε0为非交叉耦合控制时的同步扫描同步误差。双电机同步控制系统交叉耦合控制系统结构框图如图4所示,定义εc为交叉耦合控制时的同步扫描同步误差。The structural block diagram of the non-cross-coupling control system of the dual-motor synchronous control system is shown in Figure 3, and ε 0 is defined as the synchronous scan synchronization error in the non-cross-coupling control. The structural block diagram of the cross-coupling control system of the dual-motor synchronous control system is shown in Figure 4, and εc is defined as the synchronous scan synchronization error during the cross-coupling control.
为了简化分析,令电机1和电机2的速度环和积分环分别等效Gy和Gx,则ε0、εc分别为:In order to simplify the analysis, let the speed loop and integral loop of motor 1 and motor 2 be equivalent to Gy and Gx respectively, then ε 0 and ε c are respectively:
联立公式(3)和公式(4)得到同步误差传递函数:Combine formula (3) and formula (4) to get the synchronization error transfer function:
其中:in:
α=(1+GpyGy)(1+GpxGx)α=(1+G py G y )(1+G px G x )
式中:定义Gc为非交叉耦合控制系统和交叉耦合控制系统之间的同步误差传递函数,CC为同步误差补偿分配控制器。由公式(5)可知,通过设计合适的补偿器CC,通过分配附加同步误差补偿量给各自的控制回路的速度环,可达到电机1和电机2精确同步的目的。In the formula: Gc is defined as the synchronization error transfer function between the non-cross-coupling control system and the cross-coupling control system, and C C is the synchronization error compensation allocation controller. It can be seen from formula (5) that by designing a suitable compensator C C and assigning additional synchronization error compensation to the speed loops of the respective control loops, the precise synchronization of motor 1 and motor 2 can be achieved.
如图5所示为移动CT螺旋同步扫描控制系统硬件架构图。该系统主要由主控器、电机1控制模块、电机2控制模块和同步控制模块四部分组成。其中,所述电机1控制模块和所述电机2控制模块采用相同的控制结构,电机1控制模块包括驱动器1、电机1及编码器1;电机2控制模块包括驱动器2、电机2及编码器2;所述同步控制模块包括ARM(Advanced RISCMachine,高级精简指令集机器)同步控制板。Figure 5 shows the hardware architecture diagram of the mobile CT helical synchronous scanning control system. The system is mainly composed of four parts: main controller, motor 1 control module, motor 2 control module and synchronous control module. Wherein, the motor 1 control module and the motor 2 control module adopt the same control structure, the motor 1 control module includes a driver 1, a motor 1 and an encoder 1; the motor 2 control module includes a driver 2, a motor 2 and an encoder 2 ; The synchronous control module includes an ARM (Advanced RISCMachine, Advanced Reduced Instruction Set Machine) synchronous control board.
所述主控器用于向同步控制模块发送运行命令信息。The main controller is used to send running command information to the synchronous control module.
所述同步控制模块用于接收主控器发送的运行命令信息,将该命令信息转换为电机1、电机2当前时刻的控制量,并将该控制量分别发送给驱动器1、驱动器2。The synchronous control module is used to receive the operation command information sent by the main controller, convert the command information into the current control quantities of the motor 1 and the motor 2, and send the control quantities to the driver 1 and the driver 2 respectively.
所述驱动器1、驱动器2用于根据所述控制量对电机1、电机2进行驱动。The driver 1 and the driver 2 are used to drive the motor 1 and the motor 2 according to the control amount.
所述编码器1、编码器2用于收集电机1、电机2实际的位置、速度信息,并将所述实际的位置、速度信息分别通过驱动器1、驱动器2反馈给同步控制模块。The encoder 1 and the encoder 2 are used to collect the actual position and speed information of the motor 1 and the motor 2, and feed back the actual position and speed information to the synchronous control module through the driver 1 and the driver 2 respectively.
所述同步控制模块用于根据反馈的电机1、电机2实际的位置、速度信息,及同步误差传递函数的定义实时计算电机1、电机2的同步误差,然后将所述同步误差经过补偿器CC补偿,最终计算出补偿量,实时的补偿器给电机1控制模块和电机2控制模块,以实现双电机的精确同步。The synchronous control module is used to calculate the synchronous error of the motor 1 and the motor 2 in real time according to the actual position and speed information of the motor 1 and the motor 2 fed back, and the definition of the synchronous error transfer function, and then pass the synchronous error through the compensator C C compensation, the compensation amount is finally calculated, and the real-time compensator is given to the motor 1 control module and the motor 2 control module to achieve precise synchronization of the two motors.
如图6所示为ARM同步控制板硬件电路示意图,该ARM同步控制板包括MCU单元、驱动器1接口、驱动器2接口、数模转换单元、串口接口、JTAG接口以及CAN接口。其中,驱动器1接口和驱动器2接口分别通过驱动电路与MCU单元电连接,ARM同步控制板通过CAN接口和主控器通信,串口接口主要实现与上位机之间的通信、调试,JTAG接口主要用来实现程序的烧写。Figure 6 is a schematic diagram of the hardware circuit of the ARM synchronous control board. The ARM synchronous control board includes an MCU unit, a driver 1 interface, a driver 2 interface, a digital-to-analog conversion unit, a serial interface, a JTAG interface and a CAN interface. Among them, the driver 1 interface and the driver 2 interface are electrically connected to the MCU unit through the drive circuit, the ARM synchronous control board communicates with the main controller through the CAN interface, the serial interface mainly realizes communication and debugging with the host computer, and the JTAG interface mainly uses To realize the programming of the program.
下面结合图5,对图6 ARM同步控制板的工作过程进行描述。The working process of the ARM synchronous control board in Fig. 6 will be described below in conjunction with Fig. 5 .
所述MCU单元接收主控器发送的运行命令信息,并将所述命令信息发送给数模转换单元。The MCU unit receives the running command information sent by the main controller, and sends the command information to the digital-to-analog conversion unit.
所述数模转换单元将所述命令信息转换成模拟信号,即转换成电机1和电机2当前时刻的控制量,所述控制量包括电机1的位置、速度信息和电机2的位置、速度信息。The digital-to-analog conversion unit converts the command information into an analog signal, that is, into the control quantity of the motor 1 and the motor 2 at the current moment, and the control quantity includes the position and speed information of the motor 1 and the position and speed information of the motor 2 .
所述驱动器1接口将所述将电机1的控制量发送给驱动器1,所述驱动器2接口将电机2的控制量发送给驱动器2。The interface of the driver 1 sends the control quantity of the motor 1 to the driver 1 , and the interface of the driver 2 sends the control quantity of the motor 2 to the driver 2 .
所述驱动器1和所述驱动器2根据所述发送的控制量,进行位置和速度环双闭环控制,即是,驱动器1驱动电机1按照相应的速度和位置进行运动,驱动器2驱动电机2按照相应的速度和位置进行运动。编码器1收集此时电机1实际的位置、速度信息,并将所述电机1实际的位置、速度信息通过驱动器1反馈给ARM同步控制板;编码器2收集此时电机2实际的位置、速度信息,并将所述电机2实际的位置、速度信息通过驱动器2反馈给ARM同步控制板。The driver 1 and the driver 2 perform double closed-loop control of position and speed loops according to the transmitted control amount, that is, the driver 1 drives the motor 1 to move according to the corresponding speed and position, and the driver 2 drives the motor 2 according to the corresponding speed. speed and position for movement. The encoder 1 collects the actual position and speed information of the motor 1 at this time, and feeds back the actual position and speed information of the motor 1 to the ARM synchronous control board through the driver 1; the encoder 2 collects the actual position and speed of the motor 2 at this time information, and feed back the actual position and speed information of the motor 2 to the ARM synchronous control board through the driver 2.
MCU单元将编码器1反馈的电机1实际的位置、速度信息和编码器2反馈的电机2实际的位置、速度信息,与数模转换单元转换的控制量做差得出电机1、电机2的跟踪误差,然后将电机1、电机2的跟踪误差实时送给同步误差传递函数。The MCU unit makes the difference between the actual position and speed information of motor 1 fed back by encoder 1 and the actual position and speed information of motor 2 fed back by encoder 2, and the control amount converted by the digital-to-analog conversion unit to obtain the motor 1 and motor 2 values. Tracking error, and then the tracking error of motor 1 and motor 2 is sent to the synchronization error transfer function in real time.
所述同步误差传递函数根据电机1、电机2的跟踪误差,计算出电机1、电机2的同步误差,然后将所述同步误差经过补偿器CC补偿,最终计算出补偿量,作为电机1和电机2的下一采样周期的控制量。MCU单元将所述下一采样周期的控制量通过CAN接口发给主控器。The synchronization error transfer function calculates the synchronization error of the motor 1 and the motor 2 according to the tracking errors of the motor 1 and the motor 2, and then compensates the synchronization error through the compensator CC , and finally calculates the compensation amount as the motor 1 and the motor 2. The control amount of the next sampling period of motor 2. The MCU unit sends the control quantity of the next sampling period to the main controller through the CAN interface.
图7是本发明移动CT同步扫描控制方法的作业流程图。Fig. 7 is a flow chart of the operation of the mobile CT synchronous scanning control method of the present invention.
本流程图以在一个采样周期内为例进行说明:This flowchart takes a sampling cycle as an example for illustration:
步骤S401:ARM同步控制板接收主控器发送的运行命令信息。Step S401: The ARM synchronous control board receives the running command information sent by the main controller.
步骤S402:ARM同步控制板将收到的主控器的命令信息通过数模转换单元转换成模拟信号,即转换成电机1和电机2当前时刻的控制量,所述控制量包括电机1的位置、速度信息和电机2的位置、速度信息。然后ARM同步控制板通过驱动器1接口将所述将电机1的控制量发送给驱动器1,通过驱动器2接口将电机2的控制量发送给驱动器2。Step S402: The ARM synchronous control board converts the command information received from the main controller into an analog signal through the digital-to-analog conversion unit, that is, into the control quantity of the motor 1 and the motor 2 at the current moment, and the control quantity includes the position of the motor 1 , speed information and the position and speed information of motor 2. Then the ARM synchronous control board sends the control quantity of the motor 1 to the driver 1 through the driver 1 interface, and sends the control quantity of the motor 2 to the driver 2 through the driver 2 interface.
步骤S403:驱动器1和驱动器2根据ARM同步控制板发送的控制量,进行位置和速度环双闭环控制,即是,驱动器1驱动电机1按照相应的速度和位置进行运动,驱动器2驱动电机2按照相应的速度和位置进行运动。同时,编码器1收集此时电机1实际的位置、速度信息,并将所述电机1实际的位置、速度信息通过驱动器1反馈给ARM同步控制板;编码器2收集此时电机2实际的位置、速度信息,并将所述电机2实际的位置、速度信息通过驱动器2反馈给ARM同步控制板。Step S403: Driver 1 and driver 2 perform position and speed loop double closed-loop control according to the control amount sent by the ARM synchronous control board, that is, driver 1 drives motor 1 to move according to the corresponding speed and position, and driver 2 drives motor 2 according to corresponding speed and position for movement. At the same time, the encoder 1 collects the actual position and speed information of the motor 1 at this time, and feeds back the actual position and speed information of the motor 1 to the ARM synchronous control board through the driver 1; the encoder 2 collects the actual position of the motor 2 at this time , speed information, and feed back the actual position and speed information of the motor 2 to the ARM synchronous control board through the driver 2.
步骤S404:ARM同步控制板将编码器1反馈的电机1实际的位置、速度信息和编码器2反馈的电机2实际的位置、速度信息,与步骤S402转换后得到的控制量做差得出电机1、电机2的跟踪误差,然后将电机1、电机2的跟踪误差实时送给同步误差传递函数。Step S404: The ARM synchronous control board makes the difference between the actual position and speed information of motor 1 fed back by encoder 1 and the actual position and speed information of motor 2 fed back by encoder 2, and the control amount obtained after conversion in step S402 to obtain the motor 1. The tracking error of motor 2, and then send the tracking errors of motor 1 and motor 2 to the synchronization error transfer function in real time.
步骤S405:同步误差传递函数根据电机1、电机2的跟踪误差,计算出电机1、电机2的同步误差,然后将所述同步误差经过补偿器补偿器补偿,最终计算出补偿量,作为电机1和电机2的下一采样周期的控制量。ARM同步控制板将所述下一采样周期的控制量通过CAN接口发给主控器。Step S405: The synchronous error transfer function calculates the synchronous error of motor 1 and motor 2 according to the tracking error of motor 1 and motor 2, and then compensates the synchronous error through the compensator compensator, and finally calculates the compensation amount as motor 1 and the control amount of the next sampling period of motor 2. The ARM synchronous control board sends the control quantity of the next sampling period to the main controller through the CAN interface.
依此循环,每间隔采样时间TS,ARM同步控制板中的定时器中断单元进行定时器中断处理,即进行步骤S401到步骤S405,实时计算出电机1、电机2之间的同步误差,然后计算出下一采样周期电机1和电机2的控制量,最终实现双电机的精确同步。According to this cycle, the timer interrupt unit in the ARM synchronous control board performs timer interrupt processing at every sampling time T S , that is, steps S401 to S405 are performed to calculate the synchronization error between motor 1 and motor 2 in real time, and then Calculate the control quantities of motor 1 and motor 2 in the next sampling period, and finally realize the precise synchronization of the two motors.
本发明以移动CT扫描仪为被控对象提出了一种基于同步误差传递函数的交叉耦合同步控制方案,并设计了实现该同步策略的硬件及软件系统,实现了移动CT螺旋同步扫描方式下双电机的精确同步,从而提高CT螺旋扫描模式下成像质量。The invention proposes a cross-coupling synchronization control scheme based on the synchronization error transfer function with the mobile CT scanner as the controlled object, and designs the hardware and software system for realizing the synchronization strategy, and realizes dual The precise synchronization of the motors improves the imaging quality in CT helical scan mode.
以上所述本发明的具体实施方式,并不构成对本发明保护范围的限定。任何根据本发明的技术构思所做出的各种其他相应的改变与变形,均应包含在本发明权利要求的保护范围内。The specific embodiments of the present invention described above do not constitute a limitation to the protection scope of the present invention. Any other corresponding changes and modifications made according to the technical concept of the present invention shall be included in the protection scope of the claims of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310399962.4A CN103746616B (en) | 2013-09-05 | 2013-09-05 | Mobile CT synchronous scannings control system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310399962.4A CN103746616B (en) | 2013-09-05 | 2013-09-05 | Mobile CT synchronous scannings control system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103746616A CN103746616A (en) | 2014-04-23 |
CN103746616B true CN103746616B (en) | 2017-03-29 |
Family
ID=50503617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310399962.4A Active CN103746616B (en) | 2013-09-05 | 2013-09-05 | Mobile CT synchronous scannings control system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103746616B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105167792B (en) * | 2014-11-24 | 2019-03-08 | 中国科学院苏州生物医学工程技术研究所 | A kind of multifunctional mobile CT motor control system and realization method |
CN104767427B (en) * | 2015-04-20 | 2017-12-05 | 赛诺威盛科技(北京)有限公司 | The synchronous control system and method for more motors in a kind of CT machines |
CN105320166B (en) * | 2015-12-04 | 2018-07-06 | 深圳华强智能技术有限公司 | Synchronous control system and equipment |
CN112612227A (en) * | 2020-12-09 | 2021-04-06 | 合肥中科离子医学技术装备有限公司 | Control method of particle rotating treatment room rotating rack |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101364105A (en) * | 2008-09-26 | 2009-02-11 | 浙江大学 | A Control Method for Improving Motion Accuracy of Dual-motor Drive Based on Real-time Control Network |
CN102355176A (en) * | 2011-09-16 | 2012-02-15 | 苏州生物医学工程技术研究所 | Dual-motor synchronous control system and implementation method |
CN202288321U (en) * | 2011-09-21 | 2012-07-04 | 上海西门子医疗器械有限公司 | CT (computed tomography) machine |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5389345B2 (en) * | 2007-10-04 | 2014-01-15 | ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー | X-ray CT system |
US7717619B2 (en) * | 2008-01-18 | 2010-05-18 | General Electric Company | Contactless power and data transmission apparatus |
-
2013
- 2013-09-05 CN CN201310399962.4A patent/CN103746616B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101364105A (en) * | 2008-09-26 | 2009-02-11 | 浙江大学 | A Control Method for Improving Motion Accuracy of Dual-motor Drive Based on Real-time Control Network |
CN102355176A (en) * | 2011-09-16 | 2012-02-15 | 苏州生物医学工程技术研究所 | Dual-motor synchronous control system and implementation method |
CN202288321U (en) * | 2011-09-21 | 2012-07-04 | 上海西门子医疗器械有限公司 | CT (computed tomography) machine |
Also Published As
Publication number | Publication date |
---|---|
CN103746616A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103746616B (en) | Mobile CT synchronous scannings control system and method | |
CN102355176A (en) | Dual-motor synchronous control system and implementation method | |
CN107538042B (en) | A rigid-flexible annular track hole-making system and its operation method | |
CN107932522A (en) | Five degree of freedom optical fabrication equipment and its method of work | |
CN106078698B (en) | A kind of multi-freedom parallel connection follower mechanism and its driving method | |
CN201242687Y (en) | Synchronous drive control device for lifting platform position | |
CN202727579U (en) | Full-automatic screen printing machine and CCD (Charge Coupled Device) lens alignment system thereof | |
CN105291438A (en) | Desktop stage 3D printer having 3D scanning function | |
CN110244660B (en) | peripheral configurable CT/PET-CT motion control system | |
CN103587719B (en) | The full-automatic drilling riveting localization method of flat part | |
CN204681449U (en) | A kind of 3-D scanning adjusting device | |
CN109291051B (en) | A closed-loop control method for terminal attitude of series-parallel robot based on angle sensor | |
CN101458497A (en) | Concurrency controlled cooking device by employing multi motor position rings and speed rings | |
CN113607053B (en) | Pose adjusting device, method and system based on barrel inner surface feature points | |
CN108733000A (en) | A kind of large format galvanometer system of processing and control method | |
CN107139193A (en) | The redundancy plane parallel mechanism control device and method of direct drive | |
CN103507397A (en) | Screen frame lifting device for printing machine | |
CN102248228A (en) | Numerical-control hobbing device for face gear | |
CN108750653B (en) | Control method of multi-track electronic cam picking and placing manipulator | |
CN105167792B (en) | A kind of multifunctional mobile CT motor control system and realization method | |
CN102172790B (en) | Numerical control gear hobbing processing control device and processing control method for face gear | |
CN215879904U (en) | Powder paving mechanism multi-shaft synchronous movement device of metal 3D printer | |
CN119292323A (en) | A posture adjustment system and method for automatic posture adjustment of aircraft | |
CN112792581A (en) | A high-precision gantry sliding table, control system and method with double-side synchronous drive | |
CN101917160A (en) | Spiral CT (Computed Tomography) synchronization control method and system for safety inspection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |