[retired] [WIP] 20mm single sided & 17mm double-sided ?-amp linear driver - surprisingly good!

I’m an avid reader of your threads and I’m almost on the verge of beginning to gain an appreciation for what this particular driver can do.

As you may have noticed from my thread-title edit, I’ve gained a little bit more appreciation for this driver myself!

Thanks for the scope shots. Does anyone have a link to a thread in here somewhere with scope shots for 7135? Also, the QX7136 has pins on both sides, are they the same pin on both sides (making it a 3 pin component) or are they actually different pins (making it a five pin component)?

Is it correct to assume that you can skip using PWM and use a pot as a sense resistor and thus have output control? (always wanted that :-) )

No, at least not with a conventional potentiometer. Two Three things stand in your way: 1. The pot must be able to dissipate enough power (0.05*X.X amps). 2. The pot must be extremely low value, we’re talking about a pot that’s has a sweep like 1 ohm to 0.0025 ohm or something. +3. I think that wiring in a pot as a sense resistor could introduce a lot of extra wiring resistance and things and give unexpected results.

Is your interest simply in having a knob to freely adjust brightness, or are you specifically interested in using a potentiometer in place of a sense resistor? If you just want a brightness knob, I did recently start a little bit of work on that. Our discussion in this short thread about the classic Lambda VaraPower driver led me to start hacking up some code. I posted about it in the STAR firmware thread in a small handful of posts strewn between 670 and 715. Most notably #688, #712, and #715.

I’ve set that aside for the moment, but if all you want is a driver which lets you adjust the brightess freely/continuously with a knob then that will be easy. I’m shooting for a driver with LVP which lets you adjust the brightness with a knob.

I don’t have a link to that. Therefore I took a minute to check a single 7135 at an unknown duty cycle (looks like 70% maybe?) and see what it looked like. I was surprised! It mostly doesn’t turn fully off… mostly. It totally ends up all the way off for a brief period during each PWM pulse though, take a look below. This is not how I thought the output looked on these, actually. [Note that the small yellow marker one division above the bottom in the lower left is 0v.]

As to your other question, it’s a 5-pin component. It can drive an LED at low currents on it’s own, without an FET. We don’t use that pin here (Pin ‘LED’). The other pins are DRV, CS, GND, VDD. It’s in the datasheet.

Thanks for the answer about the problems that come with using a potmeter for setting the sense resistor value.

I tried to read through the lambdalight thread with my limited grasp of electronics, but what spoils for me the use of a pot for varying brightness in that type of driver is that the pot setting is converted into pwm after all.

Thanks for the scope photo! Interesting indeed. It doesn’t shut off fully for very long at all.

You’re welcome. If you want a PWM free output you can probably implement that by feeding the ATtiny’s PWM into an LD-29. IIRC that outputs a smooth constant current at every drive level, but the MCU outputs PWM.

I agree. I’m speculating that the short “full off” is where we get the resonance/buzzing from, but I could be wrong.

The Rds(on) of SiR800DP is much lower than DTU30N02 while Qg is higher. Another MOSFET I recently looked at is the Vishay SiS414DN. That one has a slightly lower Rds(on) than DTU30N02 while having a lower Qg. The “Output Characteristics” graph looks very similar, while Transfer Characteristics are shifted to slightly lower voltage.

Based on what little I know, I think both are strong candidates for this application. I’ve got to figure out my inventory on other parts and then I’ll place a Mouser order. If anyone has thoughts on other FETs which they feel may be good candidates, now would be the time to speak up. :slight_smile:

I made a 17mm single-sided-stacked-PCB version:

  • The silkscreen has not been updated significantly, it is messy and incorrect.
  • The thin horizontal lines displayed inside the larger copper pours are all OSH Park rendering artifacts. The copper pours are solid.
  • The top PCB is symmetrical, it may be placed face up or face down. It may be “remote” mounted but it must be isolated from the flashlight body in any case of course.
  • The top PCB is 15mm in diameter and 10mm wide.
  • The top PCB is designed to be rotated either 55º or 75º. 55º is the recommended rotation and is the one displayed here.
  • Four (4) size 1206 sense resistor pads are available.
  • 3 connections are required between the two PCBs: GND, Csense, and DRV. Csense is the center connection, DRV is available on the two small vias, and GND is availble at the end beyond the sense resistors.
  • Two 1.2mm vias are provided for GND on the daughter PCB. The second 1.2mm via may be used to attach GND to a GND screw on the pill.
  • LED+ connects to the bottom, parent, PCB and bypasses the daughter PCB. LED- connects to one of the four 1.2mm vias next to the FET on the daughter PCB.
  • (This board is not available to order since I just slapped two boards into one Gerber.)

Using my low-end test equipment with the driver regulating at 2.45A and no reverse polarity protection diode dropout appears to be ~0.24v. Not bad, but I can certainly imagine better.

I’ve just measured a single 7135 regulating at 0.37A, no reverse polarity protection, and dropout appears to be ~0.18v.

Again, I may not be measuring perfectly. That said:

With 7x7135 at 2.17A regulated… I’m seeing a 0.26v dropout. Current seems a little low for 7x7135, so I expect I’ll be re-doing that test.

Depending on how dropout scales on the QX7136 I can see it being equivalent to or better than 7135’s.

Hey Alex, any updates on this project? I have always been fond of the Supfire M6 driver that uses the 7136s to drive each of the three channels. As we talked about earlier, however, they implemented some sort of strange network that the PWM signal passes through before going to the 7136s. I haven't had time to investigate further, but it seems bizarre that they would add all of those components for no reason. Although we have seen those guys sometimes put components on boards for no good reason at all, I think it's worth investigating further.

RMM, I’m ordering parts tonight. I’ve been putting it off in anticipation of finding more parts to pile into the same order, I’m terrible about that…. I think I’ll have some test PCBs in hand any day now.

I did scope the test circuit and it seemed to operate fine (Post #18). Until you brought up the extra stuff again just now I hadn’t thought any more about it. I suppose that we could cram in those extra components, but right now I don’t see why. When I have a test platform I like better (an actual assembled driver) I’ll scope that again and then compare that with the M6 driver on the scope. If I had a theory as to what the purpose of that stuff was I’ve forgotten it. :frowning:

If it works good without 'em, I say go without!

Ugh, what a hobby! Mouser just cleaned out my pockets again. I’ve got several MOSFET candidates in route as well as a small assortment of high-wattage low-value 1206 sense resistors and a couple of 0.02-ohm 0805 sense resistors. I plan to switch these things to 0805s in order to make tuning easier. The overall build cost does go up a little, but I think it’s worthwhile.

… and a new Pomona 5250 clip because I’ve been hobbling along with a damaged one for some time now. I hated to bite the bullet on that since the damage was 100% self-inflected (I shouldn’t have ever put any force on that little pin and I knew it.) It’s dumb to punish myself over a $13 part though, so in the cart it goes.

It’s been a little while since I worked on this driver and I was confused about the purpose behind this large via:

At first I thought it was for wiring since it was 1.2mm. v010 is the last version I when I worked on the driver previously and you can see that the vias in this area were playing havic with the routing of that gate trace. Eventually I realized that the via was for carrying power and that there was no way you’d ever want a wire in that hole.

Moving on, below are a couple of images of the current state of the 17mm driver. In each picture you can see a single DRC error highlighted in white as an example. When I say that a design passes DRC, I am not being literal. All of my drivers fail DRC with amny errors. Generally that’s either because of me ignoring best practices in some way or not setting up my DRC properly. The examples show a GND pin being too close to a GND via in the top (red) image and a pair of the extra-large solder pads I use for 0805 components [the stock Eagle part] overlapping on the bottom of the board. When I say a design “passes DRC and is ready to go” or similar, I’m probably only referring to the portions of DRC which pertain to the fab successfully producing the board.

This is where baby drivers come from:

After a little more tuning, here’s what we’ve got. I didn’t mean to leave BLF and the identifiers at the top upside down, I’ll correct that in the future.

As you can see I’ve:

  • Refreshed the via ring to be more attractive. Previously I rotated it slightly (on purpose) in order to help maintain separation on some things.
  • Moved the OTC, turns out I was doing an unnecessary component keepout on the ends of the ATtiny13A. The clip clears the area I’ve put the OTC into just fine and this position helps with the new via ring.
  • Switched to 0805 sense resistors. If you want to usea pair of 1206 there is enough space, but it may require some very minor surgery.
  • Added/extended large pads on both LED+ and LED- in addition to the large 1.2mm vias.
  • Vias and traces moved around and cleaned up.
  • Come to think of it, the purpose of that cleanup was to allow me to double the density of the vias (12 -> 24) of the vias in the GND ring. I need to go back and do that.

This still maintains the strict keepouts around the edge:

  • 1mm component keepout. No physical objects w/in 1mm of the edge.
  • 1mm bare-copper-which-is-not GND keepout. Only GND and covered traces are allowed w/in 1mm of the edge. No vias from a net other than GND and no bare copper from a net other than GND.

I’m thinking that the name needs to not be A17LDQX where the LD stands for linear driver and the QX stands for QX Micro Devices (QXMD, the IC manufacturer). Initially I thought that the QX7136 was unique to QXMD, but it turns out that 7136’s are also made by others such as MicrOne, whose products we’ve become familiar with around here in recent years. Here’s their MEL7136.

For now I’ve just changed the name to A17LDX where the suffix represents linear driver and an “x” for xtra powerful or xtreme or whatever thing the X normally represents in these situations.

v015:

v016: