Unstable fan operation in the dryer: checking PWM, pins, and possible bad fan

Alright, I started digging into the dryer’s “core values.” Ran into an issue with the fan.
[fan_generic Fan_U1]
pin: FAN_U1
max_power: 1.0
shutdown_speed: 1.0
off_below: 1.0
cycle_time: 0.010
hardware_pwm: False
That’s its current config. It’s not running steadily. It spins, but keeps speeding up and slowing down. Voltage-wise it’s 200V at the input and 160-170 at the fan output. As I understand it, the problem is PWM and a slow switching element. Can this be fixed in software?

🇷🇺 Оригинал

Таксь, начал разбираться с “базовыми ценностями” сушилки. Вылезла проблема в вентиляторе.
[fan_generic Fan_U1]
pin: FAN_U1
max_power: 1.0
shutdown_speed: 1.0
off_below: 1.0
cycle_time: 0.010
hardware_pwm: False
Это текущий его конфиг. Он работает не стабильно. Крутится, но набирает обороты и замедляется. По напряжению 200v на входе и 160-170 на выходе вентилятора. Как понимаю беда в pwm и медленном ключе. Это программно правится?

It doesn’t need PWM in the control there. In practice it’s either on or off, like the fan on the hotend heatsink. The behavior is weird, but I can’t really say right now. Off-below says it only works at 100% PWM.
I’ll take a look later; obviously it would make more sense to enable something so it’s just on or off. Looks like I just hadn’t run into this before, so I didn’t pay much attention to it.

🇷🇺 Оригинал

Там Шима не нужен в управлении. По факту он или вкл или выкл, как кулер на радиаторе хотэнда. Поведение странное, но в ближайшее время не подскажу. Off-below говорит что оно работает только на 100%шим.
Позже гляну, конечно логичнее включить что-то чтоб просто вкл или выкл. Видимо не сталкивался с таким потому и значения не придал

the frequency is jumping around too. So it’s actively toggling it with the switch)

maybe cycle_time needs to be different. If only we knew what value…

🇷🇺 Оригинал

там герцовка еще скачет. Так что ключом он активно дергает)

возможно cycle_time надо другой. Знать бы какой…

0.3 is the minimum for Klipper

Strange.
Check other fan operating modes. So it can be just on or off.

🇷🇺 Оригинал

.3 минимальный для Клиппер

Странно.
Посмотри другие режимы работы кулера. Чтоб просто вкл или выкл было.

[output_pin my_pin]
pin: FAN_U1
pwm: False
value: 1
I took the fan off and plugged in just the multimeter. 50Hz 200V :confused:

Plugged the fan back in and got the nonsense described above

🇷🇺 Оригинал

[output_pin my_pin]
pin: FAN_U1
pwm: False
value: 1
Снял куллер, воткнул чисто мультиметр. 50Hz 200V :confused:

Воткнул куллер получаю бред описанный выше

[controller_fan my_fan]
pin: gpio_pin_number
shutdown_speed: 1.0

I think this should be checked

https://www.klipper3d.org/Config_Reference.html?h=shutdown_speed#heater_fan

This is specifically just on or off. Exactly what’s needed

🇷🇺 Оригинал

[controller_fan my_fan]
pin: gpio_pin_number
shutdown_speed: 1.0

Думаю так, то нужно проверить

https://www.klipper3d.org/Config_Reference.html?h=shutdown_speed#heater_fan

Это именно вкл или выкл. То что нужно

well that’s the same thing, PWM is disabled, it works purely “open” - “closed”

plugged the fan straight into the wall outlet, works fine

though in this case it also depends on the heater

and overall the result is the same

Pulled everything out of the board except the fan. Plugged in a jumper instead of the KCD, same behavior

Plugged the fan into the heater’s place with pin remapping. Same thing. But it does spin up a bit better, by the way :smiley:

it even almost reaches full RPM

Feels like because of the low input voltage (200V) it can’t handle spinning up…

🇷🇺 Оригинал

так это тоже самое PWM выключен, чисто “открыто” - “закрыто” работает

воткнул вентилятор чисто в розетку, работает нормально

в этом случае оно от нагревателя зависит еще просто

ну и в целом результат тот же

Вытащил из платы все кроме вентилятора. Вместо KCD воткнул перемычку, поведение то же

Воткнул куллер на место хитера с переназначением пинов. Тоже самое. Но кстати разгоняется чуть получше :smiley:

даже почти на фулл обороты выходит

Есть чувство что из-за никого входного напряжения (200V) он не вывозит разгон…

I don’t remember the exact numbers for the fan, but I think it works on both 110V and 220V, so 200V shouldn’t be a problem for it.

🇷🇺 Оригинал

Я не помню по цифрам у кулера но он и на 110 В на 220 В по-моему работает так что ему 200 В это не проблема

most likely it’s about the frequency. But straight from the wall outlet it runs cleanly

🇷🇺 Оригинал

скорее всего в частоте дело. Но при этом просто от розетки он чисто работает

Where would the frequency come from if PWM is disabled​:man_shrugging:. I’ll check on mine later
There shouldn’t be anything there except 50 Hz

🇷🇺 Оригинал

Откуда частота если шим отключен🤷‍♂️. Я у себя проверю позже
Там кроме 50 Гц ничего быть не должно

Is the fan startup causing a voltage sag? Like its own interference?

🇷🇺 Оригинал

просаживает запуском вентилятора? Аля его личная наводка

There’s a possibility the fan is defective, I’ll check and then we’ll decide

The fan will be shipped out today. I’ll run the rest of the tests myself on your fan.

🇷🇺 Оригинал

Есть вариант брака вентилятора я проверю и потом примем решение

Кулер сегодня уедет. Остальные тесты сам на твоём кулере проведу.