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.
hi everyone,
I am trying to make one DC current meter like in the schematic attached.
My problem is when the load is the DC motor, the A/D result is random.
The load current from a DC motor probably is random ! It depends on the mechanical motor load, friction, inductance of the motor windings and commutator position.
The only way to get an AVERAGE reading is to use an averaging filter. You can do this in software by taking many readings and mathematically finding their mean or you can use an RC filter to average the voltage itself.
You are using very high gain in the amplifier which is not helping the situation.
Be careful with your circuit, if you are using positive and negative supplies to the op-amp you should protect the PIC from possible negative voltages at its ADC pin.
I try both solutions:
- averaging in software with 100 samples per second, did not help;
- RC filter solve the problem but with high values (R=10k C=10uF)
The problem was the DC motor used for testing.
Anyway the gain of the amplifier is not so high, R3 is 10K.
The motor will generate noise when brushes make and break contact. The fundamental frequency of the noise will be the revolution rate of the motor. There will also be harmonics. Filters help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.