Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

How to transfer the duty of a PWM signal to a accurate voltage

Status
Not open for further replies.

bluesmaster

Member level 3
Joined
Apr 2, 2006
Messages
54
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,605
the frequency of the input pwm signal can vary from 5K to 10K.Need a circuit to transfer the duty of the PWM to a voltage or current with 8bit resolution whatever the frequency is . Anybody can help or give some ideas.
 

jpanhalt

Advanced Member level 3
Joined
Jun 28, 2010
Messages
724
Helped
216
Reputation
442
Reaction score
219
Trophy points
1,323
Activity points
6,964
Would a simple low-pass filter like this work:


That circuit was just chopped out of a larger design, but I show it just to give you the idea.

John
 

bluesmaster

Member level 3
Joined
Apr 2, 2006
Messages
54
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,605
Thanks a lot.But it is impossible to build the 10uF on chip.
 

jpanhalt

Advanced Member level 3
Joined
Jun 28, 2010
Messages
724
Helped
216
Reputation
442
Reaction score
219
Trophy points
1,323
Activity points
6,964
It was just an approach I used to convert duty cycle at a fixed frequency to a servo control. The frequency was much lower, so my capacitor was larger. Values can be adjusted for different frequencies. I suspect it would not work too well, if the frequency and duty cycle are changing together. In that case, a purely digital approach or a clocked integrator might work.

John
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top