<?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>Making modules to create Voltage power Supply based on Rasberry Blog #2</title><link>/challenges-projects/design-challenges/sci-pi-design-challenge/b/blog/posts/making-modules-to-create-voltage-power-supply-based-on-rasberry-blog-2</link><description>In my previous blog post, I briefly introduced the concept of utilizing Raspberry Pi as a central control board for various modules. Today, I&amp;#39;d like to delve deeper into one of the fundamental aspects of this idea: the voltage power supply. By harnes</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Making modules to create Voltage power Supply based on Rasberry Blog #2</title><link>https://community.element14.com/challenges-projects/design-challenges/sci-pi-design-challenge/b/blog/posts/making-modules-to-create-voltage-power-supply-based-on-rasberry-blog-2</link><pubDate>Wed, 07 Jun 2023 16:56:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:97050d26-3bbf-4b63-8da7-041ded52be8e</guid><dc:creator>GustavoMorales</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;Awesome I was thinking during these days about your feedback, I would have had all of this before in order to change everything on my board I made it to the PCB manufacturers (don&amp;#39;t want to say names to avoid problems) I am thinking on everything that was said about changing transistors and all stuff necessary to work at this point I am kind of concerned on how to fix everything on time, maybe as Michaelkellet said considering on making some extra effort using another controller to work on the analog part, I did not consider the missing ADC and that was a really big mistake I am now working on another schematic that works with an analog controller changing mosfets and keeping in mid voltage that can be tolerated by the rasp and finally making a user interface with the rasp.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;As I said I really wanted to have some physically made on time and my PCB I ordered about 3 weeks ago has not arrived and if I change everything now it will be late at the end. Maybe what I can do is simulate in any software to check the status and at least present the user interface since there is not enough time to get new PCBs on time. And another thing is that some THT components are not sold in my country so I can try it on a breadboard that is another challenging thing I will do my best to present something that can be done in the future and keep on working with everybody help&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26102&amp;AppID=402&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Making modules to create Voltage power Supply based on Rasberry Blog #2</title><link>https://community.element14.com/challenges-projects/design-challenges/sci-pi-design-challenge/b/blog/posts/making-modules-to-create-voltage-power-supply-based-on-rasberry-blog-2</link><pubDate>Tue, 06 Jun 2023 12:58:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:97050d26-3bbf-4b63-8da7-041ded52be8e</guid><dc:creator>michaelkellett</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I see you have already had some good feedback about this design.&lt;/p&gt;
&lt;p&gt;The Raspberry Pi is just the wrong type of controller for&amp;nbsp; power supply.&lt;/p&gt;
&lt;p&gt;Power supply control is usually described as a &amp;quot;Hard Real Time&amp;quot; software problem, which means that not only the values of the computed outputs are significant but that they must be ready in a specified time interval (Real Time) and the interval is short compared with the operating system (if any) latency. The Pi (as a Linux computer) just doesn&amp;#39;t work well in this space.&lt;/p&gt;
&lt;p&gt;There are many micro controllers with peripherals designed for this type of application. They have fast ADCs, PWM timers with emergency stop and programmable dead time and other useful features. They are cheap and available on dev boards which are easy to use (eg ST Nucleo boards.)&lt;/p&gt;
&lt;p&gt;A much more satisfactory system architecture would be to use the Pi for user interface and high level stuff, talking to the micro controlling the power supply via UART, SPI or I2C.&lt;/p&gt;
&lt;p&gt;You may be wondering why the control loop needs to be fast - consider the situation where your load is drawing a large current, the feedback loop will adjust the PWM to compensate for the losses in the components due to that current. If the load suddenly reduces its demand the PWM must respond very quickly (within a small number of switching cycles) to change the PW or the output voltage will rise to possibly destructive voltages.&lt;/p&gt;
&lt;p&gt;MK&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26102&amp;AppID=402&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Making modules to create Voltage power Supply based on Rasberry Blog #2</title><link>https://community.element14.com/challenges-projects/design-challenges/sci-pi-design-challenge/b/blog/posts/making-modules-to-create-voltage-power-supply-based-on-rasberry-blog-2</link><pubDate>Mon, 05 Jun 2023 21:30:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:97050d26-3bbf-4b63-8da7-041ded52be8e</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For the MOSFETs, the schematic shows P-ch (indicated with the yellow arrows below), but I think they need to be N-ch:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="432" src="/resized-image/__size/1334x864/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-97050d26-3bbf-4b63-8da7-041ded52be8e/mosfet_2D00_issue2.jpg" width="666" /&gt;&lt;/p&gt;
&lt;p&gt;What do these buttons S1 and S2 do? They are connected to a single GPIO, is that intentional, or should they be going to separate GPIO? The single GPIO could distinguish the different buttons if it were configured as an analog input, but I don&amp;#39;t know if there are any ADC on the Pi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="415" src="/resized-image/__size/1456x830/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-97050d26-3bbf-4b63-8da7-041ded52be8e/button_2D00_query.jpg" width="727" /&gt;&lt;/p&gt;
&lt;p&gt;For&amp;nbsp;the FeedBack resistors R5 and R6, with the values in the schematic, the output will be 5V, but the Pi can only accept 3.3V maximum, so those resistor values need modifying. However, is there a reason such feedback is needed, and from this point in the circuit?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="389" src="/resized-image/__size/1504x778/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-97050d26-3bbf-4b63-8da7-041ded52be8e/fb_2D00_issue.jpg" width="751" /&gt;&lt;/p&gt;
&lt;p&gt;I also didn&amp;#39;t understand the current sensing circuit. The output goes directly to the Pi, but the Pi doesn&amp;#39;t have an ADC:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="376" src="/resized-image/__size/1476x752/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-97050d26-3bbf-4b63-8da7-041ded52be8e/current_2D00_query.jpg" width="737" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26102&amp;AppID=402&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>