[Ideas For Design]
Simulate A Neon Lamp In Spice By Using A Hysteric Resistor

David L. Albean
ED Online ID #1032
January 10, 2000

 

Copyright © 2006 Penton Media, Inc., All rights reserved.
Printing of this document is for personal use only.
Reprints

Several types of circuit elements exhibit hysteretic behavior. Unfortunately, Spice simulation programs typically don't include an easy method to model such effects. For example, a simple neon light flasher is difficult to simulate with Spice without including hysteresis in the model for the neon bulb.

A neon flasher operates by charging through an RC, which determines the flash rate (Fig. 1). The bulb looks like an open circuit until the ionizing potential is reached. Once this has occurred, the bulb discharges and can be modeled as a simple linear resistor. However, the bulb acts as a resistor until the current through it falls below a holding level, even though the voltage across it drops below the ionizing potential. Modeling this behavior requires a resistor with hysteresis.

The heart of the resistor model consists of a comparator with hysteresis. The comparator may be modeled either by a Spice macromodel, or by building up a comparator from discrete elements. Figure 2 depicts a hysteretic comparator that implements the behavior required by the neon bulb model. The switching transistor is included to switch RH in and out of the circuit at the appropriate times, thus simulating the desired hysteresis.

Operation of this circuit is as follows: Until the input voltage to the comparator exceeds 65 V, the output remains high. This keeps RH switched out of the circuit. Once the input voltage exceeds 65 V, the output of the comparator goes low, switching in RH. The output remains low until the comparator input falls below the hysteresis level of the comparator (that is, 10 V).

Consider a neon bulb with the following parameters: VON = 65 V; RON = 1k; ROFF = 10M; hysteresis = 55 V (the bulb remains on until the voltage across it drops below 10 V).

The period of the charge/discharge cycle of the bulb then can be computed approximately by solving the following for t:

VBULB(t) = VIN (1 − e-t/t)

Thus, t = 1.28t and the flash rate is approximately 1/t.

The Spice transient simulation of the neon flasher is shown in Figure 3. The Spice macromodel developed for the resistor can be employed when simulating other application circuits that require a resistance with a prescribed amount of hysteresis.



Figure 1
Figure_01.gif 1

Figure 2
Figure_02.gif 2

Figure 3
Figure_03.gif 3


PartFinder

Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
GlobalSpec

PART SEARCH :
Powered by: GlobalSpec - The Engineering Search Engine
Sponsored Links

Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources