ULTIBOX : Ecig Boost mod with lcd screen , 18650, Constant power. OPEN SOURCE

Status
Not open for further replies.

mikael b

Full Member
Aug 31, 2010
17
1
Denmark

Cool_Breeze

Vaping Master
ECF Veteran
Verified Member
Apr 10, 2011
4,117
4,291
Kentucky
...looking good! I may just hold my pending Digi-Key and madvapes orders!

I forgot the current schematic of the board, Be careful, it can still change.
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B2imTCP2yWZvOTIwYjk5ZDktNzlmNC00YWUyLTg0NWItODVlYmNkOTBiMGEz&hl=fr
After the end of my tests, we will see.
Price for this board (PCB + components + Screen) -> € 40

...assembled?

For consideration as an enclosure...
Project Enclosure (4x2x1") - RadioShack.com
 

perlionsmitnick

Super Member
ECF Veteran
Sep 14, 2010
459
135
TX
Hello Scubabatdan,

I use for my Board : CADSOFT EAGLE CadSoft - Home of CadSoft EAGLE PCB Design Software- Best PCB Design Software
And for 3D render --> Eagle3D en:eagle3d:eagle3d [www.matwei.de]

This software (eagle) is not complicated to use. I recommend :glare:.

Pailpoe, don't let Dan's modesty fool you. He is our resident Raidy of sorts. He has designed several attys with the genisis concept and is very proficient at circuitry and metalworking. The reason that I said you should meet is that you said you weren't a mechanic.

I would like to see the 2 of you get together and put something together with your batt/board design coupled with an encosure/atty of Dans design........Of course we are all here to help. :)

Dan you can thank me later for volunteering your time. LOL
 
Last edited:

Scubabatdan

Vaping Master
ECF Veteran
Verified Member
Jul 14, 2009
4,749
6,733
61
Dothan, AL
I understood the same thing.
I will make a fiberglass enclosure for the proto but a box made ​​of aluminum would be really classy.

@cos
Happy to be back after a few months away from here

Give me the enclosure design and I will make an enclosure out of aluminum or stainless steel for you.
Dan
 

CraigHB

Ultra Member
ECF Veteran
Jul 31, 2010
1,249
314
Reno, Nevada
Very interesting. Thanks so much for posting.

I'm working on a mod that's similar, but my approach is different in various ways. For example, I'm using voltage control with current sensing only incorporated for user feedback and overload detection. I'm using a LiPo instead of an IMR round cell. My LCD display is a lot different. Of course, overall my parts list quite a bit different, but I'm using the same digital pot, but 10kΩ instead of 50kΩ and I'm using a similar charger controller, but the 73833 instead of the 73832.

I like how you solved the issue of feedback compensation by using that particular PWM controller. Though, you give up the ability to use synchronous rectification which is a biggie for me.

The data sheet for the Microchip PWM controller states, "outputs up to 5W" yet you are claiming 20W. How do you get around that limitation?

You are stating 7-8A, but you don't state whether that is output or input. I assume that's input? 7-8A output would be quite lofty for that circuit. You are also stating 10V. 5A at 6V output is the best I can do myself. I hit my PWM controller's overload protection with voltage or current any higher.

Output capacitance is low, only 30uF. Isn't output ripple going to be a problem? I used 200uF on my last mod. I'm attempting to use 100uF on the latest one and I feel that's low.

All of the return current from the converter is flowing through the ground plane under the control and sensing circuits. I use an isolated ground plane to keep high currents away from those circuits. You don't have any issues with noise?

I don't see a voltage regulator anywhere on the schematic yet you show 3V Vdd on the pot and MCU. I don't know of a way to use straight battery voltage without thowing off the ADCs (as battery voltage falls off) other than using an external voltage reference. I don't see one of those either. You're also showing a 5V clamp on the charging input, but I don't see where that 5V source is coming from.

How are you getting the resolution you need out of the signals across the current sense resistor? Those signals are only in the tens of mV. I'm using an op-amp in differential mode to amplify the signal for the MCU's ADC.

I see your design as somewhat lossy. You've got a 20mΩ current sense resistor for the PWM controller and another 10mΩ resistor for current sensing on the atty low side. Then there's a diode rectifier. I use a 10mΩ current sense resistor on the low side and a MOSFET rectifier. My PWM controller is voltage mode so it doesn't require a current sense resistor. You're using a small 3uH inductor so I'd expect to see some notable loss there as well (DCR goes up quick with higher inductance). I use a 1uH low profile SMD part with very low DCR myself. It took me a long time to find one with the specs I wanted. It seems you're liberally sacrificing efficiency in your design. Have you tested it on the bench? What kind of efficiency are you getting?

How's the idle draw? For me, that was a big source of issue to get it under 10µA on my mods. Takes some smart component choices and meticulous coding. Always have to pay close attention to it.

I don't see any fuses. You can sense over-load conditions in code, but I wouldn't rely on that 100%. If sensing fails and there's a short, well that's a big problem.

The PIC18F MCUs are nice parts as far as 8 bit µcontrollers go. I'm using a PIC24F myself. It's also available in a SSOP 28 pin package. Cost is similar. It's much more powerful since it's 16 bit and has a full featured accumulator. I find it much easier to code.

In any case, that's quite a design to make publicly available. I would never do that with the one I'm doing. That's very gracious of you.
 

CapeCAD

Senior Member
ECF Veteran
Verified Member
Jun 2, 2010
232
25
Massachusetts
I don't see a voltage regulator anywhere on the schematic yet you show 3v vdd on the pot and mcu.
Looks like there's a mcp1700 3V regulator

I don't know of a way to use straight battery voltage without thowing off the adcs (as battery voltage falls off) other than using an external voltage reference. I don't see one of those either.
This Pic does have a fixed internal voltage reference (1.024V, 2.048V, or 4.096V)

you're also showing a 5v clamp on the charging input, but i don't see where that 5v source is coming from.
Looks like it's originated from the usb connector

That's very gracious of you.
I agree.

As this is noted as not final, I'm interested in watching the progress.
 
Last edited:

pailpoe

Moved On
ECF Veteran
Sep 12, 2010
360
127
45
France
@scubabatdan
Thanks

A lot of question :laugh:, good
same digital pot, but 10kΩ instead of 50kΩ and I'm using a similar charger controller, but the 73833 instead of the 73832.
--> 5K (502) for me, not 50K

The data sheet for the Microchip PWM controller states, "outputs up to 5W" yet you are claiming 20W. How do you get around that limitation?
This chip does not limit the power output, Input current limiting with R6 on my schematic . this resistance only serves to protect the transistor. R6=0.020 --> Imaxinput=7A
-->See the datasheet for more informations :p

You are stating 7-8A, but you don't state whether that is output or input. I assume that's input? 7-8A output would be quite lofty for that circuit. You are also stating 10V. 5A at 6V output is the best I can do myself. I hit my PWM controller's overload protection with voltage or current any higher.
Yes input, of course. 20-25w seems to be the max for me (Pspice simulation).

Output capacitance is low, only 30uF. Isn't output ripple going to be a problem? I used 200uF on my last mod. I'm attempting to use 100uF on the latest one and I feel that's low.
The most important, What's your frequency ?
For me 750Khz, --> reducing the size of capacitors.

All of the return current from the converter is flowing through the ground plane under the control and sensing circuits. I use an isolated ground plane to keep high currents away from those circuits. You don't have any issues with noise?
No at this moment, Power transfer between L2 and C7,C8,C9 . to put them close to each other.

I don't see a voltage regulator anywhere on the schematic yet you show 3V Vdd on the pot and MCU. I don't know of a way to use straight battery voltage without thowing off the ADCs (as battery voltage falls off) other than using an external voltage reference. I don't see one of those either. You're also showing a 5V clamp on the charging input, but I don't see where that 5V source is coming from.
3v MCP1700 regulator on my board and 5v from USB connector. I use internal ADCreference = 1,024v.

How are you getting the resolution you need out of the signals across the current sense resistor? Those signals are only in the tens of mV. I'm using an op-amp in differential mode to amplify the signal for the MCU's ADC.
For current sensing : Rshunt = 0,1 Ohm , Vref=1,024v, Conv = 1024
--> 10mA :p

You're using a small 3uH inductor so I'd expect to see some notable loss there as well (DCR goes up quick with higher inductance)
DCR = 17mOhm for my inductor. too much for you ? It seems reasonable

Have you tested it on the bench?
Yes.

How's the idle draw? For me, that was a big source of issue to get it under 10µA on my mods. Takes some smart component choices and meticulous coding. Always have to pay close attention to it.
Why do you want 10uA ?,

I don't see any fuses. You can sense over-load conditions in code, but I wouldn't rely on that 100%. If sensing fails and there's a short, well that's a big problem.
The protection is the current shunt if the software CRASH.

The PIC18F MCUs are nice parts as far as 8 bit µcontrollers go. I'm using a PIC24F myself.
Good idea. I'll have to look at this range.

In any case, that's quite a design to make publicly available. I would never do that with the one I'm doing.
Why not ?

Thank you for your comment.
 

pailpoe

Moved On
ECF Veteran
Sep 12, 2010
360
127
45
France
@CraigHB
I decided to rotate the screen for improve the ground plane.
preview_pcb_4_botton-2d599c2.jpg


Thanks a lot for your comments
 
Status
Not open for further replies.

Users who are viewing this thread