Friday, September 28, 2012

Result Of The Project



 Result of the project
·         
Graph of Motor

  10% duty cycle of PWM

20% duty cycle of PWM



35% duty cycle of PWM



50% duty cycle of PWM


60% duty cycle of PWM


75% duty cycle of PWM


90% duty cycle of PWM


100% duty cycle of PWM





Saturday, September 22, 2012

A Complete Design of the Labview Software

  • Complete design for labview circuit

there are several formula need to be done in the labview sofware




































  • Complete front panel for Labview which this front panel will be able to monitor and controlling the process of the system.

Saturday, September 15, 2012

Determine Controller in closed loop System in Labview


·  PID

  • The PID acts as the controller of the system. The steady state (Ess) error gives response to PID to correct the error. A PID controller calculates an "error" value as the difference between a measured process variable (actual value) and a desired set point. The controller attempts to minimize the error by adjusting the process control inputs.

  • The PID controller calculation (algorithm) involves three separate constant parameters, and is accordingly sometimes called three term control: the proportional, integral and derivative values, denoted P, I, and D.

  • Proportional Gain kp produces an output value that is proportional to the current error value. This kp will adjusting the time response which reducing the rise time (Tr). However, high proportional gain kp will results the system become unstable which is increasing overshoot of the system.

  • Integral Gain ki produces a contribution to both the magnitude of the error and the duration of the error. The Integral Gain ki accelerates the movement of the process towards set point and eliminates the steady state error that occurs to the controller. However, it also can cause the present value to overshoot the setpoint value of the system.

  • Derivative Gain kd slows the rate of change of the controller output. kd used to reduce the magnitude of the overshoot produced by the proportional and integral component and improve the combined controller-process stability. However, the derivative term slows the transient response of the controller.

  • For the stability of this DC motor speed control system process, the gain of Kp, Ki and Kd is tuned by using manual tuning method. This method is first by setting set ki and kd values to zero. Increase the kp until the output of the loop oscillates, then kp should be set to approximately half of that value for a "quarter amplitude decay" type response. Then increase ki until any offset is corrected in sufficient time for the process. However, too much ki will cause instability. Finally, increase kd, if required, until the loop is acceptably quick to reach its reference after a load disturbance. However, too much kd will cause excessive response and overshoot. A fast PID loop tuning usually overshoots slightly to reach the setpoint more quickly.

  • In this process control, the output of the PID controller (algorithm) gives the range of output 0-100 duty cycle for the input of the PWM


· MOTOR







  • Refer to the graph above; the speed of the motor is proportional to the duty cycle. In this system, the range speed of the motor is 0-2600 RPM and the voltage supply to the motor is 0-5V depends on the duty cycle (0-100%) of the PWM.

  • The Motor Voltage (Vm) that supplied to the motor from the PWM and MOSFET give variable speed to the motor depending on the variable voltage supplied.

  • The desire speed that set at the setpoint input for example 2000 RPM needs at a range of 4.2V. Thus the PWM must inject at least 80% - 90% duty cycle to supply the motor input for producing 2000 RPM.

Monday, September 10, 2012

Output From Sensor(osiloscope)



Output from sensor
Result Test Sensor (RE08A kit)
No
Volt
Frequency (Hz)
RPM
1
0.5Volt
184.5Hz
1383.75
2
1.0Volt
191.9Hz
1432.5
3
1.5Volt
287.9Hz
2159.25
4
2.0Volt
557.4Hz
4180.5
5
2.5Volt
617.8Hz
4633.5
6
3.0Volt
790.5Hz
5928.75
7
3.5Volt
946.4Hz
7098
8
4.0Volt
1.154kHz
8655
9
4.5Volt
1.269kHz
9517.5
10
5.0Volt
1.446kHz
1084.5







Wednesday, September 5, 2012

Interfacing Between Hardware and Software

Do connection between function generator and hardware. Where the trainer will provide 5V supply to the hardware

Do a connection between function generation, hardware and DAQ.



Produce signal from sensor


Output signal from sensor which produce pulse will send to the oscilloscope when the motor start rotate