Sign in to follow this  
Followers 0
resitec

Controlling 128 heaters with PWM in FX2N

28 posts in this topic

And should have been started in a new thread Edited by Paul Ked

Share this post


Link to post
Share on other sites
Hi guys... First of all thanks for your tips. I already have finished the machine and it's fully working, but like "panic mode" said "is huge inrush when all loads kick in, and -> all at the exact same time". The factory lights flick a litle.... What can i do in order to reduce the "kick in" factor? Best regards

Share this post


Link to post
Share on other sites
the idea is to create different phases of individual channels. this way they will be working at the same time but the moment they kick in is shifted... so if you have two signals, you will reduce kick to 100/2=50%, if you have 3, it will be 100/3=33.3%, with 4 it's 100/4=25% etc. As you can see even just few channels can make the difference. You could for example use one timer and generate phase signals using math or instead of just one timer, create few - just make sure there is a phase delay between them. for example assuming that your 100% duty is 300ms, phase clock would look like: T0 ---|/|---------------------(T0 k30) if you want to generate 10 phases from it, then 300ms/10=30ms phase0 = T0 phase1 = (T0+30) mod 300 phase2 = (T0+60) mod 300 phase3 = (T0+90) mod 300 etc. phase9 = (T0+270) mod 300 Now in your program where you compare channel setting with T0, replace T0 with one of phases: ch0,10,20,30 etc use phase0 ch1,11,21,31 etc use phase1 ch2,12,22,32 etc use phase 2 ch3,13,23,33 ....you get the point..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0