PWM, H-Bridge and NCO - PIC16F18446


+ Reply to Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: PWM, H-Bridge and NCO - PIC16F18446

    Hope this draw clarifies a bit the problem.

    Ioannis

    Name:  bridge.JPG
Views: 10714
Size:  555.4 KB

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: PWM, H-Bridge and NCO - PIC16F18446

    so where does the 1khz fit in ?


    i expected more like this
    Name:  Untitled.jpg
Views: 10736
Size:  289.5 KB
    Warning I'm not a teacher

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: PWM, H-Bridge and NCO - PIC16F18446

    You are right, I just didn't want to clutter the draw.

    Ioannis

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: PWM, H-Bridge and NCO - PIC16F18446

    looking at your diagrams, seems like you could ..... set up the PWM module for 1KHZ as normal, for the 20HZ part, set up a timer interrupt for the low freq maybe with a couple of roll overs for lower freq.... then on tmr int, only need to switch the Q's and add a little dead time on each switchover.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: PWM, H-Bridge and NCO - PIC16F18446

    Alain:
    The PWM is controlled by a Pot. I could also make a variable power supply and control directly the voltage on a SMPS circuit instead of PWM. More complicated.

    Amgen:
    It is easier on the unipolar mode. But gets difficult on bipolar drive having software to control both PWM, low freq signal and the control of the 4 MosFets transitors. Including deadtime.
    Better, most if not all of this be done on hardware using NCO, CWG, CLC etc.

    I believe that it is possible to do this as Richard is confident too. I just need more reading to understand how all these modules will work together.

    Ioannis

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: PWM, H-Bridge and NCO - PIC16F18446

    did you get someone for your h-bridge circuit ?? have a couple thoughts if not

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default Re: PWM, H-Bridge and NCO - PIC16F18446

    The above seemed too complicated.

    I think I better use this design route:

    1. Use an PWM, NCO, CWG, CLC capable MCU like the ...K42 one. These chips may drive the PWM signal to the desired pin, so I can control the H-Bridge operation at will, according to the needs of the load.

    2. On the H-bridge use Gate the IRS2890 driver that has also current limiting capability.

    3. Use the MCU to control the upper Mosfets of the bridge as PWM to regulate the voltage required to the load

    4. Use the MCU to control the lower Mosfets of the bridge to control the On/Off of the 0-50 Hz signal

    On the above scheme, CLC may not be needed.

    On Monday I will order the required parts to assemble a prototype. Though it will be mostly on air I hope it will work good enough to verify the idea.

    Unfortunately the IRS2890 is available only in SMD but anyways...

    Have found MosFets that should cover the SOA that is needed.

    Any ideas welcome,
    Ioannis
    Last edited by Ioannis; - 31st March 2025 at 00:02. Reason: Instead of K22 I meant K42

Similar Threads

  1. Enhanced PWM Full-Bridge Mode
    By Zapman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th September 2022, 19:08
  2. Replies: 4
    Last Post: - 7th June 2011, 05:02
  3. Need guidance with DC motor controller - PWM & H-Bridge
    By rfetech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th November 2010, 03:33
  4. PWM with PIC16F88 controlling h-bridge
    By deimantas in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 20th May 2010, 22:03
  5. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18

Members who have read this thread : 16

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts