1
\$\begingroup\$

How to use 74HC221 for output variable pulse width on negative edge.

enter image description here

I tried connect B and MR pins to HIGH and A pin to input as tells in datasheet. But it give huge pulse like 1 second.

enter image description here

Probably I must use RX and CX pins but don't know how to use and datasheet doesn't tell.

The pulse that i want, must be between 0-10 ms.

I add R4, R5 and C3 change the values of R4 and C3 multiple times but it didn't change the output.

enter image description here

Then realized this:
"Pin 'CX' is not modelled.
Pin 'RX/CX' is not modelled."
in simulation log. Could this be the problem?

\$\endgroup\$
7
  • \$\begingroup\$ Perhaps you could add a bit more context to improve your question. What have you tried? What didn’t work? What are you trying to achieve? \$\endgroup\$ Mar 18 at 14:08
  • \$\begingroup\$ Add a resistor from the base of Q1 to GND for a more lean and snappy turn-off, Also, the regulator needs a capacitor directly at its input, per the datasheet. \$\endgroup\$
    – AnalogKid
    Mar 18 at 14:34
  • \$\begingroup\$ The chart in the lower image has no useful information, just large color blobs. What are you trying to show? \$\endgroup\$
    – AnalogKid
    Mar 18 at 14:36
  • \$\begingroup\$ @AnalogKid The blue is output from Q. Yellow is Transformer and red transistor their period is 20ms so the problem and want to show the blue is 1s \$\endgroup\$
    – akiftokel
    Mar 18 at 15:07
  • \$\begingroup\$ @akiftokel - Also be aware of the limits of RX, as shown on page 1: "The minimum value of external resistance, RX, is typically 500Ω. The minimum value of external capacitance, CX, is 0pF. The calculation for the pulse width is tW = 0.7 RXCX at VCC = 4.5V." \$\endgroup\$
    – Nedd
    Mar 18 at 15:29

3 Answers 3

0
\$\begingroup\$

The equation for calculating the values is on page 1 of the datasheet. Also, figure 8 shows the relationships among R, C, and time.

For your desired time period, you can pick approximate R and C values from the chart, and then fine-tune them for commercially available values with the equation.

\$\endgroup\$
0
\$\begingroup\$

The TI 74HC221 data sheet clearly shows (on page 2) where the RX,CX components are connected.
For proper operation follow the truth table (same page), be sure you satisfy all input pins.

Input \$B\$ operates with a rising edge, while \$\overline{A}\$ operates with a falling edge. ( Input \$\overline{R}\$ must be held high).

Below is the page 2 that I see. If this is not what you see your PDF reader App may be outdated.

.enter image description here ................................................[From: https://www.ti.com/lit/ds/symlink/cd54hc221.pdf]

\$\endgroup\$
0
\$\begingroup\$

I find an alternative solution because RX and RX/CX pins aren't functional i think.

  1. So in edit properties window for component there is "Monostable Time Constant" value. Default value is 1 second so the output was always 1 second. But you can change it whatever you want.
  2. And there is hidden pins for VCC and GND so You must add VCC and GND terminal in your circuit.
  3. Also B and MR pins must be HIGH and A input for falling edge trigger.

This is result. You can see i add VCC terminal and set monostable time constant value to 5ms so BLUE line in graph shows that. enter image description here

\$\endgroup\$
1
  • \$\begingroup\$ Much better. If you want to try an actual RC timing circuit see if your simulator has a complete model for a 555 chip. That can also be wired for a mono-stable function. \$\endgroup\$
    – Nedd
    Mar 18 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.