You are on page 1of 7

Model based design-

-Homework-

1. * (optional)* (pagina 188 Feedback Control of Dynamic Systems (7th Edition): Gene F. Franklin)

The above symbol represents an operational amplifier with negative feedback.

2. (pagina 181 Feedback Control of Dynamic Systems (7th Edition): Gene F. Franklin)

b) Verify the obtained result in Simulink and or Matlab .


3. a) *(optional)* (pagina 182 Feedback Control of Dynamic Systems (7th Edition): Gene F.
Franklin)

b) Display the output signal in Simulink.

4. (pagina 187 Feedback Control of Dynamic Systems (7th Edition): Gene F. Franklin)

Correction: the poles are: 𝒔 = −𝟏 ± 𝒋.

b) Plot the system step response and measure de above parameters.


5. (pagina 188 Feedback Control of Dynamic Systems (7th Edition): Gene F. Franklin)

6. *optional* (pagina 198 Feedback Control of Dynamic Systems (7th Edition): Gene F. Franklin)
7. (pagina 198 Feedback Control of Dynamic Systems (7th Edition): Gene F. Franklin)

8.

The PID controller will be designed using PID model from Simulink /Continuous library.
b) Implement in Simulink the equivalent controller using Tustin (bilinear) discretization method for
the continuous controller obtained at the exercise 9.

9. Consider the bi-directional DCDC circuit:

where:

V_in=48;
R_HI=0.08;
R_CH=0.08;
C_H=300e-6;
L=10e-6;
RL=0.5e-3;
Ron=4e-3;
R_CL=0.01;
C_L=400e-6;
R_load=0.1;
D=0.25;

Using the buck DCDC circuit implemented in SimScape:


a) Measure the voltages and steady-state currents (see DCDC laboratory on Moodle);
b) Determine the PI controller using for voltage control and respectively current control using
Simulink/Continous/PID Controller. Test the continuous controllers using DCDC circuit.
c) Determine the discrete PID controllers using 10𝜇𝑠𝑒𝑐 sampling time for the PID controller
determined at the point b). Test the discrete controllers using DCDC circuit.

10. Implement a type D flip-flop.

11. Implement the pendulum nonlinear using “LookupTable” bloc instead of sin.
(pagina 56-59 Feedback Control of Dynamic Systems (7th Edition): Gene F. Franklin)

12. Create a model which logs the number of faults which occurs during the driving cycle
Inputs:
Power mode (0-7)
Fault - boolean
Diag_reset – Boolean

Outputs:
Number of faults

Specifications:
The system should store the number of faults.
The fault is logged only if the fault occurs in Running state (Power mode is 7).
If the input BSDiagReset is true then the fault number should be reset
If the error is on during the system reset, the error shall not be counted after the reset.

Note:
For the fault storage use the Memory block:

The Enabled Subsystem block can be used:

Create a subsystem for the model developed at point 1).

13.
It will be used “Switch Case” bloc.

14. Application 12 from “Blocuri Simulink” file (see Moodle).


15. Create a Simulink model which calculates: the mean value, peak-to-peak value, period and
frequency of a periodic signal. The values will be displayed on “Simulink/Sinks/Display” block.
16. Using TargetLink Generate C code for the models of applications 10, 12, 13.

You might also like