Measuring Output Power Using Atmel Tiny45 and Boost Converter

AI Thread Summary
To measure output power using the Atmel Tiny45 and a boost converter, a current-sensing resistor is essential for accurate current measurement. Without this resistor, calculating power becomes impossible, as the ADC can only measure voltage. Users can connect the ADC across a suitable resistor to measure the voltage drop and calculate current by dividing the voltage by the resistor value. The discussion emphasizes the importance of balancing resistor size to minimize power loss while ensuring measurable voltage differences. Ultimately, the goal is to optimize power output by adjusting the duty cycle based on measured voltage and current.
carvinrose
Messages
9
Reaction score
0
HI,

How do i feed the current information into micro-controllers ADC input to calculate the total power?


Please help. I am using atmel tiny45 and its a boost converter output current i want to measure for output power.

Thanks.
 
Engineering news on Phys.org
ADCs measure voltage, just connect the ADC across a suitable resistor with the current flowing through it.
It's a balance between a resistor that's small enough not to use too much power and to produce a voltage difference big enough to measure accurately
 
carvinrose said:
HI,

How do i feed the current information into micro-controllers ADC input to calculate the total power?


Please help. I am using atmel tiny45 and its a boost converter output current i want to measure for output power.

Thanks.

Does your boost DC-DC use a current-sensing resistor for current liminting? If so, you can do a differential voltage measurement across it (like with an opamp), and drive that voltage into the ADC to sense the current. You may want to do some filtering of that signal, to lowpass to get the average current.
 
berkeman said:
Does your boost DC-DC use a current-sensing resistor for current liminting? If so, you can do a differential voltage measurement across it (like with an opamp), and drive that voltage into the ADC to sense the current. You may want to do some filtering of that signal, to lowpass to get the average current.

No i don't have a current sensing resistor. Although i have two resistors in series to measure the output voltage. But how do i measure the current at the output?
 
carvinrose said:
No i don't have a current sensing resistor. Although i have two resistors in series to measure the output voltage. But how do i measure the current at the output?

Without a series current sensing resistor, you won't be able to calculate power (barring a CT). Can you post your schematic? We can't do your student work for you, but we can post hints and suggestions for you to consider to solve your problem.

Quiz Question for extra credit -- how is the duty cycle of your boost related to the output voltage?
 
berkeman said:
Without a series current sensing resistor, you won't be able to calculate power (barring a CT). Can you post your schematic? We can't do your student work for you, but we can post hints and suggestions for you to consider to solve your problem.

Quiz Question for extra credit -- how is the duty cycle of your boost related to the output voltage?

Lol i know i need a resistor but i need more information i guess what i have to do is measure the voltage drop then divide by the resistor to get the current value? i have searched the net but haven't found anything. Well my goal is to extract maximum power so all i am planning to do is measure the output voltage and measure the output current multiply them to get output power than increase the duty cycle and measure the output power again. Then compare them if power increased then increase duty cycle further then compare again if power decreased than decrease duty cycle to change the output voltage. It's pretty simple. But how to get the current information into micro controller is the problem right now.

Thanks
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...

Similar threads

Back
Top