The dc motor is controlled by the output of the power tripod as the power amplifier. The linear drive circuit has simple structure and principle, strong acceleration ability, and uses an H-bridge circuit consisting of Darlington tubes (Figure 2.5). The Darlington tube is controlled by a microcontroller to operate in a switching state with an adjustable duty rate, and the motor speed is precisely adjusted. Because this circuit works in the saturation cut-off mode of the tube, the efficiency is very high, the H-type bridge circuit ensures the simple realization of speed and direction control, the switching speed of the electronic tube is very fast, the stability is also very strong, is a widely used PWM speed control technology. There are a lot of these chips on the market, I chose L298N.<br>This mode of speed control has excellent speed control characteristics, smooth adjustment, wide range of speed control, large overload capacity, can withstand frequent load shocks, but also to achieve frequent stageless rapid start, braking and reversal and other advantages. It was therefore decided to use the output of the power tripod as a power amplifier to control the DC motor.<br><br>The use of two infrared tubes, respectively, placed on the front track of the car body on both sides, according to the two photoelectric switches accepted to the white and black line of the situation to control the car steering to adjust the direction of the car, testing shows that as long as the reasonable installation of the position of the two photoelectric switches can be very good to achieve the function of tracking.<br>Place an infrared tube on the right side of the car. By testing such a scheme, it is possible to achieve a good way for the car to avoid obstacles and make full use of resources without wasting it.
正在翻译中..