- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
I am trying to implement a PI controller for a power converter. Attached is the schematic diagram of the analog part that I want to implement on PSoC-5LP.
The problem is that PI's opamp output is -ve and opamps in PSoC do not support a -ve voltage.
Any help in this regard would be appreciated.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perhaps this will help you:
Annotation library for CY8CKIT-059 Prototyping Kit
video: All-analog PID control implemented in PSoC5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply.
But the problem remained intact as I am using PI controller whose output is -ve and input is +ve (in simulation results in PSIM).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not difficult to create using a converter TIA or OPAMP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply!
But, TIA also couldn't solve the problem. If you see the attached pic (with my first post), there is -ve signal in between two opamps. So, the problem is that when I feed a +ve signal to the opamp1 the output will be -ve and will go to the input of the opamp2. With power supply range of 0 to +ve of opamp1 (i.e., opamps in psoc), at output I only get 0 instead of the -ve output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you set Vref to +ve/2 all will be good.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In fact, the range of Vref is relative to the +ve input (from a current sensor) to opamp1. So, if I will keep Vref/2 (0.5) eventually input to opamp1 will also be 0.5 because, Its a PI controller loop. Long story short, the output of opamp1 will remain -ve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problem solved using external opamps IC with dual power supply.