Gives an error on the encoder

Post Reply
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Gives an error on the encoder

Post 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
User avatar
johu
Site Admin
Posts: 5775
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Gives an error on the encoder

Post 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?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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?
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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.
User avatar
johu
Site Admin
Posts: 5775
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Gives an error on the encoder

Post by johu »

Can you post a picture of your power stage and your parameter settings (json-file from web interface)?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post by yaroslav »

Okay, I'll try to do that tomorrow.
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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
Attachments
parameters.png
IMG_20190814_155504.jpg
IMG_20190814_155347.jpg
IMG_20190814_155205.jpg
IMG_20190814_155138.jpg
IMG_20190814_155113.jpg
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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
User avatar
johu
Site Admin
Posts: 5775
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Gives an error on the encoder

Post 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?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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
Attachments
IMG_20190814_221217_cr.jpg
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post by yaroslav »

This power bridge used to be designed for other inverter, so these boards still have extra elements
User avatar
johu
Site Admin
Posts: 5775
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Gives an error on the encoder

Post 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.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post by yaroslav »

Then you need to change the transistors to higher voltage for 100 volts or more
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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?
Attachments
enkodr 75gz.png
enkodr 75gz.png (7.29 KiB) Viewed 2327 times
enkodr 15gz.png
enkodr 15gz.png (6.68 KiB) Viewed 2327 times
User avatar
johu
Site Admin
Posts: 5775
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Gives an error on the encoder

Post by johu »

Thats perfect but what does it look like while your power stage is running?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post by yaroslav »

Good evening! johu I would like to know what parameters affect the current regen? And what parameters affect the dynamics of acceleration?
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Johannes in a Blue Pill

Post 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
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Johannes in a Blue Pill

Post by yaroslav »

Attached configuration file
Attachments
snapshot 09-18-2019 1-21pm.json
(2 Bytes) Downloaded 70 times
User avatar
johu
Site Admin
Posts: 5775
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1018 times
Contact:

Re: Gives an error on the encoder

Post 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.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post by yaroslav »

Good day, I do not know why it happened, attached again the file with the settings
Attachments
snapshot September-18-2019 11-41pm.json
(2.2 KiB) Downloaded 56 times
yaroslav
Posts: 176
Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times

Re: Gives an error on the encoder

Post 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?
Post Reply