11727 views|5 replies

205

Posts

0

Resources
The OP
 

STM32 ADC sampling voltage fluctuates greatly, please help [Copy link]

This post was last edited by stm32f103vct6 on 2018-4-23 15:27 The system power supply is: 24V switching power supply-->DC-DC12v-->7805-->AMS117-3.3 Oscilloscope test AMS1117 ripple peak-to-peak: 180MV A certain pin performs ADC sampling of external voltage, ADC sampling value: (2 types of sampling interrupts and dual ADC) It is found that the sampled data will have a maximum error of 0.1v. What is the cause of this problem and how to solve it? Thank you.

This post is from MCU

Latest reply

Obviously, the voltage obtained by the ADC peripheral is not pure. Either optimize the power supply or add a reference source.  Details Published on 2018-4-23 23:44
 

321

Posts

1

Resources
2
 
Putting aside the fluctuation problem you mentioned, if 24V drops directly to 5V, your 7805 will heat up very much, and the ripple of your 3.3V is close to 0.1V, so what else can I say?
This post is from MCU

Comments

I was wrong. From 24V, there is a DC-DC to 12V, and then to 7805. The topic has been corrected. Thank you.  Details Published on 2018-4-23 15:28
 
 

321

Posts

1

Resources
3
 
What signal does your AD sample? The signal source is very important and you can optimize it accordingly.
This post is from MCU
 
Personal signature模电临时工
 
 

205

Posts

0

Resources
4
 
shipeng posted on 2018-4-23 12:00 Putting aside the fluctuation problem you mentioned, if 24V is directly reduced to 5V, your 7805 will heat up very much, and in addition, isn't the ripple of your 3.3V close to 0.1V? How can there be more...
I was wrong, there is a DC-DC from 24V to 12V, and then to 7805, the topic has been corrected, thank you
This post is from MCU
 
 
 

638

Posts

0

Resources
5
 
1. Separate the analog circuit and digital circuit on the PCB and connect them with copper beads or 0 ohm resistors. 2. Determine whether the signal source has interference by checking the properties of the signal source and add a filter circuit. 3. Optimize the software and add some filter codes.
This post is from MCU
 
 
 

2

Posts

0

Resources
6
 
Obviously, the voltage obtained by the ADC peripheral is not pure. Either optimize the power supply or add a reference source.
This post is from MCU
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list