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.

Lm2907 circuit design

ullisees

Newbie
Joined
May 10, 2021
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
21
Can any one help me with a circuit that will take the squarewave produced by a Memsic 2125 Dual-Axis Accelerometer into a lm2907 to give a 0 to 5v analog output.

I've attached datasheet for the accelerometer

Thank
 

Attachments

  • 0900766b80d167fb.pdf
    127.9 KB · Views: 8

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,708
Helped
4,340
Reputation
8,689
Reaction score
4,303
Trophy points
1,393
Activity points
130,471
Hi,

Yes.
But "help" means: you do the main job, show it and we will help you to rectify mistakes.

Don't expect us to do your job.

Klaus
 

danadakk

Advanced Member level 3
Joined
Mar 26, 2018
Messages
998
Helped
193
Reputation
390
Reaction score
205
Trophy points
43
Activity points
4,678
If you LPF a PWM output you will get an analog V proportional to its
duty cycle.

See attached help designing the filter.


Regards, Dana.
 

Attachments

  • Cancel PWM DAC ripple with analog subtraction _ EDN.pdf
    1 MB · Views: 1
  • slyt076[1].pdf
    372.1 KB · Views: 1
  • spraa88a.pdf
    366.4 KB · Views: 1

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,920
Helped
4,874
Reputation
9,766
Reaction score
4,661
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
126,944
The LM2907 isn't the best device to use for this although it might work. It is really a frequency to voltage converter rather than a pulse width to voltage converter but it does use an internal charge pump so the output will change with PWM ratio. The output wouldn't follow the manufacturers data sheet which expects a constant pulse width and variable frequency so predicting performance would be difficult.

Brian.
 

ullisees

Newbie
Joined
May 10, 2021
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
21
This is a copy of the original circuit that I would like to replace AC1 and AC2 with the Memsic 2125. The LATACC and FACC are a analog 0 to 5v signal which are fed directly to a 68HC11 micro.

Sorry that there are no part numbers or values on this drawing, I have not had time yet to identify every component on the original PCB.
ACC Original.jpg


I have never had to convert a PWM signal into a analog signal before so all this is new to me.

Thank you
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,708
Helped
4,340
Reputation
8,689
Reaction score
4,303
Trophy points
1,393
Activity points
130,471
Hi,

We need technical informations.
What frequency is the PWM?
What source impedance is the signal? (Type, datasheet....)

In simplest case an RC filter should work.
Maybe two RCs, maybe an active circuit with Opamps.

Klaus
 

danadakk

Advanced Member level 3
Joined
Mar 26, 2018
Messages
998
Helped
193
Reputation
390
Reaction score
205
Trophy points
43
Activity points
4,678
The PWM is either 100 or 400 Hz.

This shows a recommended single pole filter. Note use of PWM as a DAC has an
undesired (generally speaking) latency. So if you are trying to use this in a real
time control loop it can be a significant effect on control loop response. The
alternative is to use the processor to do a direct pulse width measurement, although
that too has a significant latency due to PWM pulse width fairly long, eg 2.5 or 10 mS.

1620812596679.png



Regards, Dana.
 

LaTeX Commands Quick-Menu:

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top