Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Fixed point proportional controller experiment

Status
Not open for further replies.

vishnu36

Junior Member level 2
Junior Member level 2
Joined
Mar 9, 2019
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
142
Newbie in understanding Fixed point. All I was trying to do is to begin experimenting with proportional controller. Tried first with floating. Input range is -1.0 to +1.0 , assigned Kp=1.2 and hooked these values in simulink and got the results. The output is somewhere 0.55.

Now tried with fixed point, input is -32767 to +32767 (Q15), converted Kp=1.2*32767= 39320. Hooked these values back into simulink and I am getting output close to input and not half as I got with floating. What Am I doing wrong?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top