Voltage change for Eltek Flatpack2 48/2000 HE R5.3 SW: 3.00 ...
Voltage change for Eltek Flatpack2 48/ HE R5.3 SW: 3.00 ...
If you are looking for more details, kindly visit kelingyizhi.
solamahn wrote:Oh. I didn't notice the CAN bus with my quick search, sorry. That should be pretty easy. There are plenty of inexpensive CAN to USB adapters available. But the problem is how to talk to the USB. Some might provide a serial interface, and you send it 12 bytes for one CAN message, with the first 4 bytes being the CAN id. Some might provide a DLL that you have to talk through with function calls. The details vary. Or you could use something like an Arduino with a CAN shield as the interface. Or have the Arduino do all or most of the work.Sat, 26 Dec , 22:55
I thought there should be some way to connect a laptop to the can busI thought there should be some way to connect a laptop to the can bus
The other thing is that you need to know the format of the CAN messages that the charger responds to. That should be documented somewhere.
Oh. I didn't notice the CAN bus with my quick search, sorry. That should be pretty easy. There are plenty of inexpensive CAN to USB adapters available. But the problem is how to talk to the USB. Some might provide a serial interface, and you send it 12 bytes for one CAN message, with the first 4 bytes being the CAN id. Some might provide a DLL that you have to talk through with function calls. The details vary. Or you could use something like an Arduino with a CAN shield as the interface. Or have the Arduino do all or most of the work.The other thing is that you need to know the format of the CAN messages that the charger responds to. That should be documented somewhere.
driving via canbus Eltek 2kW Flatpack2 supplies
Forum Index : Electronics : driving via canbus Eltek 2kW Flatpack2 supplies
Page 4 of 5 Posted: 10:30am02 Jan
Copy link to clipboard
nickskethisniks
Guru
Someone knows if I can use these psu's straight from solar panels?
They have a wide AC (DC?) input range, and with some trickery I could make a HV solar charger out of them.
I would put a (poida) mppt controller behind it, sense solar voltage with an isolated opamp or hall sensor-ish sensor.
03 Jan
Copy link to clipboard
wiseguy
Guru
Nick, that is how I would do it, keep the solar PV power at the "sweet spot" and charge as much as possible whilst maintaining the sweet spot. Just make sure the panel's open circuit voltage doesn't exceed the Flatpack2's 300VDC max input voltage.
I have proved with a variac and crude transformer/rectifier/capacitor setup that they will operate fine from a DC input.
06 Jan
Copy link to clipboard
nickskethisniks
Guru
Thanks!
Posted: 03:25am25 Jan
Copy link to clipboard
KENSTV
Newbie
official eltek schematic for the main board but its only page one even better would be the standup control board schematic, Wiseguy did send some schematics but they are for the original flatpacks which have a totally different control setup, even though these can be programmed I want to just modify the circuit to output a different voltage all the time at plug in after the soft start, it turns out the control of the flatpack 2 HE is done with a ML56FT microcontroller, my plan is to just alter the resistance on the voltage sample back to the micro A-D converter thus tricking into thinking the output voltage is the code set 53.5V, there are 4 resistors on the output voltage and current tracking-going back to the microcontroller on the standup board one of these should alter the sample of the output voltage, so page 2 would be nice
Note these supply's are very high end and the control circuitry is very complex, and the parts scale is almost microscopic as well as the multi layered boards all add to the difficulty of hacking the circuit but I think it is the easiest way to get a different output voltage without all the code, Arduino and CAN interface board
Also the Thai mod is for the original analog control flatpacks, the flatpack 2 HE use microcontrollers for front end monitoring and output control, there are 2 microcontrollers !!
Does anybody have page 2 of the schematic for the flatpack 2 48V HE, I found anofficial eltek schematic for the main board but its only page oneeven better would be the standup control board schematic, Wiseguy did send some schematics but they are for the original flatpacks which have a totally different control setup, even though these can be programmed I want to just modify the circuit to output a different voltage all the time at plug in after the soft start, it turns out the control of the flatpack 2 HE is done with a ML56FT microcontroller, my plan is to just alter the resistance on the voltage sample back to the micro A-D converter thus tricking into thinking the output voltage is the code set 53.5V, there are 4 resistors on the output voltage and current tracking-going back to the microcontroller on the standup board one of these should alter the sample of the output voltage, so page 2 would be niceNote these supply's are very high end and the control circuitry is very complex, and the parts scale is almost microscopic as well as the multi layered boards all add to the difficulty of hacking the circuit but I think it is the easiest way to get a different output voltage without all the code, Arduino and CAN interface boardAlso the Thai mod is for the original analog control flatpacks, the flatpack 2 HE use microcontrollers for front end monitoring and output control, there are 2 microcontrollers !!
Posted: 08:21am25 Jan
Copy link to clipboard
poida
Guru
you want 53.5V? Can do this with no hardware hacking, just sending modbus commands.
One nano, one canbus module and it will be done.
If you need a little help with this I will help you. It's no biggie.
25 Jan
Copy link to clipboard
KENSTV
Newbie
Thanks Poida, not being a coder or not having played with the Arduino Nano I could use the help ! my questions are:
1-can you link to the files used on the Arduino-SPI to run the code, and does the SPI interface provide the 60 ohm termination on the CAN lines?
2-Is it possible to program the Flatpack 2 HE--version one--to keep the voltage setup code after power down?
3-does your code automatically read out the serial number or do I have to first discover the internal serial number and add it to the code?
4-I'm needing 50 volt output, what would the code be for that voltage be?
Also I've noticed that both of the microcontrollers have SPI interfaces on both of those standup boards edges, which makes me think the parameters are setup at build and the firmware is possibly not locked down in both those chips, or at least there are ways to get into the firmware according to the data sheets-if it helps to understand the workings of these complex supply's the main output control micro is a MC56FV and the smaller front end micro is a MC56F (I believe it monitors input voltage and controls the fan) which are both Freescale products (bought by NXP) and 56F802X and 56F803X Peripheral Reference Manual is available detailing the main microprocessor setup---
25 Jan
Copy link to clipboard
poida
Guru
firstly, I have not played with these for a while so there will be some errors
in what I can remember.
Parts used:
a cheap Chinese Nano, using the CH340 serial-USB chip
CH340 driver for Windows:
CH34x_Install_Windows_v3_4.zip
a MCP CAN to SPI module
software:
Arduino programming package, (called the IDE), I prefer the legacy version 1.8.19
CAN - SPI board library, I upload below.
MCP_CAN_lib-master.zip
the program to load into the nano:
Eltek_set_perm_voltage.zip
howto:
install Arduino IDE
add a library, in the form of a .zip file. Add the MCP_CAN lib above
install CH34X driver.
plug in nano, prove you can load and run programs.
Usually you need to choose " ATmega328 (old bootloader)" as the processor
connect the MCP module to the nano. 6 wires.
ground, 5V and the 4 SPI, chip select, clock, MISO, MOSI
The program has the SPI to nano pin info inside it.
The guts of the program is to send one modbus command.
..
unsigned char setdefaultvolt[5] = {0x29, 0x15, 0x00, 0xc0, 0x12};
..
CAN.sendMsgBuf(0xC04, 1, 5, setdefaultvolt);
..
The last two bytes of setdefaultvolt is the voltage we want, low byte first.
0xc0 and 0x12
so the default voltage value is 0x12c0
converting this to decimal is and that is the voltage in hundredths
of a volt.
For the program to make the Eltek work at all, it must first
"login" using the serial number. This is found on the label of the flatpack.
mine looks like:
you use the serial number as part of the login process.
..
unsigned char login[8] = {0x16, 0x36, 0x71, 0x07, 0x03, 0x76, 0x00, 0x00};
..
CAN.sendMsgBuf(0x, 1, 8, login); // id = 1 so XX = 04
..
of course your serial number will be different so you need to edit the program to suit. And change the default volts to what you need.
Once you have made the changes to the code, upload it.
power up the flatpack, note the output voltage.
press the reset button on the nano, this will run the program and then stop.
IMPORTANT:
remove power from the flatpack and wait 20 seconds. This lets the canbus system
in the flatpack to finally stop running.
reapply power and you will see the new output voltage.
my janky setup I just did 10 minutes ago to verify all this
you MUST connect Eltek's CANBUS signal ground to the MCP ground.
MUST, or you will blow the MCP module.
I think that's what happens, maybe nothing at all. I forget.
I connect the ground to the Eltek CANBUS signal ground
answers to questions:
see above for code needed. You link two pins on the MCP board as seen in the photo to get the resistor termination needed. NO link and it will not work.
It is possible to program a new voltage that is retained over power cycles
My code does not auto read the serial, I am too lazy to bother with this.
The code does the job, just read the label and change the code..
50 V = hundredths = 0x
remember to reverse theses 2 bytes in setdefaultvolt array
I feel I've done the whole job for you.
Edited -01-26 09:10 by poida
Hi Kenstvfirstly, I have not played with these for a while so there will be some errorsin what I can remember.Parts used:a cheap Chinese Nano, using the CH340 serial-USB chipCH340 driver for Windows:a MCP CAN to SPI modulesoftware:Arduino programming package, (called the IDE), I prefer the legacy version 1.8.19CAN - SPI board library, I upload below.the program to load into the nano:howto:install Arduino IDEadd a library, in the form of a .zip file. Add the MCP_CAN lib aboveinstall CH34X driver.plug in nano, prove you can load and run programs.Usually you need to choose " ATmega328 (old bootloader)" as the processorconnect the MCP module to the nano. 6 wires.ground, 5V and the 4 SPI, chip select, clock, MISO, MOSIThe program has the SPI to nano pin info inside it.The guts of the program is to send one modbus command.The last two bytes of setdefaultvolt is the voltage we want, low byte first.0xc0 and 0x12so the default voltage value is 0x12c0converting this to decimal is and that is the voltage in hundredthsof a volt.For the program to make the Eltek work at all, it must first"login" using the serial number. This is found on the label of the flatpack.mine looks like:you use the serial number as part of the login process.of course your serial number will be different so you need to edit the program to suit. And change the default volts to what you need.Once you have made the changes to the code, upload it.power up the flatpack, note the output voltage.press the reset button on the nano, this will run the program and then stop.IMPORTANT:remove power from the flatpack and wait 20 seconds. This lets the canbus systemin the flatpack to finally stop running.reapply power and you will see the new output voltage.my janky setup I just did 10 minutes ago to verify all thisyou MUST connect Eltek's CANBUS signal ground to the MCP ground.MUST, or you will blow the MCP module.I think that's what happens, maybe nothing at all. I forget.I connect the ground to the Eltek CANBUS signal groundanswers to questions:see above for code needed. You link two pins on the MCP board as seen in the photo to get the resistor termination needed. NO link and it will not work.It is possible to program a new voltage that is retained over power cyclesMy code does not auto read the serial, I am too lazy to bother with this.The code does the job, just read the label and change the code..50 V = hundredths = 0xremember to reverse theses 2 bytes in setdefaultvolt arrayI feel I've done the whole job for you.
Posted: 11:21pm25 Jan
Copy link to clipboard
KENSTV
Newbie
Thank you, straight and to the point, I have the boards ordered
Posted: 11:31pm25 Jan
Copy link to clipboard
poida
Guru
FlatPack2_Schem.png.pdf
and a bonus, I found more schematics
Posted: 06:24pm01 Feb
Copy link to clipboard
KENSTV
If you want to learn more, please visit our website eltek flatpack2 voltage adjustment.
Newbie
thanks for stopping me from moding it, I have extensive skills and equipment for soldering and rework but the lead free solder on these flatpacks needs a lot of heat which would have been difficult on those control board pins, I'm sure I could have just changed the feedback voltage sample to the microcontroller but the time to program instead makes more sense
One thing I notice is the red beacon symbol led now is flashing like the flatpack is trying to comm with the controller, the manual says the red led is "Alarm LED is ON (shutdown or similar major alarm)" I don't remember the red led on at initial plugin
maybe the flatpack wants a ID number assigned, not sure if the code did that or not ?
Another thing is the fan is hellishly loud-I will just lower the voltage to it with a resistor BTW the 4 wire fan provides feedback to the micro that it is spinning, the extra 2 wires just go to a hall sensor, I doubt the micro counts pulses, it most likely looks for lack of pulses
Thanks again
Edited -02-02 07:13 by KENSTV
Worked like a champ on my version 1 firmware Poidathanks for stopping me from moding it, I have extensive skills and equipment for soldering and rework but the lead free solder on these flatpacks needs a lot of heat which would have been difficult on those control board pins, I'm sure I could have just changed the feedback voltage sample to the microcontroller but the time to program instead makes more senseOne thing I notice is the red beacon symbol led now is flashing like the flatpack is trying to comm with the controller, the manual says the red led is "Alarm LED is ON (shutdown or similar major alarm)" I don't remember the red led on at initial pluginmaybe the flatpack wants a ID number assigned, not sure if the code did that or not ?Another thing is the fan is hellishly loud-I will just lower the voltage to it with a resistor BTW the 4 wire fan provides feedback to the micro that it is spinning, the extra 2 wires just go to a hall sensor, I doubt the micro counts pulses, it most likely looks for lack of pulsesThanks again
Posted: 04:35am12 Jul
Copy link to clipboard
Sinar
Newbie
Hello,
I am a radio amateur from Romania and I would like to use the power supply Flat Pack2 (48v-W) for a power amplifier. However, the default voltage is too high and I would like to change it.
Please tell me specifically how to connect the can transceiver to the flatpack2. Can HI and can LOW is clear, but where is the ground (GND) of the transceiver connected? At the -DC output of flatpack2
or to GND of the CAN bus?
Thank you in advance,
Romeo - YO8RAW
12 Jul
Copy link to clipboard
KENSTV
Newbie
Ground for the can bus and the DC- are one and the same, just look at the foil of the board, the voltage will only go so low, I think 42V was the lowest, can't find my notes maybe someone else can remember the lowest programmable voltage, one thing to remember these power supply's are very noisy due to the fan design, if not running at a higher amperage you could put a quieter fan in that does not move as much air, the power supply is very efficient and does not heat up much at smaller loads, the noise is high pitched and un-bearable unless in a remote shed like a cell tower building !!
Posted: 03:23pm12 Jul
Copy link to clipboard
Sinar
Newbie
Thanks for the quick response. The board for power supply connections is made by me, but it gives me access to the power supply contacts - anyway, after changing the output voltage, I don't use it anymore because I soldered wires inside. I measured the resistance between -DC and GND CAN BUS and it is very high (infinite). I don't know how the connection boards on ebay are made, but reading on several forums, I'm a bit confused. I tried to program the source (actually not me, I asked a friend, I'm not good at programming) and I connected -DC with GND CAN BUS and with GND transceiver CAN BUS, but I failed to communicate with the source. The message was: "can bus shield init fail" and I thought that I did something wrong on the hard side (connections). Maybe the CAN BUS transceiver is defective. I ordered another one and I'm waiting for it to arrive. I will try again, maybe I will succeed.
Thank you
Romeo
Sorry, I'm using google translate.
13 Jul
Copy link to clipboard
nickskethisniks
Guru
I made boards with separate ground, but made provision for a resistor to the power ground, uC and transceiver are fed with an isolated powersupply in my situation, but there is no connection between the 2 grounds. I think I read somewhere that it is best to connect power and can bus to the same ground, maybe with a small resistor between the 2 if you are Running a few in parallel.
Edited -07-13 19:09 by nickskethisniks
14 Jul
Copy link to clipboard
Sinar
Newbie
nickskethisniks
I will only use one power supply for my application, but I didn't really understand what you mean. If I'm not asking too much, please draw a diagram of the connections you used.
For now, I don't have any problems regarding the noise of the fan, for me the power supply will not work in maximum mode all the time.
14 Jul
Copy link to clipboard
Ziki_the
Newbie
Now when you all talking about this.
Is it posible to use it on eltek psr 327?
Look like older flat pack
I have 4pcs 48V 56A 2.7KW in garage, so to add some adjustment is not bad idea.
They could be used for some testing..
22 Jul
Copy link to clipboard
Sinar
Newbie
Carefully following the instructions on this forum (page 4), I finally managed to adjust my Flat pack to the desired voltage.
Thank you.
14 Aug
Copy link to clipboard
Arthur_Dent
Newbie
Hello,
Has anyone had experience load sharing with the Eltek Flatpack 2HE Front End? (i.e. running two rectifiers in parallel for redundancy, etc.)
I have a couple of the Flatpack2 Front End Rectifiers with FCI/Berg style connector.
One of the pins is ISHARE, which apparently: "Systems use the CAN bus to load share digitally." (from Eltek Document , Issue 1 Published 17-May-12) V series Rectifier documentation (from ) expands a little upon this: "All rectifiers ISHARE pins are tied together on the system backplane to support load sharing. This connection may be terminated between rectifiers or left un-terminated in systems where load share is not required."
Does anyone know how this works ?
Thanks in advance.
15 Aug
Copy link to clipboard
poida
Guru
no idea about the CAN bus share
I have run them in parallel and they work as expected.
One or the other unit will deliver power up to it's current limit, then
the other one will chime in, to deliver power up to it's limit.
It's nearly impossible to have both share the load exactly. One will
detect the output voltage and go CV before the other.
I ran them in series too, the outputs are isolated from the mains AC input
so there is no issue. But the CAN bus ground and signals must not be connected
together when running them in series.
115V DC at 45 Amps is a power supply with consequences.
15 Aug
Copy link to clipboard
Arthur_Dent
Newbie
Hi poida
Thanks for this. I guess that would work for me.
However, I'm still curious as to how the ISHARE feature works if anyone knows?
Are you interested in learning more about eltek always on? Contact us today to secure an expert consultation!
Page 4 of 5
Comments
0