Electric Engine Discussion

Discussion in 'General Discussion' started by default0.0player, Jun 1, 2019.

  1. default0.0player

    Expand Collapse

    Nov 30, 2018
    There's lots of electric motors, and the most widely used are induction motors. This thread mainly discuss about induction motor dynamics.
    Induction motor is a machine that converts electricity to mechanical work via electromagnitic induction.
    The winding, which is in the stator, creates a rotating magnetic field. And the rotor, which mainly contains a squirrel cage that creates an electric current caused by the magnetic field. This leads to a mechanical torque.
    The motor power is controlled by a variable voltage variable frequency(VVVF) drive that does DC/AC conversion.

    If both the voltage and the frequency are constant, the output torque looks like this
    In practice, the "unstable" region should never be used.
    In a closed control loop, the VVVF drive aquires the motor RPM and apply an appropriate frequency to make sure the motor is running at the stable region.
    Therefore if the throttle is at a given value, when RPM changes, the drive frequency change but the difference between them remains the same.In conclusion, the drive makes the torquecurve looks like pictures below, not above.

    At low speeds, both the voltage and the frequency are lowered by the same ratio, so the torque remains constant, only the speed of the same torque changes
    At high speeds, the voltage is at the rated voltage that cannot be increased further, only the drive frequency changes, this will weaken the magnetic field, lowering the torque
    In some applications, there's also a constant power region that between the constant torque and constant voltage.

    Efficiency and energy losses.
    Three types: Mechanical loss, core loss and resistive loss.
    Mechanical losses are bearing friction, which is nearly constant, and cooling fan air drag that increase with RPM
    Core losses are eddy current loss and hysteresis loss, both increase with drive frequency and voltage.

    Resistive loss, two types. One is the winding resistance that increase with current. The other is the squirrel cage loss that increase with the frequency difference between drive frequency and RPM. If the drive RPM is 10000 and engine RPM is 9500, due to this loss the efficiency is ALWAYS lower than 95% even the core loss and the mechanical loss is zero. The eSBR does not simulate this.
    --- Post updated ---
    DC motors are a little bit different, the torque depends on the input voltage and the RPM

    When DC motor is spinning the winding is creating a back-EMF that is the opposite of the input voltage. So the current = (inputvolt-backEMF)/(winding resistance)

    An unregulated DC motor, which is a motor that connects directly to a DC voltage, curve looks like this
    Note that in this picture the resistance of the winding is exaggerated. If you put the motor is the "max. output power" the efficiency is 50% the motor will destory in seconds.
    Also note that the effieciency is ALWAYS lower than (no load RPM)/(actual RPM)
    In an EV, the winding resistance is very very low, so the Torque-Speed Curve is very flat, So an EV motor needs to use a driver to regulate it.

    The driver regulates the input voltage to be above the back-EMF(the BEMF voltage is the input voltage when no load), the same goes.
    Speeds are theoretical no-load speed(correlates input voltage) and actural running speed(correlates back-EMF)
    So we can get this conclusion: If the input voltage is 100V, the BEMF is 95V, the efficiency is always less than 95%.
    Interestingly, this characteristic is very similiar to the "slip" of the induction motors.
    --- Post updated ---
    The "regulated" DC motor torque curve is at shown
    #1 default0.0player, Jun 1, 2019
    Last edited: Jun 1, 2019
    • Like Like x 7
    • Informative Informative x 6
  2. default0.0player

    Expand Collapse

    Nov 30, 2018
    The problem: Why the eSBR does not simulate electric engine realistically.

    To understand these phenomenons, we need to do some testings
    You might want to check out some older(pre0.16) EV mods, such as the Electric Sunburst, 200EX and the Ibishu Condensa.

    1. Start a time trial driving a eSBR, before start shift to D and floor it, check the energy consumtion and the output torque.
    2. Try to hold position at a uphill using only throttle
    3. Maintain a constant throttle input during a acceleration from standstill.

    1. The output torque maxed out but the energy consumption stays below 1kW
    2. Unable to do so, the torque skyrocket when approaching zero speed.
    3. Just after the sudden acceleration at start, the torque decreases but the power kW remains constant

    Conclusion. Two problems that prevents the eSBR from realistic eletric simulation.
    1. The controller in the eSBR is constant-power, if the rated power is 388kW, 2% throttle is 7.76kW, the torque=power/speed, if the speed approach zero the torque approaches infinity, only capped by the "torquecurve"
    2. The motor does not simulate "slip" energy consumption. The efficiency only takes account the "friction", "dynamicFriction" and the "electricalEfficiency". If the speed is zero the output power is zero so zero*loss=zero
    IRL it does not take nothing to create a rotating magnetic field.
    eSBR: Has regen braking
    Older mods: has "slip" energy consumtion. You can hold position at a uphill using only throttle
    • Informative Informative x 8
  3. Capkirk

    Expand Collapse

    Nov 19, 2017
    This is really good, and goes over the problems with the current electric engine model pretty well. I assume the solution to the first problem would be to switch the electric engine model to use a constant torque controller instead, which shouldn't be too hard, and will fix most of the eSBRs touchiness without too much difficulty. The second problem is a fair bit trickier I imagine. The old solution of using a TC works, but it's not great, since the TC simulation is designed specifically to simulate 3 element converters being driven by a fluid, which could probably get close with tuning, but isn't great, and I feel @Diamondback wouldn't be satisfied with approximations either, based on his efforts in every other part of the engine system. Based on the fact almost every modern electric car uses Synchronous AC motors (Brushless DC), that's probably what the current model should simulate. The controller to calculate the target drive voltage, and then magnetic flux produced, motor saturation, and output torque can't be easy though, and would probably need a few more variables to make tuneable, and not just simulate an infinitely powerful motor hooked up to controllers with different target max torques.
    • Like Like x 1
    • Informative Informative x 1
  4. default0.0player

    Expand Collapse

    Nov 30, 2018
    The BLAC motor is the most complex and it's a bit hard for me to understand it.
    A Brushed DC motor input DC, but inside the winding is Square-wave AC due to the commutator, the controller only regulates the voltage.
    A BLDC motor imput DC to the controller and the controller regulates voltage and do the "electric commutating" at the same time. The back-EMF cauculation works the same as brushed.
    However the BLDC can be driven as a Synchronous AC motors, aka PMSM. The PWSM does not "slip" as the induction motor. Instead there's a "phase lag" the magnet phase lags behind the electromagnetic field. The more the throttle the more "lead" the controller send to the motor winding. If the motor has zero RPM the winding RPM is also zero and the only energy consumtion is the winding resistance loss, even the core loss is zero at zero RPM because the magnetic field does not rotate.
    Therefore, the winding RPM is the same as engine RPM, the more the throttle, the more the phase θ "lead" the permanent magnet, and the higher voltage.

    EDIT: An "unregulated" BLDC, which is a BLDC contains only an electric commutator(a bunch of mosfet switches and a hall sensor, no MCU), works like a brushed DC motor.
    However, an "unregulated" Synchronous motor looks like this
    #4 default0.0player, Jun 2, 2019
    Last edited: Jun 2, 2019
    • Informative Informative x 1
  5. Michaelflat

    Expand Collapse

    Jul 10, 2014
    What an excellent post.. Also demonstrates the faults with the esbr at the moment..
    Hope we get a constant torque, then constant power region.. that would be awesome!
    • Agree Agree x 4
  6. ARES IV

    Expand Collapse

    May 6, 2019
    Very interesting. Thank you.
    • Like Like x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice