SlideShare a Scribd company logo
1 of 2
Download to read offline
Application Note Title: Individual Channel Rates
Revision #: 1.00


Scope:
This application note explains how a user can produce outputs of different rates from a
Quantum Composers pulse generator by utilizing the ‘Duty Cycle’ mode. Two different
approaches will be explained; the first is a quick and dirty process that allows a novice user to
get the correct setup, while the second approach goes into greater detail about the math behind
the process.


Body:
This application note is written with the assumption that the user understands the basic features
and functionality of the Quantum Composers pulse generators. If after reading this app note
there is confusion on how to access and adjust such features as Period, Duty Cycle, the number
of On/Off pulses or how to verify the output rate for each channel feel free to contact Quantum
Composers technical support.

1st Approach
Set the To Period of pulse generator to 1us. Set channel mode to ‘Duty Cycle’ with an ‘On’
pulse count of “1”. Next take the desired frequency channel output and turn it into a
microsecond time base (round to the nearest microsecond); subtract 1 from this number and this
gives the number of duty cycle ‘Off” pulses needed to achieve the desired output frequency for
that channel. For example:

Example
Channel Mode                                  Duty Cycle
On Pulses count                               1
To (period)                                   0.000001 seconds (1 MHz)
Desired channel frequency output              120Hz
       Equivalent microsecond time base       1/120Hz = 0.00833333 sec = 8333us
Number of ‘Off Pulses’                        8333 – 1 = 8332 (Off Pulse count)

This setup will give the desired channel frequency of 120Hz. This easy approach to individual
channel rates is good for outputs of 1 MHz and slower. To accomplish faster output rates see
the 2nd Approach.

2nd Approach
Set the channel mode to ‘Duty Cycle’ an ‘On’ pulse count of “1”. Set the To at the desired
period; for fastest and most accurate individual channel output frequencies set the period to the
highest rate. Next take the desired frequency channel output and turn it into a second time base;
round this number to nearest significant digit as dictated by the To period in seconds. Take this
number and divide it by the To time base (in seconds) and round it to the nearest whole number;
subtract 1 from this number and this gives the number of ‘Off’ pulse counts. The following are
a couple of examples:

Example 1
Channel Mode                                 Duty Cycle
On Pulses count                              1
Example To selection                         0.00000005 seconds
Desired channel frequency output             120Hz
       Equivalent microsecond time base      1/120Hz = 0.00833333 seconds (rounded)
Number of ‘Off Pulses’                       0.00833333 / 0.00000005 = 166667 rounded
       calculations continued                166667 – 1 = 166666 (Off Pulse count)

Example 2
Channel Mode                                 Duty Cycle
On Pulses count                              1
Example To selection                         0.0000002 seconds
Desired channel frequency output             300kHz
       Equivalent microsecond time base      1/300kHz = 0.0000033 seconds (rounded)
Number of ‘Off Pulses’                       0.0000033 / 0.0000002 = 17 rounded
       calculations continued                17 – 1 = 16 (Off Pulse count)

Note that the output frequencies cannot be faster than the To frequency. It can also be noted
that the math behind the two approaches outlined in this application note is the same. However,
keeping the period set at 1MHz, as described in the 1st approach, and changing to the desired
output frequency into microseconds allows for simpler math.

More Related Content

Viewers also liked

Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivity
Quantum Composers
 
Quantum composers white paper laser control using the 9500 series pulse gener...
Quantum composers white paper laser control using the 9500 series pulse gener...Quantum composers white paper laser control using the 9500 series pulse gener...
Quantum composers white paper laser control using the 9500 series pulse gener...
Quantum Composers
 
Quantum composers laser information sheet
Quantum composers laser information sheetQuantum composers laser information sheet
Quantum composers laser information sheet
Quantum Composers
 
Quantum composers white paper multiplexing model 9520 digital delay pulse g...
Quantum composers white paper  multiplexing model 9520 digital delay  pulse g...Quantum composers white paper  multiplexing model 9520 digital delay  pulse g...
Quantum composers white paper multiplexing model 9520 digital delay pulse g...
Quantum Composers
 

Viewers also liked (11)

LS635 Laser System Manual
LS635 Laser System ManualLS635 Laser System Manual
LS635 Laser System Manual
 
9500+ datasheet
9500+ datasheet9500+ datasheet
9500+ datasheet
 
Quantum composers white paper ethernet connectivity
Quantum composers white paper  ethernet connectivityQuantum composers white paper  ethernet connectivity
Quantum composers white paper ethernet connectivity
 
Pulse Generator Comparison Chart Version 2.9
Pulse Generator Comparison Chart Version 2.9Pulse Generator Comparison Chart Version 2.9
Pulse Generator Comparison Chart Version 2.9
 
1550 lddc datasheet
1550 lddc datasheet1550 lddc datasheet
1550 lddc datasheet
 
2012 quantum composers product guide
2012 quantum composers product guide2012 quantum composers product guide
2012 quantum composers product guide
 
Tech guides width and delay
Tech guides  width and delayTech guides  width and delay
Tech guides width and delay
 
Quantum composers white paper laser control using the 9500 series pulse gener...
Quantum composers white paper laser control using the 9500 series pulse gener...Quantum composers white paper laser control using the 9500 series pulse gener...
Quantum composers white paper laser control using the 9500 series pulse gener...
 
Quantum composers laser information sheet
Quantum composers laser information sheetQuantum composers laser information sheet
Quantum composers laser information sheet
 
Tech guides: Channel Multiplexing
Tech guides: Channel MultiplexingTech guides: Channel Multiplexing
Tech guides: Channel Multiplexing
 
Quantum composers white paper multiplexing model 9520 digital delay pulse g...
Quantum composers white paper  multiplexing model 9520 digital delay  pulse g...Quantum composers white paper  multiplexing model 9520 digital delay  pulse g...
Quantum composers white paper multiplexing model 9520 digital delay pulse g...
 

Similar to Pulse generator programming channel rates

Digital blood pressure meter
Digital blood pressure meterDigital blood pressure meter
Digital blood pressure meter
Culun Habis
 
Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & Mohammad
Kaveh Dehno
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
Ruthvik Vaila
 
Tutorial 8 frequency counter
Tutorial 8   frequency counterTutorial 8   frequency counter
Tutorial 8 frequency counter
Brit4
 

Similar to Pulse generator programming channel rates (20)

Frequency counter
Frequency counterFrequency counter
Frequency counter
 
Ultrasonic Range Finder
Ultrasonic Range FinderUltrasonic Range Finder
Ultrasonic Range Finder
 
Report on speed control of d.c. motor using pwm method
Report on speed control of d.c. motor using pwm methodReport on speed control of d.c. motor using pwm method
Report on speed control of d.c. motor using pwm method
 
Digital blood pressure meter
Digital blood pressure meterDigital blood pressure meter
Digital blood pressure meter
 
Dc lab Manual
Dc lab ManualDc lab Manual
Dc lab Manual
 
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
Close Loop V/F Control of Voltage Source Inverter using Sinusoidal PWM, Third...
 
Gear flow meter and roots flow meter instruction manual wiring and parameter set
Gear flow meter and roots flow meter instruction manual wiring and parameter setGear flow meter and roots flow meter instruction manual wiring and parameter set
Gear flow meter and roots flow meter instruction manual wiring and parameter set
 
Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & Mohammad
 
AVR_Course_Day7 timers counters and interrupt programming
AVR_Course_Day7 timers counters and  interrupt programmingAVR_Course_Day7 timers counters and  interrupt programming
AVR_Course_Day7 timers counters and interrupt programming
 
SAR_ADC__Resumo
SAR_ADC__ResumoSAR_ADC__Resumo
SAR_ADC__Resumo
 
Microcontroller part 3
Microcontroller part 3Microcontroller part 3
Microcontroller part 3
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
 
Unit 3 betl 305
Unit 3 betl 305Unit 3 betl 305
Unit 3 betl 305
 
Unit 3 betl 305
Unit 3 betl 305Unit 3 betl 305
Unit 3 betl 305
 
Tutorial 8 frequency counter
Tutorial 8   frequency counterTutorial 8   frequency counter
Tutorial 8 frequency counter
 
Intro-Peakvue.pdf
Intro-Peakvue.pdfIntro-Peakvue.pdf
Intro-Peakvue.pdf
 
Basics of amplifier
Basics of amplifierBasics of amplifier
Basics of amplifier
 
Av02 2315en datasheet
Av02 2315en datasheetAv02 2315en datasheet
Av02 2315en datasheet
 
Real 2nd order LC PLL loop analysis.pptx
Real 2nd order LC PLL loop analysis.pptxReal 2nd order LC PLL loop analysis.pptx
Real 2nd order LC PLL loop analysis.pptx
 
Assessment of cardiac contractility using langendorff apparatus connected to ...
Assessment of cardiac contractility using langendorff apparatus connected to ...Assessment of cardiac contractility using langendorff apparatus connected to ...
Assessment of cardiac contractility using langendorff apparatus connected to ...
 

More from Quantum Composers

Sapphire pulse generator product release
Sapphire pulse generator product releaseSapphire pulse generator product release
Sapphire pulse generator product release
Quantum Composers
 
Motorized aperture datasheet
Motorized aperture datasheetMotorized aperture datasheet
Motorized aperture datasheet
Quantum Composers
 
9520 pulse generator datasheet
9520 pulse generator datasheet9520 pulse generator datasheet
9520 pulse generator datasheet
Quantum Composers
 

More from Quantum Composers (20)

9420 datasheet
9420 datasheet9420 datasheet
9420 datasheet
 
9200+ datasheet
9200+ datasheet9200+ datasheet
9200+ datasheet
 
The Emerald Datasheet
The Emerald DatasheetThe Emerald Datasheet
The Emerald Datasheet
 
The Jewel DPSS Lasers
The Jewel DPSS LasersThe Jewel DPSS Lasers
The Jewel DPSS Lasers
 
Micro Jewel DPSS Lasers Datasheet
Micro Jewel DPSS Lasers DatasheetMicro Jewel DPSS Lasers Datasheet
Micro Jewel DPSS Lasers Datasheet
 
LS625 Laser System Manual
LS625 Laser System ManualLS625 Laser System Manual
LS625 Laser System Manual
 
LS615 Laser System Manual
LS615 Laser System ManualLS615 Laser System Manual
LS615 Laser System Manual
 
Mir datasheet
Mir datasheetMir datasheet
Mir datasheet
 
9200+ datasheet
9200+ datasheet9200+ datasheet
9200+ datasheet
 
Tech guides - Using the Communications Terminal
Tech guides - Using the Communications TerminalTech guides - Using the Communications Terminal
Tech guides - Using the Communications Terminal
 
9530 datasheet
9530 datasheet9530 datasheet
9530 datasheet
 
8000 series datasheet
8000 series datasheet8000 series datasheet
8000 series datasheet
 
Att datasheet
Att datasheetAtt datasheet
Att datasheet
 
9730 datasheet
9730 datasheet9730 datasheet
9730 datasheet
 
Sapphire pulse generator product release
Sapphire pulse generator product releaseSapphire pulse generator product release
Sapphire pulse generator product release
 
Qc v srs comparison dg535
Qc v srs comparison dg535Qc v srs comparison dg535
Qc v srs comparison dg535
 
Motorized aperture datasheet
Motorized aperture datasheetMotorized aperture datasheet
Motorized aperture datasheet
 
9710 datasheet
9710 datasheet9710 datasheet
9710 datasheet
 
9520 pulse generator datasheet
9520 pulse generator datasheet9520 pulse generator datasheet
9520 pulse generator datasheet
 
Pulse generator comparison chart
Pulse generator comparison chartPulse generator comparison chart
Pulse generator comparison chart
 

Pulse generator programming channel rates

  • 1. Application Note Title: Individual Channel Rates Revision #: 1.00 Scope: This application note explains how a user can produce outputs of different rates from a Quantum Composers pulse generator by utilizing the ‘Duty Cycle’ mode. Two different approaches will be explained; the first is a quick and dirty process that allows a novice user to get the correct setup, while the second approach goes into greater detail about the math behind the process. Body: This application note is written with the assumption that the user understands the basic features and functionality of the Quantum Composers pulse generators. If after reading this app note there is confusion on how to access and adjust such features as Period, Duty Cycle, the number of On/Off pulses or how to verify the output rate for each channel feel free to contact Quantum Composers technical support. 1st Approach Set the To Period of pulse generator to 1us. Set channel mode to ‘Duty Cycle’ with an ‘On’ pulse count of “1”. Next take the desired frequency channel output and turn it into a microsecond time base (round to the nearest microsecond); subtract 1 from this number and this gives the number of duty cycle ‘Off” pulses needed to achieve the desired output frequency for that channel. For example: Example Channel Mode Duty Cycle On Pulses count 1 To (period) 0.000001 seconds (1 MHz) Desired channel frequency output 120Hz Equivalent microsecond time base 1/120Hz = 0.00833333 sec = 8333us Number of ‘Off Pulses’ 8333 – 1 = 8332 (Off Pulse count) This setup will give the desired channel frequency of 120Hz. This easy approach to individual channel rates is good for outputs of 1 MHz and slower. To accomplish faster output rates see the 2nd Approach. 2nd Approach Set the channel mode to ‘Duty Cycle’ an ‘On’ pulse count of “1”. Set the To at the desired period; for fastest and most accurate individual channel output frequencies set the period to the highest rate. Next take the desired frequency channel output and turn it into a second time base;
  • 2. round this number to nearest significant digit as dictated by the To period in seconds. Take this number and divide it by the To time base (in seconds) and round it to the nearest whole number; subtract 1 from this number and this gives the number of ‘Off’ pulse counts. The following are a couple of examples: Example 1 Channel Mode Duty Cycle On Pulses count 1 Example To selection 0.00000005 seconds Desired channel frequency output 120Hz Equivalent microsecond time base 1/120Hz = 0.00833333 seconds (rounded) Number of ‘Off Pulses’ 0.00833333 / 0.00000005 = 166667 rounded calculations continued 166667 – 1 = 166666 (Off Pulse count) Example 2 Channel Mode Duty Cycle On Pulses count 1 Example To selection 0.0000002 seconds Desired channel frequency output 300kHz Equivalent microsecond time base 1/300kHz = 0.0000033 seconds (rounded) Number of ‘Off Pulses’ 0.0000033 / 0.0000002 = 17 rounded calculations continued 17 – 1 = 16 (Off Pulse count) Note that the output frequencies cannot be faster than the To frequency. It can also be noted that the math behind the two approaches outlined in this application note is the same. However, keeping the period set at 1MHz, as described in the 1st approach, and changing to the desired output frequency into microseconds allows for simpler math.