DSPRelated.com
Forums

dsp eval kits

Started by Unknown March 7, 2013
can you recommend on that has adc and dac floating point processing. Doesn't need to be too powerful. suit basic motor control. eg only needs to implment basic integrators/lag lead compensators.
On Thursday, 7 March 2013 07:42:11 UTC, gyans...@gmail.com  wrote:
> can you recommend on that has adc and dac floating point processing. Doesn't need to be too powerful. suit basic motor control. eg only needs to implment basic integrators/lag lead compensators.
although the hardware is not floating point, look at the Microchip dsPIC Starter Kit: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en534506 The software supports floating point, it has both 12-bit and 16-bit ADC and DAC (there is a choice to use PWM instead of DAC, the analog filters are built in) and it is designed for motor control. I use these for teaching about implementing DSP and find them excellent - low cost and simple. The dsPIC has 'DSP features' in a microcontroller. There are many application notes and software libraries for DSP motor control. Chris =========================== Chris Bore BORES Signal Processing www.bores.com
On Thursday, March 7, 2013 10:42:46 PM UTC+13, Chris Bore wrote:
> On Thursday, 7 March 2013 07:42:11 UTC, gyans...@gmail.com wrote: > > > can you recommend on that has adc and dac floating point processing. Doesn't need to be too powerful. suit basic motor control. eg only needs to implment basic integrators/lag lead compensators. > > > > although the hardware is not floating point, look at the Microchip dsPIC Starter Kit: >
thanks but do they have a dac?
>
i don't need pwm for this application. hard to tell on that link
On 7 Mar., 10:42, Chris Bore <chris.b...@gmail.com> wrote:
> On Thursday, 7 March 2013 07:42:11 UTC, gyans...@gmail.com &#4294967295;wrote: > > can you recommend on that has adc and dac floating point processing. Doesn't need to be too powerful. suit basic motor control. eg only needs to implment basic integrators/lag lead compensators. > > although the hardware is not floating point, look at the Microchip dsPIC Starter Kit: > > http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeI... > > The software supports floating point, it has both 12-bit and 16-bit ADC and DAC (there is a choice to use PWM instead of DAC, the analog filters are built in) and it is designed for motor control. > > I use these for teaching about implementing DSP and find them excellent - low cost and simple. The dsPIC has 'DSP features' in a microcontroller. There are many application notes and software libraries for DSP motor control. >
I'd consider something like an stm32f4discovery it only ~15$ from digikey 3*12bit adc, 2*12bit DAC, FPU, 168MHz Cortex m4, debugger onboard it may technically not be a DSP, but ... -Lasse
On Thursday, 7 March 2013 16:06:54 UTC, gyans...@gmail.com  wrote:
> On Thursday, March 7, 2013 10:42:46 PM UTC+13, Chris Bore wrote: > > > On Thursday, 7 March 2013 07:42:11 UTC, gyans...@gmail.com wrote: > > > > > > > can you recommend on that has adc and dac floating point processing. Doesn't need to be too powerful. suit basic motor control. eg only needs to implment basic integrators/lag lead compensators. > > > > > > > > > > > > although the hardware is not floating point, look at the Microchip dsPIC Starter Kit: > > > > > > > thanks but do they have a dac? > > > > > i don't need pwm for this application. hard to tell on that link
Yes it has a 12-bit DAC.
On 3/7/2013 1:42 AM, gyansorova@gmail.com wrote:

> can you recommend on that has adc and dac floating point processing. > Doesn't need to be too powerful. suit basic motor control. eg only > needs to implment basic integrators/lag lead compensators. >
TMS283xx is perhaps the only DSP that has both motor control hardware and floating point engine. Vladimir Vassilevsky DSP and Mixed Signal Designs www.abvolt.com
I'd have a look at the MBED. Easy to program, a highly popular "swiss army
knife" if something just needs to be done.

Floating point is supported but emulated.
http://mbed.org/

Has Ethernet / USB serial / I2C / GPIO interfaces.
On Wed, 06 Mar 2013 23:42:11 -0800, gyansorova wrote:

> can you recommend on that has adc and dac floating point processing. > Doesn't need to be too powerful. suit basic motor control. eg only needs > to implment basic integrators/lag lead compensators.
You contradict yourself between "doesn't need to be too powerful" and "floating point processing". My latest motor control board project is using an ST32F103xxx, which is neither a DSP nor has floating point hardware (it has an ARM M3 core), yet does a fine job doing more than just basic motor control. Another project is using a Luminary LM3S811 (another ARM M3 core); this has two PID loops running at 1kHz, with all double-precision floating point. If you're not going to be using the DSP features (i.e., if you're not going to be using FIR filters, vector dot products, or doing matrix multiplies using the MAC instruction), then you'd probably be better off with a processor with an ARM M3 core, or if you really need floating point speed, an ARM M4 core. -- My liberal friends think I'm a conservative kook. My conservative friends think I'm a liberal kook. Why am I not happy that they have found common ground? Tim Wescott, Communications, Control, Circuits & Software http://www.wescottdesign.com
On 3/7/13 4:10 PM, Tim Wescott wrote:
> On Wed, 06 Mar 2013 23:42:11 -0800, gyansorova wrote: > >> can you recommend on that has adc and dac floating point processing. >> Doesn't need to be too powerful. suit basic motor control. eg only needs >> to implment basic integrators/lag lead compensators. > > You contradict yourself between "doesn't need to be too powerful" and > "floating point processing". >
if the sampling rate is low, you can have both with software-based floating point. what kinda sampling rate do you need for "basic motor control"? 1 kHz? you can crunch a lotta numbers in 1 ms, even with a 8-bit PIC (as long as you got "add with carry"). not suggesting to do it in floating point. because of quantization issues that make it harder to model, i am not a fan of floating point DSP. but i've done it on occasion (double-precision, when i didn't think quantization is an issue anyway and i'm not worried about the deNormal problem). -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
On 3/7/2013 3:38 PM, robert bristow-johnson wrote:
> On 3/7/13 4:10 PM, Tim Wescott wrote: >> On Wed, 06 Mar 2013 23:42:11 -0800, gyansorova wrote: >> >>> can you recommend on that has adc and dac floating point processing. >>> Doesn't need to be too powerful. suit basic motor control. eg only needs >>> to implment basic integrators/lag lead compensators. >> >> You contradict yourself between "doesn't need to be too powerful" and >> "floating point processing".
Native floating point support doesn't imply the processor being particularly powerful.
> if the sampling rate is low, you can have both with software-based > floating point.
According to my experience with different tasks and MCUs, software floating point is ballpark 15 times slower then equivalent integer math.
> what kinda sampling rate do you need for "basic motor > control"? 1 kHz?
They typically run all controll stuff from ISR at every PWM interrupt. There is no need to go that fast; but this makes programming easy.
> you can crunch a lotta numbers in 1 ms, even with a > 8-bit PIC (as long as you got "add with carry"). > not suggesting to do it in floating point.
Why not. A PIC class MCU could handle something like PID regulator in the floating point in time of 1ms order. because of quantization
> issues that make it harder to model, i am not a fan of floating point > DSP. but i've done it on occasion (double-precision, when i didn't > think quantization is an issue anyway and i'm not worried about the > deNormal problem).
What are you talking about? In our days, industrial controllers are programmed from visual tools; by dragging blocks with mouse, selecting options and typing in the numbers. Floating point fits naturally into this paradigm. Vladimir Vassilevsky DSP and Mixed Signal Designs www.abvolt.com