Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:exercises:motor [2015/10/30 08:05] raivo.sellen:exercises:motor [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 3: Line 3:
  
 ===== Warm up exercise ===== ===== Warm up exercise =====
-  * Controlling the DC motor using a User Interface module. By pressing S1 button, LED1 is lit and the motor turns clockwise. By pressing S3 button, LED3 is lit and the motor revolves clock-counterwise. By pressing S2, LED2 is lit and the motor is stopped. +  * Controlling the DC motor using buttons of a User Interface module. By pressing S1 button, the motor turns clockwise. By pressing S3 button, the motor revolves clock-counterwise. By pressing S2, the motor is stopped. 
  
 ===== For beginners ===== ===== For beginners =====
-  - Robot, by using two DC motors and touch sensors movement of a robot is simulated. Touch sensors are the buttons of the User Interface module (S1…S3). The motor is controlled by pressing the buttons. S1 stops the left motor for 2 seconds and then starts both motors at full speed. S2 stops the right motor for two second and then starts both motors at full speed. If both buttons are pressed, the motors are rotating in reverse direction until the buttons are released. +  - DC motor control. Movement of a robot is simulated, by using DC motor and touch sensors. Touch sensors are the buttons S1, S2 and S3 of the User Interface module. The motor is controlled by pressing the buttons. S1 and S2 pressed separately stops the engine for two seconds and then start motor again. If both buttons are pressed, then the motor is stopped until the buttons are released. (For a robot, similar scheme should be implemented to control two separate motor). 
-  - Servo motor, the servo motor is controlled via the buttons of the digital board. By pressing down S1 the servomotor moves one step to the right. By pressing down S3, the servo motor moves one step to the left and S2 makes the servo motor to move to the initial (middle) position. The position of the servo motor is displayed live on the 7 segment display (each number corresponds to 10 degrees of the turn: middle position equals 5).         +  - DC motor accelerates when S1 is pressed down and holds achieved speed when the button is released. By holding S2 pressed down, the motor decelerates smoothly. By pressing button S3, the motor stops instantly.  
-  - Radar, functioning of radar is simulated. In order to identify objects closer than 0,5 meters, IR distance sensor is installed to the lever of the servo motor. The lever of servo motor is moving constantly form one extreme position to the other and it carries this sensor all the time with itself. If there happens to be an object in closer range than 0,5 meters of the sensor, then the servo motor is stopped for 5 seconds and by signaling a LED (PB7) on the controller board detection of the object is announced. +  - Servo motor, the servo motor is controlled via the buttons of the User Interface module. By pressing down S1 the servomotor moves one step to the right. By pressing down S3, the servo motor moves one step to the left and S2 makes the servo motor to move to the initial (middle) position. The position of the servo motor is displayed live on the 7 segment display (each number corresponds to 10 degrees of the turn: middle position equals 5).         
-  - Stepper motor, after each pressing on the buttons S1 and S3 it rotates 10 steps, accordingly clock wise and anti clock wise. The rotation is stopped immediately by pressing on the button S2.  +  - Radar, UH sensor based radar is simulated. Sensor is installed to the lever of the servo motor. The lever of servo motor is moving constantly form one extreme position to the other. If there happens to be an object in closer range than 0,5 meters of the sensor, then the servo motor is stopped for 5 seconds and by signaling a LED that detection of the object is announced. After 5 seconds of flashing of the LED, scanning continues
-  - All three different types of the motors are connected. By pressing a button it starts and stops a certain motor. S1 controls the DC motor. S2 controls the servo-motor and S3 controls the stepper-motor.+  - Stepper motor, after each pressing on the buttons S1 and S3 it rotates 50 steps, accordingly clock wise and anti clock wise. 
  
 ===== For advanced ===== ===== For advanced =====
-  - DC motor accelerates when S1 is pressed down and holds achieved speed when the button is released. By holding S2 pressed down, the motor decelerates smoothly. By pressing button S3, the motor stops instantly (simulating emergency stop). + 
   - Tracking an object. By using ultrasonic distance sensor, which is installed on the lever of the servo-motor, the servomotor has to track a bypassing object. The motor turns according to the movement of the object so that the object is all the time in the middle of the tracking sector of the sensor.    - Tracking an object. By using ultrasonic distance sensor, which is installed on the lever of the servo-motor, the servomotor has to track a bypassing object. The motor turns according to the movement of the object so that the object is all the time in the middle of the tracking sector of the sensor. 
-  - Stepper motor keeps the last position of the motor after change of each sequenceWhen activating new sequence, use variable, so the movement continues exactly from the last position of the motor +  - Using a stepper motor, make a second dial of the analog clock. The motor must be make exactly 60 steps on one complete rotationMovement should be stepped and not smooth
   - Acceleration, the program allows changing the acceleration/deceleration of the stepper motor. Use linear speed slopes which can be easily identified at visual inspection. Longer movements have to follow the following scheme: acceleration --> steady speed --> deceleration.   - Acceleration, the program allows changing the acceleration/deceleration of the stepper motor. Use linear speed slopes which can be easily identified at visual inspection. Longer movements have to follow the following scheme: acceleration --> steady speed --> deceleration.
-  - Design a PID regulator for a DC motor. NB! This exercise demands a motor with feedback. This exercise may be solved also theoretically+  - Design a PID regulator (or its simplified form) for a DC motor. NB! This exercise demands a motor with feedback (encoder). 
 +  - DC motor. The DC motor is controlled via the buttons of the User Interface module. By pressing down S1 the motor moves one step (x encoder pulses) to the left. By pressing down S3, the motor moves the same amount of steps to the back. The motor rotates exact amount of a predetermined steps, regardless of a torque applied to the shaft (in the case where applied torque is less than the engine maximum output torque).
  
 ====== Questions ====== ====== Questions ======
en/exercises/motor.1446192313.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0