Author Topic: SOLVED. A little Marlin help (pid) please  (Read 2711 times)

0 Members and 1 Guest are viewing this topic.

Offline HobGoblynTopic starter

  • Supporter
  • ****
  • Posts: 510
  • Country: gb
SOLVED. A little Marlin help (pid) please
« on: July 22, 2021, 01:40:24 pm »
Redone this post completely as I got things wrong (as usual)

My CR10-V2 has been running fine for months (thanks to a lot of help from this forum), but I've finally given into temptation and installed my SKR Mini E3 v2 and TVT35 E3 v3 Touch screen that I originally bought for my Ender 3 (no longer have Ender 3)

I don't have my original Ender 3 source code but the firmware is still flashed on the board.

I've wired the new board and screen in, both seem to be working fine with the Ender 3 firmware, but I obviously need to get my CR10 settings in there.

The CR10 firmware I was using that was printing fine, I'm comparing the config files with the latest Marlin-2.0.8.2.x-SKR-mini-E3-V2.0.

Obviously I wont change things like the TMC drivers, most of it I seem to grasp whether I need to change or not.

Whats stumped me is the following two things.

1) Original CR10 Config.h
----------------------------
Code: [Select]
       
  // CR10-V2
  #if ENABLED(PID_PARAMS_PER_HOTEND)
    // Specify between 1 and HOTENDS values per array.
    // If fewer than EXTRUDER values are provided, the last element will be repeated.
    #define DEFAULT_Kp_LIST {  19.47,  19.47 }
    #define DEFAULT_Ki_LIST {   1.59,   1.59 }
    #define DEFAULT_Kd_LIST {  59.40,  59.40 }
  #else
    #define DEFAULT_Kp  19.47
    #define DEFAULT_Ki   1.59
    #define DEFAULT_Kd  59.40
  #endif
#endif // PIDTEMP

Whereas in the Bigtree config.h it has the following

Code: [Select]
   #if ENABLED(PID_PARAMS_PER_HOTEND)
    // Specify between 1 and HOTENDS values per array.
    // If fewer than EXTRUDER values are provided, the last element will be repeated.
    #define DEFAULT_Kp_LIST {  21.73,  21.73 }
    #define DEFAULT_Ki_LIST {   1.54,   1.54 }
    #define DEFAULT_Kd_LIST {  76.55,  76.55 }
  #else
    #define DEFAULT_Kp  21.73
    #define DEFAULT_Ki   1.54
    #define DEFAULT_Kd  76.55
  #endif
#endif // PIDTEMP

In the CR10, The "DEFAULT_Kd_LIST" and "DEFAULT_KD" are a lot lower than the ones in the Bigtree config.h. I don't know how to correctly find out what these should be, or should I just copy the values from the CR10 config.h?

2) Original CR10 Config.h
----------------------------

Code: [Select]
#if ENABLED(PIDTEMPBED)
    // CR10-V2 24V 240W
  #define DEFAULT_bedKp 690.34
  #define DEFAULT_bedKi 111.47
  #define DEFAULT_bedKd 1068.83

Whereas in the Bigtree config.h it has the following


Code: [Select]
//#if ENABLED(PIDTEMPBED)
 
  #define DEFAULT_bedKp 50.71
  #define DEFAULT_bedKi 9.88
  #define DEFAULT_bedKd 173.43

In the CR10 it has "#if ENABLED(PIDTEMPBED)"whereas in the Bigtree config.h it's commented out (note PIDTEMPBED is enabled on both)

The values of DEFAULT_bedKP, Ki and Kd are over 10 times higher in the CR10 config.h than in the Bigtree one.

Not sure what these values represent , do I need to uncomment the "#if ENABLED(PIDTEMPBED)" in the Bigtree config.h, and if so, how do I work out the correct figures for bedKP etc (or should I just copy from the CR10 config).

So far that's all I'm stuck with, any help much appreciated.
« Last Edit: July 22, 2021, 10:54:22 pm by HobGoblyn »
 

Offline HobGoblynTopic starter

  • Supporter
  • ****
  • Posts: 510
  • Country: gb
Re: A little Marlin help (pid) please
« Reply #1 on: July 22, 2021, 09:32:44 pm »
Someone on Facebook posted the following link, (didn’t realise it was the figures from doing PID autotune)

https://reprap.org/wiki/PID_Tuning
« Last Edit: July 22, 2021, 10:58:38 pm by HobGoblyn »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf