Skip to content

Commit

Permalink
PID-I was a bit too low.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkubicek committed Nov 2, 2011
1 parent 1353ab3 commit 566ed1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/Configuration.h
Expand Up @@ -166,9 +166,10 @@ float current_raw_average=0;

#define PID_CRITIAL_GAIN 3000
#define PID_SWING_AT_CRITIAL 45 //seconds
#define PIDIADD 5

double Kp = 0.6*PID_CRITIAL_GAIN; //20.0;
double Ki =2*Kp/PID_SWING_AT_CRITIAL*PID_dT; //1.5*PID_dT;
double Ki =PIDIADD+2*Kp/PID_SWING_AT_CRITIAL*PID_dT; //1.5*PID_dT;
double Kd = Kp*PID_SWING_AT_CRITIAL/8./PID_dT; //80/PID_dT;
double Kc = 9; //heatingpower=Kc*(e_speed)
#endif // PIDTEMP
Expand Down

1 comment on commit 566ed1f

@flouSH
Copy link

@flouSH flouSH commented on 566ed1f Nov 3, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried PID for the first time with this commit. If I enter let's say 240 degrees in RepG, nothing happens - no heating at all.

Any hint for me?

Please sign in to comment.