주요 콘텐츠

Automotive Alternator Charging a Battery

This example shows how alternator behavior can be abstracted to a DC model that simulates efficiently. This test harness first ramps the alternator speed linearly from zero to a typical idle speed of 900 RPM. When the generated voltage is sufficient to overcome the forward voltage drop associated with the rectifier diodes, the battery charging current starts to ramp up. The test harness then ramps up the speed to 5000 RPM, and the alternator has to back off the field voltage to maintain the regulated voltage. The model captures the increase in stator resistance as the alternator heats up, this reducing device performance

Model

Simulation Results from Simscape Logging

The plot below shows the behavior of the alternator as the engine speed varies.

Results from Real-Time Simulation

This example has been tested on these platforms:

  • Speedgoat™ Performance real-time target machine with an Intel® 3.5 GHz i7 multi-core CPU and 4 GB RAM.

  • dSPACE® SCALEXIO LabBox with Intel® Core XEON E3-1275v3 at 3.5GHz and 4 GB RAM.

You can run this model in real time with a step size of 40 microseconds by using the Simscape local solver. For small sample rates, a task overrun might occur during the initial task execution due to a cold cache. To avoid this overrun, if the selected platform supports these options, relax the start-up behavior by specifying a limited number of task overruns or increasing the sample time of periodic tasks during the start-up phase of the real-time application.

See Also

Topics