
blockVoltage2DutyCycle
Linearly transforms voltage to duty cycle
Information
Transforms the input voltage signal into a duty cycle:
reciprocal = false and useBipolarVoltage = false: v/VLim = dutyCycle
reciprocal = false and useBipolarVoltage = true : v/VLim = 2*dutyCycle - 1
reciprocal = true: v/VLim = 1/(1 - dutyCycle)
Parameters
| Type | Name | Default | Description |
| Boolean | reciprocal | false | Enables reciprocal formula between voltage and duty cycle |
| Boolean | useBipolarVoltage | true | Enables bipolar input voltage range |
| Boolean | useConstantVoltageLimit | true | Enables constant voltage limit |
| SI.Voltage | VLim | | Voltage range limit mapped to dutyCycle = 1 resp. 0 |