¿Cómo calibrar el PID de una impresora?/ How to calibrate the PID of a printer?

avatar
Hola comunidad de Makers de Hive hace un tiempo había comentado que tuve que hacerle una calibración de PID a mi máquina, pero en esta oportunidad me gustaría explicar a fondo como se hace.

Hello Hive Makers community a while ago I had commented that I had to do a PID calibration to my machine, but this time I would like to explain in depth how it is done.

Pero antes de empezar con las explicaciones me gustaría explicar que es el PID, cuando debemos calibrarlo y como darnos cuenta que es necesario corregir y hacer esta calibración.

But before starting with the explanations I would like to explain what is the PID, when we should calibrate it and how to realize that it is necessary to correct and make this calibration.

Captura de pantalla (2033).png Captura de pantalla (2034).png Captura de pantalla (2035).png
El PID es un control de temperatura que utiliza integrales y derivadas para generar una variación continua en el mecanismo, que en este caso comprende el termistor, la resistencia calentadora y el ventilados de la impresora, claramente que estos componentes no son los únicos que afectan, pero son los que podemos controlar a través del software. De esta manera podremos controlar de forma precisa la temperatura y el enfriamiento eliminando oscilaciones de temperatura para aumentar la eficiencia y mejorar el rendimiento de nuestra máquina.

The PID is a temperature control that uses integrals and derivatives to generate a continuous variation in the mechanism, which in this case comprises the thermistor, the heating resistor and the fan of the printer, clearly these components are not the only ones that affect, but they are the ones we can control through the software. In this way we can precisely control the temperature and cooling, eliminating temperature oscillations to increase efficiency and improve the performance of our machine.

ALGO A TENER EN CUENTA, con el paso del tiempo nuestras maquinas se van desgastando, los ventiladores giran más lento, nuestro bloque de aluminio se desgasta o el termistor o resistencia calentadora comienza a fallar, esta pueden ser algunas de las causas, aunque también cambiar el barrel por otro modelo, cambiar el bloque de aluminio por uno que no sea original de la maquina u también comprar un ventilador diferente, ya que la maquina está configurada con las otras piezas para realizar los cálculos.

SOMETHING TO TAKE INTO ACCOUNT, with the passage of time our machines wear out, the fans spin slower, our aluminum block wears out or the thermistor or heating resistor begins to fail, this may be some of the causes, but also change the barrel for another model, change the aluminum block for one that is not original to the machine or also buy a different fan, as the machine is configured with the other parts to perform the calculations.

Al tener el PID descalibrado lo que podremos ver en la pantalla de nuestras maquinas es que la temperatura de la boquilla o de la cama caliente oscilen, en mi caso por ejemplo cambie el bloque de aluminio de la Ender 3 por uno que no es original y cambie el barrel por uno ALL METAL lo que género que la temperatura de impresión oscile +-5º grados, yo generalmente imprimo PLA a 210º y la temperatura subía y bajaba entre los 205º y los 215º el problema está que al generarse estos cambios la maquina nunca lograr un equilibrio y no comienza a imprimir o llegado el caso de que lo logre lo más probable es que mientras imprima tire un error de temperatura con un pitido
By having the PID uncalibrated what we can see on the screen of our machines is that the temperature of the nozzle or the hot bed oscillate, in my case for example change the aluminum block of the Ender 3 for one that is not original and change the barrel for one ALL METAL what gender that the printing temperature oscillates +-5 degrees, I usually print PLA at 210º and the temperature went up and down between 205º and 215º the problem is that when these changes are generated the machine never achieve a balance and does not start printing or if it does it will most likely throw a temperature error with a beep while printing.

20220311_164447.jpg

Luego de esta introducción a lo que es el PID, los problemas que nos puede generar y los motivos por los que se genera voy a explicarles como logro resolver el problema.
After this introduction to what the PID is, the problems it can generate and the reasons why it is generated, I will explain how I manage to solve the problem.

Captura de pantalla (2032).png

Para empezar, tenemos que descargar el programa llamado PRONTERFACE y con un cable ya sea USB o USB A/B (Dependiendo de sus máquinas) conectarla a uno de los puertos USB de nuestra PC, a la vez tenemos que tener nuestra impresora 3D conectada a la red de energía ya que el programa PRONTERFACE lo que va a hacer es subir y bajar la temperatura de nuestra máquina para calcular los valores necesarios para que funcione correctamente.
To start, we have to download the program called PRONTERFACE and with a cable either USB or USB A/B (depending on your machines) connect it to one of the USB ports of our PC, at the same time we have to have our 3D printer connected to the power network because the PRONTERFACE program what it will do is to raise and lower the temperature of our machine to calculate the necessary values for it to work properly.
Una vez tenemos todo conectado debemos elegir el puerto y los baudios, en la esquina superior izquierda los elegimos. Nota: Voy a ser sincero yo voy probando hasta Lograr que mi maquina conecte ya que nunca entendí bien que puerto es el correcto ni la cantidad de baudios que tiene, pero con prueba y error siempre logro conectarlo.
Once we have everything connected we must choose the port and the baud rate, in the upper left corner we choose them. Note: I'm going to be honest I'm going to try until I get my machine to connect since I never understood well which port is the correct one nor the amount of baud that it has, but with trial and error I always manage to connect it.

Captura de pantalla (1806).png

Para darnos cuenta que la maquina se conectó de forma exitosa tendremos que ver que en la columna de la derecha diga PRINTER IS NOW ONLINE, una vez estemos seguros de que conecto tendremos que enviar el siguiente comando escribiéndolo en la columna de la izquierda en la parte inferior donde nos permite introducir texto. Colocaremos M106 F255 este comando lo que hace es hacer que los ventiladores funcionen al máximo de su capacidad.
To realize that the machine was successfully connected we will have to see that in the right column it says PRINTER IS NOW ONLINE, once we are sure that it is connected we will have to send the following command writing it in the left column at the bottom where it allows us to enter text. We will place M106 F255 this command what it does is to make the fans work at maximum capacity.

Captura de pantalla (1807).png

Ahora tendremos que enviar el siguiente comando M303 E0 S210 C8 con este comando estamos diciendo que la impresora eleve su temperatura a 210º la cantidad de 8 veces comenzando así la calibración del PID. Veremos en el grafico que la temperatura va a subir y a bajar, esto demora un rato y una vez finalice nos dará tres valores P.I.D los cuales tendremos que reemplazar en la memoria de nuestra impresora.
Now we will have to send the following command M303 E0 S210 C8 with this command we are telling the printer to raise its temperature to 210º 8 times starting the PID calibration. We will see in the graph that the temperature is going up and down, this takes a while and once it finishes it will give us three P.I.D values which we will have to replace in the memory of our printer.

Captura de pantalla (1808).png

Así que escribimos este comando M301 P(Valor) I (Valor) D(Valor) es muy importante que respeten los espacios al colocar los valores, escribimos el numero a continuación de la P y la D con un . (Punto) en vez de una , (Coma) y luego de la i debemos dejar un espacio y colocar el valor. RECALCO NUEVAMENTE ES QUE MUY IMPORTANTE RESPETARLO ya que me paso de escribirlo mal y no tener ningún resultado.
So we write this command M301 P(Value) I (Value) D(Value) it is very important to respect the spaces when placing the values, we write the number after the P and the D with a . (Period) instead of a , (Comma) and after the i we must leave a space and place the value. I EMPHASIZE AGAIN IT IS VERY IMPORTANT TO RESPECT IT because I have written it wrong and I have no result.

Captura de pantalla (1810).png

Captura de pantalla (1809).png

Captura de pantalla (1811).png

Por ultimo y para finalizar utilizamos el comando M500 para guardar los nuevos valores en nuestra máquina, hay impresoras que no dejan actualizar la memoria de esta madera así que otra solución sería colocar los valores obtenidos en el PID en el Gcode de nuestro laminador, esta también es otra posible solución.
Finally and to finish we use the M500 command to save the new values in our machine, there are printers that do not allow to update the memory of this wood so another solution would be to place the values obtained in the PID in the Gcode of our laminator, this is also another possible solution.
Y ya está, de esta manera habríamos logrado calibrar el PID de nuestra impresora 3D y tenerla nuevamente en un óptimo funcionamiento.
And that's it, in this way we would have managed to calibrate the PID of our 3D printer and have it back in optimal operation.

Captura de pantalla (1813).png

OTRA ACLARACION QUE QUIERO HACER, a veces hay computadoras que no cuentan con del driver CH340 lo cual dificulta enormemente que conectemos nuestra impresora a un puerto USB de la PC así que lo que tendremos que hacer es buscar este driver por internet e instalarlo manualmente, logrando así solucionar este error. A mí me paso y hasta que logre solucionarlo paso un buen tiempo.
ANOTHER CLARIFICATION I WANT TO MAKE, sometimes there are computers that do not have the CH340 driver which makes it very difficult to connect our printer to a USB port of the PC so what we will have to do is look for this driver on the internet and install it manually, thus solving this error. It happened to me and it took me a long time to solve it.
Realmente espero que les pueda ser de utilidad, a veces no encontramos solución a ciertos errores y esta puede ser una forma de arreglarlo. Si ustedes ya saben cómo hacerlo les invito que si tienen otro amigo maker menos experimentado le compartan este post ya que podría ahorrarle muchos dolores de cabeza y búsquedas exhaustivas por internet.
I really hope it can be useful, sometimes we do not find a solution to certain errors and this may be a way to fix it. If you already know how to do it, I invite you to share this post if you have a less experienced maker friend, it could save you a lot of headaches and exhaustive internet searches.


0
0
0.000
0 comments