cheali-charger icon indicating copy to clipboard operation
cheali-charger copied to clipboard

HK ECO 6-10 200W

Open RadioControl opened this issue 1 year ago • 17 comments

Hi folks,

i'm planning to flash this charger with the cheali-charger-Turnigy-A-6-10-200W_2.01-e10.3.12-20170311_atmega32.hex.hex Unfortunately the flash and eeprom read outs are fake ones. In the attached pic you can see the read bits. Do i have to change these before flash the hex file? Especially the 0x38 lock bit? Thanks in advance!... Clipboard01

RadioControl avatar May 04 '23 20:05 RadioControl

according to: https://ww1.microchip.com/downloads/en/DeviceDoc/Atmega32A-DataSheet-Complete-DS40002072A.pdf page: 261

27.7.3 Chip Erase
The Chip Erase will erase the Flash and EEPROM(1) memories plus Lock bits. The Lock bits are not reset until the
program memory has been completely erased. The Fuse bits are not changed. A Chip Erase must be performed
before the Flash and/or the EEPROM are reprogrammed.

Note: 1. The EEPRPOM memory is preserved during chip erase if the EESAVE Fuse is programmed.

The lock bits will be erased automatically when you flash the device - the "Chip Erase" command will be performed by avrdude before flashing.

stawel avatar May 04 '23 23:05 stawel

Thank You for this! "the "Chip Erase" command will be performed by avrdude before flashing." In Avrdudess as you can see in the pic there is a "Erase flash and EEPROM" option. Do i have to check this or is it unnecessary? Where is the calibration saved, in eeprom or in the flash? Is the bit clock ok at 1,5MHz or should it set to another value?

RadioControl avatar May 05 '23 03:05 RadioControl

In meanwhile the flash went successful. Now it's ready for calibration... 20230505_082859 20230505_082933

RadioControl avatar May 05 '23 07:05 RadioControl

...At the 50mA calibration it blows the 250mA fuses all the time. Why?...

RadioControl avatar May 07 '23 04:05 RadioControl

Default calibration point may be way off. Try starting with higher range of your Ammeter, then dial the current down to 50 mA a then switch to some lower range of your Ammeter.

diggit avatar May 07 '23 06:05 diggit

@diggit Thanks for your reply, but i think the problem is that when i hit the start button, the current starts at higher (maybe around 850mA) for a second or so and after that goes down to the lower amps. What is the reason for that?...

RadioControl avatar May 08 '23 09:05 RadioControl

I'm struggling with the Icharge calibration. What i find out is when i start the 50mA (whatever value is set) calibration starts for a moment at ca. 850mA (enough to blow the multimeter 200mA fuse). When i start with the 20A port on the DMM and dial the current below 200mA to plug the multimeter wire to the mA port, the calibration current flow stops. So i tricked this with shorting like in the pic...My questions are: What is the best way now to determine the bottom current limit of my charger? What is to set with the "Iexpect" value? If i found the bottom current limit what do i have to set in other options of the menu? How to change default calibration point?... 346649700_166096829751185_421842664249168230_n

RadioControl avatar May 14 '23 07:05 RadioControl

I can confirm such behavior on my Turnigy 400Wx2. Waveforms below were observed when current calibration range is highlighted (Value nor whether charging or discharging does not matter.) and start button is pressed (Current should not be flowing yet.). Measured with 11.1 V battery on output. Same test with 15.6 V battery produced same waveforms. So it does not seem to be voltage dependent.

There are 2 issues

  • 50 ms discharge pulse with approximately 950 mA flowing
  • very short discharge peak around 4.7 A

Any thoughts @stawel ? Observed discharge pulse may be even intentional, bu I can't think of any reason.

detail of waveform with cursors full waveform with cursors full waveform without cursors

diggit avatar May 14 '23 10:05 diggit

hm... interesting! ... but as a nonbeliever :-) I have to take out my own oscilloscope

stawel avatar May 19 '23 18:05 stawel

R138, R150 measured in: https://drive.google.com/file/d/0B1RXXTatsA1cb1R5NHM3MEtsakE/edit?resourcekey=0-YuNi1Kod3xXI4xazR8Gb_Q during calibration start, scale is wrong but it confirms your findings!

calibration-start-R138-R150

ok I'm opening a new issue for that

stawel avatar May 19 '23 20:05 stawel

@RadioControl

My questions are: What is the best way now to determine the bottom current limit of my charger?

set "value:" to the lowest value (probably 1), the lowest possible current should be visible on your DMM

What is to set with the "Iexpect" value? If i found the bottom current limit what do i have to set in other options of the menu?

How to change default calibration point?...

  1. set "I expect:" to your desired current calibration point, (example 850mA)
  2. go to "value: " change it until you see on DMM the "I expected:" current (example 850mA)
  3. IMPORTANT! press: "OK" in the "value:" line - this will save your calibration point including "Iexpect:"

additional note: picking "bottom current limit" as the first calibration point may not be the best choice, we do a two point linear interpolation (or extrapolation as some people call it) which means your current measurements will be most accurate near these points and I doubt you will ever charge a battery with a current near ~0 mA, also the charging current near its bottom limit starts to behave less linear

stawel avatar May 19 '23 22:05 stawel

@RadioControl
could you try a version from: https://github.com/stawel/cheali-charger/tree/master/hex/unstable it should stop burring your fuses during calibration.

stawel avatar May 21 '23 22:05 stawel

@stawel i will try it asap, spare fuses are on the way to me. Thank You!...

RadioControl avatar May 22 '23 02:05 RadioControl

@RadioControl could you try a version from: https://github.com/stawel/cheali-charger/tree/master/hex/unstable it should stop burring your fuses during calibration.

@stawel i tried the "cheali-charger-Turnigy-A-6-10-200W_2.02-e10.3.12-20230523_atmega32" fw but the issue is still exist. Start calibration with a short current of ca. 700mA waht is blowing the fuse...The closest stable minimum charge current to calibrate is about 140mAh. All below that has a too long time to start the charge. I guess it's a hardware depending thing but i will try the "cheali-charger-GTPowerA6-10_2.02-e10.3.12-20230523_atmega32" hex file if there are any differences...

RadioControl avatar Jul 10 '23 08:07 RadioControl

Another issue i found out is that on the fan connection is about 12V without the the fan connected but with the fan connected it is about 2,5V. What cause this?...

RadioControl avatar Jul 10 '23 08:07 RadioControl

Another issue i found out is that on the fan connection is about 12V without the the fan connected but with the fan connected it is about 2,5V. What cause this?...

@stawel @diggit Can You please help me with this?...

RadioControl avatar Oct 14 '23 06:10 RadioControl

Hi, Check the fan, if it spins on some PSU. It's 5 V fan, so even USB could be enough. Other thing could be damaged fan switching transistor. When you connect fan, is the charger running without issues? That would mean issue with mentioned transistor.

diggit avatar Nov 01 '23 18:11 diggit