Engee documentation

Switch (CE)

Two-contact controlled switch.

blockType: SubSystem

Path in the library:

/RF/Circuit Envelope/Junctions/Switch (CE)

Description

Block Switch (CE) simulates a two-pin switch. The input signal Vctl controls the transmission of the library signal RF from the input port In to the output port Out.

If the control voltage is less than the threshold voltage, the unit attenuates the signal using the resistance specified in the parameter Off resistance, Ohm, between the input and output ports. If the control voltage is greater than the threshold voltage, the unit passes the signal using the resistance value specified in the parameter On resistance, Ohm, between the input and output ports.

Ports

Conserving

# Out — The output signal
electricity

Details

The electrical port connected to the output signal.

Program usage name

Out

# In — The input signal
electricity

Details

The electrical port connected to the input signal.

Program usage name

In

Input

# Vctl — control signal
scalar

Details

Control signal Engee, set as a scalar.

Data types

Float64

Complex numbers support

No

Parameters

Main group

# On resistance, Ohm — resistance in the open state

Details

The value of the resistance of the switch in the open state, set as a positive scalar in ohms.

Default value

10

Program usage name

R_on

Tunable

No

Evaluatable

Yes

# Off resistance, Ohm — resistance in the closed state

Details

The value of the switch resistance in the closed state, set as a positive scalar in ohms.

Default value

1e6

Program usage name

R_off

Tunable

No

Evaluatable

Yes

# Threshold voltage, V — Threshold voltage

Details

The switch’s threshold voltage, set as a scalar in volts.

Default value

0

Program usage name

V_threshold

Tunable

No

Evaluatable

Yes

Additional information

Volt-ampere characteristic

Details

Volt-ampere characteristic for a switch or a controlled resistor:

  • if :

  • if :

Where

  • — resistance in the closed state;

  • — resistance in the open state;

  • — input signal Engee;

  • — parameter value Threshold voltage, V the switch.

If , and , then the switch is on.

If , and , then the switch is off.