PaxInstruments / t400-electronics

Electronics for the Pax Instruments T400 temperature datalogger
20 stars 9 forks source link

Use smaller diodes #14

Closed charlespax closed 9 years ago

charlespax commented 10 years ago

Determine and implement the proper diodes.

charlespax commented 10 years ago

See related notes in https://github.com/PaxInstruments/t400-electronics/issues/71

samchoy88 commented 9 years ago

I evaluate the LTC4412 suggested by Tsillen, it seem the cost is too high for the circuit. (around USD$2-3 for LTC4412) Reference: http://www.newark.com/webapp/wcs/stores/servlet/Search?catalogId=15003&langId=-1&storeId=10194&gs=true&st=LTC4412

However, I also agree with him using using Mosfet to replace diode and extend battery life. He suggested Switching Between Battery and External Power Sources by voltage supervision IC. http://www.maximintegrated.com/en/app-notes/index.mvp/id/1136

A little bit cost for supervision IC (APX809-44SAG-7) around USD$0.2 http://www.mouser.com/ds/2/115/APX809_APX810-84245.pdf

It help to ensure USB side reach 4.38V and switch from battery power to USB power with delay and delay also avoid unstable/bouncing noise during USB start plug in.

samchoy88 commented 9 years ago

Schottky Diode selection: Part number: RB161M-20 Forward voltage: 0.28V @ 0.5A Forward current: 1A Package: SOD-123 http://www.mouser.com/ds/2/348/rb161m-20-210070.pdf

P-MOSFET selection: Brand: DIODES Part number: DMP2035U-7 Resistance Rds: 23mOhm Continuous Drain Current: 3.6A Package: SOT-23 http://www.mouser.com/ds/2/115/DMP2035U-464735.pdf

samchoy88 commented 9 years ago

image

charlespax commented 9 years ago

@samchoy88 Okay, let me explain how I think this circuit works and you tell me if I understand it correctly. When connected to external power, the APX809 /RST is HIGH, which completely disconnects VBAT from VBUS. When disconnected from external power, APX809 /RST is LOW, which connects VBAT to VBUS through the diode inside Q1. Is this right? Does the APX809 need any decoupling caps?

For reference, here is the 0.9 circuit screen shot 2015-01-09 at 19 11 28

samchoy88 commented 9 years ago

No decoupling cap required for supervision IC (APX809), as it needs fast response while VCC detect failure. The decoupling cap may filter the noise and less response to the VCC change.

The supervision IC has around 200ms delay to ensure the VCC voltage is stable and then switch OFF VBAT (/RST = HIGH). If any unstable voltage within that 200ms delay detected, supervision IC keeps switch ON VBAT (/RST = LOW).

If supervision IC detected VCC drop below Reset Threshold voltage, it switch ON VBAT (/RST = LOW) immediately which act similar to uninterruptible power supply (UPS).

image

charlespax commented 9 years ago

This looks great to me. If you think we should do it, let's do it.

samchoy88 commented 9 years ago

I think Tsillen suggested good improvement on charging circuit for T400. Let's try in Rev 0.10.

charlespax commented 9 years ago

Awesome! Let's do it. Thanks, @Tsillen :-)

charlespax commented 9 years ago

Done.

screen shot 2015-01-25 at 22 31 36 screen shot 2015-01-25 at 22 31 27