Comments (9)
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.
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.
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.
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.
@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.
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.
Interesting, what about with constant-current mode?
from opendps.
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.
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)
- Blank screen on DPS3005 HOT 22
- White screen after flashing DPS5005 HOT 9
- wz5005e support possible? HOT 12
- Support Request: build/upload doesn't work HOT 1
- No respond beside ping over uart, calibration menu has no effect HOT 1
- Display is cut off at the bottom HOT 5
- What serial connector type does RuiDeng DPS5005 uses? HOT 3
- unexpected EOF while looking for matching ... HOT 19
- modbus
- Switching modes from the device HOT 3
- DPS5015 v2.6 Display blank HOT 2
- Support for DPH5005? Would be really useful because DPH can do StepUp
- remote control: show ascii strings to display from client
- Future of this project HOT 14
- Firmware HOT 4
- Support for Miniware MDP-XP HOT 1
- Rename master branch to main
- Weird behaviour DPS5015
- WZ3605E aka JL3605E-B (V1.0) Support, Buck-Boost, 36V, 5A HOT 2
- Feature request for Battery input power HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendps.