Software for Dave's power supply?  (UI sample pics inside) - Page 1
Forum section: electronics / general

author: george graves
author_rank: Super Contributor
timestamp: February 21, 2012, 03:41:06 am
content: 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.pdfI 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.

author: PeterG
author_rank: Frequent Contributor
timestamp: February 21, 2012, 04:47:15 am
content: Is there an English version of the PDF?Regards

author: Bored@Work
author_rank: Super Contributor
timestamp: February 21, 2012, 08:45:48 am
content: Quote from: george graves on February 21, 2012, 03:41:06 amPiss-poor design. The regulation is done with a digital loop. And that one is too slow to make a good regulating power supplyThe 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.

author: george graves
author_rank: Super Contributor
timestamp: February 21, 2012, 08:49:43 am
content: I was asking more about the UI and software.But thanks for the heads up.

author: Bored@Work
author_rank: Super Contributor
timestamp: February 21, 2012, 08:58:48 am
content: Quote from: george graves on February 21, 2012, 08:49:43 amLipstick on a pig.

author: electrode
author_rank: Regular Contributor
timestamp: February 21, 2012, 09:37:53 am
content: Well he's really just asking about the lipstick.

author: Bored@Work
author_rank: Super Contributor
timestamp: February 21, 2012, 10:02:46 am
content: Quote from: electrode on February 21, 2012, 09:37:53 amThe 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?

author: Mint.
author_rank: Frequent Contributor
timestamp: February 21, 2012, 10:11:46 am
content: 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!

author: george graves
author_rank: Super Contributor
timestamp: February 21, 2012, 12:00:52 pm
content: Quote from: BoredAtWork on February 21, 2012, 08:58:48 amLol

author: Mechatrommer
author_rank: Super Contributor
timestamp: February 21, 2012, 12:08:07 pm
content: 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.

author: shebu18
author_rank: Frequent Contributor
timestamp: February 21, 2012, 12:14:41 pm
content: Why don't we develope a software for Dave's Supply? Data logging, and i don't know what feature we could set in.

author: Bored@Work
author_rank: Super Contributor
timestamp: February 21, 2012, 12:27:13 pm
content: Quote from: Mechatrommer on February 21, 2012, 12:08:07 pmIn 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.Quote from: shebu18 on February 21, 2012, 12:14:41 pmBecause 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".

author: EEVblog
author_rank: Unknown
timestamp: February 21, 2012, 12:37:30 pm
content: 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.

author: shebu18
author_rank: Frequent Contributor
timestamp: February 21, 2012, 12:41:13 pm
content: Quote from: BoredAtWork on February 21, 2012, 12:27:13 pmI 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.

author: Bored@Work
author_rank: Super Contributor
timestamp: February 21, 2012, 01:34:19 pm
content: Quote from: shebu18 on February 21, 2012, 12:41:13 pmYou know, I always get nervous when someone says "we". It typically means "someone else". So, when will you start?

author: TerminalJack505
author_rank: Super Contributor
timestamp: February 21, 2012, 01:56:02 pm
content: 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.

author: shebu18
author_rank: Frequent Contributor
timestamp: February 21, 2012, 01:57:19 pm
content: Quote from: BoredAtWork on February 21, 2012, 01:34:19 pmAs soon as the official PCB and Code are out. My knowledge of codeing is kind of low, but i will do my best.

author: sacherjj
author_rank: Frequent Contributor
timestamp: February 21, 2012, 02:33:58 pm
content: 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:OutputEnabledPanelEnabledVoltageSetVoltageActualCurrentSetCurrentActualCurrentSensorMode [uCurrent/Normal] ?LimitType [Voltage/Current]Set Values:OutputEnabledPanelEnabled [Lock out local control from accidental changes?]VoltageCurrentIf 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?

author: firewalker
author_rank: Super Contributor
timestamp: February 21, 2012, 03:27:10 pm
content: I think (I am sure) that this is the tuxgraphics.org design.http://tuxgraphics.org/electronics/201005/bench-power-supply-v3.shtmlNo reference to in the thesis though. Could be violating the GNU/G.P.L. tbh.

author: Jad.z
author_rank: Regular Contributor
timestamp: February 21, 2012, 05:41:26 pm
content: Just look at my avatar and you will know how I fell about this PS and the ~engineer who claimed it.

author: BravoV
author_rank: Super Contributor
timestamp: February 22, 2012, 02:44:09 am
content: Quote from: AcHmed99 on February 21, 2012, 01:52:59 pmOne 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.

author: sacherjj
author_rank: Frequent Contributor
timestamp: February 22, 2012, 04:06:47 am
content: Quote from: BravoV on February 22, 2012, 02:44:09 amThere 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.

author: george graves
author_rank: Super Contributor
timestamp: February 22, 2012, 09:03:41 am
content: Quote from: EEVblog on February 21, 2012, 12:37:30 pmThanks 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.

author: codeboy2k
author_rank: Super Contributor
timestamp: February 28, 2012, 12:47:38 am
content: Quote from: firewalker on February 21, 2012, 03:27:10 pmIt'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 thePower Supply specs (Line/Load regulation, ripple, holdup time, any overshoot or undershoot, ramp-up time, etc)Thentry 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 tothe 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.