Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > multiplexers and ADC readings in safety critical systems

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



multiplexers and ADC readings in safety critical systems
Moderator:
ANCY

Post Reply
Follow this topic



multiplexers and ADC readings in safety critical systems

mahmoud posted on 10 Mar 2013 2:46 PM PST
Top Contributor
67 Forum Posts

suppose you have an SAR ADC connected to a 4 channel analogue multiplexer connected to 4 sensors. what would be the most power efficient method to keep an eye for the readings of these sensors (note that it is a safety critical system). obviously I can't just keep reading them over and over again. 




Re: multiplexers and ADC readings in safety critical systems

danaaknight posted on 10 Mar 2013 03:04 PM PST
Top Contributor
1773 Forum Posts

Your starting constraint is the sample frequency you must meet, with its response,

to keep whatever safe. A PID type approach can be an efficient way of handling a control

loop, and keeping power down.

 

Power consumption (things you can optimize) -

1) Due to measurement process

2) Due to analysis process

3) Due to response process

 

Non-linear computations can speed up control loops, under the right

circumstances.

 

Your question a tad broad, more detail of what you are trying to do would help.

 

Regards, Dana.



Re: multiplexers and ADC readings in safety critical systems

Bob Marlowe posted on 10 Mar 2013 03:08 PM PST
Top Contributor
1768 Forum Posts

Using interrupt driven timing it will save power just to read the 4 sensor values every 250ms or what reaction-time your system requires. In the mean-time you may shut down the unused analog sections with the appropiate _Sleep() APIs and get them working again with _Wakeup() and / or reduce the clock frequency.. If the timing is not critical you may send the whole chip to one of the power-saving modes.

 

Bob



Re: multiplexers and ADC readings in safety critical systems

mahmoud posted on 10 Mar 2013 03:24 PM PST
Top Contributor
67 Forum Posts

 the sensors used are force, pressure and temperature sensors. these are inserted in a medical catheter to ensure the device is running properly and shuts down the device in case a reading has exceeded the threshold level. hope this clarifies things.

I haven't determined the desired frequency because I am still waiting for the components.

personally, I like the interrupt method more than the PID. but in this case is it more efficient to use intterupts?



Re: multiplexers and ADC readings in safety critical systems

hli posted on 11 Mar 2013 01:53 AM PST
Top Contributor
675 Forum Posts

But when you are caring only about thresholds, maybe using 4 comparators checking for them is even simpler? Or do you need to do calculation with the values you retrieve from the ADC?



Re: multiplexers and ADC readings in safety critical systems

danaaknight posted on 11 Mar 2013 04:53 AM PST
Top Contributor
1773 Forum Posts

Not to over sell PID, Bob is right on ISR (timed) based approach, but PID

is predicitive. You can predict need for a shutdown under correct design

constraints.

 

Maybe this is like trying to squeeze a drop of blood out of a stone........

 

Regards, Dana.



Re: multiplexers and ADC readings in safety critical systems

mahmoud posted on 14 Mar 2013 03:26 AM PST
Top Contributor
67 Forum Posts

 @ hli, well you actually gave me an idea. some sensors are needed to be read, others are not the same. so thank u.

 

@Dana, the PID algorithem enables precise control and predicting. but this is not needed on my project, sorry Dana but I have to go with Bob suggestion on this one.

 

thanks all






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