Power test SDRAM

Assemble test stand for checking power consumption of SDRAM in different operating modes.
1. Structure. Connection diagram.
Today wireless devises are everywhere. They always need a battery power, so the problem of power consumption measurement during device development is very important. And this is what we needed to do also. For this purpose we've assembled a consumption testing stand. Flexibility that has Fork allows us to use it also at Quality control (QC) during production. Generally the stand can measure consumption of different devices, but for this article we'll measure only some operating modes.

For measurements we've chisen this modes of device with SDRAM
  • stand-by
  • read
  • write
  • power-down

For stand we need
  • Fork
  • Accurate shunt 0.47 Om
  • device with SDRAM
  • some wires
Circuit diagram of stand:
Breaking the power supply we put a shunt resistor if small Om resistance, this is where we'll measure consumption according to voltage drop using Fork differential input. We should be careful as maximum input voltage is +-1V.

Photo of testing stand, but sorry the testing device is hidden I can't show it for now.
Here is a set of shunt resistors
2. Control via Python script
For getting data we will use Fork Stream ability. It'll be easy to convert Fork data directly to measurements. For this we can use function
Fork.startStreamBlocking([0],
stream_callback,
reply_format=Fork.RAW_ADC,
data_rate=data_rate)
First parameter is for set of AI channels for reading, then your callback function that is called after a packet received, then data format and data rate of sampling.
The most important for us is a callback function. Data is received as raw ADC data. After receving some packets we can convert them to power consumption measurements. For convenience we'll make it in two steps. Firstly convert raw data to voltage on input
V = ADC/4095*2.2-1.1
where V is voltage on shunt resistor, ADC – raw ADC data.
Then voltage to current
I = V/Rshunt
where R is Om of shunt resistor

Now we've started measurements and changed modes by hands.
Here we see write(1) into SDRAM and read(2) from SDRAM. With 180 mA, and 156 mA.
Here we see switching of SDRAM from stand-by to power-down.

So we have such table.
Thanks to Fork we've got a very good and simple stand for measuring different devices power consumption in different modes.
3. References to the code examples
Subscribe news
© All Rights Reserved, 2021 Privacy policy forktestlab@gmail.com
Privacy policy
This privacy policy describes how and when we collect, use, and share information when you provide your personal information(name, phone number, email address) on the site forktestlab.com or related sites and services.
This privacy policy does not apply to the actions of third parties that we do not own or control. You can refer to Artes Electronics privacy policy to learn more about its privacy practices.
__________

Information we collect

In order to complete your order or contact you to discuss a partnership, you must provide us with certain information, such as your name, email address, phone number(in some cases, postal address, payment information, and details of the product you are ordering). You can also provide us with additional personal information (for example, for an individual order) if you contact us directly.
__________

Why we need your information and how we use it

We rely on a number of legal grounds to collect, use, and share your information, including:
as necessary to provide our services, such as when we use your information to fulfill your order, resolve disputes, or provide customer support;
when you have given your affirmative consent, which you can revoke at any time, for example by subscribing to our mailing list.
__________

Information sharing and disclosure

Information about our customers is important to our business, so we do not share this information with third parties. Otherwise, it is possible only after receiving your personal consent.
__________

Data storage

We only store your personal information for as long as it is necessary to provide our services and as described in this privacy policy. However, we may also be required to store this information in accordance with our legal and regulatory obligations, resolve disputes, and enforce our agreements. Maximum period of storage of your data: 5 years.
__________

Transfer of personal information outside the EU

We may store and process your information through third-party hosting services in the United States and other jurisdictions. As a result, we may transfer your personal information to a jurisdiction with different data protection and government oversight laws than your jurisdiction. If we are deemed to be transferring information about you outside the EU, we rely on Privacy Shield as the legal basis for the transfer.
__________

Your right

If you live in certain territories, including the EU, you have a number of rights with respect to your personal information. While some of these rights apply in General, some rights only apply in certain limited cases. We describe these rights below:
Access. You may have the right to access and obtain a copy of the personal information we hold about you by contacting us using the contact information below.
Edit, restrict, delete. You also have the right to change, restrict or delete your personal information. No exceptional circumstances (for example, when we are required to store data for legal reasons) We will generally delete your personal information upon request.
An object. You may object to the processing of some of your data based on our legitimate interests and the receipt of marketing messages from us after you have provided your explicit consent to receive them(providing mail is such consent). In such cases, we will delete your personal information if we do not have a valid and legitimate reason to continue using this information or if it is necessary for legal reasons.
__________

How to contact us

For the purposes of EU data protection law, we, Artes Electronics, are the data controller of your personal information. If you have any questions or concerns, you can contact us at info@arteselectronics.com. In addition, you can send us an mail at: office 17, 50A Tambovskaya str., Saint Petersburg, 192007, Russia