Cypress技术william hill官网
直播中

王玉洁

7年用户 204经验值
私信 关注
[问答]

限制使用psoc5LP

通过对PSoC 5的阅读和研究,发现有2X SAR ADC、1X DEL SIG ADC、1X采样保持威廉希尔官方网站 。这是非常少量的ADC。
我有6个传感器,它们的输出是交流信号(正弦波),我想把它们连接到PSoC5LP,然后检测每个信号的最大峰值,然后用UART发送峰值值到计算机。通过芯片来完成这项任务是不可能的吗?
另外,我需要在芯片内部产生一个20kHz频率的正弦波,然后将信号与一个模拟引脚连接,该模拟引脚连接到第七个传感器,之后,再将这个信号输入到芯片上进行采样和保持,这有可能在PSoC5LP,CY8C88AXI上进行吗????
PSOC5LPIP.PNG
13 K

以上来自于百度翻译


     以下为原文
  after a little reading and studying about PSOC 5, I discovered that there are 2x SAR ADC, 1x Del Sig ADC, 1x Sample and hold circuit. This is very small amount of ADC.
     
    I have 6 sensors, their output is AC signals (sine wave), I want to connect them to psoc5lp and then detect the maximum peak for each signal, then send the peaks values to the computer by UART. Is it impossible to do this tasks thru chip, right?
    Also I need to generate a sine wave this 20khz frequency inside the chip, then connect the signal with an analog pin, which connected to a seventh sensor, after that, re-enter this signal to the chip to do sample and hold on it, is this possible to do on psoc5lp, cy8c888AXi???


回帖(4)

张琳

2019-7-1 15:35:11
1。使用PSoC5实现这一问题是没有问题的。不过需要更多的阅读。请先参考那些应用笔记
HTTP://www. CyPress .COM/DCONTION/Appult- NoSe/AN6031-PEKAK检测PSOC-3-PSOC-5LP
HTTP://www. CyPress .COM/DCONTION/Appult- NoSe/AN60580-SIO-TIPS-DROPS-PSOC-3-PSOC-5LP
正弦波的产生:
HTTP://wwwyCysP./DoC/OptoStudio/Apple -NoSe/AN69133-PSOC-3-PSOC-5LP-易波形生成-WaveDAC8组件
2。获得KIT-059(10美元)并开始编码。单个(多路复用)ADC应该满足您的应用程序。你不能提供六个输入正弦频率范围,所以精确的实现可能会有所不同。对于更有意义的建议,你需要提供一些规范:正弦频率范围、幅度范围、可能偏移、相位相干性和偏移、分辨率位数、时间常数。虚拟振幅/有效值?
总共有4个采样和保持块(每个SC块一个)。

以上来自于百度翻译


     以下为原文
  1. There should be no problem to accomplish that using PSoC5. A little more reading required though. Please refer to those app notes first
    http://www.cypress.com/documentation/application-notes/an60321-peak-detection-psoc-3-and-psoc-5lp
    http://www.cypress.com/documentation/application-notes/an60580-sio-tips-and-tricks-psoc-3-psoc-5lp
     
    and for sine wave generation:
    http://www.cypress.com/documentation/application-notes/an69133-psoc-3-psoc-5lp-easy-waveform-generation-wavedac8-component
     
    2. Get KIT-059 ($10) and start coding. Single (multiplexed) ADC should suffice for your application. You havn't provide six input sine frequency range, so exact implementation may vary.   For more meaningful advise you need provide some specs: sine frequency range, amplitude range, possible offset, phase coherency and offset, bits of resolution, time constant. What d you really need: sine peak value  or averaged Amplitude/RMS value?     
    PS. There are total 4 sample and hold blocks (one per SC block).
举报

姜钰

2019-7-1 15:44:22
在我的脑海中,我不知道任何其他MCU有超过2个ADC可用。(大多数只有一个,然后是多路复用器来处理多个信号)。因此,您可以使用SAR MUX来处理许多通道——用DMA,您可以在没有MCU干预的情况下对它们进行采样。根据信号频率,您甚至可以使用ADC进行峰值检测。

以上来自于百度翻译


     以下为原文
  Out of my mind, I don't know any other MCU which has more than 2 ADCs available. (Most have just one and then a mux to handle multiple signals). So you can use the SAR MUX to handle many channels - with DMA you can sample them without MCU intervention. Depending on the signal frequency, you can even to peak detect using the ADC...
举报

王玉洁

2019-7-1 16:01:37
非常感谢你@ ODISSEY1和@ HLI:
实际上,附件图像解释了我想要做的事情:我有一个参考信号(在PSoC中产生),频率为20kHz,1峰值到峰值电压,偏移量=2.5电压。然后,这个REF信号进入六个传感器并被修改(幅度可能改变,并且可能出现信号和参考信号之间的相位等于0或π)。频率不变,固定20kHz,偏移量固定=2.5V。我需要检测PSOC内部六个信号的每一个信号的最大峰值,然后在芯片上的4个引脚上显示这个峰值作为DC输出,然后用UART将这个峰值发送到PC。------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------????

以上来自于百度翻译


     以下为原文
  thanks you so much @odissey1 and @hli :
    actually the attachments image explains what I want to do: I have a reference signal (generated in PSOC) with a frequency =20kHZ and a 1 peak to peak voltage with offset =2.5 voltage. , then this ref signal is going to a six sensors and modified (the amplitude maybe change and  may appear a phase between a signal and the reference signal equal to 0 or π . the frequency doesn’t change, it is fixed 20khz , the offset is fixed =2.5v ) . I need to detected the maximum peak for each signal of the six signals inside PSOC, then display this peaks as DC outputs on a 4 pins on the chip and then send this peak values to PC by UART. ---------- now I know, I have to use a multiplexer with ADC, Can I display the peaks as a DC using  DAC with  de-multiplexer  ????
   
举报

张琳

2019-7-1 16:07:42
阿达米娜,一切都是可行的,当你开始编码时,我们会帮助你的。每秒需要多少频道(每条频道)有多少次测量?

以上来自于百度翻译


     以下为原文
          ardamina, All seems doable, we shall help you when you start coding. How many measurements per second on channels 1-6 you need (per channel)?   
举报

更多回帖

发帖
×
20
完善资料,
赚取积分