Velleman k8200 and E3D V6 autotuning fails

Discussion in 'E3D-v6 and Lite6' started by ichbinsnur, Nov 4, 2014.

  1. ichbinsnur

    ichbinsnur Member

    Joined:
    Nov 4, 2014
    Messages:
    17
    Likes Received:
    0
    Hi erveryone!

    I just upgraded my Velleman K8200 (3Drag clone) to the E3D v6.

    I'm using the 3mm direct version.

    So far anything is working fine. :)

    Temperature readings look reasonable and heating time is blaze fast!

    The issue i have is that if i try to autotune my PID (the Velleman powers the Extruder by 15V so i get large overshoot)
    Marlin repeatedly tells me that autotune failed due to timeout.

    What can i try to get it working?

    Any firmware settings to tweak?

    Oh, just to mention, PID Autotune worked with the Velleman stock hotend.

    cheers Chris
     
  2. cantax

    cantax Member

    Joined:
    Nov 15, 2014
    Messages:
    7
    Likes Received:
    0
    The Velleman Power Supply got 15V. The E3D Heater needs just 12V.
    So you need to lower the Power thats send to the Heater.
    Follow the Instructions to Flash the Firmware by Velleman.
    http://www.k8200.eu/manual/printing/?c=007
    Open the Firmware with Arduino, go to the Second Tab labeled "Configuration.h"
    Serch for "#define PID_MAX" and lower it at least to 220.
    Save and Flash the Firmware.
    Pid Autotune should work now.
     
  3. ichbinsnur

    ichbinsnur Member

    Joined:
    Nov 4, 2014
    Messages:
    17
    Likes Received:
    0
    I already set PID_MAX to 180 and it still fails to autotune
     
  4. cantax

    cantax Member

    Joined:
    Nov 15, 2014
    Messages:
    7
    Likes Received:
    0
    I am still new to 3d printing. Maybe i am writing just stupid stuff.
    But i will give it a try.

    After you changed pid_max to 180 and turn on the extruder heater, look at the Heater-LED on the Mainboard.
    Is it bright red?
    Or is it blinking red?

    Blinking shows you that the pid_max change worked.
    Bright red means, that Marlin still powers the Heater at full Power. So, if you did everything right, your new pid_max Setting is stored in the configuration.h of your Firmware, but the Printer doesnt use this configuration.
    In This case you should restore the Settings from your configuration.h.
    Use "M502". That's the same command as in "Control-->Restore Failsafe" on your LCD Display, if you got one.
    Right after this use "M500". This command saves the previous loaded Settings to your Eeprom. Every Time you power up your Printer, it loads the Settings stored in your Eeprom
    "500" Is the same command as in "Control--> Store Memory" on your LCD Display.

    After your PID-Autotune you need to write the resulting Parameters into your configuration.h file and flash the firmware again.
    Remember: After flashing, you need to do "M502" and "M500" again to load configuration.h and store it as default in your eeprom.
     
  5. ichbinsnur

    ichbinsnur Member

    Joined:
    Nov 4, 2014
    Messages:
    17
    Likes Received:
    0
    I can tell from the heater output values in repetier that my extruder is actually powered by pid Max 180.
    What else can i try?
     
  6. cantax

    cantax Member

    Joined:
    Nov 15, 2014
    Messages:
    7
    Likes Received:
    0
    Well, you could try to set "BANG_MAX" to 180 as well, although i think this has nothing to do with powering the heater by PID.
    How did you start PID-Autotune?
    I did it this way: "M303 S200 C10"
    Right now, i dont got anymore ideas.
    I can tell you my PID-Results. You can use my values. Should work good enough, i think.
    #define DEFAULT_Kp 18.07
    #define DEFAULT_Ki 2.15
    #define DEFAULT_Kd 37.89
    Remember, that my pid_max is set to 220. I Dont know if that gives me other values than 180. Maybe you set it to 220 as well, just to be sure.

    edit: you did start the autotune when the Heater is at room temperature, right? You did not heat it up before you start, right?
     
  7. ichbinsnur

    ichbinsnur Member

    Joined:
    Nov 4, 2014
    Messages:
    17
    Likes Received:
    0
    I tried with the same command and various parameters for S and C.

    I started PID autotune from room temp as well as slightly heated up and with pid max from 150 to 230.
    Neither worked ? :(
    Thanks for your suggestions. I'll give your PID values a try.
     

Share This Page