kyak changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben/atusb 802.15.4 wireless, anelok and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
FDCX_ has quit [Ping timeout: 240 seconds]
ccnnjj has joined #qi-hardware
archang has joined #qi-hardware
arossdotme has quit [Ping timeout: 245 seconds]
atommann has joined #qi-hardware
arossdotme has joined #qi-hardware
atommann has quit [Ping timeout: 265 seconds]
wej has quit [Ping timeout: 248 seconds]
atommann has joined #qi-hardware
wej has joined #qi-hardware
infobot has quit [Read error: Connection reset by peer]
infobot has joined #qi-hardware
xiangfu has joined #qi-hardware
fengling has joined #qi-hardware
nicksydney has joined #qi-hardware
nicksydney has quit [Ping timeout: 244 seconds]
nicksydney has joined #qi-hardware
nicksydney has quit [Ping timeout: 244 seconds]
nicksydney has joined #qi-hardware
nicksydney has quit [Read error: Connection reset by peer]
nicksydney has joined #qi-hardware
nicksydney_ has joined #qi-hardware
nicksydney_ has quit [Read error: Connection reset by peer]
nicksydney has quit [Ping timeout: 272 seconds]
rjeffries has joined #qi-hardware
jekhor has joined #qi-hardware
jekhor has quit [Ping timeout: 265 seconds]
fengling has quit [Ping timeout: 265 seconds]
fengling has joined #qi-hardware
fengling has quit [Ping timeout: 265 seconds]
wej has quit [Ping timeout: 246 seconds]
fengling has joined #qi-hardware
arhuaco has quit [Read error: Connection reset by peer]
arhuaco has joined #qi-hardware
fengling has quit [Quit: WeeChat 1.1.1]
wej has joined #qi-hardware
atommann has quit [Ping timeout: 246 seconds]
jekhor has joined #qi-hardware
atommann has joined #qi-hardware
mirko has joined #qi-hardware
mirko has quit [Client Quit]
mirko has joined #qi-hardware
zcrc has joined #qi-hardware
fengling has joined #qi-hardware
atommann has quit [Quit: Leaving]
wej has quit [Ping timeout: 248 seconds]
wej has joined #qi-hardware
zcrc has quit [Quit: AtomicIRC: The nuclear option.]
wej has quit [Ping timeout: 246 seconds]
wej has joined #qi-hardware
pcercuei has joined #qi-hardware
<rjeffries> $2M USD raised against $50K USD goal. C.H.I.P. will happen. (Uses lower end Allwinner ARM based SoC)
<ysionneau> super cool, yet another closed source cpu based hardware o/
<pcercuei> composite video output? Get real
<wpwrak> hehe. great reactions ;-))
<wpwrak> i wonder if this simple adjustable regulator could actually work: https://neo900.org/stuff/werner/tmp/cmpreg.pdf
<wpwrak> the theory is that the comparator opens the p-FET until Vout ~ Vin (~ = approximately equal). then it closes. when the load discharges the silo capacitor, Vout drops and the comparator opens again
<wpwrak> so far the theory. the question is whether this would actually work or whether i'd get mad oscillations, etc.
<wpwrak> overshoot should be around td * Imax / C where td = propagation delay of the comparator, Imax = maximum current through the FET, and C = the capacitance of the capacitor
xiangfu has quit [Remote host closed the connection]
<wpwrak> so even if we assume an extreme worst case of Vout = 0, with Ron = 1 Ohm, C = 100 uF, and td = 1 us, that would be 1 us * 3.3 A / 100 uF = 33 mV
<wpwrak> what puzzles me is that nobody seems to use this sort of regulator circuit. seems pretty ideal if you need a programmable reg, already have DAC and comparator (common in many MCUs), and don't need huge currents
<whitequark> wpwrak: oh well, I can say what would be wrong in my view
<whitequark> (though it's pretty much EE 101 so I would be surprised if you haven't considered that still?)
<whitequark> your "equivalent circuit" for the FET relies on an invalid assumption. that is, that the turn-on/turn-off time of the FET is insignificant
<whitequark> you miss a resistor right after the comparator, which will be required to bring the current through the pin in line to absolute maximimum ratings of the MCU
<whitequark> which will limit the charge/discharge rate of the gate.
<whitequark> thus, you will operate the FET in the region where it's least efficient pretty much all the time
jekhor has quit [Ping timeout: 246 seconds]
<whitequark> in the best case you will get, well, a linear regulator, not entirely unlike lm317
<whitequark> looks familiar, isn't it?
<whitequark> wpwrak: oh, for that matter, tl431 is pretty much that too, except also with a BJT
<whitequark> I'm guessing a p-FET is too inefficient in this case, and an n-FET would require a dedicated gate drive
<whitequark> wpwrak: http://www.ti.com/lit/ds/symlink/lp2975.pdf does exactly what you describe
<whitequark> they seem to have needed a more complicated control circuit for ripple rejection
<whitequark> ah, no, nope, the second opamp is for overcurrent protection
<wpwrak> (turn on/off time) naw, it should only not be excessively slow. the comparator also has delays in the tens if not hundreds of nanoseconds. so you can just add any FET delay to the comparator's td
<whitequark> but that's not about FET delays.
<wpwrak> (resistor) FETs don't need that, only BJT ;-)
<whitequark> but of course they do
<wpwrak> not unless ~1 uA is a problem :)
<whitequark> I am not talking about steady state
<wpwrak> ah, i see. naw, even then it should be fine. you get a few MHz, tops. that should be pretty negligible.
<whitequark> the first is the turn-on transient
<whitequark> which /can/ kill an MCU's output cascade
<whitequark> like, i have myself killed a few MCU pins before i figured that out
<whitequark> it's pretty reliable.
<whitequark> you need at least an ohm there or something.
<whitequark> the second is the average dissipated power at your "few MHz", which is actually a ton
<whitequark> let's calculate
<wpwrak> e.g., the DMG1013T has a "total gate charge" of 580 pC
<whitequark> and its threshold voltage?
<wpwrak> [0.5, 1] V
<whitequark> 900mΩ at -2.5V
<whitequark> or well
<wpwrak> yes
<whitequark> really, what your MCU runs on?
<whitequark> 3.3 probably
<wpwrak> yes, 3.3 V
<wpwrak> (LP2975) neat ! :)
<whitequark> hrm
<whitequark> 0.58mA
<wpwrak> negligible :)
<whitequark> seems you're right
<wpwrak> maybe you get this sort of trouble with larger FETs
<wpwrak> this one is pretty much as small as it gets
<wpwrak> (for that kind of form factor)
<whitequark> yeah, that's where my guess was coming from
<whitequark> I still think you won't be able to get it to switch that fast and it will work as a linear reg
<whitequark> but that's just another guess
<whitequark> try it
<whitequark> I wonder what the effective resistance of the MCU pin driver is?
<wpwrak> 200 Ohm
<whitequark> 8 MHz
<whitequark> I dunno.
<whitequark> now I'm interested.
<whitequark> build it already
<wpwrak> ;-))
<wpwrak> i guess something like 10 uF may even be enough there
<wpwrak> let's be generous, 22 uF
<eintopf> hi
pcercuei has quit [Ping timeout: 250 seconds]
pcercuei has joined #qi-hardware
<eintopf> did anybody ever see that two GPIO pins are connected together, in firmware one as output the other as input. And then they making some handshake algorithmn to confirm that the firmware running on the right board? :-/
<eintopf> makes no sense for me
<wpwrak> could be for identifying board variants, with different boards having different such connections
wej has quit [Ping timeout: 246 seconds]
wej has joined #qi-hardware
<eintopf> mhh
wej has quit [Ping timeout: 248 seconds]
Jay7 has joined #qi-hardware
wej has joined #qi-hardware
arhuaco has quit [Ping timeout: 245 seconds]
roh has quit [Ping timeout: 245 seconds]
roh has joined #qi-hardware
Luke-Jr has quit [Excess Flood]
Luke-Jr has joined #qi-hardware
arhuaco has joined #qi-hardware
uwe_mobile__ has quit [Ping timeout: 245 seconds]
uwe_mobile has joined #qi-hardware
<wpwrak> (fast mode, minimum hysteresis)
<wpwrak> the over/undershoot look more like measurement effects than anything else. lemme check if the probe compensation is still good ...
<wpwrak> hmm. that was not a good idea. now it's much worse :-(
<wpwrak> pro tip: the DMG1013T acts erratically after being shorted and emitting smoke