I am using analogWrite(PWM) from Arduino UNO to control the gates of 30N06L N-channel mosfets. The values of PWM are programmed such that it controls the current through the loads for my control design. I am printing PWM (as controller's output) every second. Are these printed PWM values averaged one or not? Is it OK to write PWM values(doing some math) as the voltage instead of writing it as duty cycle? The frequency of signals from analogWrite(PWM) pin is 490Hz, which makes the time period of pulse to be about 2 ms. Thus I assume we can take those PWM printed every seconds as averaged one.Furthermore I could not find any information about the frequency response (regarding PWM) from 30N06L N-channel mosfets datasheets? Any suggestions will be greatly appreciated.
Many of your questions can be answered here. Where it says that the output of a PWM is dependent on the inverse of the period of the PWM signal times the integration from time zero to time 1-period of the PWM function:
This is explained in this part the above web page. Bottom line, the output of a PWM signal is the duty cycle.
The Arduino analogWrite() library call accepts a value of 2^8 or 0 to 255. The 100% duty cycle is represented by 255 and 0% duty cycle is represented by 0. This is talked about here. So, no, you can't use the formal value you pass to this Arduino library function as the voltage. Do some research, but I believe the voltage is more along the lines (for a 5 volt power supply) approximately five volts times the value divided by the maximum value.