587,546 active members*
3,816 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Open Source Controller Boards > DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)
Page 4 of 25 2345614
Results 61 to 80 of 490
  1. #61
    Join Date
    May 2006
    Posts
    190

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Quote Originally Posted by Holzwurm56 View Post
    Hi,
    the 6N137 has a inverted logic. I orderd the HCPL3180 from China for 1$. I do not know about the quality, when I receive them I will test.

    Hans
    6n137-I, seems to be half price (half frequency also) and positive output, but I do not think we need that super speed. We have only 20kHz in PWM speed... (wanna change that? )
    http://www.tme.eu/ro/Document/71c7b9...e816/6n137.pdf

    Mihai

  2. #62
    Join Date
    May 2006
    Posts
    190

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Quote Originally Posted by tivoidethuong View Post
    HCPL3180 is mosfet gate drive opto, you can direct drive mosfet
    gud choice
    I must admit I do not get this very well... You mean we could use a couple of those to drive directly the low and high side of a half bridge without using any other dedicated circuitry? How do they work? We do not need a Higher voltage for high side?
    Hmmm... I do not get it... please elaborate with a schematic... could we drop the ir2101s?

    Thanks

    Mihai

  3. #63
    Join Date
    May 2006
    Posts
    190

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    I must thank here to the user tivoidethuong who offered to give me for free a DC motor for testing. Thanks again! I appreciate it. You can make a special request for the code ))
    I just bought from ebay a used servo. Dunkermotor GR42x25 mit Getriebe PLG 32, i=6,25:1, 12V-24V/DC, 3600 U/min | eBay
    I think it will do just fine for our DC motor testing. I will add DC motor support after I will receive it... I presume nothing will change in the schematic... so go ahead with your designs...
    Please do not forget to add a jumper from PB1 to 3.3V for the bootloader...

    Mihai

  4. #64
    Join Date
    May 2006
    Posts
    190

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Quote Originally Posted by Holzwurm56 View Post
    Hi Mihai,
    maybe I can build the pcb some smaller, but I will produce the prototype with isolation milling. I think the power-pcb is 100 x 60 mm, so both parts has europaformat. Can the Arm reads a thermoelement type K directly, is there a internal multiplicator for the analog inputs build in? Its possible to program an outputpin to enable the integrated powerbridge. I have orderd the optos in China and they are very inexpencive. Quality?

    Thanks

    Hans
    I do not think we can add the type K termo sensor directly to the ADC.
    From what I understand from this picture: https://en.wikipedia.org/wiki/Thermo..._functions.svg
    we have a variation of 10mV for 250 Celsius... our ADC is 12 bit with VRef set to 3.3, so this gives us o theoretical resolution of 3300 mV / 4096 = 0.71 mV... not very good for measuring a few milli Volts... So we need to amplify that signal...

    Mihai

  5. #65
    Join Date
    Mar 2005
    Posts
    306

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    about opto mosfet gate drive
    1. bostrap like ir2101


    2. independent 15V voltage source for high side

  6. #66
    Join Date
    Nov 2005
    Posts
    111

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Hi,
    if its not possible to read the K-sensor directly with the Arm it will be not a problem to insert a special operationamplifier ic. I do not know the manual from the ARM but some microprocessors have integrated programmable gain for some of the analog inputs. For the power pcb I will use a integrated bridge IRAMX20up60a there the mosfetdriver built in.

    Hans

  7. #67
    Join Date
    Mar 2005
    Posts
    306

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Quote Originally Posted by Holzwurm56 View Post
    Hi,
    if its not possible to read the K-sensor directly with the Arm it will be not a problem to insert a special operationamplifier ic. I do not know the manual from the ARM but some microprocessors have integrated programmable gain for some of the analog inputs. For the power pcb I will use a integrated bridge IRAMX20up60a there the mosfetdriver built in.

    Hans
    if you are use iramx20up60a, i dont think HCPL3180 suitable
    6n137 is good choice

    opto for direct mosfet gate drive
    Isolated Gate Drive Optocouplers

    opto for IPM interface
    IPM Interfaces

    about positve ON or negative ON, you can modify stm32 code

    tivoi

  8. #68
    Join Date
    May 2006
    Posts
    190

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Quote Originally Posted by Holzwurm56 View Post
    Hi,
    if its not possible to read the K-sensor directly with the Arm it will be not a problem to insert a special operationamplifier ic. I do not know the manual from the ARM but some microprocessors have integrated programmable gain for some of the analog inputs. For the power pcb I will use a integrated bridge IRAMX20up60a there the mosfetdriver built in.

    Hans
    From what I know there is no way to set the gain in the STM32F103 ADC (old ATMega644 that I am familair with had such features). And since we need the Vref to be at least 3.3 V in order to measure the used current as good as possible we can not decrease Vref. So you need to boost the signal from the K Thermo in order to measure it good. But by the way... Do you intend to something with the value measured like limit the current and stuff? or you just want to stop the circuit on overtemperatures?

    Mihai

  9. #69
    Join Date
    Nov 2005
    Posts
    111

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Hi Mihai,
    only stop at overtemperature. This feature must not work from the first time, but its easier when its possible in the pcb.

    Hans

  10. #70
    Join Date
    Dec 2012
    Posts
    390

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Instead of trying to read the thermocouple directly or trying to make an amplifier to be able to read it, wouldn't be easier to just use a MAX31855K chip?

  11. #71
    Join Date
    May 2006
    Posts
    190

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Quote Originally Posted by Stigoe View Post
    Instead of trying to read the thermocouple directly or trying to make an amplifier to be able to read it, wouldn't be easier to just use a MAX31855K chip?
    Let's keep things simple please...

    Mihai

  12. #72
    Join Date
    Mar 2005
    Posts
    306

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    i recommend use dido for temp protec

    Capgo - Semiconductor Temperature Sensors
    Attached Thumbnails Attached Thumbnails DiodeTemp.GIF  

  13. #73
    Join Date
    May 2005
    Posts
    1397

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    The TIL191 and TIL192's appear to be obsolete... Does anyone know a current part number? I'm trying to figure out the total BOM cost.
    James hosts the single best wiki page about steppers for CNC hobbyists on the net:
    http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)

  14. #74
    Join Date
    Feb 2007
    Posts
    4553

    Post Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    James,

    I believe Newark still has the TIL191:

    TIL191 - Buy ISOCOM TIL191 Online at Newark element14

    Jeff...
    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.

  15. #75
    Join Date
    May 2005
    Posts
    1397

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Quote Originally Posted by jalessi View Post
    James,

    I believe Newark still has the TIL191:

    TIL191 - Buy ISOCOM TIL191 Online at Newark element14

    Jeff...
    Is there no modern replacement? Should we be making new designs based on chips that are becoming difficult to source?
    James hosts the single best wiki page about steppers for CNC hobbyists on the net:
    http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)

  16. #76
    Join Date
    Mar 2005
    Posts
    306

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    i thinks til191 can replace by pc817
    http://www.sharpsma.com/webfm_send/1092

  17. #77
    Join Date
    Nov 2005
    Posts
    111

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Hi,
    here is my next pcb from the controlpcb. I hope the thermosensor type K can connect to the opamp. For current sensing the arduino isolated modul can be used. The power pcb comes soon, I will it use for variable frequency drive and the servo drive. The vfd is a project in the german microcontroller forum.
    Click image for larger version. 

Name:	ServoCont2.jpg 
Views:	51 
Size:	216.6 KB 
ID:	296578
    Hans

  18. #78
    Join Date
    Nov 2005
    Posts
    111

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Hi,
    here is my first design from the power pcb. Hi Mihai its possible to use a pin from the to switch the power bridge on or shut down?
    Attachment 296626

    Hans

  19. #79
    Join Date
    May 2006
    Posts
    190
    Quote Originally Posted by Holzwurm56 View Post
    Hi,
    here is my first design from the power pcb. Hi Mihai its possible to use a pin from the to switch the power bridge on or shut down?
    Attachment 296626

    Hans
    Sure thing Hans. Any other free pin can be used as GPIO. What pin would be good for your design?

    Mihai

  20. #80
    Join Date
    Nov 2005
    Posts
    111

    Re: DIY BLDC / DC Motor Servo Drive - ARM MCU (STM32F103C8T6)

    Hi Mihai,
    I think B0, B1, B10 or B11.

    Thanks

    Hans

Page 4 of 25 2345614

Similar Threads

  1. Replies: 3
    Last Post: 02-11-2015, 06:07 AM
  2. Replies: 0
    Last Post: 10-21-2014, 09:29 PM
  3. Servo Drive AC + servo motor for car steering wheel simulator
    By yusukeand in forum Servo Motors / Drives
    Replies: 6
    Last Post: 01-10-2014, 09:06 AM
  4. VCE-750 with BLDC Servo - X Axis Servo fault
    By kostner in forum Haas Mills
    Replies: 6
    Last Post: 10-23-2011, 08:09 PM
  5. Sell Servo Motor, Servo Drive by GSKcnc.com from China
    By salecnc@hotmail in forum News Announcements
    Replies: 0
    Last Post: 06-03-2008, 08:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •