Author Topic: Serial to usb on Kunkin KP184 electronic load  (Read 77247 times)

0 Members and 1 Guest are viewing this topic.

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Serial to usb on Kunkin KP184 electronic load
« on: November 08, 2019, 05:40:44 pm »
I love my Kunkin KP184 electronic load and would like to control it via the serial port (or RS485, don't care which), but none of the adapters I've tried (FTDI, Prolific, all the usual suspects) work. Has anyone managed it or does anyone have any tips for troubleshooting? The serial port settings are very clear and I did once manage to get it working so I know it's possible but now I can't get it back. There's no information in the manual about voltage levels, but my understanding is that most of the adapters should work regardless of whether it's 5 or 12 or whatever. I would measure it but it only sends data in response to a modbus command, and I can't get it to talk.

Any help or tips very welcome.

Thanks

Manual is available on their product page: http://www.kunkin.com/gb/products.asp?id=2&menu=ShowDetail&P_Id=67
 

Offline Noy

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #1 on: November 09, 2019, 09:09:09 am »
Where did you get the software ? I have a KP184 but no Software.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #2 on: November 09, 2019, 09:52:47 am »
I think there was a disk which came with it but I threw it away, the software which comes with these things is usually not great. There's some example code in the manual which explains the protocol and I did verify that it works when I had a serial port setup which worked, but I can't get the serial port to work any more.

Here's a very basic utility but I can't test it until I get the serial port working: https://github.com/cskilbeck/modbus/
« Last Edit: November 09, 2019, 10:14:19 am by cskilbeck »
 
The following users thanked this post: timber23

Offline Black Phoenix

  • Super Contributor
  • ***
  • Posts: 1142
  • Country: hk
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #3 on: November 09, 2019, 01:01:59 pm »
I love my Kunkin KP184 electronic load and would like to control it via the serial port (or RS485, don't care which), but none of the adapters I've tried (FTDI, Prolific, all the usual suspects) work.

I'm still looking to find the equipment that doesn't work with this adapter:



I use one since 2005 (this is my second one since I lost my previous one, that were only Keyspan in the brand): From using with a Renishaw QC10 Ballbar System to Rollover Cisco Cables, from NSN MGW/MSS terminal connection to old measurement equipment, it never let me down, including Allen-Bradley/Siemens Simatic PLCs. It's based on the TI 75LV4737A Multichannel RS232 Line Driver/Receiver, so it have have HW handshake.

It's a little expensive compared with other models, but is probably the only one you will need for the rest of your professional life.
« Last Edit: November 09, 2019, 01:07:38 pm by Black Phoenix »
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #4 on: November 10, 2019, 09:11:29 pm »
Thanks @Black Phoenix. Yikes! That is expensive. I'll give it one more go with a homegrown FTDI adapter -> 9 pin D plug and bite the bullet when that doesn't work.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #5 on: November 10, 2019, 09:20:20 pm »
Aha!! Tried once more with a cheapo generic usb to serial adapter and added a 100ms delay between sending the message and getting the reply and voila! I have reasonable looking data. So the takeaway is add a delay after sending!

Thanks all for your help.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #6 on: November 10, 2019, 11:08:16 pm »
Annoyingly it has stopped working again - same adapter, settings etc but now I just get timeout. I wonder if it's actually faulty.
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #7 on: November 11, 2019, 05:37:42 pm »
Just to close this thread out, the 9 pin socket on the back of the device wasn't making good contact with the plug. Some of the pins were pushed in, after reseating everything it's working. Out of 4 serial adapters, only one works, and it's a completely generic cheapo CH340 from eBay like this one https://www.ebay.co.uk/itm/USB-to-Serial-RS232-9-Pin-DB9-COM-Port-Converter-Adapter-Cable-for-Windows-XP-7/202700911358 (with the male plug, so I used a gender changer).
 

Offline timber23

  • Contributor
  • Posts: 47
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #8 on: March 09, 2020, 09:32:39 pm »
I think there was a disk which came with it but I threw it away, the software which comes with these things is usually not great. There's some example code in the manual which explains the protocol and I did verify that it works when I had a serial port setup which worked, but I can't get the serial port to work any more.

Here's a very basic utility but I can't test it until I get the serial port working: https://github.com/cskilbeck/modbus/
Thank you for your utility.
Are you going to further develop the software? I tried it and I can switch the load on and off, but nothing more.
Code: [Select]
E:\Modbus\modbus-master\bin\Debug>KP184 port COM11; baud 9600; address 1; on
Main                :Checksum error, got 0x0000. expected 0xC00B

E:\Modbus\modbus-master\bin\Debug>KP184 port COM11; baud 9600; address 1; off
Main                :Checksum error, got 0x0000. expected 0xC00B
I do not understand why I get 0x0000 back. Do you know why?

Edit: I played a little bit around with your code and extended it a little bit. Hope you will pull my changes to you master branch  :)

Best regards
timber23
« Last Edit: March 10, 2020, 10:40:03 pm by timber23 »
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #9 on: March 23, 2020, 05:54:03 pm »
It seems to be working well for me, I just pushed some changes, let me know if it's not working for you? I added some delay() here and there, it seems picky about that.

Verbose  17:52:08.850 port                :COM Port: com15
Info     17:52:08.876 checksum            :Checksum checking: True
Verbose  17:52:08.877 baud                :BAUD rate: 115200
Verbose  17:52:08.878 address             :Device address: 1
Verbose  17:52:08.879 get_voltage         :Calling get_Mode from KP184
Verbose  17:52:08.879 get_voltage         :Get voltage
Verbose  17:52:08.881 open                :Opening serial port 'com15' at 115200 baud
Info     17:52:08.941 get_voltage         :Voltage is 5924mV
Verbose  17:52:08.942 switch              :Turning load switch on
Verbose  17:52:08.943 set_load_switch     :Set switch on
Verbose  17:52:08.996 get_status          :Calling get_status from KP184
Info     17:52:09.049 get_status          :Status:
Info     17:52:09.050 get_status          :   Switch is on
Info     17:52:09.051 get_status          :   Mode is CC
Info     17:52:09.052 get_status          :   Current is 0
Info     17:52:09.053 get_status          :   Voltage is 5924
Info     17:52:09.055 ramp                :Ramp: from 0 to 1000 in steps of 100 at intervals of 200
Verbose  17:52:09.056 set_current         :Set current to 0mA
Info     17:52:09.109 ramp                :        0mA, elapsed: 00:00:00.0531564
Verbose  17:52:09.256 set_current         :Set current to 100mA
Info     17:52:09.309 ramp                :      100mA, elapsed: 00:00:00.2534356
Verbose  17:52:09.456 set_current         :Set current to 200mA
Info     17:52:09.508 ramp                :      200mA, elapsed: 00:00:00.4522986
Verbose  17:52:09.656 set_current         :Set current to 300mA
Info     17:52:09.709 ramp                :      300mA, elapsed: 00:00:00.6532109
Verbose  17:52:09.856 set_current         :Set current to 400mA
Info     17:52:09.908 ramp                :      400mA, elapsed: 00:00:00.8521267
Verbose  17:52:10.056 set_current         :Set current to 500mA
Info     17:52:10.109 ramp                :      500mA, elapsed: 00:00:01.0532407
Verbose  17:52:10.256 set_current         :Set current to 600mA
Info     17:52:10.313 ramp                :      600mA, elapsed: 00:00:01.2576433
Verbose  17:52:10.456 set_current         :Set current to 700mA
Info     17:52:10.510 ramp                :      700mA, elapsed: 00:00:01.4544644
Verbose  17:52:10.657 set_current         :Set current to 800mA
Info     17:52:10.710 ramp                :      800mA, elapsed: 00:00:01.6546185
Verbose  17:52:10.857 set_current         :Set current to 900mA
Info     17:52:10.911 ramp                :      900mA, elapsed: 00:00:01.8551085
Verbose  17:52:11.057 set_current         :Set current to 1000mA
Info     17:52:11.109 ramp                :     1000mA, elapsed: 00:00:02.0531923
Verbose  17:52:11.257 get_voltage         :Calling get_Mode from KP184
Verbose  17:52:11.258 get_voltage         :Get voltage
Info     17:52:11.310 get_voltage         :Voltage is 5922mV
Verbose  17:52:11.312 get_current         :Calling get_Mode from KP184
Verbose  17:52:11.313 get_current         :Get current
Info     17:52:11.365 get_current         :Current is 787mA
Info     17:52:11.367 ramp                :Ramp: from 1000 to 0 in steps of -100 at intervals of 200
Verbose  17:52:11.367 set_current         :Set current to 1000mA
Info     17:52:11.419 ramp                :     1000mA, elapsed: 00:00:00.0515168
Verbose  17:52:11.568 set_current         :Set current to 900mA
Info     17:52:11.622 ramp                :      900mA, elapsed: 00:00:00.2543872
Verbose  17:52:11.767 set_current         :Set current to 800mA
Info     17:52:11.821 ramp                :      800mA, elapsed: 00:00:00.4541509
Verbose  17:52:11.967 set_current         :Set current to 700mA
Info     17:52:12.024 ramp                :      700mA, elapsed: 00:00:00.6573842
Verbose  17:52:12.167 set_current         :Set current to 600mA
Info     17:52:12.225 ramp                :      600mA, elapsed: 00:00:00.8577865
Verbose  17:52:12.367 set_current         :Set current to 500mA
Info     17:52:12.420 ramp                :      500mA, elapsed: 00:00:01.0534372
Verbose  17:52:12.567 set_current         :Set current to 400mA
Info     17:52:12.624 ramp                :      400mA, elapsed: 00:00:01.2567874
Verbose  17:52:12.767 set_current         :Set current to 300mA
Info     17:52:12.823 ramp                :      300mA, elapsed: 00:00:01.4561288
Verbose  17:52:12.967 set_current         :Set current to 200mA
Info     17:52:13.024 ramp                :      200mA, elapsed: 00:00:01.6569999
Verbose  17:52:13.168 set_current         :Set current to 100mA
Info     17:52:13.225 ramp                :      100mA, elapsed: 00:00:01.8573013
Verbose  17:52:13.368 set_current         :Set current to 0mA
Info     17:52:13.422 ramp                :        0mA, elapsed: 00:00:02.0547666
Verbose  17:52:13.567 switch              :Turning load switch off
Verbose  17:52:13.572 set_load_switch     :Set switch off
 

Offline cvanc

  • Frequent Contributor
  • **
  • Posts: 676
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #10 on: March 23, 2020, 06:59:05 pm »
I'm still looking to find the equipment that doesn't work with this adapter:




I have the same unit, have used it for years, and can also report that it "simply works" with everything I have ever thrown at it.  Nice piece.
 

Offline timber23

  • Contributor
  • Posts: 47
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #11 on: March 27, 2020, 08:24:08 pm »
I found an interesting alternative for connecting the KP184 to a PC. Instead of using a USB serial adapter you can use a network serial adapter.
I tried this device: https://www.aliexpress.com/item/33014747838.html
It is called USR-TCP232 and this is the manufacturer's website: https://www.usriot.com/products/rs232-to-ethernet-converter.html
My KP184 is now connected to my LAN and I can access it via "virtual COM ports" from every PC within my network.  :-+
 
The following users thanked this post: classical, tonyalbus

Offline classical

  • Regular Contributor
  • *
  • Posts: 60
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #12 on: April 20, 2020, 03:40:11 am »
My KP184 is now connected to my LAN and I can access it via "virtual COM ports" from every PC within my network.  :-+
Thanks, very interesting. Did you use the virtual com port driver of the manufacturers website?
Which application do you use controlling and reading the KP184?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #13 on: April 21, 2020, 12:04:22 pm »
I am using a Digitus DA-70156 USB 2.0 to Serial (FTDI/FT232RL) on Win 10 with no issues from ASSMANN Electronic GmbH 8,67 EUR + Shipping on Amazon.

Scoping Kunkin KP184 serial communication with the stock National Instruments based light application I noticed there are a lot more register addresses available than the ones listed on the product manual.

The manual states on page 14:

If you need more specific information about communication protocol, please contact the technical support department of our company to get it.

I sent an email to sales@kunkin.cn but it could not be delivered.

Does anyone have this complete protocol information?

Does anyone have an open English speaking channel with Kunkin to ask for more information?

I am glad to share some details but there is a lot of missing information...
 
The following users thanked this post: classical

Offline voltlog

  • Regular Contributor
  • *
  • Posts: 102
  • Country: ro
    • VoltLog
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #14 on: April 25, 2020, 08:48:56 am »
I wasn't even able to get their labview app running, I obtained two different versions, the first one wouldn't let me change the serial port for connection and the second would complain right from the start that there are missing files. The best I could do is connect with the visual studio command line app that someone designed and released on github.
 
The following users thanked this post: classical

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #15 on: May 28, 2020, 05:16:51 am »
New software written in Python for Kunkin KP184 V1.0.1.0:
Setup KP184 Software V1.0.81.0
User_Manual


« Last Edit: November 08, 2024, 10:12:47 am by interflexo »
 
The following users thanked this post: classical, ArsenioDev

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #16 on: June 02, 2020, 01:31:41 pm »
New version 1.0.2.0:
Capacity (Ah)/Energy (Wh) calculations error fix.
Minor bug fixes.
New software CVL mode with current limiting capability. Operates Kunkin in CC mode and a PID configurable control loop holds the configured CV setting by permanently adjusting the CC load.

User Manual updated.
« Last Edit: November 08, 2021, 11:07:51 am by interflexo »
 

Offline dc8wan

  • Newbie
  • Posts: 7
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #17 on: June 04, 2020, 10:00:17 pm »
For the reversing engineering gays:
the Command
      
  •    0x01   byte
  • [1]   0x03   byte
          [2]   0x03   byte
          [3]   0x00   byte
          [4]   0x00   byte
          [5]   0x01   byte
          [6]   0x4e      byte
          [7]   0x84   byte

    The Anwser:
    With out externel Powersupply
          
  •    0x01   byte
  • [1]   0x03   byte
          [2]   0x1e      byte
          [3]   0x02   byte
          [4]   0x00   byte
          [5]   0x00   byte
          [6]   0x00   byte
          [7]   0x00   byte
          [8]   0x00   byte
          [9]   0x00   byte
          [10]   0x00   byte
          [11]   0x00   byte
          [12]   0x04   byte
          [13]   0xb0      byte
          [14]   0x07   byte
          [15]   0xd0      byte
          [16]   0x07   byte
          [17]   0xd0      byte
          [18]   0x00   byte
          [19]   0x03   byte
          [20]   0xe8      byte
          [21]   0x31   byte
          [22]   0x91   byte
     
    with externen powersupply
    approx 13.020V
    1,200A
    15.62W
          
  •    0x01   byte
  • [1]   0x03   byte
          [2]   0x1e      byte
          [3]   0x03   byte
          [4]   0x00   byte
          [5]   0x00   byte
          [6]   0x32   byte
          [7]   0xe9      byte
          [8]   0x00   byte
          [9]   0x04   byte
          [10]   0xb0      byte
          [11]   0x00   byte
          [12]   0x04   byte
          [13]   0xb0      byte
          [14]   0x07   byte
          [15]   0xd0      byte
          [16]   0x07   byte
          [17]   0xd0      byte
          [18]   0x00   byte
          [19]   0x03   byte
          [20]   0xe8      byte
          [21]   0xfc      byte
          [22]   0x3d      byte
 

Offline Voidugu

  • Contributor
  • Posts: 13
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #18 on: June 06, 2020, 02:12:22 pm »
Softwae feedback: For some reason, when I try to log data, the logging stops after 14:04 minutes, regardless of the sample rate (ie 4 samples per second or 1 sample per second). I am using software version v1.0.1.0 with windows 10.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #19 on: June 08, 2020, 10:45:52 am »
Thanks for your feedback.
From the User Manual (page 3) or App Info Tab: "This unregistered product works in trial mode for 15 minutes, after the expired
period the data capture features are disabled. If you find out that this software product is useful, you can register..."
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #20 on: June 13, 2020, 08:14:36 am »
New version 1.0.3.0:

1. Plot graphs are now placed on the same directory as the configured .csv file.
2. A matching “.png” plot graph image file is also added to the same output directory for easier document insertion.
3. Dimmed icons bumped 78% in brightness.
4. Several minor cosmetic issues fixed.
5. Several support modules were updated in the Python ecosystem.

Setup KP184 Software V1.0.81.0
User_Manual
« Last Edit: November 08, 2024, 10:13:43 am by interflexo »
 
The following users thanked this post: ArsenioDev, tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #21 on: June 20, 2020, 09:15:29 am »
New version 1.0.4.0:

1. Fixed an issue with the battery capacity test max duration
2. A new log tab allows the user to keep a track record of the current session activities and results. Events like over temperature, over power and over current are also logged as well as its recoveries. Right click on the text widget and select “Copy to clipboard” to export the complete log in
text format.

Setup KP184 Software V1.0.81.0
User_Manual
« Last Edit: November 08, 2024, 10:14:06 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 492
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #22 on: July 02, 2020, 07:53:13 am »
I found an interesting alternative for connecting the KP184 to a PC. Instead of using a USB serial adapter you can use a network serial adapter.
I tried this device: https://www.aliexpress.com/item/33014747838.html
It is called USR-TCP232 and this is the manufacturer's website: https://www.usriot.com/products/rs232-to-ethernet-converter.html
My KP184 is now connected to my LAN and I can access it via "virtual COM ports" from every PC within my network.  :-+

I've got the same LAN module, based on your post here.
How did you connect the module to the Kunkin load?
I could make an adapter board with a DB9 and a DC power port I guess...
Does the module need 3V3 or 5V to operate?Or 5V gets converted to 3v3 regardless?
« Last Edit: July 02, 2020, 07:56:50 am by belzrebuth »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 7185
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #23 on: July 02, 2020, 10:50:42 am »
For the serial to usb adapter(s) on the market , many of them a prolific based,  some with ch340 ic's and the ones you need are ftdi based,   but you need to check the hardwares id's in the windows device managers to get the vid / pid  to be sure.

Tons of compatibility issues, buffer lenght, communication drop out,    etc .... i always resort to real ftdi chipset.
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 492
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #24 on: July 02, 2020, 01:45:47 pm »
So those RS232 to USB that are flooding ebay are out of the question I guess?
I think I have an FTDI friend clone around here; I could check if it works.
« Last Edit: July 02, 2020, 01:47:30 pm by belzrebuth »
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 492
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #25 on: July 03, 2020, 08:41:13 am »
Is there a guide somewhere on how to setup the USR-232-T2 ethernet to RS232 module?
I've managed to connect to it via LAN but I think it needs a serial to TTL converter (3.3 to 5V in order to work with the KP184)
The FTDI clone I have does now work with the load.
It has a FTDI chip so there must the level conversion again that's probably incompatible.
Could it work with a diy level shifter?
I've seen some designs with a couple of transistors..
« Last Edit: July 03, 2020, 12:47:47 pm by belzrebuth »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 7185
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #26 on: July 03, 2020, 02:24:51 pm »
The one i use the most is  a model  sp-880   usb to rs232, it as a real ft232 with an transceiver ic   betwwen the rs232 plug and the ftdi chip

maybe some other source ??

https://www.amazon.ca/Connectors-SP-880-UT-880-Compatibility-Yoton/dp/B07Q6HW46V


https://botland.com.pl/en/converters-usb-to-uart-rs232-rs485/4371-ft232rl-sp-880-usb-converter-rs232-com-10v-with-db9-connector-adafruit-18.html
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 492
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #27 on: July 03, 2020, 02:38:01 pm »
Mine has a jumper for 3.3V or 5V operation.
I've set it for 5V and still nothing.
The adapter is working because I use it very often so maybe it's their combination that's somehow problematic.

My settings on the Kunkin are :
address 001, baud rate 19200.
And on the adapter I've set the baud rate to 19200 and N 8 1 with delay 100mSec.
I've checked the RX and TX pins of my FTDI adapter and they're both 5V when I set the jumper to 5V so it's not the voltage level..
I've tried both the modbus cmd program and kp184 modbus program from interflexo.
But I get no answer from the load.. :-//
Here's the output when trying to run the modbus KP184.exe (I switched my baud rate to 9600 just in case) :
 
Verbose  17:47:19.664 port                :COM Port: com4
Verbose  17:47:19.675 baud                :BAUD rate: 9600
Verbose  17:47:19.676 delay               :Sleeping for 100ms
Verbose  17:47:19.786 address             :Device address: 1
Verbose  17:47:19.789 get_status          :Calling get_status from KP184
Verbose  17:47:19.795 open                :Opening serial port 'com4' at 9600 baud
Error    17:47:20.884 read                :Timeout reading from com4
Error    17:47:20.890 Main                :Checksum error, got 0x0000. expected 0x1B1B

I'm using a female DB9 connector with pins 2,3,5 being pins RX, TX, GND of my FTDI respectively.
« Last Edit: July 03, 2020, 03:03:51 pm by belzrebuth »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #28 on: July 03, 2020, 04:26:22 pm »
Mine has a jumper for 3.3V or 5V operation.
I've set it for 5V and still nothing.
The adapter is working because I use it very often so maybe it's their combination that's somehow problematic.

Try measuring the voltage on the DB9 connector, if it is a RS232 output it is more than +/-9V and will not work directly with a TTL level adapter with 3.3V or 5V, both the voltage and polarity will be wrong.
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 492
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #29 on: July 03, 2020, 04:56:56 pm »
I'm getting 5V at pin 2 (with 5 being the negative) and 5V at pin 7.
That's on the Kunkin connector.
5V should be the TX pin (from the manual) and should go to the RX pin of the adapter and vice versa for the other RX and TX.
That's what I've done and it's not working.
I could try another USB to serial adapter I guess..but I suspect there might be a connection issue of some sort since this FTDI tool has worked with everything I've thrown at it and it has a FTDI chip which essentially what most of the working adapters reported here have as well.
I've ordered a couple of other adapters but they won't be here anytime soon so I will try to verify if there's a connection issue.
« Last Edit: July 03, 2020, 05:04:56 pm by belzrebuth »
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 7185
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #30 on: July 03, 2020, 06:09:00 pm »
If you are under windows, dont forget in the device manager  to set  higher baud rates for the usb rs232 adapter, it default to 9600 bauds, i always set them to 115200 bauds  ...  had a stupid problem in the past because of this  :palm:
« Last Edit: July 03, 2020, 06:11:32 pm by coromonadalix »
 

Offline belzrebuth

  • Frequent Contributor
  • **
  • Posts: 492
  • Country: gr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #31 on: July 03, 2020, 06:47:34 pm »
Okay I'll try higher baud rate and report back!
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #32 on: July 07, 2020, 01:00:53 am »
Hi,

Just recently received my KP184 and tried to use the RS232 port.
Initially tried with a USB to UART simple little board but it was not working.
https://www.aliexpress.com/premium/FT232RL-USB-to-TTL-Serial-Adapter-Module.html
Then I understood that it is indeed a RS232 port on the KP184 and not a UART, thus I added a small MAX RS232 level converter
https://www.aliexpress.com/premium/MAX3232-Level-to-TTL-Level-Board.html
between the USB to UART board and the KP184 RS232 port and now it is working just fine up to the full 115200bps.

So if someone wants to have something that works and not endlessly searching for the proper adaptor, that is a working solution.
Tried it with modules having fake and original FTDI chips, its just the same, both work ok.


PS
Added a photo of level converter and USB to UART.
« Last Edit: July 07, 2020, 10:09:12 am by aristarchus »
 
The following users thanked this post: CyberWalker, mixiom

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #33 on: July 10, 2020, 07:28:18 pm »
Also tested the RS485 port on KP184.
Used two solutions, first adding a TTL/UART to RS485 board instead of the RS232
https://www.aliexpress.com/wholesale?catId=0&SearchText=ttl+to+RS485
which worked just fine.
Then tested a ready made USB to RS485 for less than 2 bucks
https://www.aliexpress.com/wholesale?SearchText=USB+FTDI+TTL%2FRS485
which again worked ok.
 
The following users thanked this post: CyberWalker, mixiom

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #34 on: July 21, 2020, 11:01:53 am »
Managed to find the KP184 modbus protocol specification.
I hope it can be of use and developers could add all functionality in their programs.
 
The following users thanked this post: CyberWalker, dariuskt, the Chris

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #35 on: November 24, 2020, 04:34:27 pm »
New KP184 Software Version 1.0.5.0:

Changes:

1. Fixed some data logging hiccups during application main window drag
2. Fixed graph y-label slightly clipped
3. Several support modules were updated in the Python ecosystem.
Setup KP184 Software V1.0.81.0
User_Manual

Just use the new .EXE file over your previous v1.0.4.0 installation to preserve your configuration.
« Last Edit: November 08, 2024, 10:14:47 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #36 on: January 15, 2021, 11:49:15 pm »
New KP184 Software Version 1.0.6.0:

Changes:

1. Added some thread locks around logged data handling
2. Several support modules were updated in the Python ecosystem.
Setup KP184 Software V1.0.81.0
User_Manual

A user reported some documented problems in logged time on a iMAC I5 from 2015 running Windows 10.

In spite of my best efforts I could not replicate the described problems using a Lenovo Thinkpad T520 I5 2,5Ghz 8Gb RAM running Windows 10 Pro 64 bits.

Nevertheless I examined the code and added some thread locks around logged data handling, compiled a new build (v1.0.6.0) and put it through a 2 hour hell burn in test - battery discharge test data log with continuous cycle of simultaneous write (from within application) of more than 200 csv files without any problems.

Any feedback would be much appreciated.
« Last Edit: November 08, 2024, 10:15:15 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline tonyalbus

  • Frequent Contributor
  • **
  • Posts: 951
  • Country: nl
  • To better understand, you need to open it ;-)
    • My Channel
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #37 on: January 16, 2021, 10:02:59 am »
Thanks again for your efforts and the share  :-+
The Test Equipment Addict. Electronics enthusiast and Radio Amateur (PE1ONS)
Marconi  - HP - Fluke - Philips - Siglent - TEK - Keithley - BG7TBL
https://www.youtube.com/TonyAlbus
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #38 on: January 21, 2021, 02:18:44 pm »
New KP184 Software Version 1.0.7.0:

Changes:

1. Added automatic PDF report creation from the battery discharge capacity test results.
2. Smoother data files (.csv; .png; .pdf) bulk writes during data acquisition.
3. User Manual updated for the new functionality description.
4. Several support modules were updated in the Python ecosystem.

Setup KP184 Software V1.0.81.0
User_Manual
Dummy New Test Report

Please note that this version as a new template file called "Report.html". If you are upgrading from the last versions please add this file, overwrite the new executable file and you are good to go. Your application custom configuration is stored in the "kp184.ini" file.

I thank all users for your suggestions and precious input.

There was a problem with the unregistered mode startup. Solved now.
« Last Edit: November 08, 2024, 10:15:42 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #39 on: January 24, 2021, 12:53:14 pm »
New KP184 Software Version 1.0.8.0:

Changes:

1. Added a software implemented end voltage condition test: go half current until next undervoltage during battery capacity discharge test.
2. User Manual updated for the new functionality description.

Setup KP184 Software V1.0.81.0
User_Manual

« Last Edit: November 08, 2024, 10:16:05 am by interflexo »
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 54
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #40 on: January 24, 2021, 02:00:56 pm »
Hello interflexo,

i get a permanent error on starting, even with version 1.0.8.0
Win10Pro 64 20H2, KP184.exe located on C:\

Best regards

Frank
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #41 on: January 24, 2021, 02:55:22 pm »
Hi Frank,

Please double check the file version properties of the KP184.exe file you are using.

That error appeared on the unregistered run of version 1.0.7.0, I then corrected it on the same day and uploaded the fix under the same version number (bad practice). Browser cache plays some tricks here.

You should not install it on the root C: directory, that requires Administrator permissions, although I tried it on my Win10Pro 64 system and everything was fine.

You have an Install.txt information file on the installation directory.

Download the zip file to your system. Open the directory where the zip file is located. Double click on the zip file to open it. Double click on the KP184.exe file and select the "Extract All" button and select the installation directory (avoid root and other inconvenient OS system directories). Install Ds-Digital fonts as described on the Install.txt file. Create a shortcut if you want. You are good to go.
« Last Edit: January 24, 2021, 03:00:17 pm by interflexo »
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 54
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #42 on: January 24, 2021, 07:29:41 pm »
Hello interflexo,

tried several times, also with an older version (1.0.5.0).
Same error on any variation.
Maybe an issue of the Windows Defender...

Best regards

Frank
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #43 on: January 24, 2021, 08:12:16 pm »
Hi Frank,
Sent you a PM with a debug version to help you sort it out.
Please keep me posted.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #44 on: January 24, 2021, 11:11:36 pm »
Thanks to Frank I managed to identify, isolate and replicate the problem in a Windows Sandbox clean Windows 10 installation.

Debug info:

ImportError: DLL load failed while importing ft2font: The specified module could not be found.

The issue is explained here: StackOverflow Post

and is related to a Python matplotlib module version and msvc-runtime installation. I will probably have to downgrade matplotlib module to get rid of this. Still accessing the best course of action.

This should affect only a small undetermined number of systems but nevertheless has to be dealt with.
« Last Edit: January 24, 2021, 11:20:56 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #45 on: January 25, 2021, 12:47:43 am »
Traced the problem and the solution is: if the error "Failed to execute script Main" occurs please install:

Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.24123

Select the English language. Select the "vc_redist.x86.exe" file 13.5Mb published on 6/2/2016. Install.

Please note: install the x86 version even if you have a 64bit system.

I will probably go with a "Chocolatey packages" installer to automate this process along with fonts installation, etc. Things start small then get pretty serious.
« Last Edit: January 25, 2021, 12:51:51 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #46 on: January 25, 2021, 05:46:41 am »
KP184 Software Version 1.0.8.0 Windows Installer:

Setup KP184 Software V1.0.81.0

Documentation, fonts and Microsoft Visual C++ 2015 Redistributable (x86) are automatically installed if required.
« Last Edit: November 08, 2024, 10:16:37 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #47 on: January 25, 2021, 12:24:54 pm »
New KP184 Software Version 1.0.9.0:

Changes:

1. Added the new information to the automatic PDF report creation for the end voltage condition test: go half current until next undervoltage during battery capacity discharge test.
2. User Manual updated for the new setup description.

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:17:05 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #48 on: January 25, 2021, 10:40:09 pm »
Hi there, I cannot get the serial connection working on my brand new KP184. I‘m using the recommended Digitus RS232 adapter with SW 1.0.8.0
The SW tries to connect but doesn’t receive an answer from the load.
I used a scope to track the signal inside the KP184, and found the sent message on pin 3 of U23( Dual-Channel Digital Isolator) and on its output to the MC. I‘m sure that the reply message of the KP184 will be on pin 2 of the same IC. But there is no serial signal. Even on the TX pin of the MC there is no answer message. Seems like it is disabled.

Address is 1, baud is 9600. Is there a menu entry to  enable serial communication?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #49 on: January 25, 2021, 11:36:15 pm »
That is unfortunate. It's the fourth unit that I know of that exhibits that same behavior.

The only parameter that could cause problems would be:

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline

The tests you made were thorough enough to me.

Nevertheless, two tests can be made:

During the connection process the software asks Kunkin KP184 for the content of the memory address 0x001 which holds the equipment model number (0x0730 = 1840), Kunkin response should be immediate, the software will wait for 5 seconds. This response is not being received, your logs should show the COM port is being closed after 5 seconds.

Loopback test (tests the PC serial adapter):

Please first debug if the 2 USB serial adapters are working properly. Check your USB to Serial Adapter operation with a loopback connection. Please shunt pins 2 and 3 on your DB9 serial port side and connect your adapter only to your PC USB port. Install some terminal software (Ex: CoolTerm) on Windows 10 (Hyperterminal is no longer part of Windows), run the program, configure to 9600,N81 no flow control, turn off echo, connect, press some test keys and check if you receive the characters back to the screen. This will prove to you that your adapter and drivers are at least working.

Once this works you should try the connection with Kunkin KP184.

Don't forget the DB9 serial cable (straight through cable) should NOT cross pins 2 and 3:

2 TXD -> 2

3 RXD -> 3

5 GND -> 5 GND

Baudrate: Start with a conservative 9600 to debug de serial connection, then you can use 115200 with a short cable for lower latency.

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline
« Last Edit: May 27, 2023, 11:29:22 am by interflexo »
 
The following users thanked this post: tonyalbus, wolzlu

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #50 on: January 25, 2021, 11:43:42 pm »
If the previous test (loopback test) is successful and you are in the mood to throw some more jabs at this subject. You can collect additional debug information of why the communication is not starting:

1. Please make sure you have Kunkin KP184 configured for communication address 1 on the operating panel and record the configured baudrate to match with CoolTerm software configuration.

2. Connect Kunkin and your serial adapter with a straight through cable 2-2 3-3 5-5 no shunts required on either side.

3. Start CoolTerm and configure it for the Kunkin baudrate 8-N-1 and use your serial adapter COM port. Check Windows Control Panel \System \ Hardware Manager \ COM Ports for the COM Port names.

4. Select Connection \ Connect option to connect to the COM Port.

5. Select Connection \ Send String option to send an Hex ModBus command to Kunkin.

6. Select the Hex option. You will provide each byte in Hex format. Enter the ModBus command: 01 03 00 01 00 04 C9 15 and press the Send button. You can use a space between each pair of digit for easier byte identification. This ModBus command asks for 4 bytes from the Kunkin register memory address 0x001 that holds the device ID



7. Kunkin should answer promptly with 01 03 04 00 00 07 30 17 F8 as you can see on the underlying CoolTerm Window.

0x0730 is 1840 in decimal and identifies a Kunkin KP184


This is generic debug. In your case Kunkin should remain silent judjing by the probing you already performed.
« Last Edit: May 27, 2023, 11:30:34 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #51 on: January 25, 2021, 11:58:00 pm »
New KP184 Software Version 1.0.10.0:

Changes:

1. .ini configuration file now is placed on folder "KP184 Modbus" inside "User\AppData\Roaming" folder. During setup installation upgrades this file is not overwritten to preserve your configuration.

2. Data files (.csv, .png, .pdf, pdf reports, etc. are now created on a folder "KP184 Modbus" inside "My Documents" folder. You can select other folders, the configured folder for .csv files is used.

This should get rid of the need to run the application in Administrator mode. No files are modified inside the installation folder during runtime.

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:17:35 am by interflexo »
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #52 on: January 26, 2021, 07:52:34 am »
I tried what you posted and sent the message with Coolterm, no answer from the load. I‘m sure baudrate, address and other settings are correct.

I thought maybe the isolator chip U23 is faulty, so I desoldered it and connected a USB to TTL adapter directly to the MC (soldered GND, RX and TX onto the MC-side of U23). U23 is directly connected to the MC.

Still no reply from KP184 😞
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #53 on: January 26, 2021, 11:10:18 am »
The Kunkin MCU pins original solder reflow looks ok?
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #54 on: January 26, 2021, 12:28:03 pm »
Looks good to me. I can scope the RX message right on the top of the MC pin, but no TX message on TX pin. No measured shorts between the pins on MC.
The MC just doesn’t react to the sent message. I think its firmware related.
The unit itself runs fine, but no serial communication.

If I use your SW and try to connect the LED on the backside of the load flashes green for a moment. This means write-to-KP184, right?
« Last Edit: January 26, 2021, 12:38:32 pm by Penguin36 »
 
The following users thanked this post: wolzlu

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #55 on: January 26, 2021, 03:40:22 pm »
Probably yes. KP184 manual does not mention the LED function.

KP184 software writes the connect command only once and then waits until 5 seconds for the right answer while flashing the icon.

Probably RS-232 and rs-485 share the same TX MCU pin. If not true you can also take a basic look at the RS485 interface.

Put a dummy 120 Ohm resistor through the 485-A and 485-B pins at the back Kunkin connector.

Set the scope and probes on the 2 RS-485 pins as suggested on page 3 here:

Oscilloscope RS-485

Configure Kunkin as Host on:

    SYS \ Online Mode \ Set it to Host (It should be OFF in Normal operation)

Right now when you configure Kunkin on the operation panel or turn Load ON/OFF ModBus commands are automatically sent through RS-485 interface to be replicated on several Online Mode \ Slave devices. You can catch the com signals with your scope on the Math CH2-CH1 channels.
« Last Edit: January 26, 2021, 03:49:00 pm by interflexo »
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #56 on: January 26, 2021, 03:58:23 pm »
I will try that, thank you for your help so far 👍
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #57 on: January 26, 2021, 06:29:15 pm »
What I don’t understand, even if TX line is broken the load should react when sending ‚switch on/off‘ the load. But it does nothing via serial connection.
« Last Edit: January 26, 2021, 08:57:57 pm by Penguin36 »
 

Offline Noy

  • Frequent Contributor
  • **
  • Posts: 361
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #58 on: January 26, 2021, 09:42:58 pm »
In my unit the optocoupler was not soldered correctly. Did you checked it?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #59 on: January 26, 2021, 10:40:02 pm »
What I don’t understand, even if TX line is broken the load should react when sending ‚switch on/off‘ the load. But it does nothing via serial connection.

If the serial connection is not established by receiving the correct answer to the first register request there are no further communications. The software is always querying the unit for updated values and status. Modbus RTU is a 2 way protocol. When you send a command most of the times you will receive an answer from the unit.
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #60 on: January 27, 2021, 05:22:38 am »
In the case of your SW, yes. You are polling values so the load must answer, and it does (well, not mine)

But if I send the ‚switch on/off‘ command via terminal program the load should receive the command on RX and switch on or off. I don’t need the confirmation like ,glad to hear from you, I will switch the load now on/off‘ 😉

So, when I send the command on/off via terminal and nothing happens (load stays in its last stage), then the load didn’t get the command to switch on/off at all.

It must be a FW bug in my unit, because I can scope the modbus command to switch on/off right at the MC pin, so the MC gets the message. Why the MC doesn’t react (and switch the load on/off), I don’t know.



« Last Edit: January 27, 2021, 05:29:04 am by Penguin36 »
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 54
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #61 on: January 27, 2021, 06:11:36 am »
Same problem for me.
Software ist starting and running now (thank you Manuel!), but the KP184 plays deaf bug  >:(

Best regards

Frank
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 54
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #62 on: January 27, 2021, 07:31:59 am »
 :palm:
 :palm:
Okay guys, please press Shift then Mode then Arrow down and then Arrow right and check your baudrate...
 :palm:

I got instable operation with baudrates > 19200.

Best regards

Frank
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #63 on: January 27, 2021, 07:39:31 am »
@Frank,
I tried every possible baud rate on the device. Its simply not responding to any commands.
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 54
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #64 on: January 27, 2021, 08:04:49 am »
If I use your SW and try to connect the LED on the backside of the load flashes green for a moment. This means write-to-KP184, right?

Yes, that's right. And it has to flash red for sending data to the PC.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #65 on: January 27, 2021, 10:04:48 am »
In the case of your SW, yes. You are polling values so the load must answer, and it does (well, not mine)

But if I send the ‚switch on/off‘ command via terminal program the load should receive the command on RX and switch on or off. I don’t need the confirmation like ,glad to hear from you, I will switch the load now on/off‘ 😉

So, when I send the command on/off via terminal and nothing happens (load stays in its last stage), then the load didn’t get the command to switch on/off at all.

It must be a FW bug in my unit, because I can scope the modbus command to switch on/off right at the MC pin, so the MC gets the message. Why the MC doesn’t react (and switch the load on/off), I don’t know.

You' re right. It should execute the received command, if the message CRC checks out of course.

When the unit is in good health it communicates well at the maximum configurable speed of 115200.
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #66 on: January 27, 2021, 10:20:06 am »
The CRC check is documented in the manual and there is the xls file with all commands here in this thread.
Maybe they changed something in the FW for KP184 and use other commands/crc.
My unit shows 2020 at bootup for short time. Don’t know if thats the FW version.
Main PCB is Rev. 04
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #67 on: January 27, 2021, 11:38:38 am »
The CRC check they use is the industry standard CRC-16/Modbus one, I don't believe they would change that.
Also the command set is based on the standard Modbus RTU protocol, changing that would render inoperative their own Chinglish software.

That's why the RS-485 test is important. The Kunkin as host would take the initiative at communications with a simple load on/off or change settings.
 

Offline wolzlu

  • Newbie
  • Posts: 3
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #68 on: January 27, 2021, 01:00:33 pm »
Hi,
my unit has the same problem. It's a KP184 VER:04 202007. Not all Rev. 04 PCBs have the same layout, hence the date code. On boot it also shows KP184; 2020 (probably the firmware version) and the address.
First I thought it's a noise problem (see https://www.eevblog.com/forum/testgear/an-investigation-about-ripple-current-of-kunkin-kp184/).
Independent of Penguin36 I removed the isolator (U23) and connected a TTL converter directly.
Of course I tied the usual suspects first: different PC, adapter, baudrate, device settings, software, ...
U23 is causing noise too, so I added a capacitor on both sides afterwards.

To prove the connections and the MCU are OK, I put the device into bootloader mode.
Pull Pin 9 on the RS-232 connector to high or short the output of the corresponding optocoupler, then power cycle the load.
With software for STM32s I could connect to the bootlader via RS-232 (connection is working  ???)!
But I couldn't extract the firmware, because read protection is active (maybe there is help: https://www.eevblog.com/forum/microcontrollers/stm32-readout-protection-is-broken/).

Just to clarify you need a straight through cable (like the one that comes with the unit).
 
The following users thanked this post: interflexo

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #69 on: January 27, 2021, 01:16:33 pm »
So, your KP184 doesn’t respond to serial commands like mine?

A friend of mine has an older model of KP184,  I think its Rev 02, panel shows 1801 on boot.
I tested it with my Digitus RS232 adapter and the sw from this thread with my Asus Win10 notebook. Its all fine and working with the older model. Mine still doesn’t respond to serial commands.
I will try the RS-485 test later on.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #70 on: January 27, 2021, 05:22:43 pm »
New KP184 Software Version 1.0.12.0:

Changes:

1. .csv data files; .png plot graph files; .pdf plot graph files and .pdf test report files now all have independent configurable file names and folders and reset to folder "KP184 Modbus" inside "My Documents" in case of error.

2. There is a new button specific for the battery capacity discharge test report creation.

3. PDF User Manual now is installed on the folder named "KP184 Modbus" inside "My Documents".

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:18:14 am by interflexo »
 
The following users thanked this post: CyberWalker

Offline rdsi

  • Contributor
  • Posts: 29
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #71 on: January 28, 2021, 12:09:53 pm »
I had a similar situation with my BK 8500 load however its RS-232 port was using inverted 5V TTL levels. I decided to use a “PI Zero W” and a program called “ser2net” so that I could access the load via my network.  On my Windows machine I use a product from perle called TruePort to assign a COM port to load.  This product is FREE for this purpose and is available for both Windows and Linux.

So with a couple interface components I was able to connect the PI to the load.  Using the PI GPIO3 shutdown feature it will power-up & shutdown in sync with the load power state.

Solved my problem without using any wires between the load & PC.
If I can find the time this setup will allow me to write a WEB server for the load.
« Last Edit: January 28, 2021, 12:12:05 pm by rdsi »
 
The following users thanked this post: Dwaine

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #72 on: January 28, 2021, 04:52:36 pm »
Today I tried the RS-485 test with an 120 Ohm resistor and a scope. Put the KP184 in Host mode, pressed some buttons (on/off and so on) aaaannnnnndddddd?


Nothing!!!  😡

My unit simply doesn’t send anything to RS-232 and/or RS-485.
 

Offline wolzlu

  • Newbie
  • Posts: 3
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #73 on: January 28, 2021, 04:59:11 pm »
@Penguin36: Yes, we have most likely the same problem.
@rdsi: I will use an ESP or similar. But first we need a working firmware for the load.
RS-232 and RS-485 use the same pins for TX / RX on the MCU. RS-485 needs an additional pin for setting the direction.
A key press transmits a data pattern (fefd000000xxxxxx hex) in host mode:
fefd000000007811 Encoder (both directions)
fefd0000003ef9c1 ON
fefd0000001f39d9 Mode
fefd0000003db9c0 Up
fefd0000002f39cd Down
fefd0000003b39c2 Left
fefd0000003739c7 Right
fefd0000001ef819 Shift
fefd00000027380b SET
I didn't get anything on the RS-485 side, probably because signal for switching direction is missing.
Receiving data via RS-485 works as expected. The slave mode has yet an other quirk  :palm:. I only could get it react to something, when switching from host to slave.
With the commands from above it only changes mode (CC to CV and so on) regardless of the button. If the load is on, it only beeps. Since you have to turn off the load, before changing the mode. For other patterns it did nothing. After reboot it is still in slave mode, but doesn't react anymore to serial commands.
Obviously the back LED is controlled by RX/TX and not directly by the MCU.
Hopefully someone cloud provide a working firmware. Would be interesting to know if all loads showing 2020 on boot have the same problem?
 

Offline Penguin36

  • Contributor
  • Posts: 46
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #74 on: January 29, 2021, 02:02:07 pm »
I gave up and got another KP184 from ebay.
This one is PCB Rev.03 with FW 1801 (shown on bootup). RS-232 is working out of the box up to 115200 bps, no issues so far.
« Last Edit: January 29, 2021, 04:02:47 pm by Penguin36 »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #75 on: February 09, 2021, 12:52:21 pm »
New KP184 Software Version 1.0.13.0:

Changes:

1. Replaced several functions from external lib modules that will be deprecated in the future.

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:18:51 am by interflexo »
 
The following users thanked this post: CyberWalker

Offline Dwaine

  • Frequent Contributor
  • **
  • Posts: 304
  • Country: ca
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #76 on: February 10, 2021, 03:41:10 am »
I love my Kunkin KP184 electronic load and would like to control it via the serial port (or RS485, don't care which), but none of the adapters I've tried (FTDI, Prolific, all the usual suspects) work.

I'm still looking to find the equipment that doesn't work with this adapter:



I use one since 2005 (this is my second one since I lost my previous one, that were only Keyspan in the brand): From using with a Renishaw QC10 Ballbar System to Rollover Cisco Cables, from NSN MGW/MSS terminal connection to old measurement equipment, it never let me down, including Allen-Bradley/Siemens Simatic PLCs. It's based on the TI 75LV4737A Multichannel RS232 Line Driver/Receiver, so it have have HW handshake.

It's a little expensive compared with other models, but is probably the only one you will need for the rest of your professional life.

Those keyspan usb serials will work with any device you throw at it.   I paid $89.00 about 10 years ago.    I have a few Kenwood radios that only work with the Keyspan USB cable.

 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #77 on: February 17, 2021, 02:24:15 pm »
New KP184 Software Version 1.0.14.0:

Changes:

1. Fixed issue related to configuration dialog file browse select controls startup folder.

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:19:19 am by interflexo »
 

Offline snoozer

  • Contributor
  • Posts: 41
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #78 on: February 20, 2021, 01:03:34 pm »
Hello,

I just thought I check in here because my recent purchase KP184 does also not work with the GUI software or the CLI software which was links further up in this topic. I have done a bit more digging to check if I possibly have an issue on the circuit side of things. I have used a scope to probe the signal presented on the MC side of the RS232/485 Isolator device U23 with the number 1201ARZ. By setting the KP184 to host mode I can make it send "stuff" as if it was controlling the slaves. I can see a signal with nice sharp edges there. Characters also show up on an attached serial terminal. I have also tested the other way around, sending "J" characters from the serial terminal on the PC to the KP184 and I can also clearly make out the "J" send on the MC side of the Isolator U23. I was not able to probe on the MC itself with the scope, the pitch is a bit to small for the probes but I did check continuity and that's fine. From the observations I would have to conclude there is an issue in the MC not doing anything when commanded to by means of serial communication. It would look to me as if the firmware just does not do what it should. Has anybody found a solution to this or is there maybe a firmware that works with my hardware that can be programmed into the KP184

Board Version 4, the top line on turn on has a couple of chars and 184 after. Assume its a version number, maybe 1.84 ?

Kind Regards
Jan Paulini

PS: I have tested with the scope at 2400 baud as well as 115200 baud. There was no issues with either.

PPS: Just for completeness, I have checked with 3 different USB/RS232 interfaces. Also tested with 2 different RS485 interfaces on the A and B terminals of the terminal block in the back of the KP184. No success.
« Last Edit: February 20, 2021, 01:25:26 pm by snoozer »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #79 on: February 21, 2021, 11:36:38 pm »
This is most unfortunate. It looks like a firmware issue to me. Thanks for the comprehensive tests.

Does anyone have a KP184 PCB Rev.04 with a working RS232 serial interface?

I remember someone mentioning there is more than one PCB Rev.04 layout and a PCB Rev.05 here.

I browsed Kunkin website. At the low end they have now the KP283 / KP284 (2CH independent 15A/20A 80V). They dropped the PC RS232 interface but maintained the RS485 (host/slave) interface.
« Last Edit: February 21, 2021, 11:42:10 pm by interflexo »
 

Offline snoozer

  • Contributor
  • Posts: 41
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #80 on: February 22, 2021, 06:33:53 pm »
Hello again,

in the meanwhile I had a PM regarding this issue from another forum member. He made a very valid observation, the 184 in the 1st line at boot up with the two characters before is obviously the model number KP184, that did not click with me ;-) The 2nd line shows 2020 and the 3rd the address 1. For clarification I add a picture of it below the post. I also have a picture of the board version added for convenience. It appears to be Version 4 202007. So I am definitely not the only one with the issue, there appear to be at least 2 other forum members with the same issue according to the PM I got. I am not going to quote a PM here, I leave that to the person that send me the message if he things it is of any help to the issue.

I hope we can get to the bottom of the issue and fix it in the end. It's not the end of the world for me, I appear to be lucky enough to have an otherwise working instrument which does not seem to be the case for some people. The serial communication would still be a nice extra to have.

Thank you !
Jan P.

PS: Hi @interflexo, thanks for the hint re the Version 5 PCB. I got my unit only a week ago but may have been in stock for some time at Banggood ES warehouse where I got mine from (EU citizen). The KP283/284 looks way different of the control side of things, a lot simpler I guess. Not sure if any parallels could be drawn there apart from maybe the high power side of the instrument.
« Last Edit: February 22, 2021, 06:49:20 pm by snoozer »
 

Offline Treed

  • Newbie
  • Posts: 2
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #81 on: February 26, 2021, 04:29:34 am »
I independently got to the same conclusion. I tried sending commands to the load and probed the signal all the way to the MCU but just couldn't get a reply. When it's in host mode it sends commands when pressing buttons and in slave mode it reacts when repeating those commands back to it. It doesn't reply with anything though. I have a Ver04 20191111.
It seems Kunkin just broke the firmware on all Rev4s :(
 

Offline snoozer

  • Contributor
  • Posts: 41
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #82 on: February 27, 2021, 08:46:13 am »
Hi,

I just had another closer look to be sure. The USART1 TX and RX are on PB6 and PB7, thats pin 42 and 43 on the LQFP48 package of the MCU STM32F030C8. Both pins correctly connect to the Dual-Channel Digital Isolator U23. Do other board versions have the same MCU ? I have a couple of pictures attached below. Not the best quality, sorry.

Kind Regards
Jan P.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #83 on: February 27, 2021, 02:35:22 pm »
I independently got to the same conclusion. I tried sending commands to the load and probed the signal all the way to the MCU but just couldn't get a reply. When it's in host mode it sends commands when pressing buttons and in slave mode it reacts when repeating those commands back to it. It doesn't reply with anything though. I have a Ver04 20191111.
It seems Kunkin just broke the firmware on all Rev4s :(


The KP184 that got here since July. 2020, is working ok regarding RS232 and RS485.

Upon power on, it shows this on its display:
KP184
2001
Ad.001

And internally it has this main board version
VER:04
20191111

So, not all v4's got this problem as this one works ok.

See also some previous posts with relevant info for RS232 and RS485 hardware and connections here
https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3123158/#msg3123158
https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3130266/#msg3130266


/PS
Just did a read on other posts that have the comms problem, it looks to me that the issue is there with those that have 2020 shown on the initial  boot of KP184 display, so most likely a newer firmware version problem.
« Last Edit: February 27, 2021, 02:44:48 pm by aristarchus »
 

Offline snoozer

  • Contributor
  • Posts: 41
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #84 on: February 27, 2021, 05:17:46 pm »
@Treed, could you check what your boot up display looks like ? Do you have 2020 in the 2nd line as well or something different ?

Regards
Jan P.
 

Offline snoozer

  • Contributor
  • Posts: 41
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #85 on: March 01, 2021, 10:30:53 am »
Hi, I am attempting to get in touch with Kunkin now, I have little expectation but hey, cost nothing to send an email.

Rgrds
Jan P.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #86 on: March 01, 2021, 11:18:57 am »
Hi, I am attempting to get in touch with Kunkin now, I have little expectation but hey, cost nothing to send an email.

Rgrds
Jan P.


In attempts to get in touch with them last year received no reply whatsoever, tried almost every possible email and even the chat feature, none worked no reply ever given.

The only way that I managed to get something from them
(the document with the protocol and commands that I published in post  https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3147906/#msg3147906 )
was via the seller from which I bought the device in ebay, I think your best bet is to use your seller in order to retrieve any response from the company, only the seller I guess knows how to deal with them..

« Last Edit: March 01, 2021, 11:21:16 am by aristarchus »
 

Offline snoozer

  • Contributor
  • Posts: 41
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #87 on: March 01, 2021, 12:09:28 pm »
Good point @aristarchus, I have contacted Banggood as well.

Thx
Jan P.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #88 on: March 02, 2021, 09:26:32 am »
New KP184 Software Version 1.0.15.0:

Changes:

1. Also accepts Modded KP182 (U23 > ADUM1201 + 2 RX/TX resistors + USB/Serial Converter)

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:19:47 am by interflexo »
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #89 on: March 03, 2021, 07:57:17 am »
Hello,
I had the same problem with the KP184, that it does not react to commands via RS232 serial interface.
My device shows also 2020 at startup.

I think, I've found the solution to the problem:
The documentation about the serial commands in the manual is wrong!
The checksum has to be sent LSByte first (not MSByte first as written in the manual and shown in the examples).
So for example the sequence for 'Set up load switch' is 01 06 01 0E 00 01 04 00 00 00 01 5F CA
This is according to the description of the Modbus Standard which I found here https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
Obviously the older KP184 devices have a failure in Modbus implementation and the manual description is for these older devices  :-\

BR
Reinhard
 
The following users thanked this post: Treed, wolzlu

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #90 on: March 03, 2021, 08:05:18 am »
Hello,
I had the same problem with the KP184, that it does not react to commands via RS232 serial interface.
My device shows also 2020 at startup.

I think, I've found the solution to the problem:
The documentation about the serial commands in the manual is wrong!
The checksum has to be sent LSByte first (not MSByte first as written in the manual and shown in the examples).
So for example the sequence for 'Set up load switch' is 01 06 01 0E 00 01 04 00 00 00 01 5F CA
This is according to the description of the Modbus Standard which I found here https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
Obviously the older KP184 devices have a failure in Modbus implementation and the manual description is for these older devices  :-\

If that is the case, you can easily test with TestController: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/
Simple change the line "#subDriver Kunkin"  to "#subDriver RTU" in the "Kunkin KP184.txt" file
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #91 on: March 03, 2021, 08:25:09 am »
I've already checked that with a terminal program and it works with Checksum LSByte first!
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #92 on: March 03, 2021, 08:34:43 am »
I've already checked that with a terminal program and it works with Checksum LSByte first!

With TC you can also check if the ID byte is the same and the standard control are unchanged, that is a lot of work from a terminal.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #93 on: March 03, 2021, 08:37:14 am »
OK, I will check with your SW ...
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #94 on: March 03, 2021, 09:54:11 am »
The TestController SW does not connect to the KP184.
I've made the change in the Kunkin.txt file and set the com Port (com1) but after 'Reconnect' button there is no connection.

With Terminal SW HTerm it's no problem.

 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #95 on: March 03, 2021, 09:55:30 am »
HTerm screenshot attached
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #96 on: March 03, 2021, 10:08:41 am »
The TestController SW does not connect to the KP184.
I've made the change in the Kunkin.txt file and set the com Port (com1) but after 'Reconnect' button there is no connection.

Try start TC with the testControllerDebug.bat file, then it will show what is going on.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #97 on: March 03, 2021, 10:24:56 am »
See screenshot attached.

If I send the command 01 03 00 01 00 02 95 CB via HTerm, the KP184 does not respond.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #98 on: March 03, 2021, 10:48:48 am »
Somewhere I've found another version request command: 01 03 00 01 00 04 15 C9
This works.
Response is: 01 03 04 00 00 07 30 F8 17
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #99 on: March 03, 2021, 10:57:09 am »
If I send the command 01 03 00 01 00 02 95 CB via HTerm, the KP184 does not respond.

This means Kunkin do not use the standard modbus protocol, I have added another Kunkin protocol that only swap checksum bytes compare to the old Kunkin protocol.
To test it:
Download: http://lygte-info.dk/pic/Projects/TestController/TestController.jar
Use it to replace the current .jar file
Modify "Kunkin KP184.txt" to "#subDriver Kunkinx", everything else must be the same.
Start testcontroller, initial message must be: 01 03 00 01 00 04 C9 15
Note: It may take some time before the download will download the modified version, it is V1.57 in the About dialog.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #100 on: March 03, 2021, 11:15:43 am »
Command is sent correct, but obviously the reply is not read correct.
In HTerm it still works.

I have to leave now. Will be back in the evening...
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #101 on: March 03, 2021, 11:17:04 am »
picture from console attached

BTW: How can I attach more than one picture to a post?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #102 on: March 03, 2021, 11:50:27 am »
New KP184 Software Version 1.0.16.0:

Changes:

1. Added a new configuration setting for CRC LSB First - New 2020 FW and above.

Setup KP184 Software V1.0.81.0

I have no FW 2020 Kunkin KP184 hardware to test this right now. If someone can have a go and report it would be explendid.

It's strange for the manufacturer to be messing with these raw settings and not updating the user manual...
« Last Edit: November 08, 2024, 10:21:23 am by interflexo »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #103 on: March 03, 2021, 01:25:33 pm »
Command is sent correct, but obviously the reply is not read correct.
In HTerm it still works.

You can skip the initial message by adding a semicolon ; before the "#verifyDevice 1840 model?" line or remove the line.
All the null pointer stuff is because the answer is missing and can be ignored.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #104 on: March 03, 2021, 05:00:51 pm »
@interflexo
Your app works with CRC LSB First checked in the settings menu!
 
The following users thanked this post: interflexo

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #105 on: March 03, 2021, 05:02:39 pm »
@HKJ
Still problems with receive timeout, if I comment out the version check
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #106 on: March 03, 2021, 07:09:51 pm »
@HKJ
Still problems with receive timeout, if I comment out the version check

I wonder what is wrong, but it is probably best to move this testing out of this thread and to email or PM. Anybody that what to continue testing on this new version of the load can email/PM me.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #107 on: March 03, 2021, 07:55:10 pm »
@interflexo
Your app works with CRC LSB First checked in the settings menu!
@RhdZ
Many thanks for getting to the bottom of this subject regarding Kunkin firmware 2020 and ModBus RS232 interface.
Pretty weird stuff.
 

Offline snoozer

  • Contributor
  • Posts: 41
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #108 on: March 03, 2021, 08:20:02 pm »
Hello,

super job on this one. Mine appears to work now with the GUI from interflexo. I remember further up in the topic was a CLI tool as well, cant find it now. Anybody got that to work as well ?

Thank You!
Jan P.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #109 on: March 04, 2021, 12:39:23 am »
I think, I've found the solution to the problem:
The documentation about the serial commands in the manual is wrong!
The checksum has to be sent LSByte first (not MSByte first as written in the manual and shown in the examples).
..

Great job done there, congrats @RhdZ for solving this!


It's strange for the manufacturer to be messing with these raw settings and not updating the user manual...

Indeed, although the device is a favorite of mine, the best value for money, it is evident that the company lacks professionalism in that regard.

 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #110 on: March 04, 2021, 10:15:16 am »
Great job done there, congrats @RhdZ for solving this!

Thank you!
Some more of my few hairs are grey now  :)

To come back to the original topic:
I can control the KP184 also via a USB to RS232 cable with Profilic chip (Windows 7).
I bought this years ago and don't know the brand.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #111 on: March 05, 2021, 09:46:51 pm »
Grat for the solution!
I have the same issue.
I have received the equipment 3week ago and work fine but today I need to use the application of the equipment.
I have installed the visa based software but no reply.
The version is ver04 and fw is 202007.

 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #112 on: March 05, 2021, 09:52:11 pm »
Tomorrow morning I will test Interflexos new app.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #113 on: March 06, 2021, 11:58:00 am »
Wowww!
It worked immediately, actually the documentation was in the box is dated to 2017.....
I also develop a similar DC load but with higher limits, I am sure it is practical to make the interface to reply to the same vectors as kunkin do.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #114 on: March 10, 2021, 11:07:40 pm »
After doing some test I found that on my old laptop with win7 works more stable than on our workshop PC with win10.
On win10 communicate only for approx 3-4 sec and communication is lost.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #115 on: March 11, 2021, 09:36:02 am »
After doing some test I found that on my old laptop with win7 works more stable than on our workshop PC with win10.
On win10 communicate only for approx 3-4 sec and communication is lost.

Well, here in use are only W10 and so far everything works ok.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #116 on: March 12, 2021, 10:41:54 pm »
New KP184 Software Version 1.0.17.0:

Changes:

1. Current and power manual entry values limits (20A 200W) are checked for the KP182 MOD model, they are half the KP184 model (40A 400W).

2. A new dynamic CYC test mode allows the user to program a custom variable CC load profile of unlimited steps, ramps and repetitions.

Setup KP184 Software V1.0.81.0

User_Manual

Page 19 for the new CYC test mode.

« Last Edit: November 08, 2024, 10:22:25 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #117 on: March 13, 2021, 04:00:03 pm »
New KP184 Software Version 1.0.18.0:

Changes:

1. Made some corrections to the new CYC test mode current ramp profiles.

2. Added a new "Clear Log" to the Log context menu to help better inspect the new CYC test mode results.

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:22:47 am by interflexo »
 
The following users thanked this post: F64098, ferencvarga46

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #118 on: March 15, 2021, 07:02:27 pm »
There were some questions about the new CYC mode:

First establish the serial connection.

Toggle the test mode indicator to access the special test modes GEN / CVL /
CYC. CYC unlocks the Cycle Tab

In the Cycle tab you can write lines as in a text programming language.

For example:

0 5 3
5 1
0 1
5 1
5 0 3

Will result in the following load programmed profile:

Ramp from 0A to 5A in 3 seconds

Hold 5A during 1 second

Turn Load OFF (0A) during 1 second

Turn Load ON (5A) during 1 second

Ramp from 5A to 0A in 3 seconds.

You can repeat the programmed profile any number of times or just indefinitely (use the Load Switch icon to stop at any time).

After writing the profile instructions just press the Load Switch icon, the load will stop automatically at the end.

Before pressing the Load Switch icon you switch to the "Log" tab to watch the log lines in real time an inspect how Kunkin is being commanded.
 
The following users thanked this post: CyberWalker, F64098

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #119 on: March 31, 2021, 02:42:08 am »
Anyway to resize the window to fit the text?
The scaling is at 100%.
Also how can I attach 2 KP184's to same software? If I open the software again it would try to use the same com port as the first one. If I change the com port, it saves the latest one.
Anyway to have 2 separate instances of the software running connecting to 2 different serial ports, one with its own com port?
Thanks :)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #120 on: March 31, 2021, 03:43:37 pm »
lnxpro thanks for your input.

Version 1.0.18.0 and below allows multiple application instances at the same time on different serial ports. You just have to assign the correct COM port after application startup. They all write the selected COM port on the same file to act as default assigned COM port on the next application startup. The application uses the COM port the config dialog shows you and not what is written on the disk configuration file, this is just a startup default value.

New KP184 Software Version 1.0.19.0:

Changes:

1. Battery capacity LCD display always shows 5 significant digits, 3 decimal places until 99,999Ah and  2 decimal places above that value.

2. You can run as many instances of the application as you want and configure each one for a different serial port. Only the first application instance will save it's default configuration on disk.

Setup KP184 Software V1.0.81.0

Please let me know if this works for you.
« Last Edit: November 08, 2024, 10:23:08 am by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #121 on: March 31, 2021, 04:51:39 pm »
1.0.19.0 fails to open (running as admin)
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #122 on: March 31, 2021, 08:29:33 pm »
One other minor annoyance is the numbers shifting to the right whenever a number 1 digit is displayed. Anyway to move the default number 1 digit to the right and keep the blank spaces on the left to avoid this shifting left and right?
attached a video to demonstrate
https://youtu.be/xaTE3wMz8E0
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #123 on: April 01, 2021, 08:20:01 am »
Sorry about that.

The font spacing issue you refer to is related to the LCD font in use being Proportional and not Monospaced. None of this can be fixed with some code lines. I will look into LCD Monospaced fonts candidates.

New KP184 Software Version 1.0.20.0:

Changes:

1. Fixed the Version 1.0.19.0 startup problem

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:23:28 am by interflexo »
 
The following users thanked this post: lnxpro

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #124 on: April 02, 2021, 01:23:40 am »
version 1.0.20.0 works :) fits the text on the window too.
thanks.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #125 on: April 03, 2021, 12:19:42 pm »
New KP184 Software Version 1.0.21.0:

Changes:

1. LCD Panel uses a new 7 segment display monospaced font

Pros: String does not shift around when '1' char is used
Cons: Decimal separator takes as much space as an '8''

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:23:56 am by interflexo »
 
The following users thanked this post: 1001, lnxpro

Offline Treed

  • Newbie
  • Posts: 2
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #126 on: April 10, 2021, 08:23:59 pm »
Wow, I haven't looked at this thread for a while, assuming the forum would notify me of new posts and now I come back and everything is solved! Great job RhdZ!
 

Offline adso85swe

  • Contributor
  • Posts: 17
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #127 on: April 13, 2021, 08:23:31 am »
I have been looking around for a good value electronic load and being able to log data on a computer has been an important criteria. More or less a showstopper if no software exists.
Reading about your software development Interflexo is really making me consider getting the Kunkin KP184. Amazing work, such a nice contribution to the community. If I end up getting the elecronic load, I will most definitely go through the registration of your software.
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #128 on: April 13, 2021, 08:42:36 am »
I have been looking around for a good value electronic load and being able to log data on a computer has been an important criteria. More or less a showstopper if no software exists.
Reading about your software development Interflexo is really making me consider getting the Kunkin KP184. Amazing work, such a nice contribution to the community. If I end up getting the elecronic load, I will most definitely go through the registration of your software.

If you only want data from the load on your computer this software is good, but if you want more devices connected check: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/, it supports many different loads and other devices.
 
The following users thanked this post: interflexo

Offline adso85swe

  • Contributor
  • Posts: 17
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #129 on: April 13, 2021, 09:41:12 am »
Quote
If you only want data from the load on your computer this software is good, but if you want more devices connected check: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/, it supports many different loads and other devices.

Ok, very cool  8). Since I own a Uni-T UT61D multimeter and a Riden RD6006 power supply this software would also make a lot of sense to me. So many good option out there. Amazing forum really :)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #130 on: April 14, 2021, 09:18:22 am »
I have been looking around for a good value electronic load and being able to log data on a computer has been an important criteria. More or less a showstopper if no software exists.
Reading about your software development Interflexo is really making me consider getting the Kunkin KP184. Amazing work, such a nice contribution to the community. If I end up getting the elecronic load, I will most definitely go through the registration of your software.
Thanks. Kunkin KP184 panel operation and configuration menus are a bit cumbersome, the software allows a clear and straightforward operation with many extra features.
 

Offline jasom

  • Contributor
  • Posts: 18
  • Country: sk
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #131 on: April 17, 2021, 10:38:06 am »
 interflexo: Hello, I got a problem with connect from Your app. Connection from modbus is without problem but in windows app I has only some like this
17/04/21 12:37:22 Connected to COM port
17/04/21 12:37:27 Closed COM port
17/04/21 12:37:27 KP184 not found

But on same port I can connect from modbus. Can You help me?

Thank You

Edit: Ok, with decrease baud speed its working now.
« Last Edit: April 17, 2021, 12:04:06 pm by jasom »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #132 on: April 19, 2021, 06:14:01 pm »
I am glad you worked it out Jasom.

You must always configure (baudrate and address) the software to match the operating panel menus configuration from your Kunkin.
 

Offline F64098

  • Regular Contributor
  • *
  • Posts: 54
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #133 on: April 19, 2021, 08:59:08 pm »
I also had problems with higher baudrates.
Even when using a short cable and the com-port of the mainboard.

Best regards

Frank
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #134 on: April 23, 2021, 11:28:07 am »
New KP184 Software Version 1.0.22.0:

Changes:

1. Enhanced battery DCIR test. The first step may be configured to 0A to measure the battery internal resistance from an open circuit voltage (OCV) state. The step pulse time is configurable to meet specific user needs. Thanks adso85swe for the insight regarding DCIR test.


Setup KP184 Software V1.0.81.0
Updated User Manual
« Last Edit: November 08, 2024, 10:24:26 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #135 on: April 27, 2021, 09:34:49 am »
New KP184 Software Version 1.0.23.0:

Changes:

1. Enhanced battery DCIR test. Both pulse step times are now configurable. These tests can now meet IEC 62620 standards for Li-ion batteries and IEC 61951-2 standards for Ni-MH batteries.
2. Application load time was cut to one third.


Setup KP184 Software V1.0.81.0
Updated User Manual
« Last Edit: November 08, 2024, 10:24:54 am by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #136 on: April 27, 2021, 05:40:21 pm »
1.0.23.0 gives me an error on launch that it can't access the ini file.
happens with admin rights (run as admin) or normal without admin rights
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #137 on: April 27, 2021, 07:52:32 pm »
lnxpro I was not able to reproduce the same error on Win 10. You' ve got to help me here.
What is your OS version?
Is it a fresh installation or you are upgrading from a previous version? In the case of an upgrade, what was the last version?
I assume the configuration file is not found on the referenced folder. Have you confirmed it?
Anyone else found this problem?
« Last Edit: April 27, 2021, 08:51:20 pm by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #138 on: April 28, 2021, 02:29:57 am »
it was an upgrade from 1.0.21.0
i did confirm the file is there.
this on windows 10 LTSC version 1809
I will try a clean install and see if the issue persists.
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #139 on: April 28, 2021, 03:29:09 am »
tried a clean install of 1.0.23.0
same thing. the ini file is in the referenced folder (gets created during install), I can open it with notepad, etc.
I then installed version 1.0.21.0 back on top of the version .23 and version .21 works fine.
I also tried version .22 and it works fine. if I go to .23, it gives me the same error so for the time being I am back on version .22
 

Offline adso85swe

  • Contributor
  • Posts: 17
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #140 on: April 28, 2021, 09:47:05 pm »
tried a clean install of 1.0.23.0
same thing. the ini file is in the referenced folder (gets created during install), I can open it with notepad, etc.
I then installed version 1.0.21.0 back on top of the version .23 and version .21 works fine.
I also tried version .22 and it works fine. if I go to .23, it gives me the same error so for the time being I am back on version .22

Strange. I am running v.23 without any startup issues at all  ???
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #141 on: April 28, 2021, 11:32:21 pm »
Dear lnxpro the issues regarding file names I think they are related to the new distribution format [multiple files (fast app load time)] vs [single exe file (slow app load time due to lots of unpacking at startup)] because there were no code changes related to these mishaps.

Please uninstall and try the version below, it is the same code on the previous working single exe file distribution format.

Setup KP184 Software V1.0.81.0

Please let me know how it works for you.
« Last Edit: November 08, 2024, 10:25:19 am by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #142 on: April 29, 2021, 02:26:09 am »
same issue with the onefile. says it fails to process the .ini file. this was on a clean install and the file gets created by the installer.
once again, version .22 works fine.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #143 on: April 29, 2021, 09:31:19 am »
New KP184 Software Version 1.0.24.0:

Changes:

1. Back to one exe file distribution. Unpacked folder distribution causes problems accessing the .ini file. This will be sorted out later.

2. When a new configuration key was added to an older .ini file, example "inres_pulse_time2" from version 22 to 23 the error message "Can't access the .ini" was not adequate, there is a new popup message stating that one or more configuration keys were added.


Setup KP184 Software V1.0.81.0

lnxpro this should take care of your issues.
« Last Edit: November 08, 2024, 10:25:36 am by interflexo »
 
The following users thanked this post: lnxpro, adso85swe

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #144 on: April 29, 2021, 04:29:05 pm »
awesome. yes. version .24 works :)
thanks
 

Offline PaWill68

  • Regular Contributor
  • *
  • Posts: 117
  • Country: ru
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #145 on: May 12, 2021, 08:19:07 am »
Hello interflexo. I know you have completely figured out the Kunkin protocol. I study it too. I cannot understand how the capacity value is converted. Can you help me understand this?

I get the following data from KunkinSW
01 03 1F 03 05 00 0D C1 00 07 D0 00 07 D0 00 FA 00 FA 00 07 D0 00 00 00 00 0A F0 00 09 C4 00 00 22 A3 C8 A6 1B
Where
00 09 C4 00 = ~ 0.178Ah
00 22 A3 C8 = ~ 0.63Wh
How are these values obtained? Normal HEX> DEC doesn't work. (I tried in windows calculator)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #146 on: May 12, 2021, 07:12:41 pm »
The units are mAs and mWs.
 
The following users thanked this post: PaWill68

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #147 on: June 06, 2021, 10:43:02 am »
New KP184 Software Version 1.0.25.0:

Changes:

1. An optional Beep on load ON/OFF was added to the configuration page. Beeps are annoying but on remote operation it is nice to receive a notification when battery discharge is over.


Setup KP184 Software V1.0.81.0


« Last Edit: November 08, 2024, 10:26:25 am by interflexo »
 

Offline TymerTopCat

  • Newbie
  • Posts: 9
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #148 on: June 12, 2021, 12:34:08 pm »
The version: 1.0.25.0. Does not seem to work for me. I have a Ver:05 2020/12 Board.

However, 1.0.25.0 does work with my older 1801 Kunkin.

Additionally I am able to get the 2020 Kunkin to respond using My own C# Software and using HTerm by changing the CRC byte order.
« Last Edit: June 12, 2021, 12:43:10 pm by TymerTopCat »
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #149 on: June 12, 2021, 12:57:26 pm »
The version: 1.0.25.0. Does not seem to work for me. I have a Ver:05 2020/12 Board.

However, 1.0.25.0 does work with my older 1801 Kunkin.

Additionally I am able to get the 2020 Kunkin to respond using My own C# Software and using HTerm by changing the CRC byte order.


https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3492100/#msg3492100

https://www.eevblog.com/forum/testgear/serial-to-usb-on-kunkin-kp184-electronic-load/msg3492512/#msg3492512
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #150 on: July 05, 2021, 09:51:00 am »
New KP184 Software Version 1.0.26.0:

Changes:

1. Several Python modules were updated.


Setup KP184 Software V1.0.81.0

« Last Edit: November 08, 2024, 10:27:06 am by interflexo »
 
The following users thanked this post: CyberWalker, adso85swe

Offline MeterReader

  • Contributor
  • Posts: 11
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #151 on: August 25, 2021, 06:32:32 pm »
I appreciate the seemingly straight-forward interface. Unfortunately, I can't get it working with my KP184 V4. Tried the version you just linked, one from your very short youtube video, and another from somewhere else. I do have it successfully working with another load controller. I'm using a CH340-based USB to serial adapter.

Got it going after a restart!
« Last Edit: August 27, 2021, 04:04:38 am by MeterReader »
 

Offline cskilbeckTopic starter

  • Contributor
  • Posts: 24
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #152 on: September 29, 2021, 05:21:15 pm »
It's here https://github.com/cskilbeck/modbus but I haven't touched it for ages and it will surely not work with the reversed LSB firmware, someone would need to add a command line switch to enable that
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #153 on: October 28, 2021, 11:24:45 am »
New KP184 Software Version 1.0.27.0:

Changes:

1. Overcomes a KP184 internal firmware issue that periodically (each 7.53h) resets the Wh value during very long battery discharge tests. The screen shows the internal Kunkin Wh value but the saved .csv file shows the correct calculated value by the software. The Kunkin internal calculations for the Ah values are all right. I thank all the users that perform comprehensive tests and report these issues.

2. Several Python modules were updated.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:27:29 am by interflexo »
 

Online voltsandjolts

  • Supporter
  • ****
  • Posts: 2647
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #154 on: October 28, 2021, 12:07:05 pm »
Are you using tkinter for this app's gui?
How do you create the exe?
Is the source code available somewhere?
I'm just interested in Python gui programming and interested to see how you've done it.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #155 on: October 28, 2021, 01:23:47 pm »
Hi voltsandjolts. This application is programmed in Python 3, GUI is coded using PySimpleGUI module (wrapper for tkinter). Graphics produced with matplotlib module. The .exe file is created with pyInstaller. The source code is not available at this point.
 
The following users thanked this post: voltsandjolts

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #156 on: November 02, 2021, 12:56:59 pm »
New KP184 Software Version 1.0.28.0:

Changes:

1. On the non static cycle (CYC) load mode the user load profile definition text for line comment char was changed from '#' to '//'. The .ini read file parsing code was deleting multiple line comments.

2. Several GUI tooltips were corrected.

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:28:37 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #157 on: November 08, 2021, 12:59:52 pm »
New enhanced User Manual for KP184 ModBus Software:


User_Manual


« Last Edit: November 08, 2024, 10:28:52 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline Ziggo

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #158 on: November 10, 2021, 06:35:11 am »
Does the software support multiple units on a single RS485 bus? I have 3 now but really need at least 3 more to get enough load for some tests.

The units themselves claim to support a "master / slave" mode for multiple units but I haven't tried it yet (since I can barely use them at this point because the rotary encoders are so flaky).
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #159 on: November 10, 2021, 08:09:07 pm »
From the user Kunkin KP184 manual:
"Set up online mode. KP182 load provides a multimachine online mode. The multimachine is connected through 485 communication wire. There is one master, and the other devices are slaves. When setting up parameter on the host panel and operating ON/OFF, these operations are sent to the slave through communication port and the slave will execute the same operation."

The OnLine Host/Slave mode is just a way of blindly broadcasting the Host panel key strokes to all the Slaves in RS-485 network. The manufacturer intent here was to be able to perform the same test on several different KP184 units at the same time. When this OnLine mode in engaged I think there is no feedback from the slave units or the Master for that matter (I am guessing here). So there is no way of making remote data acquisition on this mode.

This multi device mode would have to be emulated with the normal ModBus comms. The software commands would have to be broadcasted for each previously configured slave addresses, and each slave would be pooled in succession to retrieved it's data. The sample period would take a hit. The KP184 firmware is a bit slow to respond. A minimum practical value of 250ms is standard for one unit. Using 4 units in a RS485 network the minimum sample period would be 1 second. The savings here would be an USB to serial adapter per KP184.

The KP184 ModBus software as is can't do what you want via RS-485. You can however launch unlimited instances of the software on the PC communicating simultaneously with USB to serial adapters with different KP184 units which are wired in parallel with the same load and control (no need to touch the operating panel) and record the data acquisition of each instance. This method would leave the minimum sample period unharmed.

If each single unit works well via RS-485 with the software I could change the software to accommodate this feature if there is a broad interest about it. However this seems to me to be a niche within a niche.

The GUI interface would consume most of the work and comms would be the easy part, i have the same threaded  low level code working with 30 simultaneous serial channels within the same application.
« Last Edit: November 11, 2021, 07:19:27 am by interflexo »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #160 on: November 10, 2021, 08:52:07 pm »
With TestController ( https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/ ) you can run any number (and brands) of loads in parallel as long as each has its own connection to the computer (i.e. not 485).
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #161 on: November 10, 2021, 10:34:05 pm »
Ziggo has issues with the rotary encoders and needs KP184 full remote panel control. I mensioned 6 loads because Ziggo needs 3 + 3 electronic loads.
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #162 on: November 11, 2021, 06:34:26 am »
Ziggo has issues with the rotary encoders and needs KP184 full remote panel control. I mensioned 6 loads because Ziggo needs 3 + 3 electronic loads.

In TestController you will get a control panel like this for each load:



There are many different way to see the values from the load and it is also possible to define more limited control panels.
If the same test needs to be repeated, it is fairly easy to generate a script for it.
 
The following users thanked this post: dophuc

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #163 on: November 17, 2021, 06:13:25 pm »
New KP184 Modbus Software Version 1.0.29.0:

Changes:

1. New solar panel test mode (SOL) added. A user defined CV sweep mode records de solar panel characteristic I-V curve and MPP data for device diagnostic or manufacturer specifications comparison.

2. The data acquisition report button now handles both report types (battery capacity discharge test and solar panel test) according to the last test mode.

3. Correction on the non static programmable profile cycle (CYC) load mode startup.

4. Some settings were not available on the configuration dialog window.


Setup KP184 Software V1.0.81.0
Updated User Manual
Solar Panel Test Report Example
« Last Edit: November 08, 2024, 10:30:24 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #164 on: November 19, 2021, 03:12:41 pm »
New KP184 Modbus Software Version 1.0.30.0:

Changes:

1. Both types of reports (battery capacity discharge test and solar panel test) now share the same PDF generation engine and have a consistent layout. Got rid of the html conversion stuff.

2. Correction on the non static cycle (CYC) load mode. Now when the load profile programming code is empty the load does not turn on and an appropriate message is displayed.

3. On the solar panel test mode (SOL) plot graph curves the MPP point is now highlighted in red.

4. On the data acquisition save .csv or .png plot graph files a file explorer window is opened with the selected file.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:30:40 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #165 on: November 27, 2021, 09:08:27 am »
A couple of videos explaining operation with KP184 Modbus Software:





« Last Edit: November 29, 2021, 11:23:34 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #166 on: December 04, 2021, 11:52:05 pm »
New KP184 Modbus Software Version 1.0.31.0:

Changes:

1. Some python modules updated.

2. Resolved some issues with the tests PDF reports.


Setup KP184 Software V1.0.81.0

To install as Administrator:
1. Open File Explorer.
2. Navigate to the folder with the setup executable file.
3. Select the setup executable file.
4. Use the right mouse button to show the file context menu.
5. Click the Run as administrator option.
« Last Edit: November 08, 2024, 10:31:28 am by interflexo »
 

Offline dophuc

  • Contributor
  • Posts: 41
  • Country: vn
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #167 on: December 09, 2021, 03:42:58 am »
Hello everyone,

Sorry if my English is not good
I'm testing new KP184 software from Kunkin for KP184 2020.
Now you can use the DB9 to DB9 serial cable that comes with the KP184 connected via a physical Com port or some inexpensive USB - RS232 cable such as a $1 USB-RS232 serial cable using the CH340 chipset ; 2$ 6 in 1 adapter using chipset CP2102... New software and cable work well on Win 10, Win 11 (driver update)





« Last Edit: December 09, 2021, 05:30:34 pm by dophuc »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #168 on: December 09, 2021, 08:41:30 am »
With KP184 Modbus software and from the user manual page 9:

Check the CRC LSB First option if you experience difficulties establishing the
serial communication with KP184 later models (Firmware 2020 and up – can
be checked through the Kunkin screen brief flash at startup)


« Last Edit: December 09, 2021, 08:58:57 am by interflexo »
 
The following users thanked this post: dophuc

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #169 on: December 10, 2021, 11:41:48 am »
New KP184 Modbus Software Version 1.0.32.0:

Changes:

1. When having trouble to connect both CRC LSB First flag states are tested for the new Kunkin 2020 Fimware and above.

2. Resolved some issues with the modded KP182 identification on the PDF reports.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:31:50 am by interflexo »
 

Offline dophuc

  • Contributor
  • Posts: 41
  • Country: vn
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #170 on: December 15, 2021, 12:00:28 pm »
Hi,

For people to have more choices of software. I sent Kunkin's software for KP184 (2020).
I have tested with KP184 version 2020 installed on Windows 11, all working fine.
Please read the note before installing the software.
Hope everyone will be satisfied when using this software.
Link download:
https://mega.nz/file/6kdCkDyJ#UonyK7a-SpXjgB_XiowcR9-LPijSO2mTcB2TciwUW6Q
I took some pictures of my KP184


« Last Edit: December 15, 2021, 01:32:00 pm by dophuc »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #171 on: December 28, 2021, 10:35:08 am »
New KP184 Modbus Software Version 1.0.33.0:

Changes:

1. Several python modules were updated for extended compatibility.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:32:16 am by interflexo »
 
The following users thanked this post: adso85swe

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #172 on: December 30, 2021, 03:44:31 pm »
New KP184 Modbus Software Version 1.0.34.0:

Changes:

1. Application now checks for updates at startup.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:32:35 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #173 on: January 04, 2022, 11:42:23 pm »
New KP184 Modbus Software Version 1.0.35.0:

Changes:

1. Application load time was cut in half.

2. Software updates are automatically downloaded and installed upon user confirmation.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:32:50 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #174 on: February 21, 2022, 02:18:37 pm »
I wonder if some already tested this KP184E with the Modbus software.

https://www.alibaba.com/product-detail/KP184E-150V-40A-400W-LCD-Display_1600272552716.html

Same specs and a 320 x 240 TFT color screen single page UI plus Modbus + SCPI on RS232/RS485.

The add states Reverse polarity protection. I don't know if this a typo or substantial changes were made to the PCB power circuitry.
 

Offline rhandel@wowway.biz

  • Newbie
  • Posts: 1
  • Country: us
KP184E -- Was: Serial to usb on Kunkin KP184 electronic load
« Reply #175 on: March 11, 2022, 03:43:57 pm »
@interflexo,

I saw one test on YouTube, https://www.youtube.com/watch?v=xTfxUIw3fy4, that panned it.

I have the KP184C, and I am using your software to run tests on power supplies and it works well.  I got the Keyspan FTDI adapter and it worked out of the box.  Thank you for all of you efforts.  Keep up the good work.  I am planning on registering it ASAP.

RAH
 

Offline dirtcooker

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #176 on: March 18, 2022, 02:59:17 pm »
@interflexo,

Nice work. You put a lot into the documentation. have you got a version that runs on ubuntu?
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3129
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #177 on: March 18, 2022, 03:38:42 pm »
@interflexo,

Nice work. You put a lot into the documentation. have you got a version that runs on ubuntu?

If not, you can use TestController: https://www.eevblog.com/forum/testgear/program-that-can-log-from-many-multimeters/
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #178 on: June 20, 2022, 08:33:26 pm »
New KP184 Modbus Software Version 1.0.36.0:

Changes:

1. User configurable cyclic solar panel test option added.

2. Some support python modules were updated.


Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:34:23 am by interflexo »
 

Online armandine2

  • Frequent Contributor
  • **
  • Posts: 780
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #179 on: June 21, 2022, 07:05:15 am »
an interface mod to my KP182 would be a good upgrade - are there any online pointers to how to do this?
In a closed society where everybody's guilty, the only crime is getting caught - Hunter S Thompson
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #180 on: June 22, 2022, 11:30:13 am »
I just don't remember where I read about this. But it's just a matter of installing (soldering) the missing PCB U23 IC > ADUM1201 (dual-channel digital isolator) + 2 RX/TX resistors + hardwired USB/Serial compatible converter. The KP182 firmware does not need any changes. Doesn't seem complicated.

You have a lot of KP184 PCB photos available where you can take the rx/tx resistors values from.
« Last Edit: June 22, 2022, 11:36:33 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #181 on: June 27, 2022, 03:54:41 pm »
New KP184 Modbus Software Version 1.0.37.0:

Changes:

1. Cycle mode continuous operation not restarting correction.

2. Corrected PDF plot graph export missing module.


Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:34:58 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #182 on: August 02, 2022, 10:43:31 am »
New KP184 Modbus Software Version 1.0.38.0:

Changes:

1. __DUT_BRAND__ , __DUT_MODEL__ and __DUT_SN__ strings can be used on configured file names for csv data, image, PDF and report files. These substrings will be replaced during runtime with the Rep tab DUT Report Identification Details.

2. Record time is paused during paused data recording.


Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:35:36 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #183 on: September 07, 2022, 11:10:25 pm »
New KP184 Modbus Software Version 1.0.39.0:

Changes:

1. Application is now a resizable grab anywhere window.

2. The application last window size and screen position are saved.

3. The screen plot graph aspect ratio is also used on the PDF reports. Info on the Report tab helps the user to get optimized and larger plot graphs on the PDF reports.


Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:35:58 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #184 on: September 22, 2022, 11:15:49 am »
New KP184 Modbus Software Version 1.0.40.0:

Changes:

1. Plot graph x axis now shows hours, minutes or seconds units depending on test duration.

2. PDF Report button was not enabled after very long (> 8h) battery capacity discharge test completion.


Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:36:20 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #185 on: September 23, 2022, 03:39:57 pm »
New KP184 Modbus Software Version 1.0.41.0:

Changes:

1. Plot graph grid lines added for x and left y axis.

2. Capacity curve plot graph may be suppressed with right click context menu options on "Bat" tab during setup or test, voltage curve plot graph display only.

3. Ah / Wh data now has 6 decimal places. Now small current battery capacity discharge plot graphs look better.

4. Application exit confirmation dialog added.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:36:37 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #186 on: September 26, 2022, 05:56:11 am »
New KP184 Modbus Software Version 1.0.42.0:

Changes:

1. On low amperage battery capacity tests eliminated the race condition between Kunkin and software end voltage reached.

2. On battery capacity test the cable disconnect condition is handled and logged.

3. Long .csv data file creation can now be interrupted.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:36:53 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #187 on: September 29, 2022, 08:53:16 am »
New KP184 Modbus Software Version 1.0.47.0:

Hot feature: Automatic battery internal resistance vs SOC data calculation

Changes:

1. During battery capacity test the data acquisition pause button will also stop the load current. Ex: for fixing some cable issue. Hitting the pause button again will make the test resume (plot graph + load current). The open circuit voltage spike will appear on the plot graph.

2. 10 different measurements of the battery internal resistance at regular SOC intervals can optionally be acquired during the battery capacity discharge test. Two new enable/disable options were added to the right click context menu options on the "Bat" tab. The results will appear on the PDF report and on the “Log” tab. This setting is stored on the configuration defaults .ini file.

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:37:14 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #188 on: October 01, 2022, 09:18:08 pm »
New KP184 Modbus Software Version 1.0.48.0:

Changes:

1. Added user comments to the battery capacity test and solar panel test PDF reports.

2. Added a selection choice of [4, 6, 8, 10, 12] number of periodic internal resistance tests performed during the battery capacity discharge test to the “Bat” tab context menu. The selection was added to configuration .ini file.

3. Added pulse setup data to the batery capacity report when periodic internal resistance tests are performed.

4. Adjusted default and check values of solar panel test start voltage parameter. KP184 minimum load voltage is about 1V.


Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:37:35 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #189 on: October 02, 2022, 10:17:56 pm »
New KP184 Modbus Software Version 1.0.49.0:

Changes:

1. Added KP184 internal bat_end_volt parameter automatic manipulation to allow periodic internal resistance test higher current pulses than the current discharge set value on the battery capacity test. Fast pulses won’t trip a premature test end voltage condition.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:37:50 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #190 on: October 04, 2022, 06:59:19 am »
New KP184 Modbus Software Version 1.0.50.0:

Changes:

1. Added interlocks to avoid changing the “test end voltage” and the “set current” parameters during the battery capacity discharge test if the periodic internal resistance tests are enabled. If the periodic internal resistance tests are not selected these parameters can be adjusted during the battery capacity discharge test.

2. Added an image to the “Bat” tab to remember the user about the mouse right click menu feature.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:38:06 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
 

Offline fraggl

  • Newbie
  • Posts: 1
  • Country: fr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #192 on: February 15, 2023, 06:29:28 pm »
Hello, i'm new to this and i just want to connect my KP184 to my computer, i've tried with a simple RS232 to usb adaptator but it doesn't work.
I juste bought a CP2102 6pin which i didn't received yet. I that what i need ? Which pins should i connect ?
I've tried to install the "setup_kp184_10500" software on window 7 but it doesn't work, only on my windows 11 64 bit computer.
I'm sorry but i have a lot of trouble to understand what to do, i don't care about giving you 30 € but i just want it to work !

Thank you !
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #193 on: March 06, 2023, 03:23:34 pm »
Hi. You only need 3 pins TX, RX and GND. When the USB to Serial adapter does not work it has to do with the OS driver compatibility not the application.
If the adapter works well with any text terminal application it should serve your purpose.
This thread contains several adapter suggestions Digitus DA-70156 USB 2.0 to Serial (FTDI/FT232RL) from ASSMANN Electronic GmbH is one of them, just avoid the Prolific and WCH chipset cheap stuff.
I don't have feedback on the CP2102 but Silabs has a good reputation.
The application is Python 3.8 based so it should work from Vista, 7, 8, 10 to Win 11 (32 or 64 bit).
Microsoft security updates and tech support for Win 7 ended on 14 Jan 2020. Sometimes we have to move forward.
Version 1.0.51.0 is the last version for Vista. Later releases will be Python 3.11 based and will be supported from Win 8 onward.
Please email me and I can help you with your system diagnostic.
« Last Edit: March 06, 2023, 03:55:32 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #194 on: March 06, 2023, 03:27:37 pm »
New KP184 Modbus Software Version 1.0.51.0:

Changes:

1. Solved the update download failure issue on non standard “Downloads” system folder name.

2. Improved serial error handling and logging on communication protocol.

3. Added serial response timeout to the KP184 Modbus protocol

4. Added capacity discharge test termination reason to the PDF report. Reasons: LVC, user abort, eload abort, current interruption or max_time reached.

5. Some python modules were updated.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:38:40 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #195 on: March 23, 2023, 08:44:56 pm »
New KP184 Modbus Software Version 1.0.52.0:

Changes:

1. Corrected issue with solar panel test that was blocking data acquisition.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:38:55 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #196 on: March 31, 2023, 12:28:11 pm »
New KP184 Modbus Software Version 1.0.53.0:

Changes:

1. Several Python modules were updated.


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:39:12 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #197 on: April 13, 2023, 05:25:08 pm »
New KP184 Modbus Software Version 1.0.54.0:

Changes:

1. Downgraded python numpy module version to allow application startup on Windows 7 - 32 bit systems.


Setup KP184 Software V1.0.81.0

This will be probably the last Windows 7 compatible version coded with Python 3.8 and pyinstaller. Maintaining updated Python modules with Win 7 compatibility is a bit overwhelming now.

Many users have lab equipment stuck with Win 7 software and all efforts were made to maintain the compatibility with this OS until this date. Microsoft ended standard technical support and updates on Jan 2020 for Win 7.

From Python 3.9 and up Window 8 or newer is required. Let's advance with new software features and understanding that Win 7 or older won't be supported.

I thank in advance for your understanding.
« Last Edit: November 08, 2024, 10:39:39 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline rtlflat

  • Newbie
  • Posts: 4
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #198 on: May 26, 2023, 03:56:47 am »
That is unfortunate. It's the fourth unit that I know of that exhibits that same behavior.

The only parameter that could cause problems would be:

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline

The tests you made were thorough enough to me.

Nevertheless, two tests can be made:

During the connection process the software asks Kunkin KP184 for the content of the memory address 0x001 which holds the equipment model number (0x0730 = 1840), Kunkin response should be immediate, the software will wait for 5 seconds. This response is not being received, your logs should show the COM port is being closed after 5 seconds.

Loopback test (tests the PC serial adapter):

Please first debug if the 2 USB serial adapters are working properly. Check your USB to Serial Adapter operation with a loopback connection. Please shunt pins 2 and 3 on your DB9 serial port side and connect your adapter only to your PC USB port. Install some terminal software (Ex: CoolTerm) on Windows 10 (Hyperterminal is no longer part of Windows), run the program, configure to 9600,N81 no flow control, turn off echo, connect, press some test keys and check if you receive the characters back to the screen. This will prove to you that your adapter and drivers are at least working.

Once this works you should try the connection with Kunkin KP184.

Don't forget the DB9 serial cable (null modem cable) should cross pins 2 and 3 like this:

2 TXD -> 3 RXD

3 RXD -> 2 TXD

5 GND -> 5 GND

Baudrate: Start with a conservative 9600 to debug de serial connection, then you can use 115200 with a short cable for lower latency.

On Kunkin: Multi-machine online mode: Offline/Slave/Host -> Use Offline

In case anybody else is having trouble connecting using the recommended Digitus adapter plus null modem cable... Try plugging the adapter directly into the Kunkin without the cable.

I checked the pinout of the cable with meter and confirmed pins 2-3 were crossed and cable was not broken, and did loopback test described above, and everything seemed ok, I could see the activity on both RX and TX, but kunkin did not light up the LED or respond in software.

As soon as I connected adapter directly to kunkin without modem cable (adapter came with 12" usb M-F extension cable), I saw LED light up as i pressed keys in coolterm, and software was finally able to connect.

Since the cable didn't seem damaged should I assume its related to cable length (10ft) over likely ~30awg wire? Here is link for the cable I bought.
https://www.amazon.com/dp/B08T997CNS?ref=ppx_yo2ov_dt_b_product_details&th=1

Feel kinda silly since I had the adapter and the kunkin already and waited a week for the cable to arrive to try..... :palm:

Kunkin is v7 board and 2303 firmware

-JP

edit:
LOL Just noticed manufacturer name for the cable on Amazon is "‎guangzhouditedianzikejiyouxiangongsi"
Why do I feel like I'm being trolled?
« Last Edit: May 26, 2023, 04:02:54 am by rtlflat »
 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 160
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #199 on: May 26, 2023, 11:54:50 am »
Loopback works well with both straigt and crossed cables. It only checks the PC port.
Null modem cable != cable with two females on both sides.
Kunkin is stupid to use the wrong sockets.
Use a standard cable plus a gender changer instead and everything is fine.
How did you fit an serial adapter directly to the Kunkin? both are male plugs?
« Last Edit: May 26, 2023, 11:57:36 am by Pfriemler »
once you do it right, it works :-)
 

Offline rtlflat

  • Newbie
  • Posts: 4
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #200 on: May 26, 2023, 07:30:04 pm »
I happened to have a F-F adapter. Had to remove the threaded standoffs on one side to plug it in.

 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #201 on: May 27, 2023, 11:27:10 am »
Please notice that Kunkin KP184 comes with a straight through (Female - Female) serial cable.
Pin connections:
2 -> 2
3 -> 3
5 -> 5
A null modem cable with crossed connections won't work.
I must trace back this old (2021) post and correct it (Done).
User wolzlu corrected this information at the time.
« Last Edit: May 27, 2023, 11:36:46 am by interflexo »
 
The following users thanked this post: rtlflat

Offline rtlflat

  • Newbie
  • Posts: 4
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #202 on: June 06, 2023, 05:54:26 am »
Thanks for clarifying this :-+ My kunkin did not come with a cable and I only saw posts mentioning null cable.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #203 on: October 04, 2023, 08:57:52 am »
New KP184 Modbus Software Version 1.0.55.0:

Changes:

1. Solved issue with right mouse button battery test tab context menu update.

2. Added two new options to the battery test context menu: Elapsed Time and Time Stamp for the test results plot horizontal time axis and csv data export. Also on Data Acquisition Frame new context menu.

3. Several python modules were updated.


Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:40:17 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline moelski

  • Newbie
  • Posts: 4
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #204 on: October 12, 2023, 06:14:19 pm »
I got my KP184 today and of course wanted to see if it works with the control from the PC. But unfortunately, nothing.
When booting is displayed with 2303. Baud and address I have checked and adjusted. And "Onli" is in offline mode.

At the moment I use a CP210x chip with a downstream level converter. But this does not help either. The first test with a terminal program does not give any data from the device either.

Has anyone here successfully controlled a 2303 device serially (rs232)? I am really desperate. I would like to test batteries and need the appropriate evaluation on the PC - one of the reasons why I bought this sink.

I have now ordered a Digitus DA70156 USB to serial converter. This was mentioned here before. Hope so what works ...

Dominik
 

Offline moelski

  • Newbie
  • Posts: 4
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #205 on: October 13, 2023, 05:02:14 am »
Ok got it working ...  :scared:

For all who are coming next with the same problem ....
I think it will work with nearly any USB/Serial converter. At the moment I am using a Silabs CP210x Chip without any problem.
And you also don´t worry about any serial port settings in Windows. When you change the baud rate within your application, all is fine.

But it´s crucial to add a TTL to RS232 Levelshifter like the MAX232 to your connection. Otherwise it won´t work.
And keep in mind that the original serial cable is 2-2, 3-3, 5-5 regarding the wiring.
So in my case I had to cross the Tx, Rx lines in addition.

I will create a picture for that and upload it here - just for reference  :)

But for now I´m really happy that it is working.

Oh and forgot about the original software. Since the checksum bytes are rotated that software won´t work with new KP184 devices ... Sadly ...

Dominik
 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 160
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #206 on: October 13, 2023, 07:19:08 am »
I do not see any problems that aren't there with any serial connection (I am a bit experienced with that).
I just pulled an USB-RS232-Converter, plugged in (of course you have to control the settings, in every case), done. These adapters come with level shifters to meet the electrical specifications of a RS232. TTL is used only inside devices to connect any chips.
The only thing is that a standard cable (male-female) is only useable with an additional gender changer. With the cable delivered (female-female) it works out of the box.
once you do it right, it works :-)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #207 on: October 23, 2023, 10:34:35 am »
New KP184 Modbus Software Version 1.0.56.0:

Changes:

1. Solved issue with update setup installer download


Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:41:22 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline Breizh13

  • Newbie
  • Posts: 5
  • Country: fr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #208 on: October 29, 2023, 07:17:52 pm »
@Moelski,

I've just read this thread because at the moment I have a working link with the KP184 load in modbus only. 
I haven't been able to get the RS232 serial port to work, as I think many people have. I've just figured it out by reading your post and after having made a measurement on the oscilloscope. The signals are not TTL level but pure RS232 with positive and negative signals. So we need an RS232/TTL interface before going to a TTL/USB interface.
Is this correct? Can you tell us what you've done to make it work for you?

Translated with www.DeepL.com/Translator (free version)

--
Philippe
 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 160
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #209 on: October 29, 2023, 07:47:03 pm »
It depends on which device you want to control the KP184. As I said in my post, the KP184 serial port is a full functional RS232 and works with any conventional PC COM port out of the box (only a female-female socket cable or a gender changer is needet) or a common USB-to-serial stick with DSUB9 socket.

So why the f..k people try to use USB/TTL adapter at all?  :palm:
Again:
- use the right adapter like DITIGUS DA-70156, Logilink ‎AU0002F or somehing in that style (pay attention to the chip - FTDI works best)
- check if you use the right COM port :-)
- adjust interflexo's software settings to the KP184 settings (I suggest 57600 instead of 115200 baud)

Or did I miss something?
once you do it right, it works :-)
 

Offline Breizh13

  • Newbie
  • Posts: 5
  • Country: fr
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #210 on: October 29, 2023, 09:09:35 pm »
Quote
So why the f..k people try to use USB/TTL adapter at all?
Everyone does as he or she pleases! When you have a stock of USB/TTL interfaces, all you need is an RS232/TTL interface. There's work to be done, of course! But that's one way of doing things. As far as I'm concerned, I've just ordered an interface like the one you're talking about.
https://www.ebay.com/sch/i.html?_from=R40&_trksid=p4432023.m570.l1313&_nkw=272054422995&_sacat=0
Thank you for your advice. And thanks to Interflexo for the software!  ;)

 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 160
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #211 on: November 02, 2023, 10:46:26 am »
New KP184 Modbus Software Version 1.0.56.0:
I still have a problem, due to my safe Defender settings. The installer insists on creating a folder called "KP184 Modbus" in the user's documents folder (which is undesirable for me, since I keep my documents folder clean and save my data elsewhere) and putting the manual there. Windows Defender does its job and reliably prevents this, which is why an installation is not possible. I have to create myself such a folder temporarily first.
Could the programme please be extended to allow me to specify my existing data folder at this point?  even better: The settings of the program are stored anywhere, why not the data folder? This would be more convenient for updates.
The first attempt to save the manual is then also prevented, but since the installer can make a second attempt here, I can allow an exception in Defender in the meantime and then it works. However, I would prefer to have the manual in the programme folder anyway, as with many other programmes.
Besides this, a great piece of software. Time to pay...
once you do it right, it works :-)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #212 on: November 02, 2023, 07:02:15 pm »
Next week there will be a new release (1.0.58.0) of the KP184 Modbus software.

Hot features:

1. Added button to superimpose multiple .CSV test file data on the same plot graph.

These superimposed plot graphs can be used to:
    • Compare the battery cell constant current discharge test voltage curve at various C rates.
    • Compare the battery cell constant current discharge test voltage curve at various temperatures.
    • Compare various cells constant current discharge test voltage curve from the same battery to find “weak” cells.

2. Added “Plot graph” check box to the CYC mode (programmed current profile) test. When checked the data acquisition starts and stop automatically with Load ON/OFF.

3. KP184 reports an erroneous residual current at Load OFF when the set current is below 35 mA. CYC mode was adjusted to avoid this inconvenience.

4. Added TCP Server to export real-time device data to custom third party applications. Very simple TCP Client python code on the user manual to show the user how to use it.

5. I will provide options to select the default data folders at installation time. No problems on putting the user manual on program installation folder also.

Being prepared probably for release 1.0.59.0 high power test handling by allowing to parallel any number of KP184 units each one connected to it's own USB to Serial adapter.
« Last Edit: November 02, 2023, 07:05:31 pm by interflexo »
 
The following users thanked this post: Pfriemler

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #213 on: November 10, 2023, 11:57:38 am »
New KP184 Modbus Software Version 1.0.58.0:

Setup KP184 Software V1.0.81.0

User_Manual
« Last Edit: November 08, 2024, 10:42:14 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #214 on: November 12, 2023, 02:26:04 pm »
New KP184 Modbus Software Version 1.0.59.0:

Setup KP184 Software V1.0.81.0

User_Manual

Changes:

1. Compiled new bootloader.
« Last Edit: November 08, 2024, 10:42:37 am by interflexo »
 
The following users thanked this post: mankan

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #215 on: November 13, 2023, 11:15:39 am »
New KP184 Modbus Software Version 1.0.60.0:

Setup KP184 Software V1.0.81.0

Changes:

1. Battery capacity test end voltage can be set as low as 0.5V for lower currents. The ability of KP184 can get as low as 0.5V depends on the
test current, the device only guarantees a minimum of 1V load voltage on the entire current range (0 to 40A).
« Last Edit: November 08, 2024, 10:42:52 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #216 on: December 12, 2023, 10:30:34 pm »
New KP184 Modbus Software Version 1.0.62.0:

Setup KP184 Software V1.0.81.0

Changes:

1. Timer for Load ON/OFF was turning the Load ON or OFF but was not starting or stopping the data acquisition on BAT/SOL/CYC test setups. Now a standard UI toggle Load ON/OFF is emulated.

2. Corrected an issue that could display an erroneous set test current on the battery capacity discharge test report.
« Last Edit: November 08, 2024, 10:43:13 am by interflexo »
 
The following users thanked this post: Eltax1693, tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #217 on: February 08, 2024, 05:08:58 pm »
New KP184 Modbus Software Version 1.0.63.0:

Setup KP184 Software V1.0.81.0

User_Manual

Changes:

1. New option on Battery capacity discharge test right mouse button context menu to enable the use of a programmed periodic current profile defined on the Cycle tab instead of a simple constant current or constant power load types.

2. “Cycle” and “IntRes” tabs are now accessible on Battery test mode when “Cycle current profile” or “Periodic Internal Resistance Test” options are enabled.



Programmed current profile:

// <- This indicates the line is a comment
// Current Step format: Amps Seconds
// Current Ramp format: Amps1 Amps2 Seconds
// 0 Amps for OFF period. All floats
40 10
30 10
20 10
10 10
0 10


Click to view the pdf document:

« Last Edit: November 08, 2024, 10:43:39 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #218 on: February 14, 2024, 07:13:13 pm »
New KP184 Modbus Software Version 1.0.64.0:

Setup KP184 Software V1.0.81.0

User_Manual

Changes:

1. New multiple battery internal resistance tests PDF report included. The PDF report handles multiple pages and provides column headings at the beginning of each page.

2. New multiple battery internal resistance test list editor window for removing unwanted tests, clear the test list, change the order of the tests inside the list and edit the DUT information (Brand, Model and SN#) of each test.





Click to view the pdf document:



Click to view the pdf document:

« Last Edit: November 08, 2024, 10:44:07 am by interflexo »
 
The following users thanked this post: Eltax1693, tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #219 on: February 16, 2024, 07:03:32 pm »
New KP184 Modbus Software Version 1.0.65.0:

Setup KP184 Software V1.0.81.0

Changes:

1. New automatic baudrate detection scan on serial connection. If a serial connection fails the following baudrates are automatically scanned: 2400, 4800, 9600, 19200, 38400, 57600, 115200. Each baudrate value is tried with both “CRC LSB First” flag states. Serial connection details information log was improved and new popup messages were added for serial connection and disconnection.
« Last Edit: November 08, 2024, 10:44:50 am by interflexo »
 

Offline hubertusmantel

  • Newbie
  • Posts: 1
  • Country: at
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #220 on: February 17, 2024, 07:56:06 pm »
Hello interflexo,
since today installed the new software V1.0.64.0 and continuously the new V1.0.65.0 i have many crashes via serial connections /Modbus TCB.
With the old V1.0.62.0 it was possible to test an Battery Pack 52V/60Ah with 16-20 Hours and Baud Rate 115200.
Unfortunately ist the Crash from the Software now in 2-3 hour and Baud Rate 57600. My PC is an Win10 System.
Before installing the new, the software was running through the hole night.

Thanks
hubertusmantel
 
The following users thanked this post: interflexo

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #221 on: February 18, 2024, 06:26:58 pm »
Thanks for the valuable information. I will check out this issue thoroughly.

For users who need to roll back to version 1.0.62.0 here is the download link:

Setup KP184 Software V1.0.81.0
« Last Edit: November 08, 2024, 10:45:10 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #222 on: February 20, 2024, 10:19:13 am »
Hi hubertusmantel,
Made several 10 hour battery capacity discharge tests with version 1.0.65.0 and I could not replicate the problem. The system was always rock solid.
Your post refers Modbus TCB. Do you mean you have the TCP Server active?
Can you elaborate on the crashes? Any messages? Application forced exit? Lost only serial connection? What USB to Serial Adapter are you using?
« Last Edit: February 23, 2024, 07:44:45 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #223 on: March 07, 2024, 03:40:46 pm »
New KP184 Modbus Software Version 1.0.66.0:

Setup KP184 Software V1.0.81.0

User_Manual

Changes:

1. During the battery capacity discharge test with periodic internal resistance tests enabled, the last test (near test end voltage) sometimes races against Kunkin KP184 internal test end voltage.

2. Corrected hang on application exit during automatic baudrate detection scan on serial connection.

3. Plot graph horizontal time scale is automatically adjusted to hours, minutes or seconds on the combined multiple .CSV test file data plot option.

4. New options were added to the battery capacity discharge test and data acquisition right mouse button context menus to select from four different line styles for the independent red and blue plot graph curves.



« Last Edit: November 08, 2024, 10:45:34 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline adso85swe

  • Contributor
  • Posts: 17
  • Country: se
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #224 on: March 09, 2024, 07:34:35 am »
New KP184 Modbus Software Version 1.0.66.0:

Is the software compatible with Windows 11? I am unsure whether or not I should upgrade my computer from 10 🤔
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #225 on: March 11, 2024, 10:03:55 am »
Yes. The KP184 Modbus Software is compatible with Windows 11.

Please check the drivers of your USB to Serial Adapter for any issues regarding Windows 11.
« Last Edit: March 11, 2024, 10:16:11 am by interflexo »
 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #226 on: April 21, 2024, 06:56:39 pm »
Thank you to the forum admins for maintaining this excellent resource.

I bought Interflexo’s software and find it useful, but have a bit of an issue that I was wondering if anyone else has. I tried asking Interflexo/Manuel, but haven’t heard back yet.

We use the KP184 along with the PC software to perform discharge tests on deep cycle lead-acid batteries. It works well except that during the test, the voltage will occasionally dip severely for a very brief moment and then continue normally. The test bench is not being disturbed when this happens. I’ve tried wiggling the wires between the unit and battery during the test to see if there is a bad connection, but the voltage doesn’t change at all when I do that. It happens randomly during tests whether using remote or local sense. The dip in voltage will eventually cause the test to end early as it dips below the test end voltage, so I have to keep restarting it.


Thanks for any input.  :)

EDIT: Here are the test reports showing the voltage dips:

https://i.postimg.cc/JtC8kjR3/kp184-Report1.png

https://i.postimg.cc/6qvwqMx5/kp184-Report5.png
« Last Edit: April 21, 2024, 10:20:17 pm by rallyhard »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #227 on: April 25, 2024, 04:59:48 pm »
Hi,
No other customer complains about this. It must be hardware specific.
Does this happen with only one specific lead-acid battery or with other ones as well?
Does this happen with a Li-ion battery / LFP battery  / DC Power supply discharge tests as well? Please do some similar basic tests with your system to rule out the device being tested.
What USB to Serial adapter are you using?

Sometimes lead-acid battery internal serial busbar connections get corroded, break and show a similar behaviour.

On one of your test reports the reason for the end test was Kunkin KP184 shut the load OFF (not the software).
On these long tests the Windows system power settings should be configured to not interfere with the on going test.
Can you use an oscilloscope and do a trigger test with a low voltage (Ex: 11V) to make sure the quick voltage dips are not real?
« Last Edit: April 26, 2024, 03:04:44 am by interflexo »
 

Offline korjaa

  • Newbie
  • Posts: 5
  • Country: fi
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #228 on: April 26, 2024, 05:52:19 pm »
Hello,


I recently bought one of these KP184s and I've been using it to test Ryobi drill batteries. I have also noticed that occasionally I get spikes, usually downwards, but there have been few upwards also.

Example of downward spike (0A...10A toggling, 15 period):
2144782-0

Example of upward spike (0A...15A toggling, 15s period:
2144788-1

0A...5A toggling causes periodic spikes?
2144794-2


The message checksum is checked, so the data should be OK. I know the checksum is calculated as I spent a while debugging it. The source is available in https://github.com/korjaa/kunkin-kp184, in case anyone is interested. I have not inspected the waveform with a scope to verify if the spike is real.

Quote
Does this happen with a Li-ion battery / LFP battery  / DC Power supply discharge tests as well?
Mine are Li-ion batteries, 5s2p

Quote
Does this happen with only one specific lead-acid battery or with other ones as well?
Multiple batteries for me.

Update:
Tried scoping the waveform, wasn't able to catch the spike during test. I did however noticed that if the load is small 100mA/10mA/0A, there is actual ~2V..3V dip in the voltage occasionally, maybe every 30s. The spike period matches with my earlier 0A...5A toggling test.
2145031-3

It does not happen if I disconnect the battery from KP184. The downward slope of the spike is related to the current.

Below are some spike lengths measured with different load values:
Output OFF -- 200ms (happens even with the output off)
8mA -- 1ms...6ms
30mA -- 200us...300us
100mA -- 60us...80us
500mA -- 40us...60us
700mA -- 40us
1A -- couldn't get it to trigger in few minutes.

« Last Edit: April 26, 2024, 07:39:04 pm by korjaa »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #229 on: May 09, 2024, 09:19:56 am »
From the information above the problem does not seem to be related to the data acquisition software as it happens with different software developments around the same Modbus protocol.

The Kunkin serial interface even at 115200 is slow you won't get more than 5 complete data sets every second.
Even the 250us voltage dips should not make much difference on a 200ms data acquisition period.

I think I will add to the KP184 Modbus Software a user configurable minimum amount of time for the acquired voltage to be below the battery test end voltage, trigger the test end condition and call it a day.

I also think this must be somewhat hardware related (KP184 Hw version) because I have hundreds of very long battery discharge data acquisition tests and never seen this happen even once.

Please pay attention to the KP184 4 mm binding posts odd internal diameter that can cause sketchy electric connections. I always use fork crimped cable connections screwed on the back of the binding posts to avoid nuisances.
« Last Edit: May 09, 2024, 09:47:37 am by interflexo »
 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #230 on: May 16, 2024, 06:47:59 am »
Hi, thank you for the reply.

This happens on every battery we test, which has been about 10 different deep cycle lead-acid batteries. I just tried testing a couple Ryobi 18v Lithium-Ion power tool batteries (as korjaa did after your reply), and also got voltage dips. Interestingly, the dips when testing these batteries (I tried 2) were at regular intervals; about once a minute.

We are using this USB to serial adapter:
https://www.amazon.com/gp/aw/d/B076WNJLLV/ref=ya_aw_od_pi?ie=UTF8&psc=1

Yes, on one of the previous screenshots I shut the test off manually instead of letting it complete.

Unfortunately, I don’t have an oscilloscope to check with.

We are using ring terminals to connect the test leads, not banana plugs.

I’m considering buying a second KP184 to speed up the testing procedure when we have multiple batteries to test at once, and am heartened to hear that this isn’t a common issue with the unit.

It would be great if you could implement an option in the software to have a setting for a minimum amount of time below the test end voltage. That may provide a workaround for our issue and allow us to continue using this unit. It is out of warranty and I don’t know how else to approach the problem.
« Last Edit: May 16, 2024, 05:07:58 pm by rallyhard »
 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #231 on: May 16, 2024, 06:53:01 am »
Voltage dips on 18v Li-Ion battery test

https://i.postimg.cc/MHT9N0qv/IMG-9844.jpg
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #232 on: May 17, 2024, 10:02:15 am »
...
It would be great if you could implement an option in the software to have a setting for a minimum amount of time below the test end voltage. That may provide a workaround for our issue and allow us to continue using this unit. It is out of warranty and I don’t know how else to approach the problem.
I will do it ASAP.
Do you have a suggestion for this default minimum amount of time as per your observations?

From your last plot and counting the voltage dips: Did you make sure you are not requesting the periodic internal resistance test during the battery capacity discharge test? You can use the right mouse button on the Batt Tab mouse icon the access the context menu and check for it (user manual page 28). If you were it would look much like that...
Unrelated: Any particular reason for not be using the latest 1.0.66.0 version?
« Last Edit: May 17, 2024, 10:17:38 am by interflexo »
 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #233 on: May 17, 2024, 08:47:22 pm »
Checking the CSV files of tests for the voltage dips, it appears to only dip for one sample. So, it looks like a one second minimum would suffice in my case, or maybe even a 2-sample minimum.

The internal resistance test is turned off.

There’s no reason I’m on an older version; just haven’t gotten around to updating.

I noticed while checking the CSV files that the Li-Ion battery test dips on exactly 1 minute intervals, to the second. I wonder if this could have to do with the battery’s internal BMS. I followed up with another test of a lead-acid car battery and it didn’t dip until 10.5 minutes.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #234 on: May 20, 2024, 04:27:10 pm »
New KP184 Modbus Software Version 1.0.67.0:

Setup KP184 Software V1.0.81.0

User_Manual

Changes:

1. New options on battery capacity discharge test tab right mouse button context menu for an optional low voltage cut-off 1,5s detection delay. This avoids battery capacity test premature ending on quick voltage dips.


« Last Edit: November 08, 2024, 10:47:51 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #235 on: May 22, 2024, 08:24:26 am »
New KP184 Modbus Software Version 1.0.68.0:

Setup KP184 Software V1.0.81.0

User_Manual

Changes:

1. Some events handling were blocked during right mouse button context menu display. Corrected.

2. CVL (Constant voltage current limited) test mode manual startup load ON event triggers now the automatic data acquisition.
« Last Edit: November 08, 2024, 10:48:17 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #236 on: May 28, 2024, 03:16:46 pm »
New KP184 Modbus Software Version 1.0.69.0:

Setup KP184 Software V1.0.81.0

User_Manual

Changes:

1. New software CWL mode with current limiting capability. Operates Kunkin in CC (constant current) mode and a PID configurable control loop holds the configured CW (constant power) setting by permanently adjusting the CC load.

2. Several Python support modules were updated.
« Last Edit: November 08, 2024, 10:48:41 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #237 on: June 04, 2024, 02:04:32 pm »
The new low-voltage cutoff delay seems to be working to keep the test running through the dips! Thank you so much for adding this functionality.

If I buy a second KP184 and serial-to-USB adapter, will the software recognize the additional unit? Will I need to run a second instance of the program, or how does that work?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #238 on: June 04, 2024, 06:13:11 pm »
Hi. Thanks for the feedback.
The KP184 has no programmatically accessible internal serial ID.
The software is tied to the PC hardware. When required I supply new reg keys.
You can run unlimited instances of the same software application on the PC. Each software instance selects a different USB to Serial Adapter.
I will have a new version to run multiple paralleled KP184s on the same PC software for high power applications as if you have just one really powerful unit.
« Last Edit: June 06, 2024, 07:54:20 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #239 on: July 03, 2024, 07:02:24 pm »
New KP184 Modbus Software Version 1.0.71.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. Added user selected value annotations on the test plot graphs.

2. Corrected an issue related to the current timezone access.

3. Added a new 64-bit version. 32-bit/64-bit versions need Win 7 and up.

The 32-bit and 64-bit versions have different installers and uninstallers. Both versions share however the data folders and .ini defaults file.


User selected value annotations on the plot graph

The user can use the left mouse click on the plot graph area during the test and after the test completion to select a point. This point will define an x value to get the y curve values and the final position to the arrow of text annotation.

Left mouse click deletes the last annotation and creates a new one on the selected point. Useful to iterate the best position for an annotation.

Shift + Left mouse click adds a new annotation on the selected point inside the plot graph area. Does not need to be selected on top of the curves. There is no limit for the number of annotation that can be created this way.

Backspace + Left mouse click anywhere inside the plot graph area deletes the last annotation created. Works like an undo. Any number of annotations can be deleted sequentially this way. The user can’t select a random annotation to delete.

Right mouse click anywhere inside the plot graph area deletes all the annotations created in a single operation.

The annotations are automatically deleted when a new plot graph is started at the beginning of a test.

When the plot graph x scale changes from seconds to minutes (at the 3-minute mark) and from minutes to hours (at the 2-hour mark) during a test the annotations are erased. New ones can be created after the event.

The annotations will become integral of the plot graph and will be displayed on the PDF, images, and test reports plot graph.

« Last Edit: November 08, 2024, 10:50:06 am by interflexo »
 
The following users thanked this post: tonyalbus

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #240 on: July 15, 2024, 08:38:03 am »
New KP184 Modbus Software Version 1.0.72.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. V1.0.71.0 32-bit failled to run on some Win 7-10 32-bit systems. Fixed.
« Last Edit: November 08, 2024, 10:50:42 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #241 on: August 05, 2024, 05:08:31 pm »
New KP184 Modbus Software Version 1.0.73.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. Application popup windows were showing up on the wrong monitor on multiple monitor configurations. Center of the application window is now used for the popup windows location.

2. On the battery capacity discharge test PDF report when using constant power load mode the units on the “Load Set:” and “Discharge Current/Power:” fields were wrong.
« Last Edit: November 08, 2024, 10:51:16 am by interflexo »
 

Offline SES

  • Newbie
  • Posts: 2
  • Country: us
    • Saltwater Energy Solutions
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #242 on: September 09, 2024, 07:50:38 pm »
I recently purchases a KP184 it came with a firmware of 2307. i have tried the interflex software as well as a few other options such as screen and minicom. I performed a loopback test on the 232 cable and the tx and rx were working properly. The 232 cable has an FTDI chipset as well. I have triple checked all the settings such as baud rate, address, etc. in the kp184 itself as well as the settings of each program. i made sure i have the proper drivers for the rs232 cable as well. however despite these efforts i still cant get any reply from the kp184. I'm hoping i am making a simple user error. Any chance you guys see a potential issue or mistake i may have overlooked or made?

Thank you for your time in advance
-SES
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #243 on: September 10, 2024, 06:05:39 pm »
Please check if you are using the required straight through DB9 (F-F) RS232 cable (Pin connections: 2-2 3-3 5-5) if your USB to serial adapter has a DB9 Male connector.
 


Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #245 on: September 11, 2024, 08:37:17 am »
That explains it.
Kunkin KP184 DB9 RS232 COM Port Pinout (from the bodged KP184 user manual):
Pin 2: TXD -> Connect to RXD from serial adapter
Pin 3: RXD -> Connect to TXD from serial adapter
Pin 5: GND -> Connect to GND from serial adapter

Use a cable adapter DB9-F to DB9-M with crossed 2 and 3 pins.
« Last Edit: September 12, 2024, 07:24:08 am by interflexo »
 

Offline isabido

  • Contributor
  • Posts: 23
  • Country: es
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #246 on: September 27, 2024, 10:43:37 pm »
Hi @interflexo, After reading this review, I noticed one of the comments that says...

Quote

Hello,
Your reviews of this unit prompted me to purchase one and I’m quite happy with it.
One comment on the load is that due to the voltage overhead it is unable to operate below about 3.75V making the unit unsuitable to say test a single Li-Ion cell for capacity as the pre-set current consumption appears to drop at about 3.75V and totally stops consuming current at 3.65V.
Otherwise this unit functions well specially with the remote software.
I thank you again for the review and teardown.

https://www.voltlog.com/best-affordable-electronic-load-kunkin-kp184-teardown-voltlog-300/

This really happens, in your tests I have seen that you do analysis of lithium ion cells without problem, but I was worried when I saw this comment.

Thanks!

 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #247 on: September 29, 2024, 02:33:51 am »
I’ve been having more success testing deep-cycle lead-acid batteries since the software update that allows the test to continue through the voltage dips. I’ve since noticed that I do have the occasional voltage SPIKES that others have mentioned, which are also stopping the tests. The spike will go up to 16 or 17v and then the test will stop almost immediately. I’m not sure why the test stops, as I’m not aware of a high voltage cutoff.

My decent success with the system has encouraged me to go ahead and buy another KP184 unit and see if the voltage dips and spikes go away with the new unit. Plus, the price on Amazon has dropped to $189, so that’s nice. I’ll report back after I’ve put the new one through some testing cycles.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #248 on: September 30, 2024, 10:37:47 pm »
Hi @interflexo, After reading this review, I noticed one of the comments that says...

Quote

Hello,
Your reviews of this unit prompted me to purchase one and I’m quite happy with it.
One comment on the load is that due to the voltage overhead it is unable to operate below about 3.75V making the unit unsuitable to say test a single Li-Ion cell for capacity as the pre-set current consumption appears to drop at about 3.75V and totally stops consuming current at 3.65V.
Otherwise this unit functions well specially with the remote software.
I thank you again for the review and teardown.



https://www.voltlog.com/best-affordable-electronic-load-kunkin-kp184-teardown-voltlog-300/

This really happens, in your tests I have seen that you do analysis of lithium ion cells without problem, but I was worried when I saw this comment.

Thanks!
Probably the user set the parameter "Threshold voltage for load OFF" to 3.65V.
You can change the set value on "A" and you can check the parameter value on "B".
The KP184 does an internal hardware current throttling so the load voltage never gets below this voltage setting.
When testing a battery capacity most of the time you don't want this parameter to mess up your test. Set it to 0.8V or 1.0V to get it out of the way.
Set the battery capacity test end voltage on the "Batt" tab.
The KP184 specs say the unit will work with loads as low as 1.0V but with lower currents it can go slightly lower than that.
 
The following users thanked this post: edavid, isabido

Offline isabido

  • Contributor
  • Posts: 23
  • Country: es
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #249 on: October 01, 2024, 07:52:00 am »
I don't have the KP184 yet, I'm just trying to figure out which DC load to buy that suits my needs. I was looking at the KEL103 from KORAD which seems to be of higher quality, but of course the price is also higher.

I understand that adjusting the V value to 0.8 or 1V is not dangerous and that the "Batt" tab. value set to 2.5v will prevail over this other one to avoid a deep discharge and not damage the cell.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #250 on: October 01, 2024, 11:50:55 am »
New KP184 Modbus Software Version 1.0.74.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. Changes on User Abort detection code for test end reason.

2. Correction on battery capacity discharge test using a user defined variable current profile plot graph y-axis (profile current) was not showing the reference values.
« Last Edit: November 08, 2024, 10:52:09 am by interflexo »
 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #251 on: October 01, 2024, 06:14:06 pm »
Unfortunately, the new KP184 shows the same behavior of occasional voltage dips during a battery test as the last one, as shown in the linked image here:

https://i.postimg.cc/yNmLg3m1/IMG-0574.jpg

Also, the new unit shows a continuous voltage fluctuation of .008v, as you can see here:

https://i.postimg.cc/59RStSh5/IMG-0570.jpg

I’ll be returning this unit in exchange for another, and will report back after testing it.

 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #252 on: October 02, 2024, 07:58:51 am »
Can we see a picture of your KP184/battery cable setup for this test?

I already tested 5 different KP184 units and never found this issue. This is intriguing me to the bone...
« Last Edit: October 02, 2024, 08:01:38 am by interflexo »
 


Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #254 on: October 03, 2024, 01:30:18 pm »
The voltage dips and ocasional spikes may come from:

1. The cables and terminals (most probable)
2. The battery (probable)
3. The test device - KP184 (least probable)

For power cables I would recommend soldered ring terminals on both sides. Your cable cross section and ring terminals on Kunkin side are perfect, the oversized alligators on the battery terminals not so much. The alligators provide a poor edge like contact with the oxidated tapered lead battery terminals for this application. You have nice screwed binding post terminals on both battery terminals and they are begging for a nice bolted connection. Your voltage sense is OK. With this change you can rule out the cable and terminals.

You can do an overnight discharge test with a good power supply and nice cables. This way you can rule out KP184 for good.

The battery: For those who don't know the interior of a flooded lead acid battery is one hellish environment.
Grid corrosion is unavoidable because the electrodes in a lead acid environment are always reactive. Lead shedding is a natural phenomenon that can only be slowed and not eliminated.
The lead within a battery is mechanically active. On discharge, the lead sulfate causes the plates to expand, a movement that reverses during charge when the plates contract again.

Source:
https://batteryuniversity.com/article/bu-804a-corrosion-shedding-and-internal-short

On deep discharge of worn starter batteries the plates deformation may cause lead drops from plates and bars that may result on shorts between electrodes.

This battery in particular: Interstate 24DC Marine / RV is not described by the manufacturer as a deep cycle battery and has cold crancking amps on the specs. Warranty: 3 years in automotive applications, 1 year on deep cycle or marine applications.

The internal construction of a starter flooded lead acid battery is very different from a flooded lead acid deep cycle one (Ex: Trojan). The first has closer thinner spongy plates to maximize the surface area (more crank amps). The second has more separated thicker heavy plates for longer life, that's why they are much more expensive. When comparing batteries with similar specs the heavier (more lead)  is generally the better construction for durability.

The voltage spikes on this setup can only be created as a result of an inductive kickback caused by a large current being interrupted. The cables and battery have enough inductance for this to happen. A transient short inside a battery element or cable dodgy connection may be the probable causes.

From the test plot graph the voltage dips should be more frequent than the curve shows. The data acquisition period is 250ms so there are only 4 snapshots a second. Most of the voltage dips should escape between the acquired data. Any of them may trip the KP184 hardwire LVC test end condition.

On the software side: Increasing the 1.5s delay on the LVC detection won't cut it because KP184 will terminate the test by hardware. On the other side I thought I could optionally automatically (by software) maintain the "Threshold load voltage" parameter 1V below the current battery voltage and if a dip occurs KP184 would throttle the current by hardware to limit the dip to a minimum and avoid a frustating abnormal long discharge test end. I will look into it.
« Last Edit: October 03, 2024, 03:49:18 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #255 on: October 04, 2024, 06:29:19 am »
New KP184 Modbus Software Version 1.0.75.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1.Improved RS232 and USB disconnection detection, handling and related events logging.

2. Improved electronic load OFF detection during battery capacity discharge test. This event was sometimes being incorrectly detected right after the test start without giving time to the electronic load to turn ON and report.
« Last Edit: November 08, 2024, 10:52:49 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #256 on: October 07, 2024, 07:58:55 am »
New KP184 Modbus Software Version 1.0.76.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. Implemented 1s timouts, recovery handling and logging when waiting for Modbus messages responses from KP184. The connection is closed when 5 consecutive timouts never get a valid response. One can disconnect the RS232 connector for some brief seconds watch the warnings on the Log Tab and connect again without aborting the data acquisition process. Disconnecting the USB side of the serial adapter causes the OS to erase the virtual COM Port, an error is thrown and the process is aborted.

2. Numeric fields with the right arrow button to send the parameter to KP184 now accept a Return key that has the same effect as pressing the send parameter button to speed up data entry.
« Last Edit: November 08, 2024, 10:53:27 am by interflexo »
 

Offline horvat.kamca

  • Contributor
  • Posts: 17
  • Country: cz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #257 on: October 07, 2024, 03:46:49 pm »
I've started playing with KP184 Modbus Software  today and not everything seems to work correctly.

I'm getting app crash when load is turned on and turn on BAT mode on KP184.

After first connect, app was showing slew rates 400A/ms and yet it allowed me to set them only up to 200A/ms. Maybe the 200A/ms limit is appropriate for KP182, for KP184 it should be increased to 400A/ms to correspond with device capabilities.
« Last Edit: October 07, 2024, 04:02:28 pm by horvat.kamca »
 
The following users thanked this post: interflexo

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #258 on: October 07, 2024, 10:58:47 pm »
New KP184 Modbus Software Version 1.0.77.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. Slew Up and Down rates limits increased from 200A/ms to 400A/ms. Kunkin firmware only allows settings up to 399.9A/ms from Modbus, on the device operating panel it can go up to 400A/ms, odd. Older KP184 units from 2019 if I am not mistaken came with a maximum slew rate of 200A/ms.

2. IntR, Solar, and Rep Tabs data entry fields now accept a Return key that moves the cursor to the next entry field.

Thanks for the valuable input and tests horvat.kamca it means a lot to me. However I could not reproduce the error when turning on the Battery Mode while the Load is ON. I got the correct message below when pressing the indicated icon. Can you give me more details on how to reproduce the fault? I really would like to correct it.
« Last Edit: November 08, 2024, 10:54:13 am by interflexo »
 

Offline horvat.kamca

  • Contributor
  • Posts: 17
  • Country: cz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #259 on: October 08, 2024, 07:43:54 am »
interflexo> If fw allows setting values only up to 399A/ms, then I think it'd be more appropriate to have the same limit in KP184 Modbus Software as well. With the latest version, Load Settings allow entering value 400 A/ms and then this value is kind of ignored, no error shown. Anyway, it's just minor cosmetic issue. No need to fix it right away.

As far as the crash is concerned, in order to reproduce it, you need to start Data Acquisition as well. I guess it's probably one of those situations, which might be attributed to users fault. If battery mode is turned on from UI(while load togged), then I'm getting correct message "Load must be OFF ...". If you still want to look into it, exact steps to reproduce it are
1. start KP184 Modbus Software , connect to device
2. turn off batt mode, if it's turned on
3. toggle Load ON
4. Start collecting data
5. and finally turn on BAT mode not from app ui, but directly on KP184

App correctly detect switch to BAT mode by enabling BAT tab and then crashes.
« Last Edit: October 08, 2024, 07:52:43 am by horvat.kamca »
 
The following users thanked this post: interflexo

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #260 on: October 08, 2024, 06:28:40 pm »
New KP184 Modbus Software Version 1.0.78.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. Slew Up and Down rates limits were set to 399.9A/ms that is the firmware limit with Modbus, device panel operation allows 400A/ms.

2. The software is thought for remote operation only. However the handling of entering or exiting battery test mode from the device panel operation during various software states was required to avoid havoc with software operation.

3. During battery capacity test if the KP184 operating panel exits the battery test mode (KP184 also turns the load OFF) the test is cancelled and a log message is created.

4. During normal data acquisition if the KP184 operating panel enters the battery test mode (KP184 also turns the load OFF) the data acquisition session is cancelled and a log message is created.

5. If the software is on the several software test modes (Bat IRes, CYC, CVL, CWL and Solar), the KP184 operating panel entering the battery test mode is blocked. KP184 also turns the load OFF.

6. If the software test modes are operating with the load there is no way to avoid the panel induced load OFF and unpredictable results may occur.

7. Also fiddling with KP184 operating panel load ON/OFF commands during automatic software test modes operation can also cause unpredictable results.

Thanks again for the valuable input, help and tests horvat.kamca
« Last Edit: November 08, 2024, 10:55:25 am by interflexo »
 

Offline horvat.kamca

  • Contributor
  • Posts: 17
  • Country: cz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #261 on: October 09, 2024, 10:47:34 am »
interflexo>Can I ask why the "KP184 Modbus Software app" is turning the load off when there is 0A current configured in current profile tab? That's a bit weird and confusing. Setting load current to zero and keeping load ON would be more appropriate.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #262 on: October 09, 2024, 01:42:19 pm »
On GENeral mode you can turn the load ON with 0A dial manually any number of current values (including 0A) you want with data acquisition turned on or not.

On BATtery capacity test mode there is a feature that detects when the current is zero and stops the test preserving the already received test data. This was intended to check for a line break on the test power cables (I can turn it optional without too much trouble, I think...).

When you want to test the battery with a cyclic load pattern with steps (you may use 0A here) and ramps as complex as you want and repeat the current patern throughout the test. Use "Cycle current profile" on Batt Tab context menu and define the current profile on the Cycle Tab. On test modes you just turn the load ON to start the test and the data acquisition start and stop is fully automatic with nouances like waiting for the current to reach zero and show the voltage rise.

The user manual has some simple examples fully documented regarding operation details.

Please explain me your objectives in detail so I can help you.
« Last Edit: October 09, 2024, 08:39:27 pm by interflexo »
 

Offline horvat.kamca

  • Contributor
  • Posts: 17
  • Country: cz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #263 on: October 11, 2024, 07:08:31 am »
It's just minor UI issue. With "cyclic load pattern ", if you look at the screen after a while, then it's not really clear if the test is already finished or if it's currently executing pattern with 0A load. On top of that, if you click "Load ON/OFF" button while 0A load is running, it doesn't stop the test, but it restarts it, which is kind of unexpected. Therefore it seems to me it'd be better to keep green light toggled ON during whole "cyclic load pattern" test procedure.
« Last Edit: October 24, 2024, 11:27:13 am by horvat.kamca »
 
The following users thanked this post: interflexo

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #264 on: October 11, 2024, 11:11:05 am »
Yes, you are completely right.
Function: The Load ON/FF icon is used to set the KP184 load state manually On or Off. It is also used to start and stop the special software tests.
Indicator: The Load ON/OFF icon state (iluminated or not) shows the KP184 load state On or Off. Not if the software test is started or not, I will create another icon indicator for this purpose. Also the data recording state deserves an icon on the black LCD area by now.
I have plans to create a new and more modern user interface (UI) using PySide and animated expandable sidebars. This issue will definitely be addressed there.
When the special software test does not start with a load ON command the user confusing mismatch you pointed out shows itself.
If you use the "Plot Graph" option at least you will see the graph trend moving during the test. I also noticed that during the load off period you can't stop the Cyclic Test, it will set the load ON instead.
As a quick fix I can set the load ON with 0A instead of a load OFF command, this will solve both problems.
« Last Edit: October 12, 2024, 07:35:42 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #265 on: October 14, 2024, 05:51:29 pm »
New KP184 Modbus Software Version 1.0.79.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. Registration info was transferred to a child dialog box inside the main configuration dialog box.

2. The application startup check for a new version procedure frequency is now configurable to “On every application startup”, “Once a day”, “Once a week”, “Once a month” or “Manually by user”. Accessible from a child dialog box inside the main configuration dialog box

3. Now the data acquisition recording state has a status display icon on the black LCD area.

4. The cyclic variable current profile test now maintains the load “on” state even when the load current is configured to zero amps.

5. Several Python support modules were updated.
« Last Edit: November 08, 2024, 10:58:32 am by interflexo »
 
The following users thanked this post: Eltax1693, horvat.kamca

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #266 on: October 16, 2024, 05:48:16 pm »
New KP184 Modbus Software Version 1.0.80.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. A KP184 internal firmware issue periodically (each 7.53h) resets the Wh energy value during very long battery discharge tests. This was corrected on the .csv file output by the Modbus software on version
1.0.27.0 (28 Oct 2021) but not on the test final PDF report. The screen info and report now always show the correct calculated value by the software and not the internal Kunkin Wh value.

2. A tweak was made to try to plot the values before the load on event more often.
« Last Edit: November 08, 2024, 10:59:45 am by interflexo »
 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #267 on: October 19, 2024, 06:32:25 pm »
After switching the alligator clamps to ring terminals, the voltage dips and occasional spikes during battery testing are still happening.

I connected 2 KP184s to the same battery and ran testing concurrently. I ran 2 instances of the software and they successfully controlled the 2 units at the same time.

Something that occasionally happens while running 2 at a time is that one of the tests will stop updating and just continue to show the same thing for the rest of the test. If I click the USB icon to disconnect and then reconnect, it will update the program to match what is showing on the KP184’s screen, but I don’t get to see the graph of the voltage over time.

With 2 units connected to the same battery, the voltage dips and spikes didn’t show up at the same times.

I’m going to test a new 230Ah LiFePO4 battery next to see if the test shows the same dips and spikes.

The second new unit has the same continuous .006v fluctuation as the first, whereas the one I bought last year has almost no fluctuation. It guess it wouldn’t affect the test results, but it’s annoying and makes a fuzzy graph line. Does anyone else have a KP184 unit with this issue?
 

Offline rallyhard

  • Contributor
  • Posts: 10
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #268 on: October 19, 2024, 07:01:40 pm »
Here’s a pic of the software still showing a 2a load after the test was complete.

https://ibb.co/VC6Z4HM
 

Offline aix

  • Regular Contributor
  • *
  • Posts: 170
  • Country: gb
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #269 on: October 20, 2024, 10:10:06 am »
New KP184 Modbus Software Version 1.0.80.0:

I'm thinking for buying the software.  I notice that there's a registration ID - what happens if I need to change the OS or move the software to a different computer?  Will the same key work or will I need to buy a new one?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #270 on: October 21, 2024, 02:48:29 am »
I'm thinking for buying the software.  I notice that there's a registration ID - what happens if I need to change the OS or move the software to a different computer?  Will the same key work or will I need to buy a new one?
In those cases just ask for a new key it will be promptly emailed to you without charges.
« Last Edit: October 21, 2024, 08:53:08 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #271 on: October 21, 2024, 01:54:17 pm »
The second new unit has the same continuous .006v fluctuation as the first, whereas the one I bought last year has almost no fluctuation. It guess it wouldn’t affect the test results, but it’s annoying and makes a fuzzy graph line. Does anyone else have a KP184 unit with this issue?
The KP184 unit I have from Q1 2022 has low voltage fluctuation for the price tag.
Example below with Li-Ion cell discharge during almost 3.5 hours and over 50000 data acquisition points.
« Last Edit: October 21, 2024, 02:36:04 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #272 on: October 24, 2024, 11:29:39 am »
New KP184 Modbus Software Version 1.0.81.0:

Setup KP184 Software V1.0.81.0 32-bit

Setup KP184 Software V1.0.81.0 64-bit

User_Manual

Changes:

1. 3 decimal places are now used used on low Wh energy value LCD display.

2. Less 20% execution time on the plot graph display 2s periodical update.

3. The user can now switch between capacity (Ah) and energy (Wh) plot graph display during the battery capacity discharge test. Use the “Toggle battery capacity display units Ah/Wh” icon on the black LCD
display area for swapping the plot graph type. The plot graph type used on the PDF test report will correspond to the setting at test end time.

4. Battery capacity discharge test detects when the user is manually tweaking the load current during the test, calculates the weighted average current and prints it on the PDF test report.

5. Saving the acquisition data do .csv file code was optimized and is now 100x faster. Got rid of the progress bar popup window.

6. Data acquisition memory management was improved.

7. A status bar was added to the application bottom user interface (UI). As a result several popup ok windows were replaced by status bar messages. Less eye strain, flashing, overlaps and confusion. UI becomes more clear and concise. More user friendly to the newcomers.

8. Column widths adjusted on the battery internal resistance test list PDF report giving more room for Brand, Model and SN# columns and a new "Print to PDF" button was added inside the managing dialog box. This new button saves the user from the hassle of exiting the dialog box, going to the GEN tab and pressing the generic PDF report button.
« Last Edit: November 07, 2024, 10:46:37 am by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #273 on: November 11, 2024, 03:59:04 pm »
New KP184 Modbus Software Version 1.0.82.0:

Setup KP184 Software V1.0.82.0 32-bit

Setup KP184 Software V1.0.82.0 64-bit

User_Manual

Changes:

1. A top line main menu was added. It gives more structure to the UI (user interface) and makes it easier for the user to manage all the software options. All previous UI functionality was maintained in order to do not disrupt the workflow.

2. Limited the DUT (device under test) informations string length to avoid formating problems on the multiple battery internal DC resistance PDF report columns.

3. Added queued status bar messages to avoid missing information display.

4. Added disk File Open/Save options to the memory recorded acquisition data. Data can be saved in a binary format and later retrieved to produce new .csv exports or test PDF reports with corrected DUT information data or different plot graphics options.

5. A new programmable auto save option was created to save test acquisition data to disk at regular time intervals (Ex: 60 min).

6. Battery capacity test and data acquisition context menus option selection visualization method were modified from dimmed to left check mark to match the application main menu graphics.
« Last Edit: November 11, 2024, 04:00:47 pm by interflexo »
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #274 on: November 14, 2024, 04:02:57 am »
Sorry, but I couldn't run the latest version of the program for Kunkin from Windows 7 x-86.
At startup, it does not find several python scripts. ho knows how to fix it?
 |O
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #275 on: November 14, 2024, 08:37:40 am »
I am looking into it as we speak. Supporting Win 7 in 2024 is getting messier every day. Microsoft dropped Win 7 support on 14 January 2020...
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #276 on: November 14, 2024, 09:57:41 am »
Done. I replaced the V1.0.82.0 64-bit setup installer. Please clean your browser cache before download. It might be troublesome to download an updated file you downloaded before without cleaning the browser cache. The 32-bit setup installer remains unchanged.

Tested KP184 Modbus 32-bit setup installer on Win 7 Home Premium 32-bit with all Windows updates.

Tested KP184 Modbus 32-bit and 64-bit setup installers on Win 7 Home Basic 64-bit with all Windows updates.

If you find any issues please drop me a line.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #277 on: November 14, 2024, 03:19:31 pm »
New KP184 Modbus Software Version 1.0.83.0:

Setup KP184 Software V1.0.83.0 32-bit

Setup KP184 Software V1.0.83.0 64-bit


Changes:

1. New dark theme.

2. Corrected a support module compatibility issue with Windows 7 64-bit.
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #278 on: November 15, 2024, 04:19:52 am »
 :-+ Oh, thank you so much! I just restored an old laptop with a bunch of ports to control all sorts of devices... And it's impossible to put anything on this except Windows 7-32! The main advantage of the laptop is the presence of COM, LPT, USB  :clap: :clap: :clap:
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #279 on: November 15, 2024, 05:27:37 am »
why is mode switching blocked when connecting to the device via the port?
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #280 on: November 15, 2024, 05:33:38 am »
Through the top menu bar - the control is working  :-+
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #281 on: November 15, 2024, 09:33:09 am »
Also these three icons indicate and change test mode when clicked.
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #282 on: November 15, 2024, 02:10:52 pm »
unfortunately, it was not possible to enable the latest version, it gives the following error:
 :-//
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #283 on: November 15, 2024, 02:12:41 pm »
On a new laptop with Win 10 x64 - it works
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #284 on: November 15, 2024, 05:01:33 pm »
unfortunately, it was not possible to enable the latest version, it gives the following error:
 :-//
What is the Windows version in this case? Do you have all the updates installed in this system?
I know it takes a long time to update but this is very important, there are more than 100 update fixes on top of a Win 7 SP1. Probably missing KB2533623 hotfix.
« Last Edit: November 15, 2024, 05:18:52 pm by interflexo »
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #285 on: November 15, 2024, 08:04:26 pm »
Windows 7 SP1 is installed, regarding the KB fix... I'll take a look. I will try to install the original version the final version of Windows 7 x32
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #286 on: November 16, 2024, 08:08:38 am »
Windows 7 SP1 is not enough (I tested and got a similar error). You need all the >100 updates on top of it. You can leave it updating during the night.
It is not feasible to test one by one and determine which updates are really required.
Having the system updated is a precondition for testing any software.
List of updates on my Win 7 Home Ultimate 32-bit test system below (excluded the anti-virus related ones from the list).
« Last Edit: November 16, 2024, 08:11:40 am by interflexo »
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #287 on: November 16, 2024, 08:31:24 am »
I reinstalled Win 7 Pro 32, everything worked!!!!
Thanks, great! :clap: :clap: :clap:
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #288 on: November 16, 2024, 02:44:24 pm »
I am very glad to hear that.
 

Offline AlexMeln63

  • Newbie
  • Posts: 9
  • Country: kz
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #289 on: November 16, 2024, 07:12:28 pm »
I would like to buy a license, but we have problems paying in foreign currency abroad, and $ 30 is a lot of money for our course ...
freeware functions generally suit me at a minimum. Thanks again very much! :-+
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #290 on: November 22, 2024, 12:56:50 pm »
New KP184 Modbus Software Version 1.0.84.0:

Setup KP184 Software V1.0.84.0 32-bit

Setup KP184 Software V1.0.84.0 64-bit

User_Manual


Changes:

1. New optional anti voltage dip strategy on battery capacity test. Tries to not interrupt the discharge test and restart electronic load when required where bad electric connections are at play. Used in an attempt to save a very long discharge test from aborting. Always check your electric connections before starting any test.

The KP184 unit may always cut the test short (turning the load OFF) if the voltage dips below the programmed test end voltage setting.

It is a good idea to use solid bolted connections on soldered ring connectors at both ends of the test power cables.

Avoid alligator clips of any kind at both test power cable ends (battery and KP184 binding posts).

Also avoid the usage of 4mm banana plugs at the KP184 binding posts. The 4mm banana jack hole on KP184 is a bit loose and do not provide the required good electric connection.

Bad electric connections will result in short voltage dips and voltage spikes caused by inductive flyback currents. This will mess up your data, test plot graph and cause a premature test ending leading to wasted time.

The optional anti voltage dip strategy measures and identifies fast voltage dips and tries to avoid a premature test end. If the electronic load turns the load OFF the software tries to restart the load ON.

The voltage dips are identified when the voltage drops below the programmed test end voltage with a slope below -70°. There is a maximum of 3 consecutive attempts to restart the electronic load, there is no limit for the non consecutive load restart attempts. This option can be enabled and disabled during the test progress.

« Last Edit: November 22, 2024, 03:23:50 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #291 on: December 13, 2024, 05:03:57 pm »
New KP184 Modbus Software Version 1.0.85.0:

Setup KP184 Software V1.0.85.0 32-bit

Setup KP184 Software V1.0.85.0 64-bit

User_Manual


Changes:

1. New “Plot Graph Annotations” sub menu. Added horizontal, vertical and crossed reference lines to the existing coordinate annotations.

2. New option added to select the color for annotations creation.

3. New option added to control the plot graph grid lines display.

4. New option added to control the plot graph title display.

5. New option added to control the transparent legend placement (9 options) on combined CSVs plot graphs.

6. New option added to control the current curve plot display on combined CSVs plot graphs.

7. Data acquisition and battery capacity test right mouse button context menus were dropped because the options are now all available on the main menu structure.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #292 on: December 20, 2024, 10:22:40 am »
New KP184 Modbus Software Version 1.0.86.0:

Setup KP184 Software V1.0.86.0 32-bit

Setup KP184 Software V1.0.86.0 64-bit

User_Manual


Changes:

1. On battery capacity test mode, solar panel test mode and cycle mode with plot option the manual data acquisition controls are disabled because they are automatically operated during the test progress. This eliminates some possible odd user manual operations.

2. When battery capacity/energy units (Ah/Wh) or plot curve line styles are changed the plot graph is updated even after the battery capacity test termination. A new battery capacity test report can be created using the new plot graph.

3. When special test mode (GEN/BAT/RES/CVL/CWL/CYC/SOL) changes the plot graph is updated with a new axis initialization.

4. The time the status bar line messages remain displayed is now user configurable between 2 and 10 seconds.
« Last Edit: December 20, 2024, 10:31:24 am by interflexo »
 

Offline guyjami

  • Newbie
  • Posts: 2
  • Country: be
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #293 on: January 12, 2025, 11:51:34 am »
Hi everybody, i get an Ethernet/Serial adapter on Aliexpress (NE2-T1B) and adapt it to connect the KP184.
It's delivered with a virtual serial port driver developped by Eltima.
So it'll be possible to connect to the KP184 through the LAN.
It works well with Putty or IDE solutions like Arduino or Platformio on Visual Studio Code (first attachment).
But the Interflexo software, does'nt recognize COM port (second attachment).
I can provide the driver if needed.
Is it possible to make an upgrade?
Thank's a lot
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #294 on: January 12, 2025, 01:22:37 pm »
Hi. I will check it and maybe I will need your help for some tests as I don't have that hardware myself.
Please send me your email so we can communicate about this.
« Last Edit: January 13, 2025, 11:17:15 am by interflexo »
 
The following users thanked this post: guyjami

Offline guyjami

  • Newbie
  • Posts: 2
  • Country: be
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #295 on: January 13, 2025, 10:43:03 am »
Today, the serial port is recognized by the software  |O
I see that it's referenced differently in the device manager. Maybe it's the explanation?
But i don't understand when it's referenced as in my previous reply, it's recognized by putty and not by the kp184 software?
Anyway, the connexion through the LAN is successfull and the KP184 software works like a charm !
Regards
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #296 on: January 13, 2025, 11:55:07 am »
Excelent. I just tested with Electronic Team (Eltima) Virtual Serial Port 9 drivers and it also worked.
Windows custom virtual serial port driver detection are on a league of their own and have their quirks...
« Last Edit: January 13, 2025, 12:01:14 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #297 on: January 20, 2025, 10:47:41 am »
New KP184 Modbus Software Version 1.0.87.0:

Setup KP184 Software V1.0.87.0 32-bit

Setup KP184 Software V1.0.87.0 64-bit

User_Manual


Changes:

1. Added configurable sounds for Load On/Off/Found user notifications.

2. Added configurable SMTP SSL authenticated mail server access for user email notifications after a battery capacity discharge test termination.

3. Added startup splash screen during application loading time.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #298 on: January 28, 2025, 08:12:01 am »
New KP184 Modbus Software Version 1.0.88.0:

Setup KP184 Software V1.0.88.0 32-bit

Setup KP184 Software V1.0.88.0 64-bit

User_Manual


Changes:

1. Updated the internal PDF file creation module. It’s now faster and uses the v1.5 file specification version.

2. In case the system motherboard has no sound card available the programmed load On/Off/Found sounds are now reverted to simple PC motherboard speaker beeps.

3. The deprecated OneLineProgressMeter control was replaced.

4. The application code was made compatible with Linux. The first Linux release is around the corner, some aspects of the installation are being finished.
« Last Edit: January 30, 2025, 05:17:53 pm by interflexo »
 

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 160
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #299 on: January 28, 2025, 04:57:40 pm »
By now, you are updating the app more often than I use it.  :D
And a Linux version is HIGHLY appreciated!
Great job!
once you do it right, it works :-)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #300 on: January 30, 2025, 05:15:45 pm »
New KP184 Modbus Software Version 1.0.89.0:

Setup KP184 Software V1.0.89.0 32-bit

Setup KP184 Software V1.0.89.0 64-bit

User_Manual


Changes:

1. Corrected some last version self inflicted bugs when opening PDF report files (an error was being thrown).

2. Replaced some deprecated function parameters on PDF test reports code (battery capacity, internal resistance and solar panel).
 

Offline larrybud

  • Contributor
  • Posts: 37
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #301 on: February 04, 2025, 02:25:32 pm »
The FTDI cable I bought claims to be straight through, but it didn't work. I first did a loopback test with a local terminal program (simply connect pins 2 and 3 of the db9 together) and the character was echoed back. I confirmed I wasn't looking at a local echo by removing the jumper between pins 2 and 3.

For S&G I then took some jumper wires and crossed pins 2 and 3 between the db9 and the kp184, and lo and behold it connected right up!

I then took at closer look at the "manual" that came with the KP184. It specifically states that Pin 2 is TXD and should be connected to RXD on the computer, and vice-versa for Pin 3 RXD, so with my version of hardware a straight through cable is not what you want.

Also, my version of KP184 has a TX/RX light on the back of the unit right next to the RS-232 port, which was helpful in diagnosing all of this.
« Last Edit: February 04, 2025, 02:44:18 pm by larrybud »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #302 on: February 04, 2025, 08:55:51 pm »
Well done. It all depends on your USB to serial adapter DB-9 connector pinout. When the gender (male or female) of the DB-9 connector changes the 2 and 3 pin functions also swap.
 

Offline larrybud

  • Contributor
  • Posts: 37
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #303 on: February 05, 2025, 11:20:23 pm »
Not sure I know what you mean? It's a single cable. The KP184 has a male db connector on it, so the cable is female.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #304 on: February 06, 2025, 10:43:38 am »
A standard DB-9 DTE (male port) RS-232 pinout is:
2 RXD
3 TXD
5 GND

A standard DB-9 DCE (female port) RS-232 pinout is:
2 TXD
3 RXD
5 GND

KP184 DB-9 (male port) RS-232 pinout is:
2 TXD
3 RXD
5 GND

Pins 2 and 3 are swapped from the normal DTE standard.

When the user connects the DB-9 female - DB-9 female straight through cable that comes with the device (KP184):

KP184 DB-9 (male port) + DB-9 F-F straight cable = standard DB-9 DCE (female port):
2 TXD -------------------------------------------------------> 2 TXD
3 RXD -------------------------------------------------------> 3 RXD
5 GND -------------------------------------------------------> 5 GND

You end up with a standard DB-9 DCE (female port). That's why Kunkin supplied this cable.

If your USB to Serial RS232 adapter has a male DB-9 port you should be good to go.

On the other hand if your USB to Serial RS232 adapter has a female DB-9 port you need to cross pins 2 to 3 and 3 to 2.

You can do this with those short DB-9 M-M adapters (they cross pins 2 and 3, image below) and add it at the end of the supplied straight F-F cable or
replace the DB-9 F-F straight through supplied cable with a DB-9 F-M crossed cable:
(cable diagram)
2 ------------> 3
3 ------------> 2
5 ------------> 5

That's why you can't connect a USB to Serial RS232 adapter with a female DB-9 port directly to KP184 RS232 DB-9 male port:
This will not work:
KP184 (M)                 USB to Serial Adapter (F)
2 TXD -----------------> 2 TXD
3 RXD -----------------> 3 RXD
5 GND ----------------> 5 GND

This will work:
KP184 (M)                 USB to Serial Adapter (F)
2 TXD -----------------> 3 RXD
3 RXD -----------------> 2 TXD
5 GND ----------------> 5 GND

You just have to hope if you buy a dodgy USB to Serial adapter that it does not come with a non standard port pinout. In all cases documentation and this forum are your friends.
Buy USB to Serial adapters from reputable and well documented sources. KP184 is a bit picky on the serial adapters. Avoid very low cost Prolific (Ex: PL2303) and WCH (Ex: CH340) chipset based USB to Serial Adapters. Go for a FTDI/FT232RL chipset based adapter, it won't break the bank and save you countless headaches and lost hours.
« Last Edit: February 06, 2025, 11:43:57 am by interflexo »
 
The following users thanked this post: korjaa

Offline Pfriemler

  • Regular Contributor
  • *
  • Posts: 160
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #305 on: February 06, 2025, 01:41:22 pm »
Interflexo just did the answer I planned  :clap:
I thought we had this just in this thread before.

But my experiences are slightly different.

For an additional understanding: In my opinion, there's nothing like a strictly standard male/female port. In fact, you must think rather of host and device.
A PC is a host. The standard is the male connector. And: This is what all my USB-RS232 have, too.
You do not have to tell between a generic PC serial port or a USB-connected serial port: The have the same pinout. (Anything else would be stupid).

(There are DB25 and DB9 connectors with different pin numbers, and tons of adapters. DB9 is sufficient, mostly.)
Any device (back in the past: mouse, modem, printer, any device to be controlled - like the KP184) should have a DB9 female connector.
When connecting host to device, any sender/transmitter line (TX) should be connected to the corresponding receiving line (RX). This is done when the device female connector has 2-TxD and 3-RxD.
A standard serial connection cable has a male and a female side, connected 1:1. You may chain several cables in line from host to the device. As it is a 1:1 connection (and the necessary crossing is done inside the device), it is no difference if you have a PC generic host port with a standard cable  to connect or if you plug the USB-serial adapter straight onto the device (and use a USB prolongation, if the adapter has no cable).
That's the theory  :)

KP184 is the only device I know with a DB male - but it has the correct pinout for a device. To heal the KP184's fault, you only need a so called "gender changer" in the picture in Interflexos Answer. They have two female or two male with a 1:1 pinout. The Kunkin cable is a gender changer with a cable, pinout 1:1.

You only have to think about any line crossing, if you connect a host to a host. Then, you need a female-female cable with crossed lines. That is: if you have suche a cable, it will not work with the Kunkin.

once you do it right, it works :-)
 
The following users thanked this post: interflexo, korjaa

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #306 on: February 07, 2025, 06:37:16 pm »
KP184 Modbus Software Version 1.0.89.0 for Linux - Ubuntu:

Install Bash Script 64-bit

User_Manual

User manual pages 11 to 14 explain the Linux installation procedure.

Installation bash script help:

Synopsis:
./kp184_install.sh
./kp184_install.sh [Option] [--output "install folder"]
./kp184_install.sh [--input "archive filename"] [--output "install folder"]
./kp184_install.sh [-i "archive filename"] [-o "install folder"]

Description:
Bash script file to install the KP184 electronic load data acquisition and control Modbus application software on Ubuntu. The bash script handles new installations as well as upgrades preserving the user application configuration.The application calls this bash script whenever needs to upgrade.
A .desktop file is added to the folder /home/username/.local/share/applications to add the application icon to the desktop application menu.
The archive (tar.gz) file is deleted at the end of the installation.

Options:

-h | --help
Displays this help

-V | --version
Displays the installation bash script file version.

-u | --uninstall
Uninstalls the application from your system, leaving all the application user data files (images, pdf reports and csv data files).

-y | --yes
The script does not stop to ask for y/n to proceed.

-i | --input "archive path and filename"
Specifies path and filename for the installation archive. (Ex: /home/username/Downloads/setup_kp184_10890_64-bit.tar.gz)

-o | --output "installation folder name" (Ex: kp184)
Specifies a name for the application installation folder

Examples:
./kp184_install.sh
Searches https://www.interflexo.com//kp184// for the latest 64-bit Linux release and downloads the archive installation (tar.gz) file to /home/username/Downloads then installs the application on folder /home/username/.local/kp184
This is the simpler method for installation.

./kp184_install.sh -i ~/Downloads/setup_kp184_10890_64-bit.tar.gz
Uses the provided archive file and installs the application on folder /home/username/.local/kp184

./kp184_install.sh -o kp184_modbus
Searches https://www.interflexo.com//kp184// for the latest 64-bit Linux release and downloads the archive installation (tar.gz) file to /home/username/Downloads then installs the application on folder /home/username/.local/kp184_modbus

./kp184_install.sh -u
Performs the application uninstallation. It first looks for the /home/username/.local/kp184 installation folder. If it’s not found then a recursive search is made inside the /home/username/.local folder.

./kp184_install.sh -u -o “kp184 modbus”
Performs the application uninstallation. It first looks for the /home/username/.local/kp184 modbus installation folder. If it’s not found then a recursive search is made inside the /home/username/.local folder. Folder names with spaces should be enclosed in double quotes.
« Last Edit: February 08, 2025, 02:00:20 am by interflexo »
 

Offline larrybud

  • Contributor
  • Posts: 37
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #307 on: February 08, 2025, 04:44:54 pm »
Just note that my KP184 didn't come with a cable. I did buy an FTDI, but obviously the pinout was incorrect. I did buy a null model adapter which swapped 2/3 and everything works great!
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #308 on: February 08, 2025, 05:25:41 pm »
What was your FTDI USB to Serial adapter DB-9 connector gender (male or female)?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #309 on: February 17, 2025, 07:10:08 pm »
New KP184 Modbus Software Version 1.0.90.0:

Setup KP184 Software V1.0.90.0 32-bit

Setup KP184 Software V1.0.90.0 64-bit

Ubuntu Install Bash Script 64-bit

User_Manual


Changes:

1. Added icons for the configuration, reports, emails, sounds, registration and updates dialog windows.

2. Added DUT (device under test) customer field on the test PDF reports.

3. Added Open, Save and Append buttons to the battery internal resistance tests list dialog.

4. On the battery internal resistance tests list PDF report the tests are now grouped by customer.

5. Added page header corporate customization on test PDF reports.

6. Added a serial connection troubleshoot section to the user manual.
« Last Edit: February 17, 2025, 07:11:44 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #310 on: February 24, 2025, 02:04:19 pm »
New KP184 Modbus Software Version 1.0.91.0:

Setup KP184 Software V1.0.91.0 32-bit

Setup KP184 Software V1.0.91.0 64-bit

Ubuntu Install Bash Script 64-bit

User_Manual


Changes:

1. Corrected an issue when saving the KP184 registers to a file.
 

Offline korjaa

  • Newbie
  • Posts: 5
  • Country: fi
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #311 on: March 01, 2025, 07:56:33 am »
In case it might help others, I ended up buying both variations of this cable https://www.aliexpress.com/item/32922249681.html and the option "Standard Pinout" seemed to work, as should be expected based on the earlier discussion:

Quote
Standard pinout:
2-RXD(yellow),
3-TXD(orange),
5-GND(GND),
7-RTS(green),
8-CTS(brown),
1/4/6/9-NC

The seller claims that it uses genuine FTDI. When plugged in, it identifies as follows in my Ubuntu 24.04, no drivers required:
Code: [Select]
[  421.687585] usb 1-8.1.3: new full-speed USB device number 10 using xhci_hcd
[  421.782826] usb 1-8.1.3: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[  421.782845] usb 1-8.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  421.782847] usb 1-8.1.3: Product: FT232R USB UART
[  421.782848] usb 1-8.1.3: Manufacturer: FTDI
[  421.782849] usb 1-8.1.3: SerialNumber: ABSCDPCI
[  421.815787] usbcore: registered new interface driver usbserial_generic
[  421.815796] usbserial: USB Serial support registered for generic
[  421.817695] usbcore: registered new interface driver ftdi_sio
[  421.817704] usbserial: USB Serial support registered for FTDI USB Serial Device
[  421.817794] ftdi_sio 1-8.1.3:1.0: FTDI USB Serial Device converter detected
[  421.817830] usb 1-8.1.3: Detected FT232R
[  421.818365] usb 1-8.1.3: FTDI USB Serial Device converter now attached to ttyUSB0

As the cable uses female connector and correct pinout for KP184, it plugs directly with no adapters required. This means the tightening screws also work which might not be the case with a gender changer. All gender changers I saw had female threads on both sides, so it cannot be secured to the KP184.

The cable markets is self as a "PC Control TV Cable", so maybe this style RS232 connector is common there.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf