![]() An up/down counter has been implemented using GreenPAK blocks which will increase/decrease depending upon the direction of the motor. We will use pulse A and pulse B for position tracking and direction detection. For example, if the motor started moving clockwise and counted 5 pulses (5 slots), then to go back to its initial position it needs to move 5 counts in the counterclockwise direction so that it ends up back where it started. The count will then decrease if the disk reverses its direction. The main idea of position control is that from our initial (zero) position we need to count the number of slots the disk will cover in either a CW or CCW direction. The number of pulses correlates to the number of slots that the disk of the encoder covers upon one full rotation. The output of a rotary encoder is formed by two pulse signals which are 90º out of phase. It was created in the GreenPAK Designer software, a part of the Go Configure™ Software Hub. The complete design file is available here. Stable mounting for the pointer attached to the motor.An adjustable PWM frequency from the GreenPAK PWM block for a smooth response.A well-designed enclosure with an on/off switch, wide control over PID parameters, and an additional LCD showing the parameter’s values.Conversely, hardware PID gives you more reliable control upon any parameter you want affecting your response, but hardware is typically harder to adjust.įor this solution to be commercially viable as an educational kit several components are required: Software-based PID has limitations depending upon which microcontroller you use. A GreenPAK implementation doesn't require any software development or additional advanced hardware. However, this requires software development and it can require a lot of time and money to develop a reliable system. They receive the input pulses from the encoder, then feed them through a control algorithm to output the motor speed. ![]() ![]() Typically, microcontrollers are used to implement PID controllers. Note that the direction of the motor is already known from the encoder feedback signals from part 1. It then feeds the PWM block output to the motor driver to adjust the motor shaft to the desired position. A PWM generator takes the analog signal that controls the speed of the motor and feeds it to the PWM block in our system. This part of the system uses the quad op-amp SLG88104. This part then outputs an analog signal which controls the speed of the motor. This takes an analog signal given from a point and sets the point as the zero position. An analog PID controller with 3 potentiometers to control PID parameters. This will be done using the GreenPAK™ SLG46621 programmable mixed-signal matrix IC. A rotary encoder relays the position of the DC motor shaft as an analog signal to be fed to the analog PID controller. The system is divided into three main parts:ġ. The educational kit also can modify the PID control to adjust the motor speed to reach a specific desired speed, regardless of any reasonable load on the motor. This project focuses on making an educational kit to demonstrate the effect of a PID controller on the response of a DC motor trying to reach a specific position, in this case, the zero position. Modifying the System for Speed Controlling Final System Lookout & Resources Utilization Choosing the Right Direction Pin to Be Connected to the Motor Driver Taking the Analog Signal, Which Shall Control the PWM to the PWM Block in GreenPAK PID Parameters Effect on the System Response Using PID Controller as a Position Controller in Application ![]() Demonstration of PID Controller and Its Implementing Using SLG88104
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |