Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Queation about PRS again!

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Queation about PRS again!
Moderator:
RKRM

Post Reply
Follow this topic



Queation about PRS again!

Tablet posted on 25 Apr 2012 10:22 AM PST
Member
3 Forum Posts

Dear Bob,

I am first in this Community and know that this community will be helpful for our research members.

The man who asked a question about PRS is my research member. After I read your advice, you need more detail information about our problems.

Until now we have developed for the EMR(electromagnetic resonance) tablet device with Psoc3. In the system, in order to drive the coil to emit electromagnetic power from coil to pen(LC circuit) like a  wireless power transmittion, we used PWM signal frequency pulse. After driving PWM pulse to coil driver, the response voltage signal of drive coil shows sine wave.

But this driving condition has some problems because the pen LC condition( or resonance frequency) changed due to some reasons but we don't know the exact resonance frequency. Under this conditon, we have to transmit maximum power to pen. To overcome this problem, we decided that if we send broad band waveform(from 450KHz to 500KHz) such as pseudo random pulse,we can send more energy under miss match between the driving frequency and  pen natural frequency. I think if we understand more about Pseudo random pulse generation configuration, we can make such signal.

So I ask for followings if you can support,

1. More examples to control PRS

2. if PRS does not support our problems, I think we can make bit stream like a PRS by using shift register ways. Is there any case study about making bit stream by using predefined user data.

ps. The harmonic composent of PRS signal is not important becase only fundamental frequency is transmitted to pen due to analog circuit ie the square wave changed into sine wave.

 




Re: Queation about PRS again!

Tablet posted on 25 Apr 2012 10:25 AM PST
Member
3 Forum Posts

In addition, we want to generation the pulse stream with finite number of pulse not infinite pulse stream.

Thank you!



Re: Queation about PRS again!

Bob Marlowe posted on 25 Apr 2012 10:43 AM PST
Top Contributor
1768 Forum Posts

What I understand from your post PRS is not what you can use for solving your problem

At a resonance-point normally something happens within a circuit that can be measured. Is there a chance of a "calibration"?Within the PSoC3 are ADCs to measure voltages or even small currents, you may program a peak-detector and so on. So there might be a chance to measure the actual resonant frequency or even use a closed-loop to control it.

You can sweep the frequency of a digital signal under CPU-control, there are examples for oscillators, VCOs to find here. Try the keyword search in the upper right corner.

 

But that all depends on your electronic design, so you'll have to check and discuss that.

 

regards, Bob



Re: Queation about PRS again!

Tablet posted on 25 Apr 2012 12:10 PM PST
Member
3 Forum Posts

Thank you for your fast response.

My opinion is as follows;

Because of our know-how, I cannot describe more detail about our device operation process.

But in normal consumer device, the function such as spectrum analyzer is not possible to employed in source code.

And the function to measure the spectrum of input signal is out of scope for comsumer device.

Because of my limited english description, I cannot describe more detail. That is problem to solve this problem.

I explain more detail.

The electric pen is composed of L and C and  the natural frequency can be change from 450KHz to 500KHz due to some reason(Sorry!). But the goal is to detect the natural frequenct of pen. The thechnology to detect the natural frequenct in real time  already we can do.  To detect the natural frequency that is changed very fast, we have to excit the pen that means to give a power to excit the pen. Because of we don't know the natural frequency of pen, we have to give the power frequency from 450KHz to 500KHz(the natural frequency range of pen) but the sweep the frequency is too slow to detect in real time system. To overcome this problems, if we give power such as random signal but these frequency from 450KHz to 500KHz, we can exit the pen more eficiently and fast and get information more fast. As you know well, in capacitance touch technology of cypress used the preudo random signal to detect the capacitance information very fast. Like this application, we want to use the pseudo random signal as a excitation source.

Is there any way to make PRS which has a fundamental frequency band from 450KHz to 500KHz? I think if I understand the PSOC3's PRS generater's principle, I can employ the PRS on my Tablet system. Unfortunately, I have no basic knowledge about How to generate PRS signal with microprocessor.

or Is there any way to generate the square wave signal by using pre-made data in real time? If this is possible, from lots of try to make PRS we want, we can employ our idea by using PSOC3.

Thank you again!



Re: Queation about PRS again!

Bob Marlowe posted on 25 Apr 2012 01:45 PM PST
Top Contributor
1768 Forum Posts

Here is an example of a VCO for PSoC3 http://secure.cypress.com/?id=4&rID=58481 the controlling voltage can be produced with a DAC and (now it comes:) the DAC can be fed by DMA at high frequency without CPU usage at all.

I think you have to try to build a "proof of concept", I would suggest to use a KIT-001 which not only contains a PSoC3 but a PSoC1 and 5 as well (giving you headroom to both sides of enlarging or shrinking your project), a 2-line LCD and a bredboard area. With the included MiniProg3 there are pretty goog debug-capabilities.

 

Bob






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20