top of page
Writer's pictureSanskruti Ashtikar

Wireless Power Transmission System Using a PIC Microcontroller

Updated: Nov 26

Introduction


Wireless Power Transmission (WPT) is an emerging technology that allows electrical energy to be transmitted from a power source to an electrical load without physical connections. The principle of WPT relies on electromagnetic fields to transfer energy between coils or resonators. This article explores the implementation of a WPT system using a PIC Microcontroller, which can manage the system's operation, control, and monitoring functions.





Components of the System


  1. PIC Microcontroller:

  2. Model: PIC16F877A or similar

  3. Function: The PIC microcontroller controls the overall system, including the generation of the control signals and monitoring of system parameters.

  4. Oscillator Circuit:

  5. Purpose: Generates the carrier frequency required for power transmission.

  6. Components: Typically uses a 555 timer IC or a crystal oscillator circuit.

  7. Transmitter and Receiver Coils:

  8. Transmitter Coil: This coil is connected to the power source and generates a magnetic field.

  9. Receiver Coil: This coil receives the magnetic field and converts it back into electrical energy.

  10. Power Amplifier:

  11. Function: Amplifies the signal from the microcontroller to drive the transmitter coil.

  12. Rectifier and Voltage Regulator:

  13. Purpose: Converts the received AC signal into DC voltage suitable for powering electronic devices.

  14. Control Circuitry:

  15. Purpose: Includes the necessary switches, drivers, and feedback loops to regulate the power transfer efficiently.

  16. Feedback System:

  17. Function: Monitors the efficiency of power transfer and adjusts the system accordingly.


Design Considerations


  1. Frequency Selection:

  2. The carrier frequency for WPT systems typically ranges from a few kHz to several MHz. The choice of frequency affects the efficiency and range of the power transfer.

  3. Coil Design:

  4. Size and Shape: The physical dimensions of the transmitter and receiver coils impact the coupling efficiency. The coils should be designed to match the resonant frequency of the system.

  5. Number of Turns: More turns can increase the inductance but also impact the resistance and efficiency.

  6. Safety and Regulation:

  7. Ensure the system operates within safe power limits to avoid overheating and ensure regulatory compliance for electromagnetic emissions.

  8. Efficiency:

  9. The efficiency of the WPT system is affected by the quality of the coils, the matching of resonant frequencies, and the design of the power amplifier and rectifier circuits.


Building the System


1. Microcontroller Setup

  • Programming the PIC Microcontroller: Use MPLAB X IDE to write the firmware for the PIC16F877A. The firmware should handle the following tasks:

  • Generating the PWM signal to control the power amplifier.

  • Reading feedback from the receiver coil to adjust the transmission parameters.

  • Monitoring system status and providing error handling.



#include <xc.h>
#define _XTAL_FREQ 4000000
void setup() {
    TRISB = 0x00;  // Set PORTB as output
    PORTB = 0x00;  // Initialize PORTB to 0
    T2CON = 0x07;  // Timer2 on, prescaler 1:16
    PR2 = 255;     // PWM period
    CCP1CON = 0x0C; // PWM mode
}
void loop() {
    while (1) {
        // Adjust PWM signal here based on feedback
        CCPR1L = 127;  // Example duty cycle
    }
} 

2. Oscillator Circuit

  • Design an oscillator circuit using a 555 timer or a crystal oscillator to provide a stable carrier frequency. The frequency should match the resonant frequency of the coils.

3. Coil Design and Assembly

  • Wind the transmitter and receiver coils according to the desired frequency. Ensure that the coils are aligned properly to maximize coupling efficiency.

4. Power Amplifier

  • Design a class D amplifier or use a pre-built module to amplify the signal from the microcontroller. The amplifier should be capable of driving the transmitter coil effectively.

5. Rectifier and Voltage Regulator

  • Design a rectifier circuit (e.g., using diodes and capacitors) to convert the AC signal received by the receiver coil into DC. Use a voltage regulator to provide a stable output voltage.

6. Feedback System

  • Implement a feedback loop to measure the output voltage and current. Adjust the PWM duty cycle to maintain efficient power transfer.


Testing and Optimization


  1. Initial Testing:

  2. Verify the basic functionality of the transmitter and receiver coils. Check for proper oscillation and signal amplification.

  3. Efficiency Measurement:

  4. Measure the efficiency of the power transfer by comparing the input power to the output power. Optimize the system by adjusting the coil alignment, frequency, and amplification.

  5. Safety Checks:

  6. Ensure that the system operates within safe temperature limits and adheres to electromagnetic interference regulations.





Conclusion


A Wireless Power Transmission System using a PIC Microcontroller combines advanced electronics with microcontroller technology to create a flexible and efficient power transfer solution. By carefully designing the oscillator, coils, amplifier, and feedback system, you can build a robust WPT system capable of wirelessly powering electronic devices.

With ongoing advancements in microcontroller technology and power electronics, such systems will continue to improve in efficiency and application. Experimentation and fine-tuning are key to achieving optimal performance and reliability in your wireless power transmission projects.



Want us to guide you through your project or make the project for you ?







Create Various Projects

Check out our Free Arduino Projects Playlist - Arduino Projects 

Check out our Free Raspberry Pi Projects Playlist - Raspberry Pi Projects 

Check out our Free TinkerCAD Projects Playlist - TinkerCAD Projects 

Check out our Free IoT Projects Playlist - IoT Projects 

Check out our Free Home Automation Projects Playlist - Home Automation Projects 

Check out our Free NodeMCu Projects Playlist - NodeMCu Projects 



6 views0 comments

Related Posts

See All

Comments


bottom of page