

+ R_open = 100MEG open circuit contact resistance + T_break= 10mSec Time for contact to open when current is turned off/on + T_make = 20mSec Time for contact to close when current is turned off/on subckt RELAY_SPDT_BHV coila coilb no nc com The following circuit file shows the simple behavioral model of a relay (without contact bounce). By using the digital devices, it is easy to set the delays using sub-circuit parameters, and there are no time step problems that can be caused by very high gain analog switches. It uses a Digital to Analog conversion device in an unusual configuration to model the contacts. The model uses a PSpice digital buffer's propagation time to model the make and break times, and uses the Analog to Digital conversion device to model the pull-in/dropout current hysteresis. It requires parameters for coil inductance and resistance, contact resistance, pull-in and dropout coil currents, and make and break times. The first behavioral model does not include contact bounce, and is the fastest to simulate. Rather than requiring physical construction parameters, these models require behavioral parameters. The second and third approaches simply model the electrical behavior of the relay coil and contacts. The Electrical(Behavioral) Model Approach This type of physical model could be useful for designing a relay, but it is overkill for simulating its electrical behavior. Most of this time is wasted if all the user needs to know is whether the contacts are open or closed. There are two problems with this modeling approach: first it requires information about the physical construction of the relay (spring force, contact arm moment, magnetic permeance as a function of contact arm position) that is not normally available to the user of a relay, and second, it takes a lot of computer time to simulate the exact position of the contact arm. The electrical contacts of the relay are simulated by switches controlled by the position of the contact arm.

To do this, it calculates the magnetic and mechanical forces acting on the contact arm of the relay, and simulates the acceleration, velocity, and position of the arm in response to these forces. This model constructs an electrical analogy to the mechanical operation of the relay. The mechanical model for the relay is modeling the mechanical part of electromechanical devices in general, using the relay as an example. Model of a Relay (without Contact Bounce) The Electrical (Behavioral) Model Approach In this application note, we will discuss two approaches for modeling the relay: the mechanical model approach, and two purely electrical (behavioral) models approach.
