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
 
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...

Similar threads

Back
Top