Micro Processor & Controller Pulse Wide Modulation Pulse Wide - - PowerPoint PPT Presentation

micro processor controller
SMART_READER_LITE
LIVE PREVIEW

Micro Processor & Controller Pulse Wide Modulation Pulse Wide - - PowerPoint PPT Presentation

Micro Processor & Controller Pulse Wide Modulation Pulse Wide Modulation & & H- -Bridge Bridge H Pulse Width Modulation - - PWM PWM Pulse Width Modulation A Pulse Width Modulation (PWM) Signal is a method for generating an


slide-1
SLIDE 1

Pulse Wide Modulation Pulse Wide Modulation & & H H-

  • Bridge

Bridge

Micro Processor & Controller

slide-2
SLIDE 2

Pulse Width Modulation Pulse Width Modulation -

  • PWM

PWM

A Pulse Width Modulation (PWM) Signal is a method for generating an analog signal using a digital source. A PWM signal consists of two main components that define its behavior: a duty cycle and a frequency. The duty cycle describes the amount of time the signal is in a ON state as a percentage of the TOTAL time of it takes to complete one

  • cycle. The frequency determines how fast the PWM

completes a cycle, and therefore how fast it switches between on and off states. By cycling a digital signal off and on at a fast enough rate, and with a certain duty cycle, the output will appear to behave like an average constant analog signal when providing power to devices.

slide-3
SLIDE 3

PWM Applications PWM Applications

PWM signals are used for a wide variety of control

  • applications. Their main use is for controlling DC motors

but it can also be used to control valves, pumps, hydraulics, and other mechanical and power parts. The frequency that the PWM signal needs to be set at will be dependent on the application and the response time of the system that is being

  • powered. Below are a few applications and some typical

minimum PWM frequencies required:

  • Heating elements: 10-100 Hz or higher
  • DC electric motors: 5-10 kHz or higher
  • Power supplies & converter: 20-200 kHz or higher
slide-4
SLIDE 4

4

Robotic Claw Controlled PWM Robotic Claw Controlled PWM

slide-5
SLIDE 5

5

Duty Cycle Duty Cycle

slide-6
SLIDE 6

6

PWM Used to Control LED Brightness PWM Used to Control LED Brightness

slide-7
SLIDE 7

H H-

  • Bridge

Bridge

A H bridge is an electronic circuit that enables a voltage or current to be applied across a load in either direction. These circuits are often used in robotics and other applications to allow DC motors to run forwards and backwards

slide-8
SLIDE 8

H H-

  • Bridge L298 & L293

Bridge L298 & L293

slide-9
SLIDE 9

Delfino Delfino PWM Modules (Dual A&B 1 PWM Modules (Dual A&B 1-

  • 4)

4)

slide-10
SLIDE 10

Time Base Sub Time Base Sub-

  • Module

Module

slide-11
SLIDE 11

Time Base Sub Time Base Sub-

  • Module Registers

Module Registers

slide-12
SLIDE 12

Counter Compare Sub Counter Compare Sub-

  • Module

Module

slide-13
SLIDE 13

Counter Compare Sub Counter Compare Sub-

  • Module Registers

Module Registers

slide-14
SLIDE 14

Action Action-

  • Qualifier Sub

Qualifier Sub-

  • Module

Module

slide-15
SLIDE 15

Action Action-

  • Qualifier Events

Qualifier Events

slide-16
SLIDE 16

Action Action-

  • Qualifier Example

Qualifier Example

slide-17
SLIDE 17

Action Action-

  • Qualifier Example Code

Qualifier Example Code

slide-18
SLIDE 18

Dead Band Sub Dead Band Sub-

  • Module

Module

slide-19
SLIDE 19

Dead Band Sub Dead Band Sub-

  • Module

Module

slide-20
SLIDE 20

Dead Band Modes Dead Band Modes

slide-21
SLIDE 21

Flax Init PWM Flax Init PWM

See the full example in the course site