The usual reason is lack of attention to detail and trying to run a marathon before learning to crawl and walk.
Thank you!Okay, you have one learning. The next one is to learn what PWM means. I suspect you are misusing that term as well.
Thank you. Your explaination cleared up a few things for.me.I think you are still very confused with the terms involving PWM
You will likely find the same answers with your Upwork link ... https://www.upwork.com/jobs/~0174f9ce6108465e56
Let me see if I can explain.
With general PWM you have a Period which is a fixed interval. (There are more complex algorithms that use a variable interval but for this example lets leave that parameter fixed)
The Duty cycle that ranges from 0% to 100% is the ratio of ON time to OFF time within that Period.
Say for example if I were to flip ON a light switch on an interval of every minute. Suppose that after the light is ON, I flip it off after 20 seconds. The Period would be 1 minute, while the duty cycle would be 33% (20 seconds / 60 seconds = 33%). Now suppose that after the light is ON, I flip it off after 24 seconds. The Period would still be 1 minute, but the duty cycle would be at 40% (24 seconds / 60 seconds = 40%)
In the above scenario a 4017 would ONLY be able to capture the Period and NOT the duty cycle.
High amps, requires no other devices, (makes it simple) adjustable frequency, (signal?) easy to mount and friedly to adjust, oh and it comes with a diode to protect from fly back voltage.I finally looked up the device you are using.
ZK-PP2K
Why are you using a motor controller as signal generator?
Why do you need "high amps" if you are driving a CD4000 series CMOS chip? Those CMOS outputs can barely light a standard efficiency LED.High amps, requires no other devices, (makes it simple) adjustable frequency, (signal?) easy to mount and friedly to adjust, oh and it comes with a diode to protect from fly back voltage.
We keep circling back to this fundamental precept. I wonder why.It’s time to tell us what you are trying to do. Then perhaps we could give you a solution that is evading you.
I did explaied it, I am building a EMF pulse with a frequency to attak brain tumor mainly, I have succefully design it with a square bi polar dc wave using the an h-bridge and the zk-pp2k. Those frequency are easy to deal with as they are relatively high for the brain (300hz) then for the cool down period, as such high hz tend to make it hard to sleep, we need to match calmer brain wave during cooldown period, 0.5-2 hz. There is also the remouval of the plaque in the brain using 30 to 50 hz to "potentially" revese the early onset of alzheimer.We keep circling back to this fundamental precept. I wonder why.
Frequency is always measured in Hertz, at least since 1960, when it replaced cps (cycles per second), regardless of the magnitude of the frequency or the application.I did explaied it, I am building a EMF pulse with a frequency to attak brain tumor mainly, I have succefully design it with a square bi polar dc wave using the an h-bridge and the zk-pp2k. Those frequency are easy to deal with as they are relatively high for the brain (300hz) then for the cool down period, as such high hz tend to make it hard to sleep, we need to match calmer brain wave during cooldown period, 0.5-2 hz. There is also the remouval of the plaque in the brain using 30 to 50 hz to "potentially" revese the early onset of alzheimer.
There is also more stuff, like dealing with depression, bipolar, PTSD, insomnia. They are all very closely related and share a common source.
the accuracy of the signal needs to be to 0.1hz has people have been found to be all a little different to what they feel comfortable to relax after treatement (at lower frequency)
I am sorry I keep using frequency, when we talk about the brain wave we use the word "frequency" mesured in hz.
The end game is to replace the only machine on the market able to to this [cost well over $23k per month.] and make it available to everybody.
I have (witht help) design a 12 layer 1/2" square PCB coils that will be used as the emf coil. I do have 25 of these coils and they are awesome, making a ton of gauss! pretty proud of them.
So in recap. I need to create a DC square wave that can be ajusted to the first decial point with a good level of accuracy so I can generate an EMF through my little 12layers pcb coils.
Thank you very much!Frequency is always measured in Hertz, at least since 1960, when it replaced cps (cycles per second), regardless of the magnitude of the frequency or the application.
It would appear that what you are asking for is not a PWM (Pulse Width Modulation) device, but a VCO (Voltage Controlled Oscillator) followed by a divider chain to take a relatively "high" frequency reference signal like 300 Hz., and produce a lower frequency output with greater resolution. This circuit has another name, and it is a PLL (Phase Locked Loop). There are at least two ways to controls such a device:
They are both challenging design problems and may or may not be easily achievable. Are you familiar with using an FPGA (Field Programmable Gate Arry) and a hardware description language like Verilog or VHDL?
- You can vary the 300Hz reference frequency and use a fixed divider ratio.
- You can fix the reference frequency and change the divider ratio
I would ask you to do some reading and research to see if this concept can fit within your overall goals.
One more thing. Are you aware that square waves have a rich harmonic content and if this treatment is frequency sensitive those harmonics may need to be taken into account. It is possible to output sinewaves with the above approach but that involve another layer of complication of what looks like a huge undertaking.