603,308 active members*
2,796 visitors online*
Register for free
Login
Page 4 of 22 2345614
Results 61 to 80 of 438
  1. #61
    Join Date
    May 2006
    Posts
    190

    FETs in the schematics

    Yes... The fets are low power and placed wrong on the pcb(a heatsink can not be attached).

    However I personally do not agree with the ideea of having the H-Bridge and the controller on the same pcb. You may very easy construct the controller separately and then interface any H-Bridge desired.

    Best regards

    PS. It is not my schematic. I got the link from a friend. Do not know who developed it.

  2. #62
    Join Date
    Jul 2005
    Posts
    442
    MCM

    That design places the motor voltage on the gate! That was what my comment was about.

    As far as having the bridge on the same PWB as the controller is not an issue if the bridge is designed properly. I would not recommend the additional cost (connectors, cabling, hardware, etc) for a drive less than 1kW.

    Aaron

  3. #63
    Join Date
    Dec 2006
    Posts
    18
    Quote Originally Posted by 5632alex View Post
    I have test the ELM servo controller using SMC3 source, the control circuit using ELM and the FET use UHU and it work! The only problem I facing are tunning the servo parameter.
    The chip I using are 74HC14, IR2184*2,IRF540*4,2313.
    Anyone can help to tune the correct servo parameter?
    Hey 5632alex, hope you have solved the tuning problem with the servo. Have you made any tests with the patched (ELM control + UHU FET) circuit? Is it eficient and error free?

    Thanks

  4. #64
    Join Date
    Oct 2006
    Posts
    7
    Hi Mcan I still cannot solve the tuning issue, maybe I would update to the SMCA firmware. If my encoder have 1000CPR whether will cause problem?
    MCM
    Can help to tune the servo parameter since you have a working set.

  5. #65
    Join Date
    May 2006
    Posts
    190

    Parameters

    Hello.

    Parameters were hard to find for mee too. With the third or fourth set that is default in the firmware my system worked almost good except for the stopping of the motors. When stopping the motor oscilates too much and error occures. I will dump my parameters today and tell them to you. However I do not know if they'll work for you.

  6. #66
    Join Date
    Oct 2006
    Posts
    7
    Hi,

    MCM. Thanks you in advance. do you know how to determine the setting for P1 (KF), P2 (KP) and P3 (KI)?

    I think the idea of separate the H Bridge and Controller is good. because is easy to troubleshoot.

  7. #67
    Join Date
    May 2006
    Posts
    190

    servo parameters

    Hi alex
    Here are tre settings that work good for my motors. Have a nice day...

    Mike
    Attached Thumbnails Attached Thumbnails setari servo.gif  

  8. #68
    Join Date
    Feb 2007
    Posts
    31

    alex751

    Quote Originally Posted by smarbaga View Post
    hello
    attached is the elm servo redrawn ( in the rough) with some uhu features attached. component values and part ref.# to follow.
    i could lay out a pcb if anyone was interested, the fet driver and output section is already in place.
    any changes sugestions or recomendations are always welcome.

    Hello ALL!

    I am very thankfull for such taking part and level of information from everybody. I have some problems vith programmation of tiny2313 with Chan filmware (My greate respect to Chan).
    I am using standart prototype board Olimex to make internal programmation of 2313. I am doing everithing like in conferense people advise me.
    First of all I have aproblem after FUSE programming (I am using PONYPROG)
    CKDIV8 =1 (unprogrammed) means the processor not using devision by 8 (due to datasheet)
    ClockSel 1111 (unprogrramed) together vith addvised SUT 10 means usin Oscilator with fast rising pover
    BOD 100 (Due to chan advise) meand using BOD controll 4,7 volts but we are not using BOD enabled with SUT 10 and CLOCKSEL 1111. To use a BOD we need to put SUT 01.

    After FUSE programing I can not read 2313 every time. (I can read with pressing button ignor in PONYPROG) and code is changed from original one. PONY PROG can not identify CPU. I dont know wy but with FUSE programming CPU (chip) became locked and I can not remove a lock even I can not change FUSE settings. Also I have on PB3 and PB2 = 1 (PWM) but as I cam understand should be =0 on both.
    Also i have in programm code: (I am using 16 Mz oscilator)

    .equ INI_MODE = 3
    .equ SYSCLK = 16000000
    .equ BPS = 38400

    I con not manage to connect 232. I have nothing on my terminal. (I hacked max 232 and also 74hc14 both)

    So my FUse settings is:
    CKDIV8=1 SUT 10 ClockSel 1111 (also I can put BOD 100 but no difference)

    People can you help pe to manage problem

    Respect to all.

  9. #69
    Join Date
    May 2006
    Posts
    190

    fuse bits

    I have made a previous post on how the fuse bits should look in ponyprog. I have used a homemade stk200 for programming. However after setting the ckdiv8 bit I think, ponyprog does not recognize the chip anymore. You will have to power up the chip in order to work. I also added a 4MHz resonator on the programmer. I think this could help you.

    Best regards

  10. #70
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    I have made a previous post on how the fuse bits should look in ponyprog. I have used a homemade stk200 for programming. However after setting the ckdiv8 bit I think, ponyprog does not recognize the chip anymore. You will have to power up the chip in order to work. I also added a 4MHz resonator on the programmer. I think this could help you.

    Best regards
    So to me I used self made stk200. I think with ckdiv8 everything is ok. I crashed already alot of chips. I had tryed everithin. as standart chdiv8=0 if you are putting ckdiv=1 and leave clocksel 0100 still everything is ok. Problem start when you put clocksel 1111.

    What do you think this is a problem of stk200?

    Many thanks for your reply.

  11. #71
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    I have made a previous post on how the fuse bits should look in ponyprog. I have used a homemade stk200 for programming. However after setting the ckdiv8 bit I think, ponyprog does not recognize the chip anymore. You will have to power up the chip in order to work. I also added a 4MHz resonator on the programmer. I think this could help you.

    Best regards
    Many thanks again for carrying my problem. A friend of my have STK500. I think I will take it to make programmation. I think I will not have such problems. Also I have set of documentation for AVR ISP tigether with layout and instruction how to build.
    I have one extra question. Did you build any elm dc servo controller?
    I am using Proteus to test filmvare. with old at90s2313 hex (I build it in AVR studio) everything is ok. I have terminal in proteus I can see messaging and also I can make changemant of parameters in. After switching ig m3 mode I can drive with clock STEP DIR and olso G0 and G1 code, but I can not do this with attiny2313 hex which Chan builded. I have terminal I have messaging but when I try to controll nothing changed on PB2 and PB3. May be this bacause I am using at90s2313 model instead of attiny 2313. Proteuse have no model attiny2313. Have you eve build any controller on Attiny 2312 with hex SMC3 or SMC3a?

    Best regards

  12. #72
    Join Date
    Dec 2006
    Posts
    18
    I want to try this controller but I think I'm lost. I had the smc-chan controller laid out in eagle, but I am not sure about the FET drive part. Are you using the FET drive layout submitted by smarbaga? Can someone post the circuit layout of SMC controller and FET drive they are using?

    Thanks in advance

  13. #73
    Join Date
    Mar 2005
    Posts
    523
    hello
    the fet drive i submitted is a sugestion and taken from Mr. Huber's uHu servo drive controller. ( diy posting on this sight )
    his output driver is solid and works real good on his design.
    in fack his whole design works well.
    i see no reason why his output section shouldn't work as well here.
    but if i am missing anything please let us know.
    thanks, reguards garry

  14. #74
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by smarbaga View Post
    hello
    the fet drive i submitted is a sugestion and taken from Mr. Huber's uHu servo drive controller. ( diy posting on this sight )
    his output driver is solid and works real good on his design.
    in fack his whole design works well.
    i see no reason why his output section shouldn't work as well here.
    but if i am missing anything please let us know.
    thanks, reguards garry
    Hello!
    Due to FET driver wich is upsteirs in elm_shc.pdf - SD/ in both IR2184 is SHUTDOWN. Does it means that it's connected to +5 volt???

    And one question more. Have you ever made programmation of attiny2313 with hex from Mr. Chan SMC3 or SMC3a? What kind of programmator you had used. What about Fuses? Is this CKDIV=1 SUT=10 Clocksel=1111?

    Regarda
    Alex.

  15. #75
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    I have made a previous post on how the fuse bits should look in ponyprog. I have used a homemade stk200 for programming. However after setting the ckdiv8 bit I think, ponyprog does not recognize the chip anymore. You will have to power up the chip in order to work. I also added a 4MHz resonator on the programmer. I think this could help you.

    Best regards
    Hello!

    Sorry I would like to ask you. You told me abour 4 MHz resonator (quartz regonator) Witch I will put instead of 16 MHz standart like on page 23 of attiny2313 dataseet or you mean 4MHz external generator to connect on XTAL1 like on page 26 of attiny2313 datasheet (external clock)?

    Regards.
    Alex.

  16. #76
    Join Date
    May 2006
    Posts
    190
    Quote Originally Posted by alex751 View Post
    Hello!

    Sorry I would like to ask you. You told me abour 4 MHz resonator (quartz regonator) Witch I will put instead of 16 MHz standart like on page 23 of attiny2313 dataseet or you mean 4MHz external generator to connect on XTAL1 like on page 26 of attiny2313 datasheet (external clock)?

    Regards.
    Alex.
    exactly. I have placed a 4 mhz quartz and 2 caps on pins 4 and 5 and powered pins 20 and 10 with 5V. now the ponyprog sees the chip ok regardles of the fuse setings

  17. #77
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by cbcb128 View Post
    p1
    200
    p2
    50000
    .......
    Hello!

    What kind of programmator you have used to program attiny2313? As I understand you have results? Your controler works?

    Regards
    Alex.

  18. #78
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    exactly. I have placed a 4 mhz quartz and 2 caps on pins 4 and 5 and powered pins 20 and 10 with 5V. now the ponyprog sees the chip ok regardles of the fuse setings
    Thanks. Just now I am trying to do this, but I have no results.
    Pin 10 GND Pin 20 +5volts - is that right? So will try again.

    Did you manage to program tiny2313 with othe programmator like STK500?

    I know that I am asking a lot of questions (sorry about this) but did you make any controller with Chan filmware?

    Regards, have a nice day
    Alex.

  19. #79
    Join Date
    May 2006
    Posts
    190
    Quote Originally Posted by alex751 View Post
    Thanks. Just now I am trying to do this, but I have no results.
    Pin 10 GND Pin 20 +5volts - is that right? So will try again.

    Did you manage to program tiny2313 with othe programmator like STK500?

    I know that I am asking a lot of questions (sorry about this) but did you make any controller with Chan filmware?

    Regards, have a nice day
    Alex.
    Pin 10 = gnd pin 20 =vcc;
    Did not tried any other programmers since this one works... Made exactly the fuse settings shown in picture. Not others. At the beginning I made a mistake with the fuses and bricked a chip... :devious:
    I've made 3 smc3a controllers with attiny2313 you can see them on some posts on the first page.

    Best regards

  20. #80
    Join Date
    Feb 2007
    Posts
    31
    Quote Originally Posted by mcm_xyz View Post
    Pin 10 = gnd pin 20 =vcc;
    Did not tried any other programmers since this one works... Made exactly the fuse settings shown in picture. Not others. At the beginning I made a mistake with the fuses and bricked a chip... :devious:
    I've made 3 smc3a controllers with attiny2313 you can see them on some posts on the first page.

    Best regards
    No did not tried any other programmers. So I think The problem is in programmer. Can you tell me are you using Attiny2313-20PU ore another one?

    Regards
    Alex.

Page 4 of 22 2345614

Similar Threads

  1. Central PID Controller vs. PIV Controller in each Servo Amp
    By Bronx68 in forum CNC Machine Related Electronics
    Replies: 12
    Last Post: 11-20-2013, 05:33 PM
  2. Servo Controller pin out ?????
    By slowtwitch in forum Servo Motors / Drives
    Replies: 0
    Last Post: 05-28-2013, 03: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
  •