QIDITECH / QIDI_Q1_Pro

GNU Affero General Public License v3.0
23 stars 3 forks source link

Filament Sensor on QIDI Q1 Pro Continuously Reporting "Off" Despite Filament Present #53

Open hoangchieu91 opened 1 week ago

hoangchieu91 commented 1 week ago

Today, my QIDI Q1 Pro is consistently reporting the filament sensor as "Off" even though there is filament present. I used the commands ENABLE_FILAMENT_WIDTH_LOG and QUERY_RAW_FILAMENT_WIDTH to check the sensor's returned values. The sensor is reporting values that significantly differ from the actual diameter of my filament. I am using 1.7mm PETG filament, and the sensor frequently returns values in the range of 0.6 to 1.12mm.

Steps to Reproduce:

Load 1.7mm PETG filament into the QIDI Q1 Pro. Observe the filament sensor status, which shows "Off" despite the filament being present. Use the command ENABLE_FILAMENT_WIDTH_LOG to start logging the filament width. Use the command QUERY_RAW_FILAMENT_WIDTH to check the sensor's reported values. Observe the reported filament width values. Expected Behavior: The filament sensor should correctly detect the presence of filament and report values close to the actual diameter of the filament, which is 1.7mm in this case.

Actual Behavior: The filament sensor reports "Off" status even when filament is present, and the sensor returns values ranging from 0.6mm to 1.12mm, which is significantly off from the actual filament diameter.

Additional Information:

Printer Model: QIDI Q1 Pro Filament Type: PETG Filament Diameter: 1.7mm Any assistance to resolve this issue would be greatly appreciated. Thank you! Filament width log Filament width 01

CChen616 commented 1 week ago

Here, the on/off indicator shows the filament sensor's activation status (it automatically turns off when a pause is triggered). If you have enabled the park mode in the timelapse settings, it can cause the print to repeatedly pause and resume, causing the sensor to continuously turn on and off.

Regarding the filament diameter, the detected value is only used to check if filament is present; as long as it is greater than 0.5mm, it will not trigger a filament runout. The large variation in readings is due to insufficient space above, causing the filament to enter the extruder at a non-vertical angle, which affects the measurements. However, as long as the minimum value does not fall below 0.5mm, false triggers will not occur.

hoangchieu91 commented 1 week ago

I did not set a pause for the time lapse. https://youtu.be/hYoM5MNhN80 That day, my print automatically paused multiple times. It's possible that the sensor dropped below 0.5 at times, but I couldn't catch it. Verry_close_out_of_

Additionally, in your response: If the filament does not go straight but at an angle, the measured diameter will be larger than 1.75 (the actual diameter of the filament, which I measured with a caliper), It should not be within the range of 0.6-1.2 and often around 0.8-1.0 like this. It feels like the parameter is scaled by 0.5 times. This is the logging:

10:44:28 $ QUERY_RAW_FILAMENT_WIDTH 10:44:28 // ADC1= 5002.0 ADC2=8456.0 RAW=13458.0 10:44:29 // Filament width:0.846 10:44:33 // Filament width:0.818

This is the config on my printer:

[hall_filament_width_sensor] adc1: gpio27 adc2: gpio28 cal_dia1: 1.50 cal_dia2: 2.0 raw_dia1: 14397 raw_dia2: 15058 default_nominal_filament_diameter: 1.75 max_difference: 0 measurement_delay: 50 enable: false measurement_interval: 10 logging: False min_diameter: 0.3 use_current_dia_while_delay: False pause_on_runout:True runout_gcode: RESET_FILAMENT_WIDTH_SENSOR M118 Filament run out event_delay: 3.0 pause_delay: 0.5

I think you need to adjust the parameters to calibrate the measurement values more accurately."

CChen616 commented 6 days ago

In my previous reply, there was an error. The threshold for filament run out is determined by the min_diameter in [hall_filament_width_sensor].

I did notice that there were several pauses in your video, and I'm not sure if they were caused by filament detection. Currently, this sensor is only used to detect the presence of filament, and the detected diameter may have a significant deviation from the actual value, but it is generally within a tolerable range (not likely to cause false triggers).

The fluctuation range detected by the machine I am currently using is roughly between 1.2mm and 1.0mm.

If false triggers occur, it is recommended to modify the min_diameter from 0.3 to a lower value, such as 0.1 or 0.0.