doncarlosalbatros
Full Member level 2
- Joined
- Nov 26, 2016
- Messages
- 143
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 18
- Activity points
- 1,758
I'm trying to convert 0..10V analog voltage to frequency by using an LM331. Since LM331 works at 5V supply, I can scale 0..10V to 0..5V and feed it as the voltage input to the LM331.
I came across this circuit and this forum. I followed the instructions to use LM331 in LTspice and simulated the circuit below:
But I'm getting 5V constant output when I use 5V supply. LM331 should work with 5V supply. But in simulation with 5V it doesn't work. It works when I use 10V supply.
Can someone explain me how this circuit works? I mean C1 and R1 sets the frequency but thats all I know. What else sets what here? How can I set the duty cycle to around 50%? How can I modify this circuit so I can run the simulation for 5V supply?
I came across this circuit and this forum. I followed the instructions to use LM331 in LTspice and simulated the circuit below:
But I'm getting 5V constant output when I use 5V supply. LM331 should work with 5V supply. But in simulation with 5V it doesn't work. It works when I use 10V supply.
Can someone explain me how this circuit works? I mean C1 and R1 sets the frequency but thats all I know. What else sets what here? How can I set the duty cycle to around 50%? How can I modify this circuit so I can run the simulation for 5V supply?