PWM, H-Bridge and NCO - PIC16F18446


+ Reply to Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,721


    Did you find this post helpful? Yes | No

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

    Do not know if or how NCO can be steered PWM/CWG module.


    Richard, also nice idea about CLC module. I suppose the low freq signal is external of the PIC. Or may be the NCO signal too.
    you need to have a good look at the data sheet
    valid cwg input's :-
    the nco
    a clc output
    any of the ccp /pwm modules
    the dsm output

    valid clc input's:-
    the nco
    any of the ccp /pwm modules
    the dsm output

    there are many possible methods of modulating a LF osc source with a HF pwm signal with the clc or dsm modules
    any of which can be turned into a full bridge signal source with the cwg module , try a few
    Warning I'm not a teacher

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    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: 46631
Size:  555.4 KB

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,721


    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: 46829
Size:  289.5 KB
    Warning I'm not a teacher

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    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

  5. #5


    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.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    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

  7. #7


    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

Similar Threads

  1. Enhanced PWM Full-Bridge Mode
    By Zapman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th September 2022, 20:08
  2. Replies: 4
    Last Post: - 7th June 2011, 06: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, 04:33
  4. PWM with PIC16F88 controlling h-bridge
    By deimantas in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 20th May 2010, 23:03
  5. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 23:18

Members who have read this thread : 12

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