Author Topic: RuiDeng Riden RD6006 DC power supply  (Read 502705 times)

Lomax and 9 Guests are viewing this topic.

Offline VR46Jedi

  • Newbie
  • Posts: 5
  • Country: ca
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1300 on: October 31, 2024, 03:59:13 pm »
I also have a battery charging issue.  I have an RD6006 I bought when they first came out.  It was running stock 1.25v firmware which I just updated to UniSoft V1.41.1k.  such an improvement in features!  Thank you UniSoft for working on this.

I wanted to charge a 24v battery that I just got that has a built in bms.  I used the black and red terminals and was able to charge it up for awhile at a few different amperages like 1A to 3A.

Then I had individual Headway 8Ah cells.  I set my supply to have an output of 3.65V and current of 0.25A.  I set the over protections to 20V and 4A just so they are higher but I don't think these matter so much.  When I connect the single cell to the black and green terminals and turn on the output I get the voltage close to 3.65 but the current is a trickle at only 50ish mA.  And the display only shows CV and not CC that I'm expecting.  I tested on a discharged headway cell that is 2.64v and one at 3.2v.  Both only charge very slowly and show CV as the charge method.

I've read up on what others had issues with and I thought maybe a fuse went so I removed them and they both have zero resistance.  I haven't checked the resistors yet but I was able to cycle the relay on and off using the Green Output option in the firmware and I did measure the exact same voltage on the green and red terminals in that test.  So I believe the fuses are good and the relay is working.

Should I reset the settings and reflash?  Is it
possible going from 1.25 original firmware with some preferences saved to the UniSoft V1.41.1k would cause issues with how the firmware is updated?
 

Offline bateau020

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: fr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1301 on: October 31, 2024, 05:22:51 pm »
Best is indeed to reset all settings when going to the custom firmware. Not sure if this solves it though.
 

Offline VR46Jedi

  • Newbie
  • Posts: 5
  • Country: ca
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1302 on: October 31, 2024, 06:27:26 pm »
Thanks, I'll try it.

With a discharged battery it should have sucked up the current and flipped to CC mode.  I was thinking there is something I'm missing from the settings or I've just got unlucky with the cells I tried.  I'll reset and reflash and try out more cells.  Hopefully one of them will take the charge and there isn't anything wrong with the MOSFET.
 

Offline VR46Jedi

  • Newbie
  • Posts: 5
  • Country: ca
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1303 on: October 31, 2024, 08:55:54 pm »
I caught a thread over at budget light forums and RD recommended resetting after firmware updates as well. So I tried that with UniSoft's just in case it would work and still no changes.  I even put a headway cell back on my discharger and took 2600mAh out of it to drop the cell voltage to 2.6 and reconnected to the RD for charging and it's still crawling along at 50-60mAh@ 3.65V. I'm not using thick cables but I'm certain that it could handle at least 250mA charge rate.

All I can think of next is to find the factory firmware and flash that back and see if there is a change.
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 313
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1304 on: November 01, 2024, 06:33:43 pm »
I also have a battery charging issue.  I have an RD6006...

Then I had individual Headway 8Ah cells.  I set my supply to have an output of 3.65V and current of 0.25A.  I set the over protections to 20V and 4A just so they are higher but I don't think these matter so much.  When I connect the single cell to the black and green terminals and turn on the output I get the voltage close to 3.65 but the current is a trickle at only 50ish mA. 
There is no issue!
The current depends from Load resistance (Ohms Low),
so if you set Vset=3.65V and getting only 50mA, it means that the resistance of the battery quite high to get the higher current.
To increase the current, you need to increase the output voltage.

To keep the Constant Current (CC) the internal logic of this PSU, can only decrease the output voltage (from Vset down to 0). but no increase!
This all made by hardware, see schematics.
Take a note, that Vset is absolute maximum.

And the display only shows CV and not CC that I'm expecting.
this power supply designed to work in CC mode only (hardware).
Icon CV or CC it is just a marker, when the measured output voltage 50mV (or more) less than expected (Vset) it displays CC icon instead of CV.

Both only charge very slowly and show CV as the charge method.
Increase the voltage, and give to internal logic some space to work.
Internal logic itself will decrease the output voltage, to keep your Iset.

Should I reset the settings and reflash?
No need

Is it possible going from 1.25 original firmware with some preferences saved to the UniSoft V1.41.1k would cause issues with how the firmware is updated?
No

All I can think of next is to find the factory firmware and flash that back and see if there is a change.
Firmware is not involved in any regulation process.
All regulations made by hardware.

PS:
Factory firmware(s) are here:
http://www.ruidengkeji.com/rdupdate/firmware/


« Last Edit: November 01, 2024, 07:01:12 pm by UniSoft »
 
The following users thanked this post: VR46Jedi

Offline grymoire

  • Contributor
  • Posts: 12
  • Country: us
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1305 on: November 09, 2024, 09:31:04 pm »
I just received the RK6006-BT power supply. Is the https://github.com/wildekek/rdtech-firmware-unisoft firmware compatible? Will Bluetooth work?
 

Offline grymoire

  • Contributor
  • Posts: 12
  • Country: us
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1306 on: November 10, 2024, 03:36:12 pm »
Since I can't get Bluetooth to work with my Android (the software isn't compatible), I tried the new firmware. I first made sure I could flash the factory firmware and succeeded after a slight mod (I have model RK60066). However, when I flashed the new firmware, it didn't work. The flash worked, but when I check my firmware version, it's still V1.09
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 313
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1307 on: November 11, 2024, 05:19:24 am »
firmware compatible? Will Bluetooth work?
RK6006 and RD6006 are completely different devices!
And their firmware is not compatible.
 

Offline grymoire

  • Contributor
  • Posts: 12
  • Country: us
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1308 on: November 11, 2024, 03:06:49 pm »
Oh. Sorry. I apologize. I was confused by the product labeling on the aliexpress site. I was fooled by the RD/RK6006 label. I was a little frustrated, as there is no BT software for it.
 

Offline grymoire

  • Contributor
  • Posts: 12
  • Country: us
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1309 on: November 11, 2024, 03:44:45 pm »
To follow up, I found that the python library https://github.com/Baldanos/rd6006 seems to work for the rk6006.
 

Offline ocular

  • Newbie
  • Posts: 1
  • Country: au
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1310 on: November 26, 2024, 07:05:25 am »
Have a RD6024 that is about 2 yrs old. Not sure if there was a specific incident that caused the current issue. When I turn the unit on there is no display or button lights. After about 45s there is very brief flicker of the screen and green light button comes on. However no buttons do anything when pressed and there is no output. Opened up case and the switchmode PSU has a green led and output of 68V. Tested the insitu fuses and these show 0 ohms. Spoke to Riden support and they said I should put a battery in the clock module. Done this but still the same. Never had a clock module battery in the RD6024 and have another RD6024 that works with no clock module battery. Not sure where to go from here. Have read the section #1288 onwards about fuses and a blown input fuse takes out the display. Where to from here?
 

Offline lmclaren

  • Newbie
  • Posts: 3
  • Country: au
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1311 on: November 29, 2024, 07:44:57 am »
Is there any way to 'gang' these power supplies together? As they are isolated (supply and usb) it seems to me that it should be possible to slave one off another if software permitted.
This would allow by interconnecting the 2 units a positive, ground, negative supply (or higher current with load sharing)


I have looked through the manual for the UniSoft firmware and can't see anything that mentions it.
 

Offline HexfeT

  • Contributor
  • Posts: 11
  • Country: tr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1312 on: December 14, 2024, 10:37:33 am »
I drew the schematic of the linear part of the RD6012P model from the PCB.

2472201-0
« Last Edit: December 30, 2024, 12:06:31 am by HexfeT »
 
The following users thanked this post: thm_w, UniSoft

Offline madhunm

  • Newbie
  • Posts: 5
Re: RuiDeng Riden RD6006 DC power supply - WiFi Control
« Reply #1313 on: December 17, 2024, 02:44:31 pm »
Hello all,

I have two RD6018 PSUs and I have updated their firmware to Unisoft's latest available firmware (1.36h).

I have the newer WiFi modules for these PSUs - based on the ESP8684. I am unable to find any firmware that is compatible with these WiFi modules.

My question is: Assuming that I am able to find the right firmware that bridges TCP/IP and MODBUS, How do I control these PSUs using another MCU? I would like to use an ESP32.

Thanks!
 

Offline bateau020

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: fr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1314 on: December 17, 2024, 05:43:26 pm »
Hi, the pinout and the communication protocol are probably still the same. You could try the old communication protocols or use a logic analyzer or USB-Serial module to read the communication. Note that when you configure the PSU for a RS485 module, the communication is different than with a WiFi module. With a WiFi module ther PSU sends additional initialization commands. RS485 is probably easier to reverse engineer.
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 313
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply - WiFi Control
« Reply #1315 on: December 17, 2024, 06:41:16 pm »
I have the newer WiFi modules for these PSUs - based on the ESP8684. I am unable to find any firmware that is compatible with these WiFi modules.
I didn't make support for this modules (W02).

My question is: Assuming that I am able to find the right firmware that bridges TCP/IP and MODBUS,
How do I control these PSUs using another MCU?
Switch "UART Interface" to TTL mode (simple UART).
Protocol ModBUS.
Registers description I posted earlier, here:
https://www.eevblog.com/forum/testgear/ruideng-riden-rd6006-dc-power-supply/msg3126448/#msg3126448

Hi, the pinout and the communication protocol are probably still the same. You could try the old communication protocols or use a logic analyzer or USB-Serial module to read the communication. Note that when you configure the PSU for a RS485 module, the communication is different than with a WiFi module. With a WiFi module ther PSU sends additional initialization commands. RS485 is probably easier to reverse engineer.
Plain UART is a TTL mode.
mode RS485 is used for RS485 module. This module contains 485 transmitter IC, which needs additional signal Rx/Tx, and pin EN is used to switch Rx/Tx mode (Rx-Low; Tx-High)
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 313
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1316 on: December 20, 2024, 05:11:49 am »
Played a little with the new WiFi module W02 ...
It looks like they have their own firmware there.
I did not find how to configure it manually.

It works like this:


Identification:

1. Communication check: "AT\r\n"
Code: [Select]
41 54 0d 0a                                      AT..
4f 4b 0d 0a                                      OK..

2. Module identification: "AT+MODELNAME\r\n"
Code: [Select]
41 54 2b 4d 4f 44 45 4c 4e 41 4d 45 0d 0a        AT+MODELNAME..
57 30 32 0d 0a                                   W02..
PS: The old module W01 will return the ERROR.


Next, if the module has not yet been configured.
Its configuration is made:


1. Reset settings, and entering the configuration mode: "AT+RESTORE\r\n"
NOTE: There is no answer.
Code: [Select]
41 54 2b 52 45 53 54 4f 52 45 0d 0a              AT+RESTORE..
2. Run the app and start the initialization process.
After a while, the answer comes (sometimes several times).
Here we get server IP address.
Code: [Select]
43 4f 4e 46 49 47 4f 4b 2b 49 50 3a 31 39 32 2e  CONFIGOK+IP:192.
31 36 38 2e 31 2e 31 36 37 0d 0a                 168.1.167..   
43 4f 4e 46 49 47 4f 4b 2b 49 50 3a 31 39 32 2e  CONFIGOK+IP:192.
31 36 38 2e 31 2e 31 36 37 0d 0a                 168.1.167..
PS: IP address (server) is stored inside the WiFi module.
The RDxxxx module also saves IP, just to display it on the screen.

3. In the app, set the checkbox "Device displays Server IP", and tap "Confirm".
Next, something else happens inside the module, and it answers:
Code: [Select]
57 49 46 49 4f 4b 0d 0a                          WIFIOK..WIFIOK - Connected to WiFi successfully (or no answer).

4. Connection to the server: "AT+TCPCONNECT\r\n"
Code: [Select]
41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 0d 0a     AT+TCPCONNECT..
54 43 50 4f 4b 0d 0a                             TCPOK.
TCPOK - Connected to the server successfully (or no answer).

5. That's all.
Tap "Connect" in the app (sends ModBus commands):
Code: [Select]
01 03 00 00 00 02 c4 0b
01 03 00 00 00 02 c4 0b


If the module has already been previously configured:

1. Connection to WiFi: "AT+WIFICONNECT\r\n"
Code: [Select]
41 54 2b 57 49 46 49 43 4f 4e 4e 45 43 54 0d 0a  AT+WIFICONNECT..
57 49 46 49 4f 4b 0d 0a                          WIFIOK..
WIFIOK - Connected to WiFi successfully (or no answer).

2. Connection to the server: "AT+TCPCONNECT\r\n"
Code: [Select]
41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 0d 0a     AT+TCPCONNECT..
54 43 50 4f 4b 0d 0a                             TCPOK..
TCPOK - Connected to the server successfully (or no answer).

3. That's all.


I'm trying to configure module manually through AT commands.
Code: [Select]
41 54 2b 43 57 4a 41 50 3d 22 53 53 49 44 22 2c  AT+CWJAP="SSID",
22 70 61 73 73 77 6f 72 64 22 0d 0a              "password"..
57 49 46 49 4f 4b 0d 0a                          WIFIOK..
If SSID and Password are correct, and the module can be connected to WiFi, then
it answers WIFIOK (there will be no answer otherwise).
Note: SSID and Password are stored in the module (but sometimes reboot happens, and SSID and pass are not stored).
Now it is enough to send the command: "AT+WIFICONNECT\r\n", for establish WiFi connection.

Until this moment, everything is OK.
But how to set the IP address of the server? I can't find.  |O
ChatGPT says to use:AT+TCPCONNECT="IP","Port"
But, getting error:  :-//
Code: [Select]
41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 3d 22 31  AT+TCPCONNECT="1
39 32 2e 31 36 38 2e 31 2e 31 36 37 22 2c 38 30  92.168.1.167",80
38 30 0d 0a                                      80..           
65 72 72 6f 72 0d 0a 00                          error...

41 54 2b 54 43 50 43 4f 4e 4e 45 43 54 3d 22 31  AT+TCPCONNECT="1
39 32 2e 31 36 38 2e 31 2e 31 36 37 22 2c 38 30  92.168.1.167",80
38 30 2c 35 30 30 30 0d 0a                       80,5000..       
65 72 72 6f 72 0d 0a 00                          error...   

41 54 2b 54 43 50 53 54 41 54 55 53 0d 0a        AT+TCPSTATUS.. 
65 72 72 6f 72 0d 0a 00                          error...       
                                                                 
41 54 2b 47 4d 52 0d 0a                          AT+GMR..       
65 72 72 6f 72 0d 0a 00                          error...       
                                                                 
41 54 2b 43 49 50 53 54 41 3f 0d 0a              AT+CIPSTA?..   
65 72 72 6f 72 0d 0a 00                          error...       
                                                                 
41 54 2b 43 49 50 41 50 3f 0d 0a                 AT+CIPAP?..     
65 72 72 6f 72 0d 0a 00                          error...       
                                                                 
41 54 2b 43 49 50 53 54 41 54 45 3f 0d 0a        AT+CIPSTATE?.. 
65 72 72 6f 72 0d 0a 00                          error...       
                                                                 
41 54 2b 43 49 50 53 54 41 54 55 53 0d 0a        AT+CIPSTATUS.. 
65 72 72 6f 72 0d 0a 00                          error...       

41 54 2b 43 49 50 53 54 41 52 54 3d 22 54 43 50  AT+CIPSTART="TCP
22 2c 22 31 39 32 2e 31 36 38 2e 31 2e 31 36 37  ","192.168.1.167
22 2c 38 30 38 30 0d 0a                          ",8080..       
65 72 72 6f 72 0d 0a 00                          error...       
« Last Edit: December 20, 2024, 05:21:25 am by UniSoft »
 

Offline madhunm

  • Newbie
  • Posts: 5
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1317 on: December 20, 2024, 05:37:22 am »
Hello,

Here is a quick update. I used an external ESP8266 module and flashed the code from https://github.com/morgendagen/riden-dongle and am sometimes able to control the PSU.

@Unisoft, can you please confirm if the commands listed on https://github.com/morgendagen/riden-dongle/blob/main/SCPI_COMMANDS.md are available in your firmware version RD60181_V1.38.1k?

I can seem to change the voltage and current; however, I am not able to switch the output on reliably every time. Maybe there is a time out or something.
Update, it is working fine now.

So far, I am able to connect to the PSU, change the set voltage and current, use the read command as callback and switch the PSU on and off. As long as I do not do any modifications to the values using the keypad, it all seems to work well. I have to reset the ESP8266 board sometimes though. need to investigate wahts happening there.

I plan on porting the code from the ESP8266 to the ESP8684; will update here if anything happens.

THanks!
« Last Edit: December 20, 2024, 01:12:19 pm by madhunm »
 
The following users thanked this post: Cliff Matthews

Offline Meter Deter

  • Contributor
  • Posts: 16
  • Country: us
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1318 on: December 23, 2024, 07:37:53 pm »
hello question to the masters of this awesome thread,, im going to buy RD RD6030 could i par it with  DPS-1200SB Power Supply??  ( i will do the OVP Mod)
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 313
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1319 on: December 26, 2024, 09:24:23 pm »
im going to buy RD RD6030 could i par it with  DPS-1200SB Power Supply??  ( i will do the OVP Mod)
can connect... why not.
But DPS-1200SB is 12V/100A, therefore you will get maximum 11V from RD6030.
 

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 92
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1320 on: December 28, 2024, 05:06:30 am »
I just bought the 6030w

I can't get a single computer to connect the pc software to the wifi

its the w2 module.

the android app works fine.

I am extremely confused how this devices gets an ip from the phone, over what protocol is this running, I don't see a BSSID, I have tried v1 .15 and 17, and it never gets the server Ip of at least 3 machines I have tried.
 

Offline UniSoft

  • Frequent Contributor
  • **
  • Posts: 313
  • Country: kz
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1321 on: December 28, 2024, 07:41:22 am »
I am extremely confused how this devices gets an ip from the phone, over what protocol is this running...
quite simple:
https://www.espressif.com/sites/default/files/documentation/esp-touch_user_guide_en.pdf
Quote
Since the device is not connected to the network at the beginning, the ESPTOUCH application cannot send any information to the device directly. With the ESP-TOUCH communication protocol, a device with Wi-Fi access capabilities, such as a smartphone, can send a series of UDP packets to the Wi-Fi Access Point (AP), encoding the SSID and password into the Length field of each of these UDP packets. The device can then reach the UDP packets, obtaining and parsing out the required information.

I can't get a single computer to connect the pc software to the wifi
I have tried v1 .15 and 17, and it never gets the server Ip of at least 3 machines I have tried.
With PC the things a little bit complicated...
Ruideng PC software doesn't have an option to select the network adapter.
The PC often have few network adapters (lan, wifi, ..., some virtual adapters (in case of installed VMWare, etc)).
And the PC software just simple using the last one from the list, what is usually the wrong one.

1. Open menu Start, and enter "View network connections" (without quotes)
2. In the window "Network connections", click ALT on the keyboard, will appear a menu
3. Select Advanced -> Advanced settings...
4. Now you will see all connections. Note! Ruideng software uses the last one from the list.
5. Move needed connection to the bottom.
Here is step-by-step instruction with screenshots for Win7
another instruction: https://services.northwestern.edu/TDClient/30/Portal/KB/ArticleDet?ID=1563

To see all adapters, start cmd or PowerShell terminal and type (without quotes): "ipconfig /all"
IPv4 Address which is the last from the list will be used by software.
 

Offline bateau020

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: fr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1322 on: December 28, 2024, 12:30:18 pm »
I am extremely confused how this devices gets an ip from the phone, over what protocol is this running, I don't see a BSSID, I have tried v1 .15 and 17, and it never gets the server Ip of at least 3 machines I have tried.

In addition to unisoft's feedback, maybe chapter 19 of the custom firmware document https://www.eevblog.com/forum/testgear/custom-firmware-reference-document-for-riden-rd60xx-power-supplies/25/ sheds some light. Much of that chapter also applies to the standard firmware. Maybe 19.3 does not apply to the standard firmware, forgot. There are also some links to custom firmware for the WiFi board. For the newer versions with ESP8684 (W02), see a couple of posts above here.
 

Offline littlebill

  • Regular Contributor
  • *
  • Posts: 92
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1323 on: December 28, 2024, 03:55:40 pm »
yea I learned about it. The network adapters are correct I even disabled all the wired ones to force it to go through the wireless.

have you gotten this to work on the pc with the w2 card? it works fine on the android phone. Like i said i use 3 different computers, 3 different network adapter, and 2 different os's, not much left I can try here.
 

Offline bateau020

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: fr
Re: RuiDeng Riden RD6006 DC power supply
« Reply #1324 on: December 28, 2024, 04:20:34 pm »
have you gotten this to work on the pc with the w2 card? it works fine on the android phone. Like i said i use 3 different computers, 3 different network adapter, and 2 different os's, not much left I can try here.
Managed to get it to work (with the original ESP8266 version) with a Mac, but needed an Android phone to set it up. Used DHCP to force my android phone on my usual Mac's address, set up the PSU, then moved all IP addresses back. Now the PSU thinks it's talking to an android phone, but it is a Mac. Don't use it much though, as I have other PSUs that speak a real instrumentation language (SCPI).
« Last Edit: December 28, 2024, 04:22:25 pm by bateau020 »
 
The following users thanked this post: littlebill


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf