AnsweredAssumed Answered

How to Read DC Bus voltage with Simulink

Question asked by dumitru-daniel.popa Employee on Sep 18, 2017
Latest reply on Sep 18, 2017 by Leon Thürnau

In the User Guide for the HVP-MC3PH board I found the following;


4.6 Current inrush circuit

The inrush circuit is used during the powering of highvoltage circuits. It is based on the (NTC) Thermistor RT1 and the shorting relay K1. Before powering the power circuits, the DCbus capacitors are usually discharged. To avoid a huge current pulse when the power is connected, the RT1 limits the current to a reasonable value. This protects from melting the fuse, input filter, rectifier and the output capacitors from current shock. Immediately after the output capacitors are charged, the relay must short RT1 to avoid overheating. This should be done by the user once the DCbus voltage achieves 80% of nominal value, usually in the time range 0.3 – 3 seconds after power is applied.


Now I would like to measure the DC bus voltage and switch the relay output at 80%, whereby RT1 is bridged.

For that the voltage could read with an analog input in a Simulink model and if 80% are reached the digital output PTC13 (where the relay is connected) would switch on.

Unfortunately, I could not figure out where the DC bus voltage is measured.


Which sample index I have to configure in the Simulink ADC Block ?

Which value I have to configure in a compare block, so that it matches 80% DC Bus voltage ?


Or should I connect a switch externally at J2 (e.g. RxD_EXT), read it by a digital input block and manually operate it after 0.3-3 seconds?

A software-controlled solution would be more elegant ...