LM628-LM629 高精度运动控制器 国家半导体公司

合集下载

fp6296规格书

fp6296规格书

fp6296规格书摘要:一、前言二、FP6296 芯片概述1.产品简介2.主要特性三、FP6296 功能模块介绍1.电源管理模块2.音频处理模块3.显示处理模块4.通信接口模块四、FP6296 应用领域1.消费类电子产品2.工业控制领域3.医疗设备五、FP6296 技术支持与服务1.技术支持2.售后服务六、结语正文:【前言】FP6296 是一款高性能的芯片,广泛应用于各种电子产品中。

本文将对FP6296 的规格书进行详细解读,帮助大家更好地了解这款芯片。

【FP6296 芯片概述】【产品简介】FP6296 是一款集成了电源管理、音频处理、显示处理和通信接口等多种功能的高性能芯片。

它具有高度集成、低成本、易于应用等特点,可满足各类电子产品的需求。

【主要特性】1.高度集成:集成了多种功能模块,减少了外部元器件数量,节省了电路板空间。

2.性能优异:具备高效、稳定的性能,满足各类电子产品的运行需求。

3.兼容性强:支持多种通信接口和显示标准,便于与各类外部设备连接。

【FP6296 功能模块介绍】【电源管理模块】电源管理模块负责对整个系统的电源进行监控和控制,保证系统稳定运行。

具有自动调整输出电压、电流的功能,以适应不同负载需求。

【音频处理模块】音频处理模块提供高质量的音频信号处理功能,包括音频放大、滤波、降噪等,适用于各类音频设备。

【显示处理模块】显示处理模块支持多种显示标准,能够实现高清视频的解码和显示,适用于电视、显示器等设备。

【通信接口模块】通信接口模块支持多种通信协议,如USB、HDMI、SD 卡等,方便与外部设备连接,进行数据传输。

【FP6296 应用领域】【消费类电子产品】FP6296 广泛应用于智能手机、平板电脑、数码相机等消费类电子产品中,提供稳定的性能支持。

【工业控制领域】FP6296 在工业控制领域也有广泛应用,如自动化生产线、智能家居等,为各类设备提供核心控制功能。

【医疗设备】FP6296 在医疗设备中也有重要应用,如心电图仪、超声波设备等,保证医疗设备的高效、稳定运行。

LM628-LM629_高精度运动控制器_国家半导体公司

LM628-LM629_高精度运动控制器_国家半导体公司

输出电平 VOH 逻辑 1 VOL IOUT 逻辑 0 三态输出漏电流

交流电气规格 (VDD 和 TA 符合操作范围,FCLK=6MHz,CLOAD=50pF,Input Test Signal tr=tf=10ns) T# 定时间隔 测试极限 单位
最小 编码器和索引时间(见 Figure 2) 电机-相脉宽 每个状态的保持时间 索引脉冲的设置和保持 (对于 A 高 B 低) 时钟和复位时间(见 Figure 3) 时钟脉宽 LM628N-6,LM629N-6,LM629M-6 LM628N-8,LM629N-8,LM629M-8 时钟周期 LM628N-6,LM629N-6,LM629M-6 LM628N-8,LM629N-8,LM629M-8 复位脉宽 状态字读取时间(见 Figure 4) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 读数据进入时间 读数据保持时间 /RD 高电平到 Hi-Z 时间 指令字写时间(见 Figure 5) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 Busy 位延时 /WR 脉宽 写数据设置时间 写数据保持时间 数据双字读取时间(见 Figure 6) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 读数据进入时间 读数据保持时间 /RD 高电平到 Hi-Z 时间 Busy 位延时 读取恢复时间 数据双字写如时间(见 Figure 7) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 Busy 位延时 T7 T8 T9 T13 0 30 30 T7 T8 T9 T10 T11 T12 T13 T17 120 0 0 30 30 T7 T8 T9 T13 T14 T15 T16 100 50 120 0 30 30 T7 T8 T9 T10 T11 T12 0 0 30 30 T4 T4 T5 T5 T6 78 57 166 125 8/fCLK T1 T2 T3 16/fCLK 8/fCLK 0

T6290综测仪产品介绍

T6290综测仪产品介绍

T6290
标准差(整体)/(组内) 0.44/0.66 0.18/0.22 0.25/0.64 0.15/0.35 0.11/0.34 0.13/0.19 0.13/0.17 0.11/0.25 0.22/0.43 0.47/0.72 0.36/0.36 0.33/0.51 0.12/0.25 0.50/0.72 0.21/0.26
北京公司: 朝阳区中化地质大厦一层 研发中心
上海总部: 松江区新飞路1500号26栋 生产制造、质量控制
深圳公司: 南山区桃源街道田寮大厦1208 销售、技术支持、仓储、物流
产业经历
T6290申请10项发明专利保护
2014重组成立为准电子,推出T6290产线型综测 仪,并实现规模量产应用 2014年国家重大专项全模综测仪项目 2013年实现LTE/TD/W/GGE多模综测仪产线规模应用 2012年TDD/FDD-LTE综测仪平台发布, TDD/FDD LTE Advanced功能开发 2011年T6280多模信令综测仪发布 2010年LTE/WCDMA/GGE开发。 2009年综测仪在TD生产线规模应用(300台)
• 工厂采购在仪表高峰期从多家仪表租赁商租用仪表,不同厂家CMW500的版本,精
解决工厂租用仪表 的品质保障及一站 式获得解决方案
准度,软件盗版问题,仪表年度校准维护参差不齐,无法管理。 •各租赁厂商提供的测试配件品质堪忧 •T6290租赁仪表每半年原厂检查和校准一次,出库前使用高级源测试指标,保障仪表 的精准性,仪表品质,可用数量,技术支持能力,极大解决由于采购鱼目混杂的租赁 源头的仪表品质不确定和混乱,引发的生产可靠性保障问题
• 与德与振华工厂战略合作,4G项目全线采用T6290生产,在振华长期保持100台左右 的使用量,为魅族,中兴,宇龙,HTC项目做生产,客户反馈良好,得到各界高度 信任。 • ONTIM与中诺工厂ODM华为的项目全线采用T6290生产,中诺及其外协厂(光弘, 德邦)长期保持100台左右的使用量,性能稳定。生产的华为“畅享5”项目获中国 移动2015年千元智能机项目质量第一名。 • 华勤给华为的ODM项目在长城开发虎门新厂的项目自2015年底导入T6290以来,受 到客户的一致好评,目前T6290在该厂保持60台左右的使用量,并不断增加。 • 德赛4G产线指定使用T6290仪表,为TCL/ACTEL,天珑等生产,随着4G产品比重加大, 目前已经增加至30台以上。

运动控制器的应用现状及其发展趋势【不可外传】

运动控制器的应用现状及其发展趋势【不可外传】

运动控制器的应用现状及其发展趋势内容来源网络,由“深圳机械展(11万㎡,1100多家展商,超10万观众)”收集整理!更多cnc加工中心、车铣磨钻床、线切割、数控刀具工具、工业机器人、非标自动化、数字化无人工厂、精密测量、数控系统、3D打印、激光切割、钣金冲压折弯、精密零件加工等展示,就在深圳机械展.1运动控制器的应用现状运动控制器越来越广泛地应用于各个行业的自动化设备,如数控机床、雕刻机、切割机、钻孔机、印刷机、冲孔机、激光雕刻、激光切割、包装机、纺织机、食品加工、绘图机、点胶机、焊接机、电子装配白动检测等,甚至在航空航天和国防领域也得到广泛应用。

根据所用的CPU不同,运动控制器产品主要有以下五种类型:(1)以单片机(MCU)为核心的运动控制器,低端采用8位或16位的单片机作为处理器,其主要优点是价格比较低廉,缺点是运行速度较慢,控制精度较低。

因此这种运动控制器适用于一些低速或运动控制精度要求不高的点位运动或轮廓运动控制的自动化设备。

(2)以专用芯片为核心的运动控制器,美国国家半导体公司生产的LM628和LM629专用运动控制芯片,日本的NOVA生产的MCX304、MCX501等运动控制芯片是专门为精密控制步进电机和伺服电机而设计的专用处理器,产品应用于数控机床、雕刻机、工业机器人、医用设备、绕线机、自动仓库、绘图仪、点胶机、IC制造设备等领域。

(3)以数字信号处理器(DS)为核心的运动控制器,美国DeltaTau公司生产的PMAC 运动控制器,采用Motorola的DSP56003作为处理器。

国内的基于DSP的运动控制器,通常以美国TI公司推出的C2000系列,例如TMS320F2812和TMS320F28335作为运动控制器的核心芯片。

(4)基于SOPC技术的运动控制器,System-on-a-Programmable-Chip(SOPC),即可编程片上系统,这种运动控制器主要有两种类型:基于FPGA嵌入IP硬核的SOPC系统和基于FPGA嵌入IP软核的SOPC系统,如Altera公司推出的采用了哈佛结构、具有32位指令集成的第二代片上可编程的软核和硬核处理器。

华上芯片介绍

华上芯片介绍
东莞市光速光电有限公司
Dongguan Guangsu opto-electronics Co., Ltd.
产 品 介 绍
华上芯片 颜色 芯片型号:
尺 寸 波 长 亮度mcd 电压v
华上芯片 颜色 芯片型号:
尺 寸
波 长
亮度mcd 360-400
电压v
320-360 AOC-612RMM 620-627 红 主推 12miL 360-400 <2.4 光
<2.4
大功率产品
芯片型号:
规格
波长及亮度
电压
<2.7
备注
AOC-541RMM AOC-541YSM
大功率1W红光芯片 (华上) 大功率1W黄光芯片 (华上) 大功率1W红光芯片 (华上) 大功率1W红光芯片 (华上双线)
41*41miL 主推
620-627/7800(mcd)以上 587-592/6600(mcd)以上
公司主页: / 华上光电网址:/电话+886-3-3803801
联系人 :赵凯
13410238513
3500023
0769-81603478 版权所有
0769-89032879
©2012 Dongguan Guangsu.opto-electronics Co., Ltd.
AOC-S09RMM 主推
<2.4
320-360 460-520 <2.4 520-600
黄 光
AOC-S10YSM 9miL 587-592 主推
<2.4
320-360
红 AOC-614RMM 14miL 620-627 光
红 光 双 线 尺寸
AOC-H14RMM 14miL 620-630

北京联盛德微电子有限责任公司W601芯片规格书说明书

北京联盛德微电子有限责任公司W601芯片规格书说明书

W601芯片规格书V1.0.4北京联盛德微电子有限责任公司 (Winner Micro)地址:北京市海淀区阜成路67号银都大厦18层电话:+86-10-62161900网址:文档历史目录1特征 (1)2概述 (4)3芯片特点 (4)4芯片结构 (4)5功能描述 (4)5.1SDIO设备控制器 (4)5.2高速SPI设备控制器 (5)5.3DMA控制器 (5)5.4时钟与复位 (5)5.5内存管理器 (5)5.6数字基带 (5)5.7MAC控制器 (6)5.8安全系统 (6)5.9FLASH控制器 (6)5.10RSA加密模块 (7)5.11通用硬件加密模块 (7)5.12I2C控制器 (7)5.13SAR ADC (7)5.14主/从SPI控制器 (7)5.15UART控制器 (8)5.16GPIO控制器 (8)5.17定时器 (8)5.18看门狗控制器 (8)5.19射频配置器 (8)5.20射频收发器 (8)5.21PWM控制器 (9)5.22I²S控制器 (9)5.237816/UART控制器 (9)5.24LCD控制器 (10)6管脚定义 (11)7电气特性 (14)7.1极限参数 (14)7.2射频功耗参数 (14)7.3Wi-Fi射频 (14)8封装信息 (16)1特征⚫芯片外观➢QFN68封装,7mm x 7mm⚫芯片集成度◼MCU 特性➢集成32位嵌入式Cortex-M3处理器,工作频率80MHz,内置1MB Flash,288KB RAM;➢集成3路UART 高速接口,波特率范围1200bps~2Mbps;➢集成8路10比特差分 ADC;➢集成1个SPI主从控制器,支持速率20MHz➢集成1个高速SPI从设备接口,支持最高50MHz;➢集成1个SDIO控制器,支持最高50MHz;➢集成1个I2C控制器,支持100/400Kbps 速率;➢集成GPIO控制器,支持48位可控GPIO;➢集成5路PWM接口;➢集成I2S控制器;➢集成7816接口,支持EVM2000规范,兼容串口功能;➢集成LCD控制器,最高支持4x20/8x16接口,支持2.7V~3.6V电压输出。

LM628-datasheet

LM628-datasheet

LM628/LM629Precision Motion ControllerGeneral DescriptionThe LM628/LM629are dedicated motion-control processors designed for use with a variety of DC and brushless DC servo motors,and other servomechanisms which provide a quadrature incremental position feedback signal.The parts perform the intensive,real-time computational tasks required for high performance digital motion control.The host control software interface is facilitated by a high-level command set.The LM628has an 8-bit output which can drive either an 8-bit or a 12-bit DAC.The components required to build a servo system are reduced to the DC motor/actuator,an in-cremental encoder,a DAC,a power amplifier,and the LM628.An LM629-based system is similar,except that it provides an 8-bit PWM output for directly driving H-switches.The parts are fabricated in NMOS and packaged in a 28-pin dual in-line package or a 24-pin surface mount package (LM629only).Both 6MHz and 8MHz maximum frequency versions are available with the suffixes -6and -8,respec-tively,used to designate the versions.They incorporate an SDA core processor and cells designed by SDA.Featuresn 32-bit position,velocity,and acceleration registers n Programmable digital PID filter with 16-bit coefficients n Programmable derivative sampling interval n 8-or 12-bit DAC output data (LM628)n 8-bit sign-magnitude PWM output data (LM629)n Internal trapezoidal velocity profile generatorn Velocity,target position,and filter parameters may be changed during motionn Position and velocity modes of operation n Real-time programmable host interrupts n 8-bit parallel asynchronous host interfacen Quadrature incremental encoder interface with index pulse inputnAvailable in a 28-pin dual in-line package or a 24-pin surface mount package (LM629only)TRI-STATE ®is a registered trademark of National Semiconductor Corporation.DS009219-1FIGURE 1.Block DiagramNovember 1999LM628/LM629Precision Motion Controller©1999National Semiconductor Corporation Connection DiagramsLM628NDS009219-2LM629NDS009219-3LM629MDS009219-21*Do not connect.Order Number LM629M-6,LM629M-8,LM628N-6,LM628N-8,LM629N-6or LM629N-8See NS Package Number M24B or N28BL M 628/L M 629 2Absolute Maximum Ratings(Note1)If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications.Voltage at Any Pin withRespect to GND−0.3V to+7.0V Ambient Storage Temperature−65˚C to+150˚C Lead Temperature28-pin Dual In-LinePackage(Soldering,4sec.)260˚C 24-pin Surface MountPackage(Soldering,10sec.)300˚C Maximum Power Dissipation(T A≤85˚C,(Note2)605mW ESD Tolerance(C ZAP=120pF,R ZAP=1.5k)2000V Operating RatingsTemperature Range−40˚C<T A<+85˚C Clock Frequency:LM628N-6,LM629N-6,LM629M-6 1.0MHz<f CLK<6.0MHz LM628N-8,LM629N-8,LM629M-8 1.0MHz<f CLK<8.0MHz V DD Range 4.5V<V DD<5.5VDC Electrical Characteristics(V DD and T A per Operating Ratings;f CLK=6MHz)Symbol Parameter Conditions Tested Limits UnitsMin MaxI DD Supply Current Outputs Open110mAINPUT VOLTAGESV IH Logic1Input Voltage 2.0VV IL Logic0Input Voltage0.8VI IN Input Currents0≤V IN≤V DD−1010µAOUTPUT VOLTAGESV OH Logic1I OH=−1.6mA 2.4VV OL Logic0I OL=1.6mA0.4VI OUT TRI-STATE®Output Leakage Current0≤V OUT≤V DD−1010µAAC Electrical Characteristics(V DD and T A per Operating Ratings;f CLK=6MHz;C LOAD=50pF;Input Test Signal t r=t f=10ns)Timing Interval T#Tested Limits UnitsMin MaxENCODER AND INDEX TIMING(See Figure2)Motor-Phase Pulse Width T1µsLM628/LM6293AC Electrical Characteristics(Continued)(V DD and T A per Operating Ratings;f CLK =6MHz;C LOAD =50pF;Input Test Signal t r =t f =10ns)Timing IntervalT #Tested LimitsUnitsMinMaxSTATUS BYTE READ TIMING (See Figure 4)Chip-Select Setup/Hold Time T70ns Port-Select Setup Time T830ns Port-Select Hold Time T930ns Read Data Access Time T10180ns Read Data Hold Time T110ns RD High to Hi-Z TimeT12180ns COMMAND BYTE WRITE TIMING (See Figure 5)Chip-Select Setup/Hold Time T70ns Port-Select Setup Time T830ns Port-Select Hold Time T930ns Busy Bit Delay T13(Note 3)ns WR Pulse Width T14100ns Write Data Setup Time T1550ns Write Data Hold TimeT16120ns DATA WORD READ TIMING (See Figure 6)Chip-Select Setup/Hold Time T70ns Port-Select Setup Time T830ns Port-Select Hold Time T930ns Read Data Access Time T10180ns Read Data Hold Time T110ns RD High to Hi-Z Time T12180ns Busy Bit Delay T13(Note 3)ns Read Recovery TimeT17120ns DATA WORD WRITE TIMING (See Figure 7)Chip-Select Setup/Hold Time T70ns Port-Select Setup Time T830ns Port-Select Hold Time T930ns Busy Bit Delay T13(Note 3)ns WR Pulse Width T14100ns Write Data Setup Time T1550ns Write Data Hold Time T16120ns Write Recovery TimeT18120ns Note 1:Absolute Maximum Ratings indicate limits beyond which damage to the device may occur.DC and AC electrical specifications do not apply when operating the device beyond the above Operating Ratings.Note 2:When operating at ambient temperatures above 70˚C,the device must be protected against excessive junction temperatures.Mounting the package on a printed circuit board having an area greater than three square inches and surrounding the leads and body with wide copper traces and large,uninterrupted areas of copper,such as a ground plane,suffices.The 28-pin DIP (N)and the 24-pin surface mount package (M)are molded plastic packages with solid copper lead frames.Most of the heat generated at the die flows from the die,through the copper lead frame,and into copper traces on the printed circuit board.The copper traces act as a heat sink.Double-sided or multi-layer boards provide heat transfer characteristics superior to those of single-sided boards.Note 3:In order to read the busy bit,the status byte must first be read.The time required to read the busy bit far exceeds the time the chip requires to set the busy bit.It is,therefore,impossible to test actual busy bit delay.The busy bit is guaranteed to be valid as soon as the user is able to read it.L M 628/L M 629 4AC Electrical Characteristics(Continued)DS009219-4FIGURE 2.Quadrature Encoder Input TimingDS009219-5FIGURE 3.Clock and Reset TimingDS009219-6FIGURE 4.Status Byte Read TimingLM628/LM6295AC Electrical Characteristics(Continued)DS009219-7FIGURE mand Byte Write TimingDS009219-8FIGURE 6.Data Word Read TimingL M 628/L M 629 6AC Electrical Characteristics(Continued) Pinout Description(See Connection Diagrams)Pin numbers for the24-pin sur-face mount package are indicated in parentheses.Pin1(17),Index(IN)Input:Receives optional index pulse from the encoder.Must be tied high if not used.The index position is read when Pins1,2,and3are low.Pins2and3(18and19),Encoder Signal(A,B)Inputs: Receive the two-phase quadrature signals provided by the incremental encoder.When the motor is rotating in the posi-tive(“forward”)direction,the signal at Pin2leads the signal at Pin3by90degrees.Note that the signals at Pins2and3 must remain at each encoder state(See Figure9)for a mini-mum of8clock periods in order to be recognized.Because of a four-to-one resolution advantage gained by the method of decoding the quadrature encoder signals,this corre-sponds to a maximum encoder-state capture rate of1.0MHz (f CLK=8.0MHz)or750kHz(f CLK=6.0MHz).For other clock frequencies the encoder signals must also remain at each state a minimum of8clock periods.Pins4to11(20to24and2to4),Host I/O Port(D0to D7): Bi-directional data port which connects to host computer/ ed for writing commands and data to the LM628,and for reading the status byte and data from the LM628,as controlled by CS(Pin12),PS(Pin16),RD(Pin 13),and WR(Pin15).Pin12(5),Chip Select(CS)Input:Used to select the LM628for writing and reading operations.Pin13(6),Read(RD)Input:Used to read status and data. Pin14(7),Ground(GND):Power-supply return pin.Pin15(8),Write(WR)Input:Used to write commands and data.Pin16(9),Port Select(PS)Input:Used to select com-mand or data port.Selects command port when low,data port when high.The following modes are controlled by Pin 16:mands are written to the command port(Pin16low),2.Status byte is read from command port(Pin16low),and3.Data is written and read via the data port(Pin16high). Pin17(10),Host Interrupt(HI)Output:This active-high signal alerts the host(via a host interrupt service routine) that an interrupt condition has occurred.Pins18to25,DAC Port(DAC0to DAC7):Output port which is used in three different modes:1.LM628(8-bit output mode):Outputs latched data to theDAC.The MSB is Pin18and the LSB is Pin25.2.LM628(12-bit output mode):Outputs two,multiplexed6-bit words.The less-significant word is output first.The MSB is on Pin18and the LSB is on Pin23.Pin24is used to demultiplex the words;Pin24is low for the less-significant word.The positive-going edge of the sig-nal on Pin25is used to strobe the output data.Figure8 shows the timing of the multiplexed signals.3.LM629(sign/magnitude outputs):Outputs a PWM signsignal on Pin18(11for surface mount),and a PWM magnitude signal on Pin19(13for surface mount).Pins 20to25are not used in the LM629.Figure11shows the PWM output signal format.Pin26(14),Clock(CLK)Input:Receives system clock. Pin27(15),Reset(RST)Input:Active-low,positive-edge triggered,resets the LM628to the internal conditions shown below.Note that the reset pulse must be logic low for a mini-mum of8clock periods.Reset does the following:1.Filter coefficient and trajectory parameters are zeroed.2.Sets position error threshold to maximum value(7FFFhex),and effectively executes command LPEI.3.The SBPA/SBPR interrupt is masked(disabled).4.The five other interrupts are unmasked(enabled).5.Initializes current position to zero,or“home”position.6.Sets derivative sampling interval to2048/f CLK or256µsfor an8.0MHz clock.7.DAC port outputs800hex to“zero”a12-bit DAC andthen reverts to80hex to“zero”an8-bit DAC.DS009219-9FIGURE7.Data Word Write TimingLM628/LM6297Pinout Description(Continued)Immediately after releasing the reset pin from the LM628,the status port should read “00”.If the reset is successfully completed,the status word will change to hex “84”or “C4”within 1.5ms.If the status word has not changed from hex “00”to “84”or “C4”within 1.5ms,perform another reset and repeat the above steps.To be certain that the reset wasproperly performed,execute a RSTI command.If the chip has reset properly,the status byte will change from hex “84”or “C4”to hex “80”or “C0”.If this does not occur,perform an-other reset and repeat the above steps.Pin 28(16),Supply Voltage (V DD ):Power supply voltage (+5V).Theory of OperationINTRODUCTIONThe typical system block diagram (See Figure 1)illustrates a servo system built using the LM628.The host processor communicates with the LM628through an I/O port to facili-tate programming a trapezoidal velocity profile and a digital compensation filter.The DAC output interfaces to an exter-nal digital-to-analog converter to produce the signal that is power amplified and applied to the motor.An incremental en-coder provides feedback for closing the position servo loop.The trapezoidal velocity profile generator calculates the re-quired trajectory for either position or velocity mode of opera-tion.In operation,the LM628subtracts the actual position (feedback position)from the desired position (profile genera-tor position),and the resulting position error is processed by the digital filter to drive the motor to the desired position.Table 1provides a brief summary of specifications offered by the LM628/LM629:POSITION FEEDBACK INTERFACEThe LM628interfaces to a motor via an incremental encoder.Three inputs are provided:two quadrature signal inputs,and an index pulse input.The quadrature signals are used tokeep track of the absolute position of the motor.Each time a logic transition occurs at one of the quadrature inputs,the LM628internal position register is incremented or decre-mented accordingly.This provides four times the resolution over the number of lines provided by the encoder.See Fig-ure 9.Each of the encoder signal inputs is synchronized with the LM628clock.The optional index pulse output provided by some encoders assumes the logic-low state once per revolution.If the LM628is so programmed by the user,it will record the abso-lute motor position in a dedicated register (the index register)at the time when all three encoder inputs are logic low.If the encoder does not provide an index output,the LM628index input can also be used to record the home position of the motor.In this case,typically,the motor will close a switch which is arranged to cause a logic-low level at the index in-put,and the LM628will record motor position in the index register and alert (interrupt)the host processor.Permanently grounding the index input will cause the LM628to malfunc-tion.TABLE 1.System Specifications SummaryPosition Range −1,073,741,824to 1,073,741,823countsVelocity Range 0to 1,073,741,823/216counts/sample;ie,0to 16,383counts/sample,with a resolution of 1/216counts/sampleAcceleration Range 0to 1,073,741,823/216counts/sample/sample;ie,0to 16,383counts/sample/sample,with a resolution of 1/216counts/sample/sampleMotor Drive Output LM628:8-bit parallel output to DAC,or 12-bit multiplexed output to DAC LM629:8-bit PWM sign/magnitude signals Operating ModesPosition and VelocityDS009219-10FIGURE 8.12-Bit Multiplexed Output TimingL M 628/L M 629 8Theory of Operation(Continued)TABLE 1.System Specifications Summary (Continued)Feedback Device Incremental Encoder (quadrature signals;support for index pulse)Control Algorithm Proportional Integral Derivative (PID)(plus programmable integration limit)Sample IntervalsDerivative Term:Programmable from 2048/f CLK to (2048*256)/f CLK in steps of 2048/f CLK (256to 65,536µs for an 8.0MHz clock).Proportional and Integral:2048/f CLKVELOCITY PROFILE (TRAJECTORY)GENERATION The trapezoidal velocity profile generator computes the de-sired position of the motor versus time.In the position mode of operation,the host processor specifies acceleration,maxi-mum velocity,and final position.The LM628uses this infor-mation to affect the move by accelerating as specified until the maximum velocity is reached or until deceleration must begin to stop at the specified final position.The deceleration rate is equal to the acceleration rate.At any time during the move the maximum velocity and/or the target position may be changed,and the motor will accelerate or decelerate ac-cordingly.Figure 10illustrates two typical trapezoidal veloc-ity profiles.Figure 10(a)shows a simple trapezoid,while Fig-ure 10(b)is an example of what the trajectory looks like when velocity and position are changed at different times during the move.When operating in the velocity mode,the motor accelerates to the specified velocity at the specified acceleration rate and maintains the specified velocity until commanded to stop.The velocity is maintained by advancing the desired position at a constant rate.If there are disturbances to the motion during velocity mode operation,the long-time average veloc-ity remains constant.If the motor is unable to maintain the specified velocity (which could be caused by a locked rotor,for example),the desired position will continue to be in-creased,resulting in a very large position error.If this condi-DS009219-11FIGURE 9.Quadrature Encoder SignalsDS009219-12FIGURE 10.Typical Velocity ProfilesLM628/LM6299Theory of Operation(Continued)tion goes undetected,and the impeding force on the motor is subsequently released,the motor could reach a very high velocity in order to catch up to the desired position (which is still advancing as specified).This condition is easily de-tected;see commands LPEI and LPES.All trajectory parameters are 32-bit values.Position is a signed quantity.Acceleration and velocity are specified as 16-bit,positive-only integers having 16-bit fractions.The in-teger portion of velocity specifies how many counts per sam-pling interval the motor will traverse.The fractional portion designates an additional fractional count per sampling inter-val.Although the position resolution of the LM628is limited to integer counts,the fractional counts provide increased av-erage velocity resolution.Acceleration is treated in the same manner.Each sampling interval the commanded accelera-tion value is added to the current desired velocity to generate a new desired velocity (unless the command velocity has been reached).One determines the trajectory parameters for a desired move as follows.If,for example,one has a 500-line shaft en-coder,desires that the motor accelerate at one revolution per second per second until it is moving at 600rpm,and then de-celerate to a stop at a position exactly 100revolutions from the start,one would calculate the trajectory parameters as follows:let P =target position (units =encoder counts)let R =encoder lines *4(system resolution)then R =500*4=2000and P =2000*desired number of revolutionsP =2000*100revs =200,000counts (value to load)P (coding)=00030D40(hex code written to LM628)let V =velocity (units =counts/sample)let T =sample time (seconds)=341µs (with 6MHzclock)let C =conversion factor =1minute/60seconds then V =R *T *C *desired rpmand V =2000*341E−6*1/60*600rpmV =6.82counts/sampleV (scaled)=6.82*65,536=446,955.52V (rounded)=446,956(value to load)V (coding)=0006D1EC (hex code written to LM628)let A =acceleration (units =counts/sample/sample)A =R *T *T *desired acceleration (rev/sec/sec)then A =2000*341E−6*341E-6*1rev/sec/sec and A =2.33E−4counts/sample/sampleA (scaled)=2.33E−4*65,536=15.24A (rounded)=15(value to load)A (coding)=0000000F (hex code written to LM628)The above position,velocity,and acceleration values must be converted to binary codes to be loaded into the LM628.The values shown for velocity and acceleration must be mul-tiplied by 65,536(as shown)to adjust for the required integer/fraction format of the input data.Note that after scal-ing the velocity and acceleration values,literal fractional data cannot be loaded;the data must be rounded and converted to binary.The factor of four increase in system resolution is due to the method used to decode the quadrature encoder signals,see Figure 9.PID COMPENSATION FILTERThe LM628uses a digital Proportional Integral Derivative (PID)filter to compensate the control loop.The motor is held at the desired position by applying a restoring force to the motor that is proportional to the position error,plus the inte-gral of the error,plus the derivative of the error.The following discrete-time equation illustrates the control performed by the LM628:(1)where u(n)is the motor control signal output at sample timen,e(n)is the position error at sample time n,n'indi-cates sampling at the derivative sampling rate,and kp,ki,and kd are the discrete-time filter parameters loaded by the users.The first term,the proportional term,provides a restoring force porportional to the position error,just as does a spring obeying Hooke’s law.The second term,the integration term,provides a restoring force that grows with time,and thus en-sures that the static position error is zero.If there is a con-stant torque loading,the motor will still be able to achieve zero position error.The third term,the derivative term,provides a force propor-tional to the rate of change of position error.It acts just like viscous damping in a damped spring and mass system (like a shock absorber in an automobile).The sampling interval associated with the derivative term is user-selectable;this capability enables the LM628to control a wider range of in-ertial loads (system mechanical time constants)by providing a better approximation of the continuous derivative.In gen-eral,longer sampling intervals are useful for low-velocity op-erations.In operation,the filter algorithm receives a 16-bit error signal from the loop summing-junction.The error signal is saturated at 16bits to ensure predictable behavior.In addition to being multiplied by filter coefficient kp,the error signal is added to an accumulation of previous errors (to form the integral sig-nal)and,at a rate determined by the chosen derivative sam-pling interval,the previous error is subtracted from it (to form the derivative signal).All filter multiplications are 16-bit op-erations;only the bottom 16bits of the product are used.The integral signal is maintained to 24bits,but only the top 16bits are used.This scaling technique results in a more us-able (less sensitive)range of coefficient ki values.The 16bits are right-shifted eight positions and multiplied by filter coefficient ki to form the term which contributes to the motor control output.The absolute magnitude of this product is compared to coefficient il,and the lesser,appropriately signed magnitude then contributes to the motor control sig-nal.The derivative signal is multiplied by coefficient kd each de-rivative sampling interval.This product contributes to the mo-tor control output every sample interval,independent of the user-chosen derivative sampling interval.The kp,limited ki,and kd product terms are summed to form a 16-bit quantity.Depending on the output mode (wordsize),either the top 8or top 12bits become the motor control out-put signal.L M 628/L M 629 10Theory of Operation(Continued)LM628READING AND WRITING OPERATIONSThe host processor writes commands to the LM628via the host I/O port when Port Select (PS )input (Pin 16)is logic low.The desired command code is applied to the parallel port line and the Write (WR )input (Pin 15)is strobed.The command byte is latched into the LM628on the rising edge of the WR input.When writing command bytes it is neces-sary to first read the status byte and check the state of a flag called the “busy bit”(Bit 0).If the busy bit is logic high,no command write may take place.The busy bit is never high longer than 100µs,and typically falls within 15µs to 25µs.The host processor reads the LM628status byte in a similar manner:by strobing the Read (RD )input (Pin 13)when PS (Pin 16)is low;status information remains valid as long as RD is low.Writing and reading data to/from the LM628(as opposed to writing commands and reading status)are done with PS (Pin 16)logic high.These writes and reads are always an integral number (from one to seven)of two-byte words,with the first byte of each word being the more significant.Each byte re-quires a write (WR )or read (RD )strobe.When transferring data words (byte-pairs),it is necessary to first read the status byte and check the state of the busy bit.When the busy bit is logic low,the user may then sequentially transfer both bytes comprising a data word,but the busy bit must again be checked and found to be low before attempting to transferthe next byte pair (when transferring multiple words).Data transfers are accomplished via LM628-internal interrupts (which are not nested);the busy bit informs the host proces-sor when the LM628may not be interrupted for data transfer (or a command byte).If a command is written when the busy bit is high,the command will be ignored.The busy bit goes high immediately after writing a command byte,or reading or writing a second byte of data (See Figure 5thru Figure 7).MOTOR OUTPUTSThe LM628DAC output port can be configured to provide ei-ther a latched eight-bit parallel output or a multiplexed 12-bit output.The 8-bit output can be directly connected to a flow-through (non-input-latching)D/A converter;the 12-bit output can be easily demultiplexed using an external 6-bit latch and an input-latching 12-bit D/A converter.The DAC output data is offset-binary coded;the 8-bit code for zero is 80hex and the 12-bit code for zero is 800hex.Values less than these cause a negative torque to be applied to the mo-tor and,conversely,larger values cause positive motor torque.The LM628,when configured for 12-bit output,pro-vides signals which control the demultiplexing process.See for details.The LM629provides 8-bit,sign and magnitude PWM output signals for directly driving switch-mode motor-drive amplifi-ers.Figure 11shows the format of the PWM magnitude out-put signal.TABLE 2.LM628User Command SetCommand TypeDescriptionHex Data Note Bytes RESET Initialize Reset LM6280001PORT8Initialize Select 8-Bit Output 0502PORT12Initialize Select 12-Bit Output 0602DFH Initialize Define Home 0201SIP Interrupt Set Index Position 0301LPEI Interrupt Interrupt on Error 1B 21LPES Interrupt Stop on Error1A 21SBPA Interrupt Set Breakpoint,Absolute 2041SBPRInterruptSet Breakpoint,Relative2141DS009219-13FIGURE 11.PWM Output Signal Format (Sign output (pin 18)not shown)LM628/LM62911Theory of Operation(Continued)TABLE 2.LM628User Command Set (Continued)Command TypeDescriptionHex Data NoteBytes MSKI Interrupt Mask Interrupts 1C 21RSTI Interrupt Reset Interrupts 1D 21LFIL Filter Load Filter Parameters 1E 2to 101UDF Filter Update Filter 0401LTRJ Trajectory Load Trajectory 1F 2to 141STT Trajectory Start Motion 0103RDSTAT Report Read Status Byte None 11,4RDSIGS Report Read Signals Register 0C 21RDIP Report Read Index Position 0941RDDP Report Read Desired Position 0841RDRP Report Read Real Position 0A 41RDDV Report Read Desired Velocity 0741RDRV Report Read Real Velocity 0B 21RDSUMReportRead Integration Sum0D21Note 4:Commands may be executed “On the Fly”during motion.Note 5:Commands not applicable to execution during motion.Note 6:Command may be executed during motion if acceleration parameter was not changed.Note 7:Command needs no code because the command port status-byte read is totally supported by hardware.User Command SetGENERALThe following paragraphs describe the user command set of the LM628.Some of the commands can be issued alone and some require a supporting data structure.As examples,the command STT (STarT motion)does not require additional data;command LFIL (Load FILter parameters)requires ad-ditional data (derivative-term sampling interval and/or filter parameters).Commands are categorized by function:initialization,inter-rupt control,filter control,trajectory control,and data report-ing.The commands are listed in Table 2and described in the following paragraphs.Along with each command name is its command-byte code,the number of accompanying data bytes that are to be written (or read),and a comment as to whether the command is executable during motion.Initialization CommandsThe following four LM628user commands are used primarily to initialize the system for use.RESET COMMAND:RESET the LM628Command Code:00HexData Bytes:None Executable During Motion:YesThis command (and the hardware reset input,Pin 27)results in setting the following data items to zero:filter coefficients and their input buffers,trajectory parameters and their input buffers,and the motor control output.A zero motor control output is a half-scale,offset-binary code:(80hex for the 8-bit output mode;800hex for 12-bit mode).During reset,the DAC port outputs 800hex to “zero”a 12-bit DAC and reverts to 80hex to “zero”an 8-bit DAC.The command also clears five of the six interrupt masks (only the SBPA/SBPR interruptis masked),sets the output port size to 8bits,and defines the current absolute position as home.Reset,which may be executed at any time,will be completed in less than 1.5ms.Also see commands PORT8and PORT12.PORT8COMMAND:Set Output PORT Size to 8Bits Command Code:05Hex Data Bytes:NoneExecutable During Motion:Not ApplicableThe default output port size of the LM628is 8bits;so the PORT8command need not be executed when using an 8-bit DAC.This command must not be executed when using a 12-bit converter;it will result in erratic,unpredictable motor behavior.The 8-bit output port size is the required selection when using the LM629,the PWM-output version of the LM628.PORT12COMMAND:Set Output PORT Size to 12Bits Command Code:06Hex Data Bytes:NoneExecutable During Motion:Not Applicable When a 12-bit DAC is used,command PORT12should be issued very early in the initialization process.Because use of this command is determined by system hardware,there is only one foreseen reason to execute it later:if the RESET command is issued (because an 8-bit output would then be selected as the default)command PORT12should be imme-diately executed.This command must not be issued when using an 8-bit converter or the LM629,the PWM-output ver-sion of the LM628.DFH COMMAND:DeFine Home Command Code:02Hex Data Bytes:None Executable During Motion:YesL M 628/L M 62912。

LM628资料

LM628资料

集成电路LM628是专用的运动控制处理器,是为使用增量式编码器作位置反馈的各种直流或无刷直流伺服电动机伺服系统或其他伺服机构而设计的,它能为先进的运动控制提供强大的实时运算能力。

为便于与上级主机的连接而提供了便利的高级指令集。

LM628的制作采用NMOS结构和28脚双列直插式封装,一片LM628电路和一个D/A转换器、一个功率放大器、一台直流电动机、一个增量编码器就可构成一个伺服系统(见图13.31)。

单片运动控制器LM628概述LM628实际是一个为专门用途设计的单片机,其特点可作如下描述:(1) 32bit的位置、速度、加速度寄存器;(2) 16bit的可编程数字PID滤波器;(3)可编程微分采样间隔;(4) 8bit或12bitD/A转换器输出数据;(5)内部梯形速度图发生器;(6)速度、目标位置和滤波器参数在运动过程中可以改变;(7)可选择位置或速度控制方式;(8)实时可编程的主计算机中断;(9) 8bit并行异步主计算机中断;(10)与增量式编码器的接口。

在上述硬件和软件特性的支持下,LM628执行如下功能:(1)接受主机的指令和向主机提供状态和数据;(2)执行梯形速度图的计算和数字滤波,不论是LM628设置为位置控制还是速度控制方式,梯形速度图发生器计算出需要的梯形速度分布图;(3)利用增量编码器反馈实际位置;(4)在运行中进行预定位置(速度图发生器计算的位置)与实际位置的减法运算,此位置误差经数字PID滤波器处理后输出,由外接D/A转换器和功率放大,驱动电动机到达预定位置。

LM628的引脚LM628采用28引脚双列直插式封装,其各引脚功能简述如下:1(IN):接收从增量编码器来的标记(index)亦即零位信号。

2和3(A、B):接收从增量编码器来的两个正交信号。

当电动机正转时,2脚信号应超前于3脚信号90。

4~11(DO~D7):连接主计算机或主处理器的I/O口。

利用CS(12脚)、PS(16脚)、RD (13脚)和WR(15脚)可向LM628写入指令和数据,或从LM628'读出状态字节和数据。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

极限参数(Note1) 如果有军事/航天的设备的规定需求, 请联系国家半导体公司的销售\批发机构来取得产品和 详尽说明。 所有针脚对地电压 -0.3V~+7.0V 存储温度 -65~+150 焊接温度 28 针双列直插 4 秒 260 24 针贴片 10 秒 300 最大功耗 650mW(TA<85) (Note2) 抗静电 2000V(CZAP=120pF,RZAP=1.5k) 操作范围 温度范围 -40<Ta<+85 时钟频率 LM628N-6,LM629N-6,LM629M-6 1.0M<fCLK<6.0MHz LM628N-8,LM629N-8,LM629M-8 1.0M<fCLK<8.0MHz 4.5V<VDD<5.5V 电源电压 VDD 直流电气规格 (VDD 和 TA 符合操作范围,FCLK=6MHz) 符号 IDD 输入电压 VIH VIL IIN 逻辑 1 电平 逻辑 0 电平 输入电流 0≤VIN≤VDD IOH=-1.6mA IOL=1.6mA 0≤VOUT≤VDD -10 -10 2.4 0.4 10 2.0 0.8 10 V V uA V V uA 定义 条件 测试的极限 最小 供应电流 开路输出 110 最大 mA 单位
引脚 16(9) ,端口选择(/PS)输入:用于选择指令或者数据端口。低电平选择指令,高电 平选择数据。以下模式由引脚 16 控制: 1.向端口写入指令(低电平) 。 2.状态字从端口读出(低电平) ,以及(译注:原文缺失) 3.通过端口读写数据(高电平) 。 引脚 17(10) ,主机中断(HI)输出:这个高有效的信号通过主机中断服务警告主机有中断 发生。 引脚 18~25,DAC 端口(DAC0~DAC7) :用在三种不同模式下的输出端口。 1.LM628(8 位输出模式) :向 DAC 输出所存的数据。高位在 18 脚,低位在 25 脚。 2.LM628(12 位数触摸式) :分开输出两个 6 位字。低位字先输出。高位在 18 脚,低位在 23 脚,24 脚用于分辨他们。25 脚信号的上升沿用于所存输出的数据。Figure 8 显示了多元 信号的时间关系。 3.LM629(符号\量值 输出模式) :在 18 脚(贴片的 11 脚)输出一个 PWM 符号信号,并在 19 脚 (贴片的 13 脚) 输出一个 PWM 的量值信号。 在 LM629 里引脚 20~25 没有使用。 Figure 11 显示了 PWM 输出信号格式。 引脚 26(14) ,时钟(CLK)输入:接收系统时钟。 引脚 27(15) ,复位(/RST)输入:低电平有效,上升沿触发,复位以下列出的 LM628 内部 状态。注意复位脉冲必须逻辑低并且超过 8 个时钟周期。以下为复位所作的。 --------------------------------------------------------------------------------------------------------------------------------1.滤波器系数和轨迹参数置零。 2.设置位置误差门槛最大值(7FFFH) ,并且切实运行指令 LPEI。 3.屏蔽了 SBPA/SBPR 中断(禁止) 。 4.开放 5 个其它中断(使能) 。 5.初始化当前位置为 0 或者“终点”位置。 6.设置微分采样间隔为 2048/fCLK 或者是用 8.0MHz 时钟的 256us。 7.DAC 端口输出一个 12 位 DAC 的零点 800H,然后恢复成 8 位 DAC 的零点 80H。 当 LM628 的复位脚刚释放之后,状态端口应该读出“00H” 。如果复位成功完成,状态字会 在 1.5ms 之内变成 “84H” 或者 “C4H” 。 如果状态字没有在 1.5ms 内变成 “84H” 或者 “C4H” , 执行另一次复位,并重复上述步骤。为确保复位被正常执行,执行一个 RSTI 指令。如果芯 片正确复位,状态字会从“84H”或者“C4H”变成“80H”或者“C0H” 。如果这个(变化) 没有发生,执行另一个复位,并重复上述步骤。 引脚 28(16) ,电源(VDD) :电源电压供应(+5V) 。
输出电平 VOH 逻辑 1 VOL IOUT 逻辑 0 三态输出漏电流
交流电气规格 (VDD 和 TA 符合操作范围,FCLK=6MHz,CLOAD=50pF,Inpu时间隔 测试极限 单位
最小 编码器和索引时间(见 Figure 2) 电机-相脉宽 每个状态的保持时间 索引脉冲的设置和保持 (对于 A 高 B 低) 时钟和复位时间(见 Figure 3) 时钟脉宽 LM628N-6,LM629N-6,LM629M-6 LM628N-8,LM629N-8,LM629M-8 时钟周期 LM628N-6,LM629N-6,LM629M-6 LM628N-8,LM629N-8,LM629M-8 复位脉宽 状态字读取时间(见 Figure 4) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 读数据进入时间 读数据保持时间 /RD 高电平到 Hi-Z 时间 指令字写时间(见 Figure 5) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 Busy 位延时 /WR 脉宽 写数据设置时间 写数据保持时间 数据双字读取时间(见 Figure 6) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 读数据进入时间 读数据保持时间 /RD 高电平到 Hi-Z 时间 Busy 位延时 读取恢复时间 数据双字写如时间(见 Figure 7) 片选设置/保持时间 端口选择的设置时间 端口选择的保持时间 Busy 位延时 T7 T8 T9 T13 0 30 30 T7 T8 T9 T10 T11 T12 T13 T17 120 0 0 30 30 T7 T8 T9 T13 T14 T15 T16 100 50 120 0 30 30 T7 T8 T9 T10 T11 T12 0 0 30 30 T4 T4 T5 T5 T6 78 57 166 125 8/fCLK T1 T2 T3 16/fCLK 8/fCLK 0
最大 us us us
ns ns ns ns us ns ns ns 180 180 ns ns ns ns ns ns (Note 3) ns ns ns ns ns ns ns 180 180 (Note 3) ns ns ns ns ns ns ns ns (Note 3) ns
/WR 脉宽 写数据设置时间 写数据保持时间 写入恢复时间
引线说明 (联系连接图解)24 针贴片的封装在括号里标明。 引脚 1(17) ,Index(/IN)输入:任选的接收来自编码器的索引脉冲信号。不用必须置 1。 索引位置在引脚 1、2、3 为低电平时生效。 引脚 2、3(18、19) ,编码器 A、B 信号输入:接收增量型编码器提供的两相积分信号。当 电机正转时,2 脚上的信号领先 3 脚上的信号 90 度。注意脚 2 和脚 3 的每个编码器的状态 信号都要保留最少 8 个时钟周期来识别。 因为通过解码积分编码信号可获得 4 倍分辨率, 所 以相应的最大编码器状态读取的速率为 1.0MHz(fCLK=8.0MHz)或者 750kHz(fCLK=6.0MHz) 。 对于其他时钟频率,编码器信号必须同样在每个状态保留至少 8 个时钟周期。 引脚 4~11(20~24,2~4) ,主机 I/O 端口(D0~D7) :连接计算机主机处理器的双向数据端口。 用于向 LM628 写入指令和数据,并读出状态字和数据,由/CS、/PS、/RD、/WR 控制。 引脚 12(5) ,片选(/CS)输入:用于选择 LM628 来进行读取和写入的操作。 引脚 13(6) ,读取(/RD)输入:用于读取状态数据。 引脚 14(7) ,接地(GND) :电源供给的返回脚。 引脚 15(8) ,写入(/WR)输入:用于写指令和数据。
主要性能 32 位位置、速度和加速度寄存器 可编程 16 位系数的数字 PID 滤波器 可编程微分采样周期 8 位或 12 位 DAC 输出数据(LM628)\8 位分辨率 PWM 输出数据(LV629) 内部梯形速度曲线控制器 速度、目标位置,以及参数有些能在运行当中修改 位置、速度两种操作模式 实时可编程主机中断 8 位并行同步主机接口 带参考点输入的积分增量编码器 具有 28 针双列直插和 24 针贴片(仅 LM629)两种封装
LM628/LM629 高精度运动控制器 (本文根据国家半导体公司发布的 Datasheet 翻译。译者:王秋林) 概述 LM628/LM629 是为各种可以提供增量型位置反馈信号的直流以及直流无刷伺服电机的伺服 机构设计的专用运动控制处理器。 该芯片能执行高性能数字运动控制所需要的实时计算。 主 机控制接口由高级指令简化。 LM628 有一个可以驱动 8 位或者 12 位 DAC 的 8 位输出口。 建造一个伺服系统的必须组件只 需一个增量型编码器、一个 DAC、一个功率放大器、和一个 LM628。一个基于 LM629 的系 统与之类似,区别于它用 8 位分辨率 PWM 直接驱动 H 开关桥。 在 NMOS 上制作的部件封装成双列直插 28 针或 24 针贴片(仅 LM629) 。两者都有 6MHz 和 8MHz 的最大频率,用“-6”和“-8”的后缀区分。 产品集成了一个 SDA 处理核和用 SDA 设计的单元。
操作原理 简介 典型系统结构框图 (见 Figure 1) 表示了一个由 LM628 构成的伺服系统。 主机处理器通过 I/O 口与 LM628 通信,减轻了配置梯形速度轮廓和数字化补偿滤波器的困难。DAC 端口到外部 数模转换器建立一个经功率放大器放大并最终加给电机的信号。 一个增量编码器提供伺服位 置闭环的反馈。 梯形速度轮廓发生器为操作中的位置或速度模式计算必需的轨迹。 在操作中, LM628 从设定位置(轮廓发生器位置)减去实际位置(反馈位置) ,得到的位置误差由数字 滤波器处理来驱动电机到设定位置。Table 1 列出了由 LM628/LM629 提供的简要规格。 Table 1. 系统简要规格 位置范围 速度范围 -1,073,741,824 到 1,073,741,823 计数 0 到 1,073,741,823/216 计数/采样周期; 指数误差 0 到 16383 计数/采样周期, 16 得到 1/2 计数/采样周期的结果 0 到 1,073,741,823/216 计数/采样周期/采样周期; 指数误差 0 到 16383 计数 16 /采样周期/采样周期,得到 1/2 计数/采样周期/采样周期的结果 LM628:8 位并行输出给 DAC,或者 12 位多元输出给 DAC 位置和速度 增量型编码器(积分信号;提供索引脉冲) 比例微积分(PID) (附带可编程的积分限制) 计分期间: 2048/fCLK 等级下从 2048/fCLK 到 (2048*256) /fCLK 可编程 (在 8MHz 时钟就是 256~65536us) 。 比例和积分:2048/fCLK
相关文档
最新文档