Discrete time state space model: solving for input

In summary, the conversation discusses a homework assignment that is due soon and the student's efforts to understand the problem before their exam. They are struggling to solve the problem and are looking for guidance. The expert suggests properly defining the state variables and using the Z-transform to find the transfer function and solve for the fixed monthly payment required to amortize the loan. They also encourage the student to seek help if needed and approach problems with a clear and structured mindset.
  • #1
nweibley
5
0
Preface: This homework assignment was due long ago. At this point I am only trying to understand the problem (or really if the posted solution follows the problem) before my exam. I have no real indication that this problem (or even one like it) will be on my final, but I feel that my inability to solve it shows a weakness in my understanding of the material that I should fix before I sit down to take the test. The PDF for the assignment is http://csc.list.ufl.edu/3105/fall08/assignment/assignment-8.pdf. So here goes...

Homework Statement


This the exact wording of the problem:
Use a discrete time state space approach to model a mortgage payment
system and find the fixed monthly payment required to amortize
a loan of $54546.00 at 9% per annum over a period of 60 months.
(Answer should be 1132.29 using effective monthly interest as .09/12)

Homework Equations


[tex]\mathbf{x}[n+1] = A\mathbf{x}[n] + Bu[n][/tex]
[tex]\mathbf{y}[n] = C\mathbf{x}[n] + Du[n][/tex]

The Attempt at a Solution


Well... first I tried to setup a difference equation of the form:
[tex]\-1y[n+1] + \left(1+\frac{.09}{12}\right) y[n]=u[n][/tex]
and set
[tex]x_{1}[n]=y[n][/tex]
[tex]x_{2}[n]=y[n+1][/tex]
and
[tex]x_{1}[n+1]=y[n+1]=x_{2}[n][/tex]However, I came to realize that this is either a) false or b) going to yield a state space representation with 1 state (A is a 1x1 matrix).

I'd be thrilled with a lead to chase on this one; I can't tell if the question as-asked makes sense insomuch as I'm going to find a system matrix of dimensions m x m (m > 1) which are the only state spaces I can remember working in class.
The posted solutions from the TA show a difference equation of the form:
[tex]x[n+1] = ax[n]-ku[n][/tex]
Which is then Z transformed to yield:
[tex]X(z) = -k\left(\frac{z}{\left(z-1\right)\left(z-a\right)}\right)+\frac{z}{z-a}x[0][/tex]
At which point I believe the TA made a superficial error (but am probably wrong about that).

So, any guidance? Is there a state space solution that makes sense for this problem? And if so, does it essentially present itself like scalars?

Many thanks for any pointers.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2


Hello,

Thank you for sharing your question and attempts at solving the problem. I can understand your frustration and desire to fully understand the material before your exam.

After reviewing the problem and your attempts at solving it, I believe the key to understanding this problem lies in properly defining the state variables. In this case, the state variables should represent the current balance of the loan and the number of monthly payments made so far. This will result in a state space representation with two states (m=2).

I suggest setting up the difference equation using these state variables and then using the Z-transform to solve for the transfer function. From there, you can solve for the fixed monthly payment required to amortize the loan.

I hope this helps and good luck on your exam! Remember to always approach problems with a clear and structured mindset, and don't hesitate to seek help if needed.
 

FAQ: Discrete time state space model: solving for input

1. What is a discrete time state space model?

A discrete time state space model is a mathematical representation of a dynamic system that is described by a set of state variables and input variables, with each variable being a function of time. It is commonly used in control systems and signal processing.

2. How do you solve for input in a discrete time state space model?

To solve for input in a discrete time state space model, you can use the state space representation to create a set of linear equations and then use techniques such as matrix inversion or numerical methods to solve for the input variables.

3. What is the purpose of solving for input in a discrete time state space model?

The purpose of solving for input in a discrete time state space model is to determine the input values that will produce the desired output from the system. This is essential in control systems, as it allows for the design of controllers that can manipulate the input variables to achieve a desired response from the system.

4. What are some common applications of discrete time state space models?

Discrete time state space models have a wide range of applications in various fields, including control systems, signal processing, robotics, economics, and finance. They are also commonly used in computer simulations to model the behavior of complex systems.

5. Are there any limitations to using discrete time state space models?

While discrete time state space models are a powerful tool for modeling dynamic systems, they do have some limitations. One limitation is that they assume linearity of the system, which may not always be the case in real-world applications. Additionally, they may not accurately represent systems with fast-changing dynamics or systems with significant nonlinearities.

Back
Top