Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Xcos > palettes > Electrical palette > Diode

Diode

Electrical diode

Block Screenshot

Description

This component consists of a simple diode parallel with an ohmic resistance (R). The current (I) passing through this component is defined as a function of the voltage across the ports (V):

i = I_ds.(exp(v/V_t)-1) + v/R

where Ids and Vt are the saturation current and the voltage equivalent of temperature, respectively. If the exponent reaches a certain limit (Max exponent for linear continuation), the diode characteristic becomes linear to avoid overflow.

Parameters

  • Saturation current (A)

    Saturation current

    Properties : Type 'vec' of size 1.

  • Voltage equivalent to temperature (Volt)

    Voltage equivalent of temperature

    Properties : Type 'vec' of size 1.

  • Max exponent for linear continuation

    Max exponent for linear continuation

    Properties : Type 'vec' of size 1.

  • R (ohm)

    Parallel ohmic resistance.

    Properties : Type 'vec' of size 1.

Default properties

  • Inputs :

    • Modelica variable name : 'p'

      Implicit variable.

  • Outputs :

    • Modelica variable name : 'n'

      Implicit variable.

  • Parameters :

    • Modelica parameter name : 'Ids'

      Default value : 0.000001

      Is a state variable : no.

    • Modelica parameter name : 'Vt'

      Default value : 0.04

      Is a state variable : no.

    • Modelica parameter name : 'Maxexp'

      Default value : 15

      Is a state variable : no.

    • Modelica parameter name : 'R'

      Default value : 1.000E+08

      Is a state variable : no.

  • File name of the model : Diode

Interfacing function

  • SCI/modules/scicos_blocks/macros/Electrical/Diode.sci

Modelica model

  • SCI/modules/scicos_blocks/macros/Electrical/Diode.mo

Report an issue
<< CurrentSensor Electrical palette Ground >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:49:21 CET 2020