The utility model discloses a motor operation control system, which includes a motor and a servo controller connected electrically. The improvement of the system includes a control board equipped with a single chip computer, a photocoupler isolation module and a RS232 serial port to TTL module. The single chip computer is electrically connected with the communication port of the servo controller through the photocoupler isolation module, and one end of the RS232 serial port to TTL module is electrically connected with a single chip. Chip electromechanical connection, the other end can be connected with the serial signal line. The motor operation control system and control method disclosed by the utility model can realize the simple harmonic swing of the motor, set the frequency of the motor swing, the amplitude of the swing, the period of the swing, fine-tune the position of the motor, set whether the motor motion is a damping motion, and when there is damping, the amplitude of the motor becomes smaller and smaller until the final stop. If other acquisition devices and/or software are needed to sample the relevant data while the motor is running, synchronization can be achieved to ensure the synchronization of acquisition.
【技术实现步骤摘要】
一种电机运行控制系统
本技术属于电机运行控制领域,特别涉及该领域中的一种电机运行控制系统。
技术介绍
伺服电机一般包括电机主体和伺服控制器,伺服控制器可以控制电机简单的运行,但是复杂的运动,例如正弦规律摆动以及带阻尼的正弦规律摆动,伺服控制器目前还无法实现。
技术实现思路
本技术所要解决的技术问题就是提供一种可以控制电机进行正弦规律摆动以及带阻尼的正弦规律摆动的电机运行控制系统。本技术采用如下技术方案:一种电机运行控制系统,包括电机和与之电连接的伺服控制器,其改进之处在于:还包括一块安装有单片机、光耦隔离模块和RS232串口转TTL模块的控制板,其中单片机通过光耦隔离模块与伺服控制器的通讯端口电连接,RS232串口转TTL模块的一端与单片机电连接,另一端则可与串口信号线相连接。进一步的,伺服控制器的通讯端口内设控制方向的端子、接收脉冲的端子以及使能端子,其中控制方向的端子根据高低电平决定电机正转还是反转,接收脉冲的端子决定电机的运行角度和速度,使能端子根据高低电平决定电机运行还是不运行。一种电机运行控制方法,使用上述的控制系统,其改进之处在于,包括如下内容:根据控制精度要求将一个周期的正弦平均分成若干份,每份里的脉冲频率相同,但各份之间的脉冲个数和脉冲频率不同,将结果保存到数组中的无阻尼运行模式;计算50个周期的有阻尼运行模式并保存,在该模式下正弦摆动的幅值不断变化;单片机在收到从RS232串口转TTL模块转来的信息时,首先判断该信息是运行参数还是运行命令,如为运行参数则进行数据提取,提取的内容包括但不限于单圈脉冲数、摆动频率、摆动周期个数、幅值和阻尼系数,随后根 ...
【技术保护点】
1.一种电机运行控制系统,包括电机和与之电连接的伺服控制器,其特征在于:还包括一块安装有单片机、光耦隔离模块和RS232串口转TTL模块的控制板,其中单片机通过光耦隔离模块与伺服控制器的通讯端口电连接,RS232串口转TTL模块的一端与单片机电连接,另一端则可与串口信号线相连接。
【技术特征摘要】
1.一种电机运行控制系统,包括电机和与之电连接的伺服控制器,其特征在于:还包括一块安装有单片机、光耦隔离模块和RS232串口转TTL模块的控制板,其中单片机通过光耦隔离模块与伺服控制器的通讯端口电连接,RS232串口转TTL模块的一端与单片机电连接,另一端则可与串口信...
【专利技术属性】
技术研发人员:穆为磊,王玉学,刘贵杰,杜博文,李攻搏,
申请(专利权)人:中国海洋大学,
类型:新型
国别省市:山东,37
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。