Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PSpice library other than CD4016

Status
Not open for further replies.

angy

Full Member level 3
Joined
Jul 9, 2008
Messages
151
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Activity points
2,341
Their is a problem with PSpice model of CD4016 .Can anyone tell other alternative for the same.
 

if you can post the exact problem encountered with details of your circuit and error messages , members can give you the solution...
 

Here is one:

Code:
.subckt HC4016 CONT SW1 SW2 VP VN
C4 SW1 CONT 600f
C5 SW2 CONT 600f
C2 SW2 VN 5p
B1 n1 SW2 i=v(n1,sw2)/270*uramp(v(vp,vn))
C3 SW1 VN 5p
C1 SW2 SW1 3.5p
D1 SW2 VP clamp
D2 VN SW2 clamp
D3 SW1 VP clamp
D4 VN SW1 clamp
R1 SW2 SW1 1G
S1 SW1 n1 CONT VN S1
.model S1 VSWITCH RON=1 ROFF=1G VON=3 VOFF=2.5
.model clamp D rs=20
.ends

Keith.
 



---------- Post added at 05:15 ---------- Previous post was at 05:15 ----------

I have attached the circuit and output

---------- Post added at 05:17 ---------- Previous post was at 05:15 ----------

 

I think that looks OK. What were you expecting it to do? You have the switch permanently enabled and the input waveform is passed to the output. I am not sure if the input is a sine wave, but if so it is too large for the IC to handle. You might want to try a smaller amplitude, offset at 2.5V.

Keith.
 

Actually when that switch is off,still you get some negative voltage at the ouput.

---------- Post added at 13:08 ---------- Previous post was at 13:02 ----------



---------- Post added at 13:08 ---------- Previous post was at 13:08 ----------

If u see the block diagram u can see how it should work

---------- Post added at 13:09 ---------- Previous post was at 13:08 ----------

I am trying to work it out in TINA 7 but not able to find CD4016 in their library!!!
 

The model I gave earlier works for me. Maybe you haven't set up the simulation correctly.

Keith.
 

Attachments

  • CD4016.pdf
    44.8 KB · Views: 103

I don't know about your spice model, but a better device to use would be a CD4066. Also this might have a spice model that works better for you. The CD4066 is completly compatible with the earlier CD4016. Also better specs.

Don
 

Thanks Keith its working now with Voffset of 2.5V

---------- Post added at 05:30 ---------- Previous post was at 05:29 ----------

No PSpice library for CD4066!!!!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top