3 identical shifted signals, 5 Khz, tunnable by program, with sensors

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
luisji
Level 4
Level 4
100 sign-ins 50 replies posted 50 sign-ins

Hello

I'm looking for the easiest way of using PSoC5 to make a:

* 3 identical squared signals, shifted 120 degrees (It could change to be a SPWM sinus signal, but for now, a PWM could be enough)

* About 5 KHz, 20% tunnable by program, (depending on an audible feedbak captured with a microphone)

* Able to read 3 I2c, 2 ADC with low resolution, the audio, and act as programmed

* Handling an LCD Display

* With an interruptions clock to know each round of program if tasks, as the LCD, are ready, instead of being waiting for their answer to can continue attending the generation of signals

My real problem has been to know  how to generate this 3 signals, so If solving the generation of them, the rest can go further easily.   

Luis

 

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Luis,

I've attached a very simple project.  I believe it solves your 3 phase (120 degrees apart)  PWM signals at about 5KHz.

Each of the 3 phases of PWM are set to 50% DC which can be changed in the SW.

Here is a scope pic of the 3 phases.

20210817_214806_HDR.jpg

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
14 Replies