+ Post New Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 27
  1. #1
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Phase)

    Three Phase Bridge IC Super Best.PDFMAXON EC 40 BLDC Motor.pdfClick image for larger version. 

Name:	FPGA BLDC 2.jpg 
Views:	12 
Size:	150.9 KB 
ID:	118963

    Respected All Readers and Electronics Experts,

    Hello and a Good Day to all of you.

    Its my 4th or 5th post on EDA Forum ever since I joined it. Fortunately, I always found excellent solutions to my queries, hence my experience here has been excellent and I hope for the same this time again.

    This time, as the subject of this thread illustrates, me and my team intends to monitor and control the motion of a BLDC (Brushless DC) Motor using a FPGA. Our team comprises of two sections, with the one dealing in Digital Aspects (FPGA / Motor Controller) while me responsible for selecting hardware components in Analogue domain (Motor, Motor Drive Electronics, ADC).

    The BLDC Motor should have the following properties: Power(<=120 Watt), Speed (10,000 RPM), Feedback (Sensored/ Hall Effect).

    (A) I have selected a MAXON EC 40 BLDC Motor datasheet of which is attached here. It has Power(<=120 Watt), Operating Voltage (24 Volt), Speed (10,000 RPM) and Built-In Feedback (Sensored/ Hall Effect).
    (B) I have also selected a Three Phase Bridge IC manufactured by On Semiconductors (STK984-091A-E)
    (C) The ADC as shown in the attached picture is yet to be selected. The purpose of this ADC is to receive analogue output from Motor's Hall Effect Sensors, convert it to digital format and then feed into the FPGA.
    (D) The FPGA (NOT my Part in this project) will receive the digital signal from ADC, determine the position and speed of the rotor, and will then issue PWM signals required to run the motor at any specific speed.

    Now what are my Questions?

    (A) Using your expertise, please VALIDATE the integration of the two components I selected so far i-e Motor and the Drive Electronics. You may also suggest me some other alternatives.
    (B) Please suggest me an ADC Chip that may fit into this system.
    (C) Is my approach CORRECT?
    (D) It will be a great help if somebody reply me with a fully functional system based on His/Her Experience. In this case, you can simply type the names of the components into the image attached with the name (Your Design).

    Thanking you in advance for viewing this thread and I will highly appreciate your input in this project.

    Regards:

    Umar Shafiq
    PhD Student
    Aerospace Engineering Department
    KAIST, South Korea

  2. #2
    Super Moderator
    Points: 251,615, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,818
    Helped
    13322 / 13322
    Points
    251,615
    Level
    100

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Are you sure that the Maxon EC40 motor exposes analog hall signals? Most BLDC motors have in fact digital hall sensors, I don't see an analog sensor option offered in the Maxon catalog. In this case, the ADC channel reduces to a single channel measurement.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  3. #3
    Super Moderator
    Points: 69,722, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,241
    Helped
    3255 / 3255
    Points
    69,722
    Level
    64

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Hi,

    The purpose of this ADC is to receive analogue output from Motor's Hall Effect Sensors, convert it to digital format and then feed into the FPGA.
    are you sure the hall sensor output is analog? My BLDC motor has digital hall sensor outputs. It doesn´t need an ADC.

    But we use an ADC for surrent sensing.
    You showed to measure bridge GND currrent. We decided to measure three phase string current.

    Klaus


    1 members found this post helpful.

  4. #4
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    I appreciate your input and I am thankful for the wise words. The matter is that this is the first time that I am dealing with HALL EFFECT SENSORS. In the datasheet of the motor, it is given as

    green VHall 4.5 ... 24 VDC
    blue GND
    red/grey Hall sensor 1
    black/grey Hall sensor 2
    white/grey Hall sensor 3

    I dont know what it means. I take it as a simple ON and OFF. So lets suppose that for any particular position, We have a 5V DC Voltage appearing upon one wire indicating Hall-ON, we can not directly input this to an FPGA Pin until we digitize it to suitable level for FPGA (if I am not wrong). Please share your words.

    Also tell me, whether it is correct to integrate STK984-091A-E (Drive Electronics) with Maxon EC-40 (BLDC Motor)?



  5. #5
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Thanks. I am agreed to your comment about current sensing. However, if you look at the motor datasheet, how can I directly input the output of hall sensor into the FPGA without converting it to suitable voltage format for FPGA?



  6. #6
    Super Moderator
    Points: 69,722, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,241
    Helped
    3255 / 3255
    Points
    69,722
    Level
    64

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Hi,

    However, if you look at the motor datasheet, how can I directly input the output of hall sensor into the FPGA without converting it to suitable voltage format for FPGA?
    In the simplest way your FPGA inputs are 5V tolerant.

    If not: What about using a simple two resistor voltage divider at each hall signal?

    Klaus


    1 members found this post helpful.

  7. #7
    Advanced Member level 5
    Points: 14,187, Level: 28
    schmitt trigger's Avatar
    Join Date
    Apr 2013
    Posts
    2,369
    Helped
    770 / 770
    Points
    14,187
    Level
    28

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Every BLDC motor position sensor I've seen has had digital outputs. I'm not saying that it is impossible that the outputs are analog, only that it is unlikely.

    If it were the case though that it does indeed have analog outputs, the easiest would be to condition them with a schmitt trigger device, like a 74HC14.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  8. #8
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    OK. That Sounds pretty nice.
    May you please share your views whether it is technically feasible to join given BLDC Motor with given Drive Electronics IC?



  9. #9
    Advanced Member level 5
    Points: 14,187, Level: 28
    schmitt trigger's Avatar
    Join Date
    Apr 2013
    Posts
    2,369
    Helped
    770 / 770
    Points
    14,187
    Level
    28

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    The STK984-091A-E datasheet indicates a 20 amp current. So yes, it should be feasible.

    This driver is a Sanken product....weird that OnSemi is now offering it. I was under the impression that Allegro Semiconductor was the one who had partnered with Sanken.


    1 members found this post helpful.

  10. #10
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    For respected KlausST

    Please suggest me a suitable ADC IC, which may be used for current sensing in this application. 10 Bit resolution would be sufficient.



    •   AltAdvertisment

        
       

  11. #11
    Super Moderator
    Points: 69,722, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,241
    Helped
    3255 / 3255
    Points
    69,722
    Level
    64

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Hi,

    Please suggest me a suitable ADC IC, which may be used for current sensing in this application. 10 Bit resolution would be sufficient.
    I try.
    Maybe bridge GND current is sufficient (it depends on your application and your needs), then you should go this way.
    For bridge GND sensing I recommend to use a ground current sensing shunt. Low ohmic and low inductive.
    Then use an OPAMP to meet the ADC input range (Needs to have low offset drift, commom mode input to GND, RR output and good GBW).
    With the OPAMP circuit you should add filter (2nd order) to suppress PWM frequency.
    Then the ADC is very uncritical. Almost any SAR ADC with lets say 10kSamples/s is OK.

    **
    FYI:

    In our application we did precision sine excitation for best radial runout. Therefore wid did a complete modified current measurement concept:
    Three phase simultaneous current measurement with delta sigma ADC. Filtering in ADC and FPGA. RMS current calculation of all three phases combined.
    With this the RMS current is flat. Like DC..... but it reacts fast on change in phase angle so we are able to achieve fast and precise regulation.
    This was for an precision measurement equippment. But usually this is an overkill. Therfore i didn´t recommend this for your application.

    Klaus


    1 members found this post helpful.

  12. #12
    Advanced Member level 5
    Points: 14,187, Level: 28
    schmitt trigger's Avatar
    Join Date
    Apr 2013
    Posts
    2,369
    Helped
    770 / 770
    Points
    14,187
    Level
    28

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Quote Originally Posted by umargill View Post
    For respected KlausST

    Please suggest me a suitable ADC IC, which may be used for current sensing in this application. 10 Bit resolution would be sufficient.
    This is a little bit open ended question.

    What sort of interface do you require, I2C, SPI, Other?
    Sample rate?
    Integrated reference or external?
    Supply voltage, Dynamic range?
    Any particular architecture, Delta-Sigma, SAR?
    What sort of IC package, PDIP, SOT, SOIC, QFN, PLCC, other?
    Very important.....target cost?

    You should go to a selector page like the following:
    http://www.ti.com/lsds/ti/data-conve...-products.page


    1 members found this post helpful.

  13. #13
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    [Merged]Selection of an ADC Chip

    Respected Technical Readers and Experts,

    Please have a look at the attached diagram. I am trying to find a suitable ADC IC which can be used to sense the current, convert it into a Digital signal for its reading by a FPGA.
    Please note that filtering means the filtration of Low Frequency Analogue Current Signal from High Frequency PWM Signal. An ADC IC with built-in Low Pass Filter may serve the purpose.

    Looking forward for your valuable comments and suggestions.

    Regards:

    GILL
    Last edited by FvM; 11th July 2015 at 09:13. Reason: Threads merged



  14. #14
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Respected KlausSt and Schmitt Trigger,

    I had a meeting with team member working on FPGA. He answered as follows:

    Interface? = SPI
    Sample Rate? = 10 Hz
    Reference? = External
    Supply Voltage, Dynamic Range? = We are not sure about the reply to this Qs. (Maybe 5V/3.3 will be used)
    Any Particular Architecture? = No, No Particular Architecture is intended
    IC Package? = PDIP
    Cost = No Problem


    Please suggest an ADC just for sensing the current in the above system.

    Regards



  15. #15
    Advanced Member level 5
    Points: 22,532, Level: 36
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,306
    Helped
    955 / 955
    Points
    22,532
    Level
    36

    Re: Selection of an ADC Chip

    First, there are no ADCs, at least that I'm aware of, that are current input; you'll need a current to voltage converter circuit. And since you're adding that converter circuit, you might as well put some filtering there.

    Now,as to your original question, what resolution and speed do you need? THAT determines what a suitable ADC would be. Are you just monitoring the current for protection, or are you implementing a current-control loop?


    1 members found this post helpful.

  16. #16
    Advanced Member level 5
    Points: 34,771, Level: 45
    Achievements:
    7 years registered Created Blog entry Created Album pictures
    SunnySkyguy's Avatar
    Join Date
    Sep 2007
    Location
    Richmond Hill, ON, Canada
    Posts
    6,700
    Helped
    1672 / 1672
    Points
    34,771
    Level
    45
    Blog Entries
    7

    Re: Selection of an ADC Chip

    This is a control system design, you must solve first before selection or even thinking of any implementation or ADC.

    Probably a 3 load or 6 drive shunt sensor network with differential amps , signal condition then sample and Hold into an analog Mux is needed first. But analog signal conditioning for transient loads expected and unexpected (external ) is a major consideration with step loads.

    After you decide max acceleration and braking rates and then velocity then you can decide how you want to measure, true RMS with > N samples per cycle then you assess what digital power is needed vs analog processing and end up with a DSP.

    your inputs maybe; HP, inertial mass, load range , voltage , Iab, Ibc, Ica, desired profile for phase,velocity,acceleration, rate of change of rotational energy or inertia, desired tracking time or power limit.

    your output is PWM phase , frequency or D for a,b,c
    A good design question lists your overall requirements™ The best question deserves a better answer. ™
    ... Tony Stewart EE since 1975


    1 members found this post helpful.

  17. #17
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    [Merged]Re: Selection of an ADC Chip

    Good Day Barry!

    Thank You for your reply. Well I am agreed that no ADC measures current. So Its always a voltage signal.

    Further, it is a CURRENT monitoring circuit.

    3rd, both speed and resolution is not very strict requirements. The current is not expected to vary at KHz frequencies, while resolution around 8 bit is more than enough.

    Regards

    - - - Updated - - -

    Dear SunnySkyGuy!

    I think you misread the situation here.

    It is a simple current sensing application. Monitoring of a current being driven by a BLDC motor
    Last edited by FvM; 11th July 2015 at 09:12. Reason: Threads merged



  18. #18
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Respected All!

    A good day to everyone wherever you are

    OK. Please look at the new problem I am facing. The motor starting current is 90 Amp. The Drive IC can supply a maximum of 20 Amp. Please look at the attached image. Any comments over the issue?

    Further, can anyone explain me the difference between motor stall current and motor starting current?

    Regards



    •   AltAdvertisment

        
       

  19. #19
    Super Moderator
    Points: 251,615, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,818
    Helped
    13322 / 13322
    Points
    251,615
    Level
    100

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    No attached image.

    With appropriate V/f control, there should be no high starting current.


    1 members found this post helpful.

  20. #20
    Junior Member level 1
    Points: 1,153, Level: 7

    Join Date
    Oct 2010
    Location
    Daejeon, South Korea
    Posts
    18
    Helped
    0 / 0
    Points
    1,153
    Level
    7

    Re: moved- FPGA based control of BLDC Motor (BLDC , FPGA , ADC , IGBT , MOSFET , 3 Ph

    Image appears as Visible



--[[ ]]--