Image
恩智浦简化电机控制系统的LPC1500微控制器介绍 2014-03-27 10:00:00
  • Q恩智浦的技术支持如何,是否也有大量的可函数可供用户参考?

    A 恩智浦以及我们的代理商会一起为客户提供完善的技术支持, 资料大部分已经译成中文,方便中国客户。 参考例程,可以通过www.lpcware.com获取,参考lpcopen,里边例程丰富,各个外设例程应有尽有。

  • Q请问该款控制器是否自身具有FOC和正弦波发生器功能?另外对于电机定位和测速有什么硬件支持?

    A 这款控制器不带硬件的FOC和正弦波发生器功能, 在定位和测速上有QEI硬件接口和丰富的ADC资源, 谢谢

  • Q2个2M sps的ADC采样精度怎么样,能达到多少位的分辨率?有没有DMA功能?如果不使用外部参考电压,内部的参考电压稳定性怎么样?这颗芯片的功耗怎么样?

    AADC是12位分辨率;有DMA功能;需要外部参考电压;功耗很低,最低在1uA左右;power-down模式在4uA左右

  • Q有引脚兼容的ARM7产品可以去替代吗?

    A 目前LPC1500不能完全兼容ARM7的产品, 可以了解下NXP LPC1700系列, 此系列和ARM7的引脚有兼容, 谢谢

  • QST,microchip,TI,freescale,nuvoTon等等都有用到,NXP还没有真正使用过,如果能从PC1549 LPCXpress V2(OM13056 BLDC Motor Control Solution 入门使用是个不错的选择,期待使用NXP。

    A谢谢支持!

  • Q1、请问2MSPS的ADC,如果全速采集的话LPC1500的存储空间和处理速率来得及吗? 2、请问ADC的分辨率是都少? 3、恩智浦是否有其他系列的微控制器,具有多路ADC(8路以上,分辨率12位,采样时间1us以下)、多路PWM功能(8路)、含USB接口、IOC口等功能?是否有选型手册?方便的话请发到:zhaobing@ectek.com.cn谢谢(问题答复能发到邮箱就更好了☺)。 4、我对电机控制比较感兴趣,请问LPC1500开发板提供相应的程序控制示例吗?电机是什么样的电机,伺服电机还是三相直流电机?有霍尔,无霍尔?

    A1、来得及处理的,ADC配有DMA通道;2、12-bit 分辨率;3、可参考LPC7xx系列,选型手册可以在官方网站上下载;4、提供相应的例程;BLDC和PMSM,有感或无感的方案均有。

  • Q片上温度传感器监视系统温度以快速纠正过热条件。是需要我们自己编程序吗?片上监控过热条件都有什么?

    A 带有硬件的过热保护功能, 通过MCU初始化配置可以实现(硬件触发保护), 如需要根据温度的变化,做调整, 那需要对应的程序去调节. 谢谢

  • Q看到AD和DA的参数以及片上温度监控功能,如对两台电机进行复杂控制,板上系统设计控制处理程序较多,控制板供电功耗参数如何?

    A NXP的MCU在运行状态下的功耗是行业内数一数二的, 这个可以放心, 以下数据供你参考, 详细的功耗情况可查阅数据手册(datasheet), 谢谢 IDD supply current Active mode; code while(1){} executed from flash; system clock = 12 MHz; default mode; VDD = 3.3 V [3][4][5] [7][8] - 4.3 - mA system clock = 12 MHz; low-current mode; VDD = 3.3 V [3][4][5] [7][8] - 2.7 - mA system clock = 72 MHz; default mode; VDD = 3.3 V [3][4][7] [8][10] - 19.3 - mA system clock = 72 MHz; low-current mode; VDD = 3.3 V [3][4][7] [8][10] - 18 - mA

  • Q开发平台的兼容性很大,又有如此之多的外设且精度采样速率非同小可,是否留有足够INpin和OUTpin的端口(或者跳线口),以供当成开发板独立使用?

    A 我们已经引出所有功能的IO口,板子可以作为独立的开发板使用,兼容Arduino和LPCXpresso两种模式。

  • Q希望不是PPT图片式的展示,而是有动态视频的功能演示,以此证明他的强大! 比如:通过 CAN 或 USB 总线可进行外部控制; PMSM电机控制解决方案演示了(FOC)有传感器和无传感器永磁电机的电机控制; BLDC电机控制解决方案演示了有传感器的BLDC电机上的经典梯形电机控制功能。

    A有准备相应video,相信不久就会公布于众的。

  • Q板上是否提供直接接入的液晶屏和触摸屏端口?以便进行扩展功能设计延伸。

    A板上无该接口

  • Q有几个问题咨询: 1,目前采用Cortex-M0核的ARM产品很多都能够满足FOC的电机控制算法了,咱们的LPC1500系列相比有什么最大的优势? 2,LPC1500最多可以同时控制几路BLDC电机?是否可以支持旋变编码器? 3,因为STM32的Cortex-M3核产品已经批量很多年了,而且在电机控制领域内也得到了很广泛的应用,同ARM核的LPC1500是新产品么?相对STM32在电机控制方面有什么独到的优势? 4,希望能够了解LPC1500为什么说是运动控制的绝佳选择? 非常期待,多谢!

    A1、优势在于集成了几乎所需要的外设;2、同时控制4个BLDC;支持正交编码器;3、LPC1500是今年新推出来的芯片,在性能和价格上有自己的优势;4、在同类芯片中,其性能有独到的优势

  • Q请问开关矩阵是类似于silicon Labs的交叉开关吗?芯片内部有没有PCA模块?

    A开关矩阵是为了方便把数字外设的管脚灵活分配到任意的IO;内部无PCA

  • Q请问开关矩阵是类似于silicon Labs的交叉开关吗?

    A是类似的。

  • Q28PWM是两两互补的还是独立的 有没有死区时间控制单元? 需要外部晶振么?

    A28PWM中, 分成多组的, 每组内的多路PWM是可以实现两辆互补的, 这个是带有死去控制单元的,而且可以非常灵活的去配置死区时间, 切带有故障输入保护功能. 带有内部的晶振, 可以根据应用需求去判断是否需要外部晶振. 谢谢

  • Q这款新片的可用内存有多大?

    A最大可达36kB

  • Q请问有开发板吗?

    A 有的, 可以和NXP的代理商去申请, 谢谢!

  • Q外设是不是跟M3基本相同

    A 基本M3的外设,LPC1500都具有,我觉得具有状态可配置定时器,使其定时器和PWM方面更加灵活多变, ROM API也是一大特色,提供了囊括USB等外设的API函数,节约Flash空间的同时也大大提高的程序的稳定性和客户的开发周期。温宽提高到了105度,12bit 2M采样率的ADC也异常的强大。ADC和状态可配置定时器SCT的联动做的也很好。      System:  ARM Cortex-M3 processor (version r2p1), running at frequencies of up to 72 MHz.  ARM Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC).  System tick timer.  Serial Wire Debug (SWD) with four breakpoints and two watchpoints.  Single-cycle multiplier supported.  Memory Protection Unit (MPU) included.   Memory:  Up to 256 kB on-chip flash programming memory with 256 Byte page write and  erase.   Up to 36 kB SRAM.  4 kB EEPROM.    ROM API support:  Boot loader with boot options from flash or external source via USART, C_CAN, or  USB  USB drivers  ADC drivers  SPI drivers  USART drivers  I2C drivers  Power profiles and power mode configuration with low-power mode configuration  option  DMA drivers  C_CAN drivers  Flash In-Application Programming (IAP) and In-System Programming (ISP).   Digital peripherals:  Simple DMA engine with 18 channels and 20 programmable input triggers.  High-speed GPIO interface with up to 76 General-Purpose I/O (GPIO) pins with  configurable pull-up/pull-down resistors, open-drain mode, input inverter, and  programmable digital glitch filter.  GPIO interrupt generation capability with boolean pattern-matching feature on eight  external inputs.  Two GPIO grouped port interrupts.  Switch matrix for flexible configuration of each I/O pin function.  CRC engine.  Quadrature Encoder Interface (QEI).  Configurable PWM/timer/motor control subsystem:  Up to four 32-bit counter/timers or up to eight 16-bit counter/timers or combinations  of 16-bit and 32-bit timers.  Up to 28 match outputs and 22 configurable capture inputs with input multiplexer.   Up to 28 PWM outputs total.  Dither engine for improved average resolution of pulse edges.  Four State Configurable Timers (SCTimers) for highly flexible, event-driven timing  and PWM applications.  SCT Input Pre-processor Unit (SCTIPU) for processing timer inputs and immediate  handling of abort situations.  Integrated with ADC threshold compare interrupts, temperature sensor, and analog  comparator outputs for motor control feedback using analog signals.   Special-application and simple timers:  24-bit, four-channel, multi-rate timer (MRT) for repetitive interrupt generation at up  to four programmable, fixed rates.  Repetitive interrupt timer for general purpose use.   Windowed Watchdog timer (WWDT).  High-resolution 32-bit Real-time clock (RTC) with selectable 1 s or 1 ms time  resolution running in the always-on power domain. RTC can be used for wake-up  from all low power modes including Deep power-down.    Analog peripherals:  Two 12-bit ADC with up to 12 input channels per ADC and with multiple internal  and external trigger inputs and sample rates of up to 2 Msamples/s. Each ADC  supports two independent conversion sequences. ADC conversion clock can be  the system clock or an asynchronous clock derived from one of the three PLLs.  One 12-bit DAC.  Integrated temperature sensor and band gap internal reference voltage.  Four comparators with external and internal voltage references (ACMP0 to 3).  Comparator outputs are internally connected to the SCTimer/PWMs and ADCs and  externally to pins. Each comparator output contains a programmable glitch filter.  Serial interfaces:  Three USART interfaces with DMA, RS-485 support, autobaud, and with  synchronous mode and 32 kHz mode for wake-up from Deep-sleep and  Power-down modes. The USARTs share a fractional baud-rate generator.  Two SPI controllers.  One I2 C-bus interface supporting fast mode and Fast-mode Plus with data rates of  up to 1Mbit/s and with multiple address recognition and monitor mode.   One C_CAN controller.  One USB 2.0 full-speed device controller with on-chip PHY.  Clock generation:  12 MHz internal RC oscillator trimmed to 1 % accuracy for 25 C  Tamb  +85 C  that can optionally be used as a system clock.  Crystal oscillator with an operating range of 1 MHz to 25 MHz.  Watchdog oscillator with a frequency range of 503 kHz.  32 kHz low-power RTC oscillator with 32 kHz, 1 kHz, and 1 Hz outputs.  System PLL allows CPU operation up to the maximum CPU rate without the need  for a high-frequency crystal. May be run from the system oscillator or the internal  RC oscillator.  Two additional PLLs for generating the USB and SCTimer/PWM clocks.   Clock output function with divider that can reflect the crystal oscillator, the main  clock, the IRC, or the watchdog oscillator.  Power control:  Integrated PMU (Power Management Unit) to minimize power consumption.  Reduced power modes: Sleep mode, Deep-sleep mode, Power-down mode, and  Deep power-down mode.  APIs provided for optimizing power consumption in active and sleep modes and for  configuring Deep-sleep, Power-down, and Deep power-down modes.  Wake-up from Deep-sleep and Power-down modes on activity on USB, USART,  SPI, and I2C peripherals.  Wake-up from Sleep, Deep-sleep, Power-down, and Deep power-down modes  from the RTC alarm or wake-up interrupts.   Timer-controlled self wake-up from Deep power-down mode using the RTC  high-resolution/wake-up 1 kHz timer.  Power-On Reset (POR).  BrownOut Detect BOD).  JTAG boundary scan modes supported.  Unique device serial number for identification    Single power supply 2.4 V to 3.6 V.  Temperature range 40 °C to +105 °C.  Available as LQFP100, LQFP64, and LQFP48 packages        

  • Q有没有中文资料?

    A 目前主要以英文资料为主, 中文资料会陆续补充, 谢谢

  • Q我还是个新手,LPC1500容易上手吗?

    A 比较容易,我们提供详细的例程资料,具体可以上www.lpcware.com,谢谢!