Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extruder heater never stabilizes at set temp #3211

Closed
mramia88 opened this issue Mar 22, 2016 · 15 comments
Closed

extruder heater never stabilizes at set temp #3211

mramia88 opened this issue Mar 22, 2016 · 15 comments
Labels
T: Question Questions, generally redirected to other groups.

Comments

@mramia88
Copy link

I just finished the hardware of my printer and uploaded Marlin RC 1.1 I am not able to get extruder heaters to stabilize, I have checked wiring, board and connection. Everything seems ok but no matter what PID settings I update heaters never stabilize it usually fluctuates +/- 10C. I have used the same board, Power supply and extruders previously with Marlin successfully. 24V 40W heaters below are my settings in Conf H

#define TEMP_SENSOR_0 5
#define TEMP_SENSOR_1 5
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_3 0
#define TEMP_SENSOR_BED 1

// This makes temp sensor 1 a redundant sensor for sensor 0. If the temperatures difference between these sensors is to high the print will be aborted.
//#define TEMP_SENSOR_1_AS_REDUNDANT
#define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10

// Actual temperature must be close to target for this long before M109 returns success
#define TEMP_RESIDENCY_TIME 3  // (seconds)
#define TEMP_HYSTERESIS 3       // (degC) range of +/- temperatures considered "close" to the target one
#define TEMP_WINDOW     1       // (degC) Window around target to start the residency timer x degC early.


// Comment the following line to disable PID and enable bang-bang.
#define PIDTEMP
#define BANG_MAX  // limits current to nozzle while in bang-bang mode; 255=full current
#define PID_MAX BANG_MAX 200// limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current
#if ENABLED(PIDTEMP)
  //#define PID_DEBUG // Sends debug data to the serial port.
  //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX
  //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay
  //#define PID_PARAMS_PER_EXTRUDER // Uses separate PID parameters for each extruder (useful for mismatched extruders)
                                    // Set/get with gcode: M301 E[extruder number, 0-2]
  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
                                  // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
  #define PID_INTEGRAL_DRIVE_MAX PID_MAX  //limit for the integral term
  #define K1 .95 //smoothing factor within the PID

  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
  // Ultimaker
  #define  DEFAULT_Kp 6.54
  #define  DEFAULT_Ki .15
  #define  DEFAULT_Kd 73.83
@thinkyhead
Copy link
Member

Have you used M303 to get the PID settings for your hot end? You might try running M303 with a temperature target closer to what you normally use. (150°C is the default.)

@jbrazio
Copy link
Contributor

jbrazio commented Mar 22, 2016

Try something like M303 E0 C10 S215 (where 215 is the target temperature).

@mramia88
Copy link
Author

I have, there is no change. I have tried lowering Current from 130 to 255. M303 ranges +/- 10 as well and never closes the gap

@jbrazio
Copy link
Contributor

jbrazio commented Mar 22, 2016

It seems you have an error on the config file you have pasted, please try the following:

#define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current
#define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 

If that does not work, try increasing PID_FUNCTIONAL_RANGE to 50.

@mramia88
Copy link
Author

I had bang max 255 and it didnt work either. Ill try changing the range to 50

@jbrazio
Copy link
Contributor

jbrazio commented Mar 22, 2016

You should define a value to BANG_MAX don't leave it like you have on the pasted config file.

@mramia88
Copy link
Author

I had it defined from 130-255 none of the values worked

@mramia88
Copy link
Author

Just changed the PID_FUNCTIONAL_RANGE to 50 that seems to have done it! thank much

@mramia88
Copy link
Author

its still fluctuates a bit on the lower side. drops to 187 then up to 191 from set 190. should I do a M303

@jbrazio
Copy link
Contributor

jbrazio commented Mar 22, 2016

Yes please, do the fine tuning of the PID iwth M303.

@mramia88
Copy link
Author

will do! thank you for all your help.

@jbrazio
Copy link
Contributor

jbrazio commented Mar 22, 2016

You're welcome. If you feel the problem is solved please close the issue.

@Justinjhcs1
Copy link

I have temp problems too I think every RAMPS board is different depending on the Moss Used to control the Heater I have set my HEATER_CURRENT =35 It was 200 and I was getting Temps as High as 300 C so every Moss is different I guess this is why there even is a Current limiter to the Extruder doing a Temp test now Current at 65 only going as high as 200C for PLA and it is cycling now Possibly too much Current my other on it is set to 255 and still it heats slow and this is with a 500Watt Power supply.... I pushed the Input voltage as high as 13.58VDC I dare not sett it higher i did that with another ramps and Burned the Board maybe I have the input Voltage set too high too the VDC was as hight as 14VDC and still the base was not getting passed 108C I could not do ABS or HIPS or even PETG I was stuck with PLA that is Ok if your making parts for a PM VE33 ( this is what I am calling it because of the Various Changes I have made to a Basic Persa Mendel.)

@thinkyhead
Copy link
Member

Good luck. These machines are always an adventure.

@thinkyhead thinkyhead added the T: Question Questions, generally redirected to other groups. label Aug 22, 2016
@github-actions
Copy link

github-actions bot commented Apr 3, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: Question Questions, generally redirected to other groups.
Projects
None yet
Development

No branches or pull requests

4 participants