1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

how to implement v/f in arduino uno

Discussion in 'Arduino' started by mobinmk, Feb 22, 2015.

  1. mobinmk

    mobinmk New Member

    Joined:
    Feb 22, 2015
    Messages:
    2
    Likes:
    0
    succesfully i generated 3 sine wave which have 120 deg phase with each other.

    using 3 phase dds

    now i wana to implement v/f

    amplitude modulation ..??




    pls help me
     
  2. Wade Hassler

    Wade Hassler Member

    Joined:
    Jun 4, 2009
    Messages:
    152
    Likes:
    11
    You have a list of time-delays in 'sine256[]' that correspond to amplitudes.
    The amplitudes must be scaled (either on-the-fly or in separate tables eg 'sine256_f50Hz[]', 'sine256_f40Hz[]' etc) by the ratio
    'Target_frequency'/'Line_Frequency'

    Somebody is sure to come along and complain that your sine-table is too long by a factor of four, and that you can do the whole operation with one quadrant of values and some arithmetic. That's true, but don't worry about that just now: you have some other things to deal with ( e.g., dead-time )
     

Share This Page