Author Topic: Software for Dave's power supply? (UI sample pics inside)  (Read 12049 times)

0 Members and 1 Guest are viewing this topic.

Offline george gravesTopic starter

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Software for Dave's power supply? (UI sample pics inside)
« on: February 21, 2012, 03:41:06 am »
I know Dave has added the provision for a serial communications for his power supply.

I ran across this project when googling for some more info about DIY bench/lab power supplies - I though it was really interesting!  What do you guys think?  I'm not sure if this project I'm linking to is open source or not - but it looks like all the source code is there!

http://www.soygul.com/projects/microcontroller-based-power-supply/

http://www.soygul.com/wp-content/uploads/2009/08/Diploma_Thesis.pdf

I was thinking of might trying to knock something up in "Processing" (to keep with the open source theme and make it cross platform friendly.  It would be great to make it someone easy to "skin" it, so that there could be several "looks" available.












« Last Edit: February 21, 2012, 12:21:37 pm by george graves »
 

Offline PeterG

  • Frequent Contributor
  • **
  • Posts: 831
  • Country: au
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #1 on: February 21, 2012, 04:47:15 am »
Is there an English version of the PDF?

Regards
Testing one two three...
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #2 on: February 21, 2012, 08:45:48 am »
I ran across this project when googling for some more info about DIY bench/lab power supplies - I though it was really interesting!  What do you guys think?

Piss-poor design. The regulation is done with a digital loop. And that one is too slow to make a good regulating power supply

The hardware (page 14) is a copy of an old, also piss-poor open-source power supply (http://www.linuxfocus.org/English/September2005/article389.shtml) I am surprised that this isn't referred in the list of references in the diploma thesis. Further taking the build "quality" of the power supply in the diploma thesis onto account I have to ask how the guy could get a diploma at all.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline george gravesTopic starter

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #3 on: February 21, 2012, 08:49:43 am »
I was asking more about the UI and software.   ;)  But thanks for the heads up.

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #4 on: February 21, 2012, 08:58:48 am »
I was asking more about the UI and software.   ;)

Lipstick on a pig.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline electrode

  • Regular Contributor
  • *
  • Posts: 141
  • Country: au
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #5 on: February 21, 2012, 09:37:53 am »
Well he's really just asking about the lipstick.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #6 on: February 21, 2012, 10:02:46 am »
Well he's really just asking about the lipstick.
The wife says a warm burgundy color would be worth a try. And who am I to disagree with the wife when it comes to lipstick color?
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline Mint.

  • Frequent Contributor
  • **
  • Posts: 523
  • Country: au
  • Account is inactive now. Thanks everybody!
    • Personal Blog, Mint Electronics.
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #7 on: February 21, 2012, 10:11:46 am »
That looks very very nice. I think I want to buy the kit now. I like how you can see the load percentage and various graphs, very useful!
Personal Blog (Not Active Anymore), Mint Electronics:
http://mintelectronics.wordpress.com/
 

Offline george gravesTopic starter

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #8 on: February 21, 2012, 12:00:52 pm »
« Last Edit: February 21, 2012, 12:36:34 pm by george graves »
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11631
  • Country: my
  • reassessing directives...
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #9 on: February 21, 2012, 12:08:07 pm »
this is a good example in term of completeness (i mean hardware vs/connection with software) much better than 1hunglow SW from the look. about the analog side of the hardware, sure it can be improved. i do not bother to download the thesis, but  i think most of people around here can do better esp Dave!. just look at how he cut the front panel for the lcd, thats piss poor. poorer than my quick and easy darwinian technique. i can do better (if i want to), others can do alot better than me. @BAW: its just a diploma, in my place, with that level of completeness, i believe the undergrad can be promoted up to bachelor level.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline shebu18

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #10 on: February 21, 2012, 12:14:41 pm »
Why don't we develope a software for Dave's Supply? Data logging, and i don't know what feature we could set in.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #11 on: February 21, 2012, 12:27:13 pm »
@BAW: its just a diploma, in my place, with that level of completeness, i believe the undergrad can be promoted up to bachelor level.
In some areas of the world the diploma is the highest engineering qualification just below the PhD, not the lowest entry level. No, I didn't check what is the case for this particular thesis. However, lowest or highest qualification, providing proper references should always be required.

Why don't we develope a software for Dave's Supply? Data logging, and i don't know what feature we could set in.

Because no one except Dave has the latest, up-to-date hardware and software of that supply. And my understanding is Dave is still thinking about changes, e.g. going SMD. You are, of course, free to start your own software project for Daves or any other power supply right now. No need to wait for "us".
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline george gravesTopic starter

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #12 on: February 21, 2012, 12:32:43 pm »
« Last Edit: February 21, 2012, 12:35:00 pm by george graves »
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #13 on: February 21, 2012, 12:37:30 pm »
I have no plans for any PC/web control software, as I don't really need that myself (for now). I'm just building in the capability to have PC control if people want that.

Dave.
 

Offline shebu18

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #14 on: February 21, 2012, 12:41:13 pm »
Because no one except Dave has the latest, up-to-date hardware and software of that supply. And my understanding is Dave is still thinking about changes, e.g. going SMD. You are, of course, free to start your own software project for Daves or any other power supply right now. No need to wait for "us".


I do not mean to do it right now, we could start after the final PCB and Code are published. If you do not want to participate, there is no problem with that.
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #15 on: February 21, 2012, 01:34:19 pm »
I do not mean to do it right now, we could start after the final PCB and Code are published.

You know, I always get nervous when someone says "we". It typically means "someone else". So, when will you start?
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #16 on: February 21, 2012, 01:56:02 pm »
I do have to admit that the software looks pretty cool. 

I'm sure that there will be no shortage of control software for Dave's PSU once it's released.  All the software people will want to do it their own way so you'll wind up with about a dozen different implementations.  LOL.
 

Offline shebu18

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #17 on: February 21, 2012, 01:57:19 pm »
I do not mean to do it right now, we could start after the final PCB and Code are published.

You know, I always get nervous when someone says "we". It typically means "someone else". So, when will you start?


As soon as the official PCB and Code are out. My knowledge of codeing is kind of low, but i will do my best.
 

Offline sacherjj

  • Frequent Contributor
  • **
  • Posts: 993
  • Country: us
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #18 on: February 21, 2012, 02:33:58 pm »
To design a UI, you need to first figure out what you are going to do with it.  But before that you need an API design.  For this, there are not many functions.  You would have something like this.

Read Values:
OutputEnabled
PanelEnabled
VoltageSet
VoltageActual
CurrentSet
CurrentActual
CurrentSensorMode [uCurrent/Normal]  ?
LimitType [Voltage/Current]

Set Values:
OutputEnabled
PanelEnabled [Lock out local control from accidental changes?]
Voltage
Current

If we go with an ethernet module, there will be some configuration.  Perhaps IP address and logging time interval.  It would then send a values packet to a certain IP address when logging is enabled.  Or it could send based on a certain percentage change in values. 

The project that started this thread is completely backwards from my point of view.  It looks like a power supply that is designed to be controlled by a PC.  That is great.  I think Dave's is more realistic.  A power supply that works as a power supply, but also may be controlled by a PC. 

I'm trying to figure out where I would use a setup that would vary the voltage over a fixed time frame, like the macros do in the original project.   I can understand using data logging and graphing features.  I might want to run a micro sensor project for hours and see what it looks like when active or in sleep mode. 

Also, before ANY of this work is done, we should find out what protocols and packets are used by existing power supplies with data capability.  If there is a standard or common API, we would be dumb not to use it if it meets our needs.  For example, does it make sense to follow something like MODBUS/TCP or MODBUS/TCPIP?
« Last Edit: February 21, 2012, 02:50:14 pm by sacherjj »
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #19 on: February 21, 2012, 03:27:10 pm »
I think (I am sure) that this is the tuxgraphics.org design.

http://tuxgraphics.org/electronics/201005/bench-power-supply-v3.shtml

No reference to in the thesis though. Could be violating the GNU/G.P.L. tbh.  :P :P :P
Become a realist, stay a dreamer.

 

Offline Jad.z

  • Regular Contributor
  • *
  • Posts: 83
  • Country: 00
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #20 on: February 21, 2012, 05:41:26 pm »
Just look at my avatar and you will know how I fell about this PS and the ~engineer who claimed it.




 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #21 on: February 22, 2012, 02:44:09 am »
I’ve gotta ask. Why do all you people want a PC controlled Bench-top PSU?

One of the reason that I've been thinking and wondering if this combination can be made to form a poor man battery simulator ?

Since the PC can monitor the power consumption vs time, and have a program to adjust the voltage and the current that is proportional with a known battery discharge curve.

Offline sacherjj

  • Frequent Contributor
  • **
  • Posts: 993
  • Country: us
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #22 on: February 22, 2012, 04:06:47 am »
I’ve gotta ask. Why do all you people want a PC controlled Bench-top PSU?

One of the reason that I've been thinking and wondering if this combination can be made to form a poor man battery simulator ?

Since the PC can monitor the power consumption vs time, and have a program to adjust the voltage and the current that is proportional with a known battery discharge curve.

There were two possible uses that came to mind.  One is that, a battery discharge simulator.  The other was a simulation of a solar cell to develop a charge controller.
 

Offline george gravesTopic starter

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #23 on: February 22, 2012, 09:03:41 am »
I have no plans for any PC/web control software, as I don't really need that myself (for now)

Thanks for adding that functionally in.  If you were to, what would you use?  Processing perhaps? 

Just out of courisity, I picked up some LM317 and plan to bread board them with just a stand alone arduino.  I wonder what kind of accuracy I could get with just the on-board ADC and PWM?  You last 10 videos on the subject have really encouraged me not to be too afraid - and try things out.   (I think "board-at-work" dude could learn a lot from you.  (That is if he doesn't get banned first))

At the risk of sounding like a "brown noser" - you've done an amazing job with the series of tutorials.  I think even the most noob-ish viewer could follow along and understand the process.  Hats off to you.



« Last Edit: February 22, 2012, 09:15:57 am by george graves »
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: Software for Dave's power supply? (UI sample pics inside)
« Reply #24 on: February 28, 2012, 12:47:38 am »
I think (I am sure) that this is the tuxgraphics.org design.

http://tuxgraphics.org/electronics/201005/bench-power-supply-v3.shtml

No reference to in the thesis though. Could be violating the GNU/G.P.L. tbh.  :P :P :P

It's exactly the tuxgraphics design. He didn't even improve on it, or study it for Load/Line regulation, ripple, etc.  If I was doing that thesis, I'd build it, test all the
Power Supply specs (Line/Load regulation, ripple, holdup time, any overshoot or undershoot, ramp-up time, etc)

Then try to improve upon it. That would be the meat of the thesis. 

Take a look at any thesis from the 60's, 70's, 80's  and you'll see how much more complex and demanding they are of the student, compared to
the theses of today's students.  Most EE theses produced today are garbage, but they get a degree anyways.

A thesis should make a student think, solve something, improve upon something, etc. Students today just "make" something and write it up like a blog entry.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf