基于自主PAC的贴片机研究
发布时间:2018-08-23 10:44
【摘要】:贴片机作为SMT生产线的核心,其拥有的数量和先进程度已经成为衡量一个企业、地区和国家的电子制造能力的指标。市场上数百种类型的贴片机大多应用于大中型企业,为使贴片机普及化,本论文提出了面向中小企业及个人的经济型贴片机,主要做了以下几部分内容: 首先,对面向中小企业及个人的经济型贴片机进行整体结构设计。在UG中对主要零件进行建模并完成装配。本文设计的贴片机结构件大多使用型材进行加工,传动采用步进电机带动同步带,通过计算能满足贴片机的精度需求。 其次,作为本论文的重点,设计了具有自主知识产权的异构多核可编程自动控制器(PAC),可分为独立态和组合态两种功能使用。独立态下主要有以下功能:4路步进电机的控制、2路伺服电机的控制、4路编码器的反馈、16路专用信号的输入和常用的下载与通信接口,如JTAG、USB、SPI、CAN、485等;组合态下可外接I/O主板跟模拟主板,通过自定义型SPI总线可实现主机和从机的互相切换,满足不同的需求,可作为对运动控制器的扩展开发之用。在PAC硬件设计中,对各个主板上主要的控制信号与通信信号都进行了光电隔离,以保护主控芯片。PAC软件部分设计了用于控制步进电机运转的测试界面,可以实现对各轴的常速及加减速点位控制、急停及恢复等功能,开发运动控制函数库,通过简单的函数调用即可完成编程,实现对各轴的控制。 最后,完成了贴片机视觉系统的设计。用OpenCV对需贴元件的照片、PCB板的焊盘位置进行图像处理,得到芯片的外形轮廓,,通过计算将得到的位置及角度信息反馈给控制器,控制器发出命令使各轴完成指定距离的运转,最终完成贴装过程。
[Abstract]:As the core of SMT production line, placement machine has become an index to measure the electronic manufacturing capability of an enterprise, a region and a country. Hundreds of kinds of placement machines are mostly used in large and medium-sized enterprises in the market. In order to popularize the placement machines, this paper puts forward the economic placement machine for small and medium-sized enterprises and individuals. The main contents are as follows: first, The whole structure of the economic placement machine for small and medium sized enterprises and individuals is designed. Modeling and assembly of main parts in UG. Most of the structural parts designed in this paper are processed with profile, and the drive adopts step motor to drive the synchronous belt, which can meet the precision requirement of the placement machine by calculation. Secondly, as the focus of this thesis, a heterogeneous multi-core programmable automatic controller (PAC),) with independent intellectual property rights is designed, which can be divided into two functions: independent state and combined state. In the independent state, there are the following functions: the control of the four-way stepping motor and the control of the two-way servo motor; the feedback of the four-way encoder; the input of 16 special signals and the commonly used download and communication interface, such as JTAGG-USBPICAN485; I / O motherboard and analog motherboard can be connected to each other in the combined state. Through the custom SPI bus, the host and slave can switch each other to meet different requirements, and it can be used as the extension development of motion controller. In the hardware design of PAC, the main control signals and communication signals on each motherboard are optoelectronic isolated, and the test interface for controlling the running of stepping motor is designed in the software part of the protection master control chip .PAC. The functions of constant speed, acceleration and deceleration point control, sudden stop and recovery of each axis can be realized, and the motion control function library can be developed. The program can be completed by simple function call, and the control of each axis can be realized. Finally, the design of the vision system of the placement machine is completed. OpenCV is used to process the pad position of the photo PCB board to be affixed to the components, and the outline of the chip is obtained. The position and angle information is fed back to the controller by calculation. The controller sends out the command to make each axis complete the operation of the specified distance. The final installation process is completed.
【学位授予单位】:长安大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP273;TN405
本文编号:2198840
[Abstract]:As the core of SMT production line, placement machine has become an index to measure the electronic manufacturing capability of an enterprise, a region and a country. Hundreds of kinds of placement machines are mostly used in large and medium-sized enterprises in the market. In order to popularize the placement machines, this paper puts forward the economic placement machine for small and medium-sized enterprises and individuals. The main contents are as follows: first, The whole structure of the economic placement machine for small and medium sized enterprises and individuals is designed. Modeling and assembly of main parts in UG. Most of the structural parts designed in this paper are processed with profile, and the drive adopts step motor to drive the synchronous belt, which can meet the precision requirement of the placement machine by calculation. Secondly, as the focus of this thesis, a heterogeneous multi-core programmable automatic controller (PAC),) with independent intellectual property rights is designed, which can be divided into two functions: independent state and combined state. In the independent state, there are the following functions: the control of the four-way stepping motor and the control of the two-way servo motor; the feedback of the four-way encoder; the input of 16 special signals and the commonly used download and communication interface, such as JTAGG-USBPICAN485; I / O motherboard and analog motherboard can be connected to each other in the combined state. Through the custom SPI bus, the host and slave can switch each other to meet different requirements, and it can be used as the extension development of motion controller. In the hardware design of PAC, the main control signals and communication signals on each motherboard are optoelectronic isolated, and the test interface for controlling the running of stepping motor is designed in the software part of the protection master control chip .PAC. The functions of constant speed, acceleration and deceleration point control, sudden stop and recovery of each axis can be realized, and the motion control function library can be developed. The program can be completed by simple function call, and the control of each axis can be realized. Finally, the design of the vision system of the placement machine is completed. OpenCV is used to process the pad position of the photo PCB board to be affixed to the components, and the outline of the chip is obtained. The position and angle information is fed back to the controller by calculation. The controller sends out the command to make each axis complete the operation of the specified distance. The final installation process is completed.
【学位授予单位】:长安大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP273;TN405
【引证文献】
相关硕士学位论文 前4条
1 张善交;紧凑型贴片机系统研究[D];长安大学;2016年
2 刘勤华;肥料颗粒流掺混与时滞排肥模型及预测控制研究[D];山东农业大学;2015年
3 桂宏凡;辐射环境下自动样品更换平台的设计[D];长安大学;2015年
4 薛晓健;母猪养殖过程监控及管理系统设计[D];中北大学;2015年
本文编号:2198840
本文链接:https://www.wllwen.com/falvlunwen/zhishichanquanfa/2198840.html