ealex / power_board_for_egs002

a power board for EGS002, bases on the SK68-100SA heatsink
Apache License 2.0
2 stars 0 forks source link

Hello #3

Open jharvey opened 2 years ago

jharvey commented 2 years ago

@ealex Can I ask you some questions about the EG8010 on the EGS002 board? For the IFB signal, I'd like to use a Hall sensor instead of the sense resistor. The datasheet's I've found so far seem to indicate the IFB is just a safety shut down. If over 0.5V for xyz time, then shutdown the output. Then if you exceed 0.65V the op-amps circuits on the EGS0002, preform additional shutdown efforts. I see the datasheet claims that the EG8010 can provide a measured amps via serial streamed data. However I don't see how the EG8010 knows the amps. Perhaps below this 0.5V is an analog measurement. Or perhaps I do not understand the 0.5V IFB comments in the datasheet. So I ask some questions.

-- Is the IFB a safety shutdown as I think it is? -- Do you know if the serial stream will provide the measured amps and if so how accurate is the reported amps? -- Would you have interest in getting the serial stream into an ESP32? -- Do you know how a hall sensor can be used instead of a sensor resistor for the IFB and similar signals? I have a simulation found here Simulations/IFB_Hall_Sensor_simulation.PNG Do you think this simulation is close to the signal that IFB is expecting? In that simulation, the max amps will produce a 0.5V signal.

Perhaps contacting you via the "issues" tab is not great. If you want to migrate to email, you can email me GH@jaredharvey.com

ealex commented 2 years ago

Hello

The IFB pin on the EG8010 is just a safety shutdown, look at "8.2 AC Output Current Feedback" in the datasheet From my understanding: the voltage level at the IFB pin is compared to a fixed 0.5V reference. When it exceeds 0.5V and it stays there for more than 600mS then the output is disabled. Then it waits some time (16s ?) and it tries again - 5 times in total.

On the EGS0002 module, there's an extra comparator that also disables the mosfet drivers. I had to remove the comparator, hard-wire the drivers to always-on, and connect the IFB straight to the EG8010.

In the intended application the IFB is measured on the low side of the MOSFET bridge - it's on the same ground level => no galvanic separation is required. It's now showing the actual load current - it's showing the primary side one - basically output power / primary side voltage + a lot of switching noise. An interesting link: https://github.com/tvixen/4KW-230V-Inverter

You said something about an ESP32 - if you want to measure the actual output current maybe you can use a current transformer with a proper load resistor. One end is connected to one of the ADC inputs, the other is biased to VADC/2 - half point of the ADC voltage. You can measure the waveform and get the current, output power factor, overload, etc.

I've got the serial LCD's (8.8 Serial 12832 LCD Setting) but they're a joke - i don't know how they should work - maybe in a fixed output voltage setup

The serial protocol looks interesting (8.9 RS232 Serial communication port) but I did not get a chance to test it. It looks like it will give you all the data - by the looks of it you can apply some scaling factors and find out the output voltage / current. Note that you don't have a way to set the current limit - that's a hard-wired function inside the IC. looks like someone managed to connect via the serial port: https://forum.arduino.cc/t/interfacing-with-eg8010-problems/416715/3

I won't be able to play with them for a while - the're in a box somewhere, as I'm slowly moving to another place / workshop and I only have room for the work related stuff.