Page 1 of 1

Gives an error on the encoder

Posted: Tue Aug 13, 2019 4:56 pm
by yaroslav
Good evening! I'm new to the forum soldered the inverter version 2, I want to use it on karting. The engine is mounted 1.5 kW capacity of 940 rpm, 50 Hz, rewound to the frequency of 100 Hz with a voltage of 60V, lithium titanate battery 40 amp hour 51вольт. There were several errors, one of them is associated with the encoder, gives an error but the engine is spinning, I do not know what the problem is, but I would like to know the conditions of error registration on the encoder, made it to 60 teeth, using a single-channel optical encoder. frequency limited to 80Hz on the engine. Transistors are 4pcs in parallel IRFP3077

Re: Gives an error on the encoder

Posted: Tue Aug 13, 2019 5:51 pm
by johu
Hi,

What are the other errors? Encoder is a warning when pulses are very irregular like one really short pulse between many long ones. It is usually caused by electromagnetic interference. Is your encoder cable well shielded and the shield grounded solidly?

Re: Gives an error on the encoder

Posted: Tue Aug 13, 2019 7:33 pm
by yaroslav
I was becoming an oscilloscope on the cable itself, it turns out when the speed is small, the pulses are uniform, and when the engine goes to its 80 Hz, the positive pulse for some reason longer. The cable I have done twisted, but just need to do the shielding will do it then

Re: Gives an error on the encoder

Posted: Tue Aug 13, 2019 7:36 pm
by yaroslav
Could it bring to punching transistors when overclocked everything was fine but when dropped the gas pedal punched a few transistors in the rack?

Re: Gives an error on the encoder

Posted: Tue Aug 13, 2019 7:43 pm
by yaroslav
I do not know how to call it bugs or misconfiguration, the settings did according to the instructions, very sluggish acceleration, and hit the transistors after resetting the gas pedal, should withstand a load greater than this engine, it has a rated current of 50 amps, and transistors as much as 4pcs.

Re: Gives an error on the encoder

Posted: Tue Aug 13, 2019 8:36 pm
by johu
Can you post a picture of your power stage and your parameter settings (json-file from web interface)?

Re: Gives an error on the encoder

Posted: Tue Aug 13, 2019 9:12 pm
by yaroslav
Okay, I'll try to do that tomorrow.

Re: Gives an error on the encoder

Posted: Wed Aug 14, 2019 2:20 pm
by yaroslav
Good evening, I took a picture of the inverter and could not how to get the json file, made a screenshot of the settings from the web interface

Re: Gives an error on the encoder

Posted: Wed Aug 14, 2019 2:23 pm
by yaroslav
The photo shows 4 parallel transistor and repeaters tip41 and tip42 after hcpl3102, instead of a contactor I am using the electronic key 5 PCs transistors irf3808, they are included instead of contactor

Re: Gives an error on the encoder

Posted: Wed Aug 14, 2019 4:56 pm
by johu
Nice styling :)
But,

1st issue: I don't see a bus cap anywhere (maybe you just removed it for the photos)
2nd issue: heatsinking? (removed for photos also?)
3rd issue: you're running 75V Mosfets at 60V bus voltage. You want like 40% margin, i.e. 100V parts

Your MOSFETS are dying because of over-voltage, not over-current.

What logic board are you running?

Re: Gives an error on the encoder

Posted: Wed Aug 14, 2019 7:48 pm
by yaroslav
1. Capacitors on the other side of the board, shot in the evening so the photo is darkened

2. unscrewed it from the radiator to change the punched transistors, the radiator measuring 120mm by 200mm, height 8mm

3. I use 75V transistor MOS transistors, but I have a 51 volt bus voltage. Is the motor able to raise the voltage on the batteries more than 51 volts since the inverter is loaded with batteries? Does it open the contactor when releasing the accelerator pedal? Although I have field effect transistors instead of a contactor through which the voltage should flow back to the batteries.

I use a logic board version 2

Re: Gives an error on the encoder

Posted: Wed Aug 14, 2019 7:51 pm
by yaroslav
This power bridge used to be designed for other inverter, so these boards still have extra elements

Re: Gives an error on the encoder

Posted: Wed Aug 14, 2019 8:27 pm
by johu
Ok, good.
51V is still sort of tight for 75V parts. The voltage will rise as soon as the motor goes into regen. The contactor is not opened during normal operation.

Re: Gives an error on the encoder

Posted: Wed Aug 14, 2019 9:04 pm
by yaroslav
Then you need to change the transistors to higher voltage for 100 volts or more

Re: Gives an error on the encoder

Posted: Thu Aug 15, 2019 11:10 am
by yaroslav
I took the oscillograms on the encoder, as you can see at the frequency of 15-20 Hz, the pulses are uniform, and at a frequency of 75 Hz already of different durations, can this lead to an error?

Re: Gives an error on the encoder

Posted: Thu Aug 15, 2019 11:35 am
by johu
Thats perfect but what does it look like while your power stage is running?

Re: Gives an error on the encoder

Posted: Thu Aug 15, 2019 2:23 pm
by yaroslav
on the encoder itself it looks exactly the same, but if you look at the capacitor, that is, noises, how to get the transistors I solder and remove from the capacitor itself

Re: Gives an error on the encoder

Posted: Mon Aug 19, 2019 8:10 pm
by yaroslav
Good evening! johu I would like to know what parameters affect the current regen? And what parameters affect the dynamics of acceleration?

Re: Johannes in a Blue Pill

Posted: Wed Sep 18, 2019 11:36 am
by yaroslav
Good day! I have a few questions:1 Press the break button, and nothing happens how cool the engine is spinning. 2 When you turn on the cruise control sometimes engine jerks much like the slowing and accelerating but sometimes runs fine. 3 what does setting udcnom

Re: Johannes in a Blue Pill

Posted: Wed Sep 18, 2019 11:42 am
by yaroslav
Attached configuration file

Re: Gives an error on the encoder

Posted: Wed Sep 18, 2019 9:06 pm
by johu
Hi yaroslav,
the parameter file is empty, not sure what happened.
1 Not sure about the break button question?
2 The cruise function will oscillate when there is no load on the motor because of filtering. You can try setting speedflt=0. Generally when running a vehicle set speedflt=4.
3 udcnom automatically adjusts boost and fweak when udc changes. So when udc drops below (or rises above) udcnom boost will be raised and fweak will be lowered proportionally.

Re: Gives an error on the encoder

Posted: Thu Sep 19, 2019 9:32 am
by yaroslav
Good day, I do not know why it happened, attached again the file with the settings

Re: Gives an error on the encoder

Posted: Thu Sep 19, 2019 9:36 am
by yaroslav
1.When you press the break button, the engine continues to spin, so it should be ?
2.If hands crotonate the engine in the opposite direction that it is spinning, is this normal?