• AVR Freaks

Hot!Sensored BLDC Motor Control Using dsPIC30F3010 - open loop

Author
Priya1112
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2019/12/02 23:20:22
  • Location: 0
  • Status: offline
2020/02/27 01:57:09 (permalink)
0

Sensored BLDC Motor Control Using dsPIC30F3010 - open loop

Hi,
I have to develop an application for sensored BLDC motor. For this I would buy the demo PICDEM MCLV with dsPIC30F3010.
I didn't connect motor ,i just give +24V supply to the board and program the board with microchip example source code "Sensored open loop dsPIC30f2010"(i just change device into dsPIC30F3010 and linker script in mplab ide). I manually give hall sensor input for testing.When i pressed the S2 switch , the corresponding PWM output leds are turned on for the hall input.
 
But within few second the PWM output leds are turned off .So that i checked the FAULTA pin but its in high state.Then why PWM outputs are getting turned off ? plz rply me as soon as possible.
#1

5 Replies Related Threads

    crosland
    Super Member
    • Total Posts : 1990
    • Reward points : 0
    • Joined: 2005/05/10 10:55:05
    • Location: Warks, UK
    • Status: offline
    Re: Sensored BLDC Motor Control Using dsPIC30F3010 - open loop 2020/02/27 02:42:59 (permalink)
    +2 (2)
    "sensored open loop" is an oxymoron.
     
    Either you are running sensored or you are running open loop. It may be that the sensor feedback is still used for display only in open loop mode.
     
    Why and how, exactly, did you "manually give hall sensor input for testing"? If you are running open loop then the feedback is irrelevant.
     
    It sounds more like you are running in sensored mode, with no feedback, and the control algorithm is shutting down. Probably driven into saturation, trying to get the (non-existant) motor to turn.
     
     
    #2
    Priya1112
    New Member
    • Total Posts : 16
    • Reward points : 0
    • Joined: 2019/12/02 23:20:22
    • Location: 0
    • Status: offline
    Re: Sensored BLDC Motor Control Using dsPIC30F3010 - open loop 2020/02/27 03:08:30 (permalink)
    0
    Hi crosland,
    kindly clarify me exactly the reason behind PWM is turned on and within a fraction of second its get turned off for hall sensor input is given by me manually (just by touching ground)for testing purpose where motor is not connected..
    #3
    Priya1112
    New Member
    • Total Posts : 16
    • Reward points : 0
    • Joined: 2019/12/02 23:20:22
    • Location: 0
    • Status: offline
    Re: Sensored BLDC Motor Control Using dsPIC30F3010 - open loop 2020/02/27 03:53:17 (permalink)
    0
    Hi crosland,
    For testing i jsut turned on all leds in PICDEM MCLV board.
    In main
        LATE = 0x0000;
        TRISE = 0x0000;    
        DelayNmSec(500);
        LATE  = 0xFFFF;
    but LEDs get toggled , i think controller is getting reset. How can i slove this problem?
     
    #4
    Priya1112
    New Member
    • Total Posts : 16
    • Reward points : 0
    • Joined: 2019/12/02 23:20:22
    • Location: 0
    • Status: offline
    Re: Sensored BLDC Motor Control Using dsPIC30F3010 - open loop 2020/02/27 04:35:24 (permalink)
    0
    It appears the the oscillator output (pin 10) stays at 0V!
    But why doesn't the oscillator run in dspic30f3010?
    I even tried an external 5MHz source (VH=4V, VL=0V), but nothing happens.
    Is it defective or is something wrong with the configuration bits?
    Also, I suppose that I can't read out the program code while the oscillator isn't running, right?
    #5
    pcbbc
    Super Member
    • Total Posts : 1703
    • Reward points : 0
    • Joined: 2014/03/27 07:04:41
    • Location: 0
    • Status: offline
    Re: Sensored BLDC Motor Control Using dsPIC30F3010 - open loop 2020/02/27 06:33:15 (permalink)
    +1 (1)
    Priya1112Is it defective or is something wrong with the configuration bits?

    As you've posted neither code nor configuration bits, it's hard to tell.
     
    Also this is the 8-bit forum.  The dsPIC30F3010 is a 16-bit device.
    You might want to try the dsPIC30 Forum.  You'll get a better quality of response from users more familiar with the product line.
    You can't move this post, so start a new thread there and then post a link here (so you don't get replies in both places).
    #6
    Jump to:
    © 2020 APG vNext Commercial Version 4.5