完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
通过对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个回答
|
|
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). |
|
|
|
在我的脑海中,我不知道任何其他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... |
|
|
|
非常感谢你@ 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 ???? |
|
|
|
阿达米娜,一切都是可行的,当你开始编码时,我们会帮助你的。每秒需要多少频道(每条频道)有多少次测量?
以上来自于百度翻译 以下为原文 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)? |
|
|
|
只有小组成员才能发言,加入小组>>
751个成员聚集在这个小组
加入小组2063 浏览 1 评论
1823 浏览 1 评论
3631 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1759 浏览 6 评论
1507 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
501浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
353浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
408浏览 2评论
353浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
850浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 10:28 , Processed in 1.013417 second(s), Total 85, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号