<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Programmable Load Build</title><link>/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><description>Introduction This blog is to document my attempt to build Jan and Peter&amp;#39;s load. I&amp;#39;m trying to catch up with Jan, who iscurrently way ahead of me, so I can start doing measurements. Although I normally prepare blogs in full before posting th...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Tue, 02 Oct 2018 17:31:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;I&amp;#39;ve done measurements with the feedback omamp controlled by 1K / 6K8 resistors.&lt;/p&gt;&lt;p&gt;I get the same result as you.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/924x520/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-89778195-e1af-404c-a74a-5e301e05bfd3/contentimage_5F00_190676.png:924:520]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here&amp;#39;s the data at the knee of the graph. Column A is the DAC setting, B is the current pulled by the load.&lt;/p&gt;&lt;p&gt;Input 4.5 V&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;1020,001591030,001591040,001791050,001891060,001991070,002101080,0022101090,0023101100,0024101110,0025111120,0026111130,0028111140,002810&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The difference with 100K / 680K (as expected with this low bias current opamp) is less than half a bit.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 29 Sep 2018 14:47:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;The horizontal scale is 4s (yes, 4 seconds!) per division, so it&amp;#39;s very low&lt;/p&gt;&lt;p&gt;frequency noise. It&amp;#39;s in the region where flicker noise would dominate a conventional op amp&amp;#39;s noise, so is that what I&amp;#39;m&lt;/p&gt;&lt;p&gt;looking at here?&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I will try to replicate ...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 15 Sep 2018 15:21:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>fmilburn</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Jon,&lt;/p&gt;&lt;p&gt;Thanks for describing in detail how you analyzed the circuit to discover the source of the offset current and then modified it&amp;nbsp; - it was very educational for me.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Frank&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Fri, 14 Sep 2018 13:51:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:4f57fc9d538949ad9eb336ddb9469bb8:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;, there is a Windows GUI to play with the load, made by &lt;span&gt;[mention:6e474abc33b64a82aa78c9813503c962:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;. It&amp;#39;s available on the main blog post (link in the GUI section).&lt;/p&gt;&lt;p&gt;It has some handy functions:&lt;/p&gt;&lt;p&gt;- easy way to set DAC 1.&lt;/p&gt;&lt;p&gt;- it can poll all ADCs each second, either as pure value or converted to voltage (ignore ADC 4 because I don&amp;#39;t sample that in the firmware - it&amp;#39;s not connected and ignoring it allows me to sample the 3 other ADCs faster)&lt;/p&gt;&lt;p&gt;- you can shoot SCPI commands easier than with a terminal&lt;/p&gt;&lt;p&gt;- it shows error state of the SCPI engine.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Mon, 10 Sep 2018 13:47:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;span&gt;I have an offset on the current, but it&amp;#39;s much larger - it&amp;#39;s around 11mA.&lt;/span&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;d guess it&amp;#39;s the different opamp. I also had a higher offset when I used our first opamp choice with&amp;nbsp; higher input currents.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Fri, 07 Sep 2018 17:17:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;span&gt;(The pin 1 indicator is a line of silkscreen running down the side of the pin but it&amp;#39;s so close it looks like it was cropped back by the board manufacturer. &lt;/span&gt;&lt;/blockquote&gt;&lt;p&gt;Yes. There are inconsistencies in how pin 1 is indicated in the KiCAD libraries. I don&amp;#39;t know if other PCB packages have more consistent libraries. I haven&amp;#39;t tried out others.&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/563x613/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-89778195-e1af-404c-a74a-5e301e05bfd3/contentimage_5F00_190659.png:563:613]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;From what I read on EEVBlog, most professional PCB designers make all footprints themselves.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sun, 02 Sep 2018 10:17:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&lt;span&gt;DEVE:DAC1 0&amp;nbsp;&amp;nbsp; results in a voltage of 0.391mV at the output pins of the DAC-ADC board (that&amp;#39;s the low end of our control range - ideally it would be zero)&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is a real problem. &lt;a class="jive-link-wiki-small" href="https://www.element14.com/community/docs/DOC-88254/l/programmable-electronic-load-analyse-the-summing-node-zero-point#comment-138754"&gt;Mine has &amp;gt; 0.5 mV unconnected&lt;/a&gt; , and also with a 10 K Resistor to ground. It prohibits that the load can be controlled in its lowest area of operation (below 1-2 mA).&lt;/p&gt;&lt;p&gt;Maybe we can forge an extra piece of circuit in to offset that in the control circuit. We have 3 DACs free to provide some offset, and because we&amp;#39;re stacking the boards, there may be a possibility to plug an offset regulator board in between DAC and control circuit?.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sun, 02 Sep 2018 08:58:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/600x420/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-89778195-e1af-404c-a74a-5e301e05bfd3/contentimage_5F00_190654.jpg:600:420]&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Oops. Yes, the footprint I used for U2 is not good, and I placed the caps too close to U2.&lt;/p&gt;&lt;p&gt;When building up my own board, I put a warning in the original blog on how to mitigate that:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p style="font-weight:inherit;font-style:inherit;"&gt;Solder advice: in hindsight I should have used larger IC packages. The board isn&amp;#39;t easy to solder at home. But it&amp;#39;s doable with proper care, hand stability of a snooker player and eyesight of an eagle.&lt;/p&gt;&lt;p style="font-weight:inherit;font-style:inherit;"&gt;It&amp;#39;s best to leave capacitor C5 off and solder it separately when the other components (in particular U2) are mounted. Even then it may be good to move it as far as you can from U2&amp;#39;s pins. I didn&amp;#39;t provide enough clearance in my PCB design.&lt;/p&gt;&lt;p style="font-weight:inherit;font-style:inherit;"&gt;The VSSOP footprint of U2 is narrow on the V1_2 board. If you are brave, you can use pliers to bend the pins a bit down. I cut of the pins 5, 7 and 8 with a hobby knife.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My result looks Meh too:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/676x381/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-89778195-e1af-404c-a74a-5e301e05bfd3/contentimage_5F00_190655.png:676:381]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 01 Sep 2018 14:00:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Jon,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Great to see the success with CCS and the code compilation.&lt;/p&gt;&lt;p&gt;I too picked an Ethernet based board for a project recently, mainly for the isolation. Looking forward to seeing the progress!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 01 Sep 2018 10:40:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;If you want the latest latest version of the source, that can always be retrieved from GitHub. I commit often.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://github.com/jancumps/msp432/archive/master.zip" rel="nofollow ugc noopener" target="_blank" title="https://github.com/jancumps/msp432/archive/master.zip"&gt;https://github.com/jancumps/msp432/archive/master.zip&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The link above gives a zip archive. If you unzip that, then copy the MSP432_SCPI_ElectronicLoad folder to your workspace root, it&amp;#39;ll update your eload source base.&lt;/p&gt;&lt;p&gt;It will not impact any project or CCS settings. It&amp;#39;s sources only.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 01 Sep 2018 08:23:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;On understanding the software:&lt;/p&gt;&lt;p&gt;It is organised in two big chunks:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;the instrument part: all things related to being an eload. It is built as an API, with all functions listed in the header file in the eload_api folder.&lt;br /&gt;It has ADC, DAC, I2C, Input enable, temp control, control loop and calibrate blocks. All of them have their separate folder with an API in the header file and the implementation in a .C file.&lt;/li&gt;&lt;li&gt;the user interface: all things for external use. These blocks only use the eload_api functions. They know nothing else about the instrument than the functions listed in the eload API.&lt;br /&gt;This part has the display code, and the UART USB interface for SCPI, the SCPI configuration and the SCPI lib source.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/568x682/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-89778195-e1af-404c-a74a-5e301e05bfd3/contentimage_5F00_190653.png:568:682]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All is built upon RTOS. The sources are in the root directory (generated by the RTOS wizard) The only file worth looking at is main_tirtos.c. This is where we start all the RTOS tasks for the instrument.&lt;/p&gt;&lt;p&gt;The schedules for the tasks themselves are kept in a single file (I prefer to do that so that I have an overview of what runs how often, and what the priorities are). They are stored in the rtos schedules folder;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Because each module is contained in a single folder, and they are fairly isolated, you can start to understand the software piece by piece.&lt;/p&gt;&lt;p&gt;A basic understanding of RTOS and RTOS tasks/messages/events helps.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Keep the controls sources for latest. That&amp;#39;s the most complex part of the code because it allows to plug in constant voltage, current, resistance, power, .... control strategies.&lt;/p&gt;&lt;p&gt;We only support constant current at the moment and because that&amp;#39;s implemented in hardware, there&amp;#39;s not a lot to see here.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 01 Sep 2018 07:34:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;pro tip&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Next thing was to download Jan&amp;#39;s zip file, with the software project in it, and unzip it to a folder under the CCS&lt;/p&gt;&lt;p&gt;workspace directory.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;you can directly import a zip file in CCS by using the Project -&amp;gt; Import Project menu, then select the Archive radio button. this will automatically extract the project into your workspace and add it to the CCS project view. &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 01 Sep 2018 05:35:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>jw0752</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Jon,&lt;/p&gt;&lt;p&gt;I look forward to following your progress.&lt;/p&gt;&lt;p&gt;John&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 01 Sep 2018 01:18:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>fmilburn</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Glad that you are building this and blogging as I have it on my list of things I want to do also.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Programmable Load Build</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/programmable-load-build</link><pubDate>Sat, 01 Sep 2018 00:53:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:89778195-e1af-404c-a74a-5e301e05bfd3</guid><dc:creator>genebren</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice blog detailing your progress. This a very interesting project, one that I keep thinking about taking on, so I will be following along to see how it goes.&lt;/p&gt;&lt;p&gt;Keep up the good work.&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5442&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>