Discussion Overview
The discussion revolves around issues encountered while simulating a CD4040B counter in PSpice, specifically in the context of creating a DAC R-2R ladder. Participants are exploring the reasons for unexpected output behavior, which is a straight line instead of the anticipated staircase waveform.
Discussion Character
- Technical explanation
- Debate/contested
- Experimental/applied
Main Points Raised
- One participant reports that the output of their DAC simulation is a straight line rather than a staircase, indicating a potential issue with the CD4040B counter setup.
- Another participant suggests that floating CMOS inputs can cause noise and power consumption issues, recommending that the RESET input be tied low.
- A participant questions whether the CD4040 is counting correctly and asks about the power supply and clock input levels, noting that a 1V square wave may not meet the Vih specification.
- Concerns are raised about the absence of visible power supply connections in the PSpice symbol for the CD4040, leading to confusion about how to properly set up the simulation.
- Suggestions are made to simplify the circuit and to ensure that the supply voltage and clock signal levels are appropriate for the CD4040 operation.
- One participant mentions observing an unexpected output voltage level of 2.6V, questioning whether the correct operating voltage is being applied.
- Another participant shares their experience with a different SPICE tool, noting that they achieved closer results but are still unclear about the output voltage offset issue.
- There is a request for the complete model definition of the CD4040 to better understand its operation in the simulation.
- Discussion includes the output drive capability of the CD4040 at different supply voltages, indicating that the ladder network's impedance may need adjustment to avoid exceeding the chip's drive capability.
Areas of Agreement / Disagreement
Participants express various concerns and suggestions, but there is no consensus on the specific cause of the simulation issue or the correct setup for the CD4040B counter in PSpice. Multiple competing views and approaches are presented.
Contextual Notes
Participants note limitations in the visibility of power pins in the PSpice model and the need for proper voltage levels for the CD4040 to function correctly. There are unresolved questions regarding the output voltage levels and the appropriate setup for the DAC circuit.