PIC self supply measurement
I am building a PIC circuit that is driving a Mosfet. PIC is powered with 4 battery cells that swing from 5.4V to 4.6V (it goes lower but for me thats the lowest).
The PIC is regulated with LM2940CT-5.0V
I would like among other things that my PIC monitors his supply. If the voltage drops bellow 4.6V it should sound the buzzer (portb.2 = high).
On a Vref pin a put a LM336-2.5V reference diode:
5V-----R1(2.5k)-----o------- Vref input
I
I
LM336 diode
I
I
ground
So the Vref is 2.5V when the supply is over or exactly 5V (on PIC is always 5V).
Will I be able to read the correct voltage when it drops to 4.6V ?????? I don't think so. I can't change to 3.3V LDO since i need more than 4.5V to drive Logic Level Mosfet.
What can I do????
Was it a Glow heather ????
Quote:
Originally Posted by rc-pilot-freak
I was using the PWM interrupt routine from Curtis Parrott, which he published here, to drive the Mosfet (the load needs 4Amps at 1.3Volts).
http://www.picbasic.org/forum/showthread.php?t=5316
Buuuuuut, it's the OTHER Forum ... isn't it ???
When I raise the voltage to 2.6V the mosfet starts heating very quickly. I don't know where the problem is. Am I using to high frequency?
P= U^2 / Z ...
You just have to dissipate 4 Times than with 1.3v !!! ... if the load is unchanged.
the IRFZ is given for 18 mOhms,
18E-3*4*4 = .3 watts
18E-3*8*8 = 1.15 watts ... @62.5°C/W ... 72°C Temp Raise
Your fingertip is burnt !!!
That's for continuous conduction ...
With PWM, you have to charge and discharge 1.5nF @ your PWM rate ...
first verify if it is possible from the Pic pin ... unless the Mosfet won't "saturate" and ... overheats.
Second, verify switching conditions with the calculator you will find on ... the Web (I do not remember !!! , but it's one of the greatests Mosfets manufacturer's site )
Alain
Now, using Power switching close to R/C systems ....especially aboard planes ... looks like "Kamikaze" Philosophy.
my opinion ... widely shared in the National Scale Team !!!