CN100387397C - A control method for a crystal ball grinding/polishing machine - Google Patents
A control method for a crystal ball grinding/polishing machine Download PDFInfo
- Publication number
- CN100387397C CN100387397C CNB2005100182354A CN200510018235A CN100387397C CN 100387397 C CN100387397 C CN 100387397C CN B2005100182354 A CNB2005100182354 A CN B2005100182354A CN 200510018235 A CN200510018235 A CN 200510018235A CN 100387397 C CN100387397 C CN 100387397C
- Authority
- CN
- China
- Prior art keywords
- axis
- grinding
- crystal ball
- steps
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 239000013078 crystal Substances 0.000 title claims abstract description 53
- 238000005498 polishing Methods 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000033001 locomotion Effects 0.000 claims abstract description 15
- 238000006243 chemical reaction Methods 0.000 claims abstract description 13
- 238000004891 communication Methods 0.000 claims description 7
- 208000033748 Device issues Diseases 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract description 8
- 230000002093 peripheral effect Effects 0.000 abstract description 4
- 230000001276 controlling effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000007517 polishing process Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Images
Landscapes
- Grinding And Polishing Of Tertiary Curved Surfaces And Surfaces With Complex Shapes (AREA)
Abstract
本发明提供了一种用于水晶球磨削/抛光机的控制方法和控制装置,该方法将置于磨削/抛光机上水晶球的运动分解为X、Y、Z三坐标轴方向的运动,三坐标轴方向的运动由各自对应的步进电机驱动,且三坐标轴方向的角度或位置分别通过角度或位置传感器反馈给控制装置,控制装置至少包括控制模块、分别用于X、Y、Z三坐标轴方向驱动的三台步进电机、用于驱动各步进电机的步进电机驱动器,以及显示器和键盘,控制模块主要由带有或可扩展有A/D转换接口及足够串、并行接口的单片机及其外围常规电路组成。用该控制方法和控制装置对水晶球磨削/抛光机可实现全自动控制,大幅提高水晶球的制造精度,成品率,生产效率,同时降低生产成本。
The invention provides a control method and a control device for a crystal ball grinding/polishing machine, the method decomposes the movement of the crystal ball placed on the grinding/polishing machine into movements in the directions of X, Y, and Z coordinate axes, The movement in the direction of the three coordinate axes is driven by their corresponding stepping motors, and the angle or position in the direction of the three coordinate axes is respectively fed back to the control device through the angle or position sensor. The control device at least includes a control module for X, Y, Z Three stepper motors driven in the direction of the three coordinate axes, a stepper motor driver for driving each stepper motor, and a display and a keyboard, the control module is mainly composed of an A/D conversion interface and sufficient serial and parallel Interface microcontroller and its peripheral conventional circuits. The crystal ball grinding/polishing machine can be fully automatic controlled by using the control method and the control device, which greatly improves the manufacturing precision, yield and production efficiency of the crystal ball, and reduces production cost at the same time.
Description
技术领域 technical field
本发明涉及一种用于水晶球磨削/抛光机的控制方法,尤其是能实现对水晶球磨削/抛光机进行自动控制的控制方法。The invention relates to a control method for a crystal ball grinding/polishing machine, especially a control method capable of automatically controlling the crystal ball grinding/polishing machine.
背景技术 Background technique
目前,水晶球磨削/抛光机通常是由人工操作实现对水晶球各个三角面的磨削和抛光,由于水晶球上每个三角面的角度、位置各不相同,因此,人工很难在精度上保证每个三角面均匀一致,容易出现大小面的现象,导致上下半球的接线不准严重影响水晶球的外观,而且,人工操作速度慢,生产效率不高,材料损耗较多,操作过程中产生的冲力还会使磨削/抛光机上磨/抛盘的损耗比较大,影响磨/抛盘的使用寿命,从而使水晶球的生产成本较高。At present, crystal ball grinding/polishing machines are usually manually operated to grind and polish each triangular surface of the crystal ball. Since the angle and position of each triangular surface on the crystal ball are different, it is difficult for manual labor to adjust the accuracy. In order to ensure that each triangular surface is uniform, the phenomenon of large and small surfaces is prone to occur, resulting in inaccurate wiring of the upper and lower hemispheres and seriously affecting the appearance of the crystal ball. Moreover, the manual operation speed is slow, the production efficiency is not high, and the material loss is more. During the operation process The impulsive force produced will also cause a relatively large loss of the grinding/throwing disc on the grinding/polishing machine, which will affect the service life of the grinding/throwing disc, thereby making the production cost of the crystal ball higher.
发明内容 Contents of the invention
为了克服现有的水晶球磨削/抛光机精度差,生产成本高的不足,本发明提供了一种对水晶球磨削/抛光机进行自动控制的控制方法及实施该方法的控制装置,这种方法可以使磨削/抛光机在全自动状态下对水晶球进行磨削和抛光,不仅保证了水晶球上各三角面均匀一致,精度极高,同时也降低了生产成本。In order to overcome the disadvantages of poor precision and high production cost of the existing crystal ball grinding/polishing machine, the present invention provides a control method for automatically controlling the crystal ball grinding/polishing machine and a control device for implementing the method. This method enables the grinding/polishing machine to grind and polish the crystal ball in a fully automatic state, which not only ensures the uniformity and high precision of each triangular surface on the crystal ball, but also reduces the production cost.
本发明提供的技术方案是:一种用于水晶球磨削/抛光机的控制方法,其特殊之处是将置于磨削/抛光机上水晶球的运动分解为X、Y、Z三坐标轴方向的运动,且X、Y、Z三坐标轴方向的运动由各自独立对应的步进电机驱动,并按如下步骤进行控制:The technical solution provided by the present invention is: a control method for a crystal ball grinding/polishing machine, which is special in that the movement of the crystal ball placed on the grinding/polishing machine is decomposed into three coordinate axes of X, Y, and Z The movement in the direction, and the movement in the direction of the X, Y, and Z coordinate axes are driven by their independent corresponding stepper motors, and are controlled according to the following steps:
①对各参数进行初始化设定;① Initialize each parameter;
②通过X、Y、Z三坐标轴方向的角度或位置传感器反馈信息,控制装置发出指令分别驱动各电机使X、Y、Z轴位于各自的初始位置;②Through the angle or position sensor feedback information in the direction of the X, Y, and Z coordinate axes, the control device issues instructions to drive the motors respectively so that the X, Y, and Z axes are located at their respective initial positions;
③Y轴电机将安装有水晶球的机架沿Y轴设定方向转动到设定的角度;③The Y-axis motor rotates the frame with the crystal ball to the set angle along the Y-axis set direction;
④X轴电机将安装有水晶球的机架沿X轴设定方向转动到设定的角度;④ The X-axis motor rotates the frame with the crystal ball to the set angle along the X-axis set direction;
⑤Z轴电机带动安装有水晶球的机架向下移动,当水晶球接触到磨削/抛光机的磨/抛盘时,Z轴位置平衡传感器将信号反馈给控制装置,控制装置发出指令使Z轴电机停止运转或降低速度,从而机架也停止下移或开始缓慢下移;⑤The Z-axis motor drives the frame with the crystal ball to move downward. When the crystal ball touches the grinding/throwing disc of the grinding/polishing machine, the Z-axis position balance sensor will feed back the signal to the control device, and the control device will issue an instruction to make the Z-axis The motor stops or slows down so that the rack stops moving down or begins to move down slowly;
⑥Z轴电机带动机架向下慢速移动设定的距离,对水晶球的单个X轴面进行磨削或抛光;⑥The Z-axis motor drives the frame to move down slowly for a set distance, grinding or polishing a single X-axis surface of the crystal ball;
⑦Z轴电机驱动机架上移设定的距离,使机架抬起,完成单个X轴面的磨削或抛光;⑦The Z-axis motor drives the frame to move up the set distance, so that the frame is lifted, and the grinding or polishing of a single X-axis surface is completed;
⑧重复步骤④、⑤、⑥、⑦直至设定数量的X轴面磨削或抛光完毕;⑧Repeat steps ④, ⑤, ⑥, ⑦ until the set number of X-axis surface grinding or polishing is completed;
⑨重复步骤③、④、⑤、⑥、⑦、⑧直到设定数量的Y轴面的磨削或抛光完毕;⑨ Repeat
⑩完成所有磨削或抛光工作后,将各电机恢复到初始工作状态。⑩ After finishing all grinding or polishing work, restore each motor to its original working condition.
需初始化的参数主要包括各电机方向以及定时器的设定,X轴方向步进电机需要运行的步数、以及X轴轴面的个数、Y轴轴面的个数、每个轴面角度的步数转换、Z轴的工作台面步数、慢速运行的步数、返回台面的高度步数、停留时间设定以及串行接口的通讯速率;The parameters to be initialized mainly include the direction of each motor and the setting of the timer, the number of steps that the stepper motor needs to run in the X-axis direction, the number of X-axis planes, the number of Y-axis planes, and the angle of each plane. The number of steps converted, the number of steps on the Z-axis worktable, the number of slow-running steps, the number of steps back to the height of the table, the setting of the dwell time and the communication rate of the serial interface;
实施该控制方法的控制装置至少包括控制模块、分别用于X、Y、Z三坐标轴方向驱动的三台步进电机、用于驱动各步进电机的与控制模块相连的步进电机驱动器,以及显示器和键盘,控制模块主要由带有或可扩展A/D转换接口及足够串、并行接口的单片机及其外围常规电路组成,各步进电机驱动器、显示器、键盘和X、Y、Z轴零位置传感器、Z轴平衡传感器分别通过接口或直接与单片机连接,Y轴角度传感器可经A/D转换后与单片机连接或者直接与单片机连接。The control device for implementing the control method at least includes a control module, three stepper motors respectively used for driving in the directions of X, Y, and Z coordinate axes, and a stepper motor driver connected to the control module for driving each stepper motor, As well as display and keyboard, the control module is mainly composed of single-chip microcomputer with or expandable A/D conversion interface and sufficient serial and parallel interfaces and its peripheral conventional circuits, each stepper motor driver, display, keyboard and X, Y, Z axis The zero position sensor and the Z-axis balance sensor are respectively connected to the single-chip microcomputer through an interface or directly, and the Y-axis angle sensor can be connected to the single-chip microcomputer after A/D conversion or directly connected to the single-chip microcomputer.
控制模块可选用型号为AVRMEGA128的单片机,该单片机具有A/D转换功能和几十个I/O口,足以满足本装置对接口数量的要求。The control module can be a single-chip microcomputer model AVRMEGA128, which has A/D conversion function and dozens of I/O ports, which is enough to meet the requirements of the device for the number of interfaces.
控制模块也可选用MCS51系列的单片机,该单片机必须扩展有接口电路,接口电路包括RS232串行通讯接口、A/D转换接口和8255或其它并行接口芯片或芯片组。The control module can also choose MCS51 series single-chip microcomputer, which must be extended with interface circuit, and the interface circuit includes RS232 serial communication interface, A/D conversion interface and 8255 or other parallel interface chips or chipsets.
为使控制装置更加完善,单片机外扩展RAM存储器,显示器则使用128X64带汉字的显示模块。In order to make the control device more perfect, the single-chip microcomputer expands the RAM memory, and the display uses a 128X64 display module with Chinese characters.
本发明的有益效果是,通过将水晶球的运动分解为X、Y、Z三坐标轴方向的运动后,按本发明提供的控制方法和控制装置进行控制可实现对水晶球磨削/抛光过程的完全自动化,从而提高水晶球的精度,并降低水晶球的生产成本。而且本发明中水晶球与磨/抛盘之间接触时为柔性接触,即水晶球接触磨/抛盘表面时,一经感应器感知、反馈,控制装置就会发出指令,使驱动水晶球运动的步进电机停止运转或降低转速,减少水晶球与磨/抛盘的硬碰撞,达到大幅度提高水晶球的成品率和精度的效果。The beneficial effect of the present invention is that, after decomposing the motion of the crystal ball into the motion of the X, Y, and Z coordinate axis directions, the grinding/polishing process of the crystal ball can be realized by controlling the control method and the control device provided by the present invention. The complete automation of the crystal ball improves the accuracy of the crystal ball and reduces the production cost of the crystal ball. Moreover, in the present invention, the contact between the crystal ball and the grinding/throwing disc is flexible contact, that is, when the crystal ball touches the surface of the grinding/throwing disc, once the sensor senses and feedbacks, the control device will issue instructions to drive the stepping motion of the crystal ball. The motor stops running or the speed is reduced to reduce the hard collision between the crystal ball and the grinding/throwing plate, so as to greatly improve the yield and precision of the crystal ball.
附图说明 Description of drawings
下面结合附图对本发明作进一步说明。The present invention will be further described below in conjunction with accompanying drawing.
图1是本发明中控制装置的电气原理框图。Fig. 1 is the electrical principle block diagram of the control device in the present invention.
图2是本发明实施例中控制装置的电气原理图。Fig. 2 is an electrical schematic diagram of the control device in the embodiment of the present invention.
图中,1、控制模块,2、键盘,3、显示器,4、X、Y、Z轴零位置传感器,4.1、X轴零位置传感器,4.2、Y轴零位置传感器,4.3、Z轴零位置传感器,5、Z轴平衡传感器,6、Y轴角度传感器,7、X轴步进电机驱动器,8、X轴步进电机,9、Y轴步进电机驱动器,10、Y轴步进电机,11、Z轴步进电机驱动器,12、Z轴步进电机,13、AVR MEGA128单片机,14、MAX232串行通讯接口,15、7805稳压电源,16、RAM存储器,17、并行接口8255芯片,18、74HC138地址译码器。In the figure, 1. Control module, 2. Keyboard, 3. Display, 4. X, Y, Z axis zero position sensor, 4.1, X axis zero position sensor, 4.2, Y axis zero position sensor, 4.3, Z axis zero position Sensor, 5. Z-axis balance sensor, 6. Y-axis angle sensor, 7. X-axis stepping motor driver, 8. X-axis stepping motor, 9. Y-axis stepping motor driver, 10. Y-axis stepping motor, 11. Z-axis stepping motor driver, 12. Z-axis stepping motor, 13. AVR MEGA128 microcontroller, 14. MAX232 serial communication interface, 15. 7805 regulated power supply, 16. RAM memory, 17.
具体实施方式 Detailed ways
本发明提供的控制方法是将置于磨削/抛光机上水晶球的运动分解为X、Y、Z三坐标轴方向的运动,X、Y、Z三坐标轴方向的运动由各自独立对应的步进电机驱动,且X、Y、Z三坐标轴方向的角度或位置分别通过角度或位置传感器感知并反馈给控制装置,通过控制装置按如下步骤进行控制:The control method provided by the present invention is to decompose the motion of the crystal ball placed on the grinding/polishing machine into motions in the directions of X, Y, and Z coordinate axes. Driven by a motor, and the angle or position of the three coordinate axes of X, Y, and Z is sensed by the angle or position sensor and fed back to the control device, and the control device is controlled according to the following steps:
①对各参数进行初始化设定,参数主要包括各电机方向以及定时器的设定,X轴方向步进电机需要运行的步数、以及X轴轴面的个数、Y轴轴面的个数、每个轴面角度的步数转换、Z轴的工作台面步数、慢速运行的步数、返回台面的高度步数、停留时间设定以及串行接口的通讯速率;X轴每个轴面的运行步数通过公式
②通过X、Y、Z三坐标轴方向的角度或位置传感器反馈的信息,控制模块发出指令分别驱动各电机使X、Y、Z轴位于各自的初始位置;②According to the angles in the directions of the X, Y, and Z coordinate axes or the information fed back by the position sensor, the control module issues instructions to drive the motors respectively so that the X, Y, and Z axes are located at their respective initial positions;
③Y轴电机将安装有水晶球的机架沿Y轴设定方向转动到设定的角度;③The Y-axis motor rotates the frame with the crystal ball to the set angle along the Y-axis set direction;
④X轴电机将安装有水晶球的机架沿X轴设定方向转动到设定的角度;④ The X-axis motor rotates the frame with the crystal ball to the set angle along the X-axis set direction;
⑤Z轴电机带动安装有水晶球的机架向下移动,当水晶球接触到磨削/抛光机的磨/抛盘时,Z轴位置传感器即将信号反馈给控制装置,控制装置发出指令使Z轴电机停止运转或降低速度,从而机架也停止下移或开始缓慢下移,机架停止下移后,也可令其停留设定的一段时间,再发出指令使电机带动机架继续慢速向下移动,然后再次停留一段时间;⑤The Z-axis motor drives the frame with the crystal ball to move downwards. When the crystal ball touches the grinding/throwing disc of the grinding/polishing machine, the Z-axis position sensor will feed back the signal to the control device, and the control device will issue an instruction to make the Z-axis motor Stop the operation or reduce the speed, so that the frame also stops moving down or starts to move down slowly. After the frame stops moving down, it can also be allowed to stay for a set period of time, and then an instruction is issued to make the motor drive the frame to continue to move down slowly. move, then stay again for a while;
⑥Z轴电机带动机架向下慢速移动设定的距离,对水晶球的单个X轴面进行磨削或抛光;⑥The Z-axis motor drives the frame to move down slowly for a set distance, grinding or polishing a single X-axis surface of the crystal ball;
⑦Z轴电机驱动机架上移设定的距离,使机架抬起,完成单个X轴面的磨削或抛光;⑦The Z-axis motor drives the frame to move up the set distance, so that the frame is lifted, and the grinding or polishing of a single X-axis surface is completed;
⑧重复步骤④、⑤、⑥、⑦直至设定数量的X轴面磨削或抛光完毕;⑧Repeat steps ④, ⑤, ⑥, ⑦ until the set number of X-axis surface grinding or polishing is completed;
⑨重复步骤③、④、⑤、⑥、⑦、⑧直到设定数量的Y轴面的磨削或抛光完毕;⑨ Repeat steps ③, ④, ⑤, ⑥, ⑦, ⑧ until the grinding or polishing of the set number of Y-axis surfaces is completed;
⑩完成所有磨削或抛光工作后,将各电机恢复到初始工作状态。⑩ After finishing all grinding or polishing work, restore each motor to its original working condition.
为实施上述控制方法,本发明提供了相应的控制装置,如图1所示控制装置主要包括控制模块1、三套步进电机驱动器7、9、11和步进电机8、10、12、显示器3和键盘2,X、Y、Z轴零位置传感器4、Z轴平衡传感器5、Y轴角度传感器6几部分。控制模块1只须满足具有A/D转换接口、串行接口、足够的并行接口及编程功能即可,一般情况下,要求其至少有一个A/D转换接口、一个串行接口、14个I/O接口,控制模块1可以是由带有A/D转换接口及足够串、并行接口的单片机及其外围常规电路组成,如选用型号为AVRMEGA128的单片机,控制模块1也可以由可扩展有A/D转换接口、接口电路的其它单片机及其外围常规电路组成,如单片机选用MCS51系列的单片机,该单片机外部扩展由MAX232串行通讯接口和并行接口8255或其它并行接口芯片、任意10位A/D转换接口构成的接口电路,各步进电机驱动器7、9、11、显示器3、键盘2和各传感器4、5、6分别通过接口与单片机连接。图2中给出了本发明可采用的控制装置的具体实施例,控制模块1包括AVR MEGA128单片机13、7805稳压电源15、AVRMEGA128单片机13外部扩展有MAX232串行通讯接口14和62256RAM存储器16,X、Y、Z轴零位置传感器4.1、4.2、4.3、Z轴平衡传感器5、Y轴角度传感器6以及分别用于X、Y、Z轴三方向的步进电机驱动器7、9、11直接通过AVRMEGA128单片机13上的接口与其连接,Z轴平衡传感器5为两个位置传感器5.1、5.2,分设于Z轴左右两边,各位置传感器均可采用霍尔开关型传感器,本实施例中采用的是型号为A3144的霍尔开关型传感器,三台步进电机8、10、12分别与对应的步进电机驱动器7、9、11相连,本实施例中步进电机全部为三相步进电机,步进电机驱动器的型号均为SJ-380,其控制信号与MEGA128单片机13直接连接,显示器3和键盘2经过并行接口8255芯片17接于AVRMEGA128单片机13上,地址译码器74HC13818用于访问不同器件时地址译码,显示器使用128X64带汉字的显示模块,以方便人机对话。For implementing above-mentioned control method, the present invention provides corresponding control device, and control device mainly comprises
用本发明提供的控制方法及控制装置对水晶球磨削/抛光机进行控制时,具体工作过程如下:When controlling the crystal ball grinding/polishing machine with the control method and control device provided by the present invention, the concrete work process is as follows:
从键盘上发出开始工作的指令后,控制装置就开始正常的工作过程。After the command to start working is issued from the keyboard, the control device starts the normal working process.
首先单片机发出指令使各个步进电机找零位,方向信号先被送到各个步进电机驱动器上,然后单片机发出脉冲信号给各步进电机驱动器,步进电机开始转动,运行设定步数后,步进电机停止运转;控制模块又送出与上面方向相反的方向信号到驱动器上,随后单片机又发出脉冲信号,步进电机开始反方向运转,步进电机在转动的过程中,控制模块同时检测各轴零位置传感器的信号,当某个轴位置传感器信号发生变化时,说明该轴已经到达零位置,则控制模块发出指令使对应步进电机停止运转,控制装置继续发送脉冲信号,直到所有步进电机都找到各自的零位置。First, the single-chip microcomputer sends an instruction to make each stepping motor find the zero position, and the direction signal is first sent to each stepping motor driver, and then the single-chip microcomputer sends a pulse signal to each stepping motor driver, and the stepping motor starts to rotate. After running the set number of steps , the stepper motor stops running; the control module sends a direction signal opposite to the direction above to the driver, and then the microcontroller sends out a pulse signal, and the stepper motor starts to run in the opposite direction. During the rotation of the stepper motor, the control module simultaneously detects The signal of the zero position sensor of each axis, when the signal of a certain axis position sensor changes, it means that the axis has reached the zero position, then the control module sends an instruction to stop the corresponding stepping motor, and the control device continues to send pulse signals until all the steps Both feed motors find their own zero positions.
各轴步进电机到达零位置后,开始对水晶球进行磨削/抛光。After the stepper motors of each axis reach the zero position, the grinding/polishing of the crystal ball begins.
控制模块设定Y轴面的角度,同时发出方向信号和脉冲信号到Y轴步进电机驱动器,使Y轴步进电机开始运动;同时在控制模块的A/D转换接口上检测角度传感器的变化,将传感器检测到的角度与设定的角度相比较,如果相同则停止向Y轴步进电机驱动器发送脉冲信号,否则继续发送脉冲信号,直到检测到的角度与设定的角度相同为止,控制模块才停止发送脉冲信号到Y轴步进电机驱动器。The control module sets the angle of the Y-axis plane, and at the same time sends direction signals and pulse signals to the Y-axis stepping motor driver to make the Y-axis stepping motor start to move; at the same time, the change of the angle sensor is detected on the A/D conversion interface of the control module , compare the angle detected by the sensor with the set angle, if they are the same, stop sending pulse signals to the Y-axis stepper motor driver, otherwise continue to send pulse signals until the detected angle is the same as the set angle, control The module stops sending pulse signals to the Y-axis stepper motor driver.
然后控制模块设定X轴转动的步数,随后向X轴步进电机驱动器发送方向信号和脉冲信号,使该轴步进电机开始转动,直到X轴转动步数为零时,停止对该轴发送脉冲信号,X轴的一个面转动完成。Then the control module sets the number of steps of the X-axis rotation, and then sends a direction signal and a pulse signal to the X-axis stepping motor driver to make the stepping motor of this axis start to rotate until the number of X-axis rotation steps is zero, and then stop the rotation of the axis. Send a pulse signal, and one plane rotation of the X axis is completed.
其后控制模块依次发送方向信号、脉冲信号至Z轴步进电机驱动器,使Z轴步进电机转动,并带动机架沿Z轴方向向下移动,当水晶球接触到磨/抛盘的瞬间,位于Z轴两端的Z轴平衡传感器的信号就会发生变化,信号被反馈到控制模块后,控制模块立即停止向Z轴步进电机驱动器发送脉冲信号,步进电机随即停止转动,此时控制装置设定后续Z轴步进电机要运行的步数,并改变向Z轴步进电机驱动器发出的脉冲信号的频率,使步进电机运转的速度降低或者控制装置暂停向Z轴步进电机驱动器发送脉冲信号,使Z轴步进电机停止运转一段设定的时间,然后再继续向Z轴步进电机驱动器发送脉冲信号,运行设定数量的步数后,停止发送脉冲信号,同时发出使Z轴步进电机反方向运动的方向信号,改变Z轴步进电机的运动方向,重新设定步进电机运动的步数,再发送脉冲信号至Z轴步进电机驱动器,此时Z轴步进电机就会带动机架向上移动,直到Z轴设定步数为零时,停止对Z轴步进电机驱动器发送脉冲信号,Z轴步进电机停止运转。Then the control module sends direction signals and pulse signals to the Z-axis stepping motor driver in turn to make the Z-axis stepping motor rotate and drive the rack to move down along the Z-axis direction. When the crystal ball touches the grinding/throwing disc, The signal of the Z-axis balance sensor located at both ends of the Z-axis will change. After the signal is fed back to the control module, the control module immediately stops sending pulse signals to the Z-axis stepping motor driver, and the stepping motor stops rotating immediately. At this time, the control device Set the number of steps to be followed by the Z-axis stepper motor, and change the frequency of the pulse signal sent to the Z-axis stepper motor driver, so that the speed of the stepper motor is reduced or the control device stops sending the pulse signal to the Z-axis stepper motor driver. Pulse signal to make the Z-axis stepping motor stop running for a set period of time, and then continue to send pulse signals to the Z-axis stepping motor driver. After running the set number of steps, stop sending pulse signals, and send out the Z-axis The direction signal of the stepping motor moving in the opposite direction changes the moving direction of the Z-axis stepping motor, resets the number of steps of the stepping motor, and then sends a pulse signal to the Z-axis stepping motor driver. At this time, the Z-axis stepping motor It will drive the rack to move upwards until the number of Z-axis set steps is zero, stop sending pulse signals to the Z-axis stepping motor driver, and the Z-axis stepping motor stops running.
这样便完成了对X轴单个面的磨削/抛光,接着控制装置判断X轴面的磨削/抛光数量是否为设定值,(该值在初始化时设定),如果与设定值不同,则面号设定为下一个X轴面,再重复上述对Z轴步进电机驱动器的控制过程,完成X轴方向所有设定面的磨削/抛光,当与设定值相同时,则说明对X轴方向所有设定面的磨削/抛光已完成,然后继续下面的过程。In this way, the grinding/polishing of a single surface of the X-axis is completed, and then the control device judges whether the number of grinding/polishing of the X-axis surface is the set value, (this value is set during initialization), if it is different from the set value , then the surface number is set as the next X-axis surface, and then repeat the above-mentioned control process of the Z-axis stepper motor driver to complete the grinding/polishing of all the set surfaces in the X-axis direction. When it is the same as the set value, then Indicates that the grinding/polishing of all set surfaces in the X-axis direction has been completed, and then proceed to the following process.
控制模块判断Y轴面的磨削/抛光数量是否为设定值,如果不是将继续上述对X、Z轴两方向各步进电机驱动器的控制过程,若磨削/抛光数量与设定值相同则继续下面的过程。The control module judges whether the grinding/polishing quantity of the Y-axis surface is the set value, and if not, continues the above-mentioned control process for each stepper motor driver in the X and Z directions, if the grinding/polishing quantity is the same as the set value Then continue the following process.
控制模块先设定X轴步进电机的转动方向,并计算和设定该轴需要转动的步数,然后向X轴步进电机驱动器发送脉冲信号,计数器开始工作,当该步数为零时,控制装置停止向X轴步进电机发送脉冲信号,X轴步进电机停止转动,该轴复位。The control module first sets the rotation direction of the X-axis stepping motor, and calculates and sets the number of steps that the axis needs to rotate, and then sends a pulse signal to the X-axis stepping motor driver, and the counter starts to work. When the number of steps is zero , the control device stops sending pulse signals to the X-axis stepping motor, the X-axis stepping motor stops rotating, and the axis resets.
控制模块先设定Y轴步进电机与正常工作方向相反的方向信号,然后向Y轴步进电机驱动器发送方向信号和脉冲信号,驱动Y轴步进电机反向转动,机架在Y轴方向沿原来的路径返回到初始位置。The control module first sets the direction signal of the Y-axis stepping motor opposite to the normal working direction, and then sends the direction signal and pulse signal to the Y-axis stepping motor driver to drive the Y-axis stepping motor to rotate in the opposite direction, and the frame is in the Y-axis direction. Return to the original position along the original path.
控制模块先设定Z轴步进电机与原运动方向相反的方向信号,并设定Z轴需要运行的步数,然后向Z轴步进电机驱动器发送方向和脉冲信号,驱动Z轴步进电机向上移动到初始位置。The control module first sets the direction signal of the Z-axis stepping motor opposite to the original movement direction, and sets the number of steps that the Z-axis needs to run, and then sends the direction and pulse signals to the Z-axis stepping motor driver to drive the Z-axis stepping motor Move up to the initial position.
完成上述工作过程后,即完成了对整个水晶球的磨削/抛光。After completing the above work process, the grinding/polishing of the entire crystal ball is completed.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100182354A CN100387397C (en) | 2005-02-01 | 2005-02-01 | A control method for a crystal ball grinding/polishing machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100182354A CN100387397C (en) | 2005-02-01 | 2005-02-01 | A control method for a crystal ball grinding/polishing machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1657233A CN1657233A (en) | 2005-08-24 |
CN100387397C true CN100387397C (en) | 2008-05-14 |
Family
ID=35007039
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100182354A Expired - Fee Related CN100387397C (en) | 2005-02-01 | 2005-02-01 | A control method for a crystal ball grinding/polishing machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100387397C (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102975087A (en) * | 2012-12-21 | 2013-03-20 | 李绣峰 | Hob grinder |
US10663163B2 (en) | 2012-11-30 | 2020-05-26 | Saudi Arabian Oil Company | Staged chemical looping process with integrated oxygen generation |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101596698B (en) * | 2009-07-10 | 2011-11-16 | 兰州瑞德实业集团有限公司 | Controller for controlling numerically-controlled precise grinding polisher |
CN102490110A (en) * | 2011-12-02 | 2012-06-13 | 浙江理工大学 | Control device for crystal grinding machine |
CN103398699A (en) * | 2013-08-16 | 2013-11-20 | 常熟市苏常工程质量检测有限公司 | Levelness test equipment |
CN106249691B (en) * | 2016-08-26 | 2019-02-19 | 浙江海澄德畅机械有限公司 | A kind of intelligence control system of the planer with three-dimensional space locomotive function |
CN110370156B (en) * | 2019-07-24 | 2024-08-13 | 武汉上谱分析科技有限责任公司 | Special lightweight polishing machine for epoxy resin targets and nonmetallic ceramics |
CN112548833A (en) * | 2020-12-29 | 2021-03-26 | 南京波特光电有限公司 | Optical lens polishing control system |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN87202695U (en) * | 1987-02-28 | 1988-01-20 | 新疆自治区物资局运输公司修理厂 | Gem grinding machine |
JPH0197564A (en) * | 1987-10-07 | 1989-04-17 | Hitachi Seiki Co Ltd | Machining center grinding equipment |
US4821460A (en) * | 1986-06-11 | 1989-04-18 | Meseltron S.A. | Arrangement for controlling the speed of advance of a tool toward a workpiece |
JPH03142306A (en) * | 1989-10-30 | 1991-06-18 | Toyoda Mach Works Ltd | Grinding wheel position measuring instrument |
JPH07100752A (en) * | 1993-09-30 | 1995-04-18 | Toyoda Mach Works Ltd | Curved surface working device |
JPH08192348A (en) * | 1995-01-12 | 1996-07-30 | Fuji Xerox Co Ltd | Grinding and polishing method and device therefor |
US5711696A (en) * | 1994-04-28 | 1998-01-27 | Toyoda Koki Kabushiki Kaisha | Apparatus for machining a workpiece to non-revolute symmetric and aspherical surface |
JPH10315111A (en) * | 1997-05-14 | 1998-12-02 | Ricoh Co Ltd | Curved surface machining device |
JP2002127006A (en) * | 2000-10-24 | 2002-05-08 | Okamoto Machine Tool Works Ltd | Surface grinding method for work |
CN2538488Y (en) * | 2001-10-01 | 2003-03-05 | 四川成发航空科技股份有限公司 | Numerical control abrasive belt grinding machine |
CN1544205A (en) * | 2003-11-19 | 2004-11-10 | 石家庄轴承设备股份有限公司 | Numerical control system and method for logarithmic curve convexity race grinding machine |
CN2774707Y (en) * | 2005-02-01 | 2006-04-26 | 朱志刚 | Controller for crystal ball grinding and polishing machine |
-
2005
- 2005-02-01 CN CNB2005100182354A patent/CN100387397C/en not_active Expired - Fee Related
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4821460A (en) * | 1986-06-11 | 1989-04-18 | Meseltron S.A. | Arrangement for controlling the speed of advance of a tool toward a workpiece |
CN87202695U (en) * | 1987-02-28 | 1988-01-20 | 新疆自治区物资局运输公司修理厂 | Gem grinding machine |
JPH0197564A (en) * | 1987-10-07 | 1989-04-17 | Hitachi Seiki Co Ltd | Machining center grinding equipment |
JPH03142306A (en) * | 1989-10-30 | 1991-06-18 | Toyoda Mach Works Ltd | Grinding wheel position measuring instrument |
JPH07100752A (en) * | 1993-09-30 | 1995-04-18 | Toyoda Mach Works Ltd | Curved surface working device |
US5711696A (en) * | 1994-04-28 | 1998-01-27 | Toyoda Koki Kabushiki Kaisha | Apparatus for machining a workpiece to non-revolute symmetric and aspherical surface |
JPH08192348A (en) * | 1995-01-12 | 1996-07-30 | Fuji Xerox Co Ltd | Grinding and polishing method and device therefor |
JPH10315111A (en) * | 1997-05-14 | 1998-12-02 | Ricoh Co Ltd | Curved surface machining device |
JP2002127006A (en) * | 2000-10-24 | 2002-05-08 | Okamoto Machine Tool Works Ltd | Surface grinding method for work |
CN2538488Y (en) * | 2001-10-01 | 2003-03-05 | 四川成发航空科技股份有限公司 | Numerical control abrasive belt grinding machine |
CN1544205A (en) * | 2003-11-19 | 2004-11-10 | 石家庄轴承设备股份有限公司 | Numerical control system and method for logarithmic curve convexity race grinding machine |
CN2774707Y (en) * | 2005-02-01 | 2006-04-26 | 朱志刚 | Controller for crystal ball grinding and polishing machine |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10663163B2 (en) | 2012-11-30 | 2020-05-26 | Saudi Arabian Oil Company | Staged chemical looping process with integrated oxygen generation |
CN102975087A (en) * | 2012-12-21 | 2013-03-20 | 李绣峰 | Hob grinder |
CN102975087B (en) * | 2012-12-21 | 2015-04-15 | 李绣峰 | Hob grinder |
Also Published As
Publication number | Publication date |
---|---|
CN1657233A (en) | 2005-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6130342A (en) | Profile machining device | |
CN102121175B (en) | Programming control system of pattern sewing machine based on PLC (Programmable Logic Controller) | |
CN100387397C (en) | A control method for a crystal ball grinding/polishing machine | |
CN201195220Y (en) | High-frequency control system of medium-wire-walking numerical control machine | |
CN101216704A (en) | Special control system for multi-station CNC engraving | |
CN111081113B (en) | An experimental platform for simulating aerial refueling and docking between two aircraft | |
CN201544079U (en) | Automatic grinding control system of surface grinding machine | |
CN203124869U (en) | Numerically-controlled gear hobbing machine provided with transposition tailstock | |
CN202720488U (en) | Automatic Control System of Bending Machine Based on PLC | |
CN102830658A (en) | Embedded numerical control system for multi-shaft numerical control machine tool | |
CN201361604Y (en) | Rotation-type off-line dispenser | |
CN201432104Y (en) | Automatic embroidery machine | |
CN203275955U (en) | Motion control system of chip mounter | |
CN2825203Y (en) | Crystal grinding and polishing machine | |
CN203141215U (en) | Implementation device of numerical control machine tool control system | |
CN2774707Y (en) | Controller for crystal ball grinding and polishing machine | |
CN201586691U (en) | Automatic feeding punch | |
CN108803500A (en) | A multi-motor motion control system and control method for a ring throwing machine | |
CN105643628B (en) | The kinetic control system of Cartesian robot | |
CN101296778A (en) | Position control device of worktable | |
CN100509396C (en) | Electric control system of the printing head having the speed showing and teaching function | |
CN208664636U (en) | A kind of automation inking machine | |
CN207480588U (en) | Bipolar coordinate control system based on CAD auxiliary | |
CN209657647U (en) | A kind of numerical control machine for electromechanical teaching | |
CN202570493U (en) | Three-axis mechanical arm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |