Skip to main content
phuocnguyenhuu96
Associate III
October 19, 2018
Solved

STM32F4 Sine wave

  • October 19, 2018
  • 14 replies
  • 2694 views

Does anyone already have been generate three sine wave using stm32f4?

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    Only has two DACs

    14 replies

    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    October 19, 2018

    Only has two DACs

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    T J
    Senior III
    October 19, 2018

    use an external Quad DAC,

    the easiest interface I ever did

    only took 10 minutes before it worked.

    T J
    Senior III
    October 19, 2018

    use an external Quad DAC,

    the easiest interface I ever did

    only took 10 minutes before it worked.

    T J
    Senior III
    October 19, 2018

    use an external Quad DAC,

    the easiest interface I ever did

    only took 10 minutes before it worked.

    phuocnguyenhuu96
    Associate III
    October 20, 2018

    Thank you. But as I understand your answers, we just could generate TWO sine wave with TWO DACs? I need THREE sine wave for control 3 phase AC motor.

    T J
    Senior III
    October 20, 2018

    what speed do you need in RPM ?

    You need 3 Dacs for 3 sinewaves...

    phuocnguyenhuu96
    Associate III
    October 21, 2018

    Thank you for your reply. I need about 3000rpm. So can I use 3 DACs for generate sinewave? In addition, can I generate 3 sinewave use DACs with PHASE SHIFT (120 degrees).

    T J
    Senior III
    October 21, 2018

    Yes of course.

    so you need a Sine wave in Flash, and feed it to the DAC at the right time

    if your sine wave hast 8 steps, ( which is not much of a sine wave)

    how many poles does the motor have ?

    3000 x 60 x Poles x 8 points(in Sinewave)

    guessing 2 or 3 poles...

    that's a feed rate of 2.8MHz per channel... if you want 16 bit, double that.

    that is going to be difficult for a veteran.

    This seems a stretch from being practicable.

    there are other methods of driving motors, maybe some more research is needed.

    phuocnguyenhuu96
    Associate III
    October 21, 2018

    Thank you TJ. Your information really useful for me. And yes, there's difference method of driving AC motors, but I want to practice the simple method, is Vf control or Scalar control. I already have been made that with dsp kit of TI, but for ARM, the problem is I don't know how to generate 3 phase sine wave. That's why I post it to this forum.

    Again thank you for your share.

    T J
    Senior III
    October 21, 2018

    which DSP kit was it ?

    what motor do you have ?