Need help with a special type of signal converter

Click For Summary
SUMMARY

The discussion centers on designing a signal converter that transforms a variable frequency input signal (150Hz to 6kHz) into a fixed frequency output signal at 150Hz with a variable duty cycle ranging from 3% to 80%. The user requires specific functionalities, including a default 25% duty cycle for 3 seconds upon startup, a minimum user-configurable duty cycle, and a maximum duty cycle of 50% when an input signal is present. The participant is considering using a Parallax BASIC Stamp for programmability, while also exploring the possibility of implementing the design using 555 timers.

PREREQUISITES
  • Understanding of signal processing concepts, specifically duty cycle and frequency conversion.
  • Familiarity with programmable devices, particularly the Parallax BASIC Stamp.
  • Basic knowledge of 555 timer circuits and their applications in pulse generation.
  • Experience in programming, especially in languages compatible with BASIC Stamp.
NEXT STEPS
  • Research the programming capabilities and examples for the Parallax BASIC Stamp.
  • Learn about 555 timer configurations for generating pulse width modulation (PWM) signals.
  • Explore circuit design techniques for implementing a "dead man timer" or "frustrated one-shot" functionality.
  • Create a duty cycle vs. microseconds table to assist in designing the output signal characteristics.
USEFUL FOR

Electronics hobbyists, signal processing engineers, and developers looking to implement variable duty cycle signal converters using programmable devices or timer circuits.

DSG281
Messages
2
Reaction score
0
I have a project where I'm trying to take a variable frequency input signal and converting it to a fixed frequency, variable duty cycle output signal. The input signal is a sin wave ranging from roughly 150Hz to 6kHz. The output signal needs to be fixed at 150Hz with a duty cycle range of roughly 3-80%. There are several catches though.

The ratio between the input and output signals is not fixed. There are times where I will need the output signal to be a specific duty cycle. For example, when the devise is first turned on, I need the output signal to be at ~25% for about 3 seconds without an input signal. If after the 3 seconds there is still no input signal, I need the output to be 75% duty cycle.

Another example is that I need there to be a user-configured minimum duty cycle output. So regardless how low the input frequency gets, a user needs to be able to set a minimum duty cycle of 10%, 20%, etc.

At the same time, there needs to be a user-configured setting of when duty cycle reaches 50%. When there is an input signal, maximum duty cycle needs to be 50%. A user needs to be able to adjust when 50% is reached in the input frequency range.

Because of the complexity, I was leaning towards a programmable devise like a Parallax BASIC stamp. That way, I can program the logic that I need.

Developing this type of devise is a little bit beyond my capabilities at this time. I'm hoping that some people here can give me some ideas on how to proceed. Thanks!
 
Engineering news on Phys.org
so::

so you need a 150 hz pulse train
with adjustable pulse width


a one shot triggered 150 times per second would set your minimum width, and 10% would be 2/3 msec;
followed by a "pulse stretcher" - 'OR' it with one of several other one shots set to whatever duty cycle you want. One of them would be variable, and one of them an "input present" detector (known in the trade as 'dead man timer' or 'frustrated one-shot'.

first task is to make yourself a table of duty cycle vs microseconds.

whether this runs on 555 timers or a "stamp" is immaterial at this point
you need to make a block diagram. Then either wire it up or write a Basic program that does the same thing.

have fun!


old jim
 
Here is a bit more info on what I'm looking for.

flow_chart.jpg


So here is what I'm looking for as far as output duty cycle with relation to frequency when there is an input signal. Without an input signal, the output needs to be 75% aside from the 3 seconds of 25%.

example_graph.jpg


I'm leaning towards a stamp because I do have programming experience in several programming languages. However, I have no experience with 555 timers. If this can be done with 555 timers, I'm all for it. I would just need some help.
 

Similar threads

Replies
55
Views
8K
  • · Replies 23 ·
Replies
23
Views
6K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 27 ·
Replies
27
Views
1K
Replies
20
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
7
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K