Code Monkey home page Code Monkey logo

Comments (9)

kanflo avatar kanflo commented on June 3, 2024

With the PSU I have available I can drive 2A at constant voltage. Above 2A the measly PSU chokes and its output voltage drops. This issue will be left open until I am confident OpenDPS performs as good as the stock FW at higher loads.

from opendps.

Cabalist avatar Cabalist commented on June 3, 2024

I have a flashed and an unflashed DPS5005 as well as two identical power supplies rated for 48V/9.6A. (Dell EPS-470)

Anything I can do on the testing side to help?

from opendps.

Spudmn avatar Spudmn commented on June 3, 2024

You are on the right path with your fix. One DAC controls the output voltage and the other DAC controls the current limit. The patch has increased the current limit to what looks like 2A. When the current limit is exceeded the output voltage will drop.

from opendps.

joh avatar joh commented on June 3, 2024

The TL594 which controls the PWM duty cycle contains two error amplifiers. The two amplifiers are ORed so that the minimum pulse width dominates. Typically one is used to regulate output voltage while the other regulates output current.

Section 5.2 of this app note shows a typical circuit: http://www.ti.com/lit/an/slva001e/slva001e.pdf

from opendps.

kanflo avatar kanflo commented on June 3, 2024

@Spudmn: that would explain why I cannot get more than 2A. On the other hand, DAC2_OUT is saturated at 0xfff.

@Cabalist: I got my hands on an unflashed '5005 and will investigate how the stock FW sets ADC1/ADC2 to make the DPS output > 2A. If you have soldered JTAG to the unflashed one feel free to try the same.

@joh: thanks for the app note.

from opendps.

kanflo avatar kanflo commented on June 3, 2024

Tonight I checked a stock DPS5005 with the following results:

  • At 4.40V DOR1 is 1 when OFF and ~0x140 when ON (0x140 pretty much consistent with OpenDPS).
  • Regardless of the tested current draw (20mA, 0.9A, 1.75A and 2.56A), DOR2 was 0x73 when OFF and 0xda2 when ON.
  • DOR2 remained at 0xda2 when I opened the terminals which leads me to believe there is no regulator algoritm running.

As my PSU cannot deliver more than ~2.5A @ 4.4V I will borrow a more powerful one from the lab at work to test further.

from opendps.

joh avatar joh commented on June 3, 2024

Interesting, what about with constant-current mode?

from opendps.

joh avatar joh commented on June 3, 2024

Just tested the fix on master and I'm able to draw 5A through a 1 ohm resistor without problem. I had to build with MAX_CURRENT=6000 to prevent the initial inrush current to trigger the over current condition. So I think this issue can be closed :)

Would still be interesting to learn more about how the stock firmware controls DOR1/DOR2 for constant-current mode though, but I guess that discussion can continue in #1.

from opendps.

kanflo avatar kanflo commented on June 3, 2024

Well that was great news, thanks! I am thinking CC could be simple to implement and will experiment with the stock FW in CC mode.

from opendps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.