Cable and Connectors
Libraries:
Simscape /
Electrical /
Connectors & References
Description
The Cable and Connectors block models a cable and connectors using resistors and inductors.
For most applications, you can connect two or more blocks together directly with physical connection lines. These connection lines are heavily idealized and have no resistance or inductance. If you need a simple physics-based model for an electrical cable or connectors, you can use a combination of Resistor blocks and Inductor blocks. Use the Cable and Connectors block instead, if you want to:
Model multiple conductors in a single cable.
Analyze cables with open-circuit faults.
Analyze input or output connectors with short-circuit faults.
Parameterize the conductors by defining the material and geometry instead of the resistance and inductance.
Specify the gauge of the conductors using the American wire gauge (AWG) system.
Cable
The Cable and Connectors block models each conductor in the cable as a resistor. You can choose to also include an inductor in series with the resistor by selecting the Model cable inductance parameter. Clear this parameter to prioritize high simulation speeds. Select this parameter to prioritize accurate results.
To model a single conductor, clear the Model multiple conductors in cable parameter. To model multiple conductors, select the Model multiple conductors in cable parameter and specify the number of conductors using the Number of independent conductors in cable parameter.
The Cable and Connectors block has two ports that represent the electrical input and output. If you model a single conductor, the input and output ports are electrical conserving ports. If you model multiple conductors, the input and output ports are electrical array-of-nodes conserving ports. To connect the electrical array-of-nodes ports to the rest of your network, use an Array of Electrical Nodes block to act as a mux for the Simscape™ electrical domain by concatenating all input array of nodes into a single 1-D array. First, connect the input and output ports to the outConn port of separate Array of Electrical Nodes blocks. Then, set the Number of input connections parameter of the Array of Electrical Nodes blocks to the same numerical value as you set the Number of independent conductors in cable parameter of the Cable and Connectors block. This figure shows how to connect a Cable and Connectors block with three independent conductors in the cable.
The block assumes that the conductors in the cable are round wires and calculates the resistance of each conductor R using these equations [1],
where:
ρ is the electrical resistivity of each conductor.
L is the value of the Length of conductor parameter.
r is the radius of the conductor.
δ is the skin depth.
μ is the magnetic permeability of the conductor.
σ is the specific conductivity of the conductor.
f is the rated frequency.
For DC current, there is no skin effect. Current spreads evenly over the cross-section of the conductor so δ = r. For high-frequency AC current, at full skin effect, current flows only on the surface of the conductor and δ = 0.
If you clear the Model skin effect parameter, f = 0. If you select the Model skin effect parameter, f is equal to the value of the Rated frequency parameter.
If you select the Model cable inductance parameter, the block calculates the inductance of each conductor LDC using these equations [2],
where:
μ0 is the permeability of free space.
Y is the current distribution constant.
The current distribution constant has a value between 0 and 1. For DC current, Y = 1. For high-frequency AC current Y approaches 0.
Connectors
The block models the connectors with resistors. The number of pins in the conductor is
equal to the number of independent conductors in the cable. This figure shows the equivalent
circuit for a three-pin input connector. The resistors labelled Ri
model
the contact resistance between each pin and the corresponding socket. The resistors labelled
Gij
model the inter-pin conductance for each pin pair
(i,j)
.
Specify the resistance of resistors Ri
using the Contact
resistance between pin and sockets parameter. Specify the conductance of
resistors Gij
using the Conductance between pins
parameter.
You do not always need to model connectors at both ends of the cable. For example:
If you model a cable soldered directly to a printed circuit board (PCB), then it is more accurate not to model the connector at that end of the cable.
If you model a cable with almost ideal connectors or you model an open-circuit fault in the cable, the inter-pin conductance and the contact resistance between the pins and sockets, in the connectors, have a negligible impact on the simulation results.
You can choose whether to model each connector by using the Model input connector and Model output connector parameters. If you do not need to model the connectors, choose not to model them to increase simulation speed.
Model Faults
To model a fault in the Cable and Connectors block, in the Faults section, click the Add fault hyperlink next to the fault that you want to model. In the Add Fault window, specify the fault properties. For more information about fault modeling, see Fault Behavior Modeling and Fault Triggering.
The Cable and Connectors block models electrical faults as an instantaneous change in the conductance of the cable or connectors. You can model an open-circuit fault in the cable or a short-circuit fault in the connectors.
The block can trigger fault events:
At a specific time.
When the current or temperature exceeds the maximum permissible value for longer than a specific time interval.
If you want to trigger a fault at a specific time, in the
Fault Inspector window, set Trigger type to
Timed
. If you want to determine whether a system fails and, if
so, when it fails, in the Fault Inspector window, set Trigger
type to Behavioral
.
If you select the behavioral trigger, the component fails as soon as one of the trigger conditions is true.
When the cable fails in open-circuit, the conductance of the conductors changes to the
value of the Open-circuit conductance parameter. If you model multiple
conductors in the same cable, you can choose to trigger faults for all conductors or specify
which conductors you want to fail. To trigger an open-circuit fault for all conductors, set
Faultable conductors to Make all conductors
faultable
. To trigger an open-circuit fault for specific conductors only,
set Faultable conductors to Specify faultable
conductors
and specify which conductors you want to fail using the
Indices of faultable conductors parameter.
When an input or output connector short circuits, the inter-pin conductance of pin pairs
changes to the value of the Short-circuit conductance of faulted input
connector or Short-circuit conductance of faulted output
connector parameters. To trigger a short-circuit fault for all pin pairs, set
Faultable pin pairs to Make all pin pairs
faultable
. To trigger a short-circuit fault for specific pin pairs only, set
Faultable conductors to Specify faultable
conductors
and specify which conductors you want to fail using the
Matrix of faultable pin pairs parameter. Each row of this matrix
defines a pair of pins by their indices. For example, to enable a short circuit fault
between pins 1 and pin 2, add the row 1,2;
to the matrix.
Ports
Conserving
Parameters
References
[1] Keller, R. B. “Skin Effect.” In Design for Electromagnetic Compatibility--In a Nutshell, by Reto B. Keller, 135–43. Cham: Springer International Publishing, 2023. https://doi.org/10.1007/978-3-031-14186-7_10.
[2] Rosa, E. B. “The Self and Mutual Inductances of Linear Conductors.” In Bulletin of the Bureau of Standards 4, no. 2 (January 1908): 301. https://doi.org/10.6028/bulletin.088.
Extended Capabilities
Version History
Introduced in R2024b