Vehicle taillight control scheme based on Multisim

This paper designs a design of vehicle taillight control based on Multisim, which requires the lighting and extinction of taillights under the conditions of left turn, right turn and stop.

This article refers to the address: http://

Design requirements

Assume that there are three indicator lights on the left and right sides of the rear of the car (simulated by LED)

1. When the car is running normally, the indicator light is completely off;

2. When the left turn is turned, the three left indicators are lit in the order of the left cycle;

3. When the right turn is turned, the three lights on the right side are lit in the right cycle order;

4. When the brake is temporarily applied, all the indicators flash at the same time.

The design includes using a master-slave JK trigger to form a 3-digit counter to provide pulse for the design of the left (right) loop flashing control circuit for the taillights of the car; and using the 74LS138D3 line-8-line decoder to control the illumination of the indicator Happening. Design a switch control circuit to control the flicker of the taillights and determine the operation of the 74LS138D decoder.

General circuit diagram

1. Automobile taillight control circuit

Figure 1 car taillight control block diagram

Figure 1 car taillight control block diagram

Figure 1 is a block diagram of the vehicle taillight control circuit. The more complicated one is the ternary counting circuit and the decoding circuit. The switch control circuit is controlled by two switches to control the drive circuit by controlling the signal provided by the decoding circuit. The ternary counter circuit is composed of two master-slave JK flip-flops, and the timing logic circuit is formed by the characteristics of the master-slave JK flip-flop. To achieve ternary counting; the decoding circuit uses a 74LS138D decoder, which can control the output of 8 ports using a 3-wire 8-wire decoder. In this experiment, only 6 ports need to be used, and the other two ports are idle. The logic state of the six ports of the decoder is controlled by a ternary counter and a switch control circuit; the driving circuit adopts a common LED tube, adopts a common anode form, the positive pole of the LED tube is connected with a +5V voltage, and the negative pole controls the LED through a driving circuit. The light is off.

2. Circuit structure and schematic

(1) Switch control circuit (Figure 2)

Figure 2 switch control circuit

Figure 2 switch control circuit

One end of the switch is connected to a high level, and one end is grounded (low level). The 74LS86D is connected to the input control terminal of the 74LS138. When the switch is closed or open at the same time, the input is the same, and the 74LS86 output is “0”, then the 74LS138 is not decoded. If the two switches are disconnected at the same time, the output of 74LS04D is "1"; and 74LS10D is connected with CP pulse, so the output of 74LS00D is completely determined by CP pulse; when both switches are closed at the same time, the output of 74LS00D is "1"; B switch Open; B switch is closed, and the analysis when A switch is turned on is also analyzed according to the above method.

(2) ternary counter circuit (Figure 3)

Figure 3 ternary counter circuit

Figure 3 ternary counter circuit

The ternary counting circuit consists of two master-slave JK flip-flops. The output Q1 of the first master-slave JK flip-flop is directly connected to the input of the 74LS138 decoder, and the input of the second master-slave JK flip-flop is also directly connected to the input of the 74LS138, and the second The other end of the main slave JK flip-flop outputs directly as the J-side input of the first master-slave JK flip-flop. Note that Q2 should be higher than the Q1 weight. Moreover, the K-terminal inputs of the two master-slave JK flip-flops are all connected high, so that the period of the changed pulse is 3, thereby achieving ternary counting.

(3) Decoding circuit (Figure 4)

Figure 4 decoding circuit

Figure 4 decoding circuit

The 74LS138 decoder is a commonly used 3-wire 8-wire decoder. As shown in the figure, the 4th and 5th terminals are grounded, and the 6-terminal control circuit provides the control signals. 1, 2, and 3 respectively. The output signals Q1, Q2 of the two master-slave JK flip-flops and the control signals of the control circuit. Since only six indicators are required, only six ports (left turn: Y0 Y1 Y2; right turn: Y4 Y5 Y6) are connected to the output of the 74LS138 to control the signal. And, according to the following truth table to achieve.

Switch control ternary counter 6 indicators

A BQ1 Q2D0 D1 D2 D4 D5 D6

0 0 CP CP CP CP CP CP

0 1 0 0

0 1

1 0 0 0 0 1 0 0

0 0 0 0 1 0

0 0 0 0 0 1

1 0 0 0

0 1

1 0 0 0 1 0 0 0

0 1 0 0 0 0

1 0 0 0 0 0

1 1 0 0 0 0 0 0

(4) Drive circuit: as shown in Figure 5

Figure 5 drive circuit

Figure 5 drive circuit

Light-emitting diodes are used to display the results of the operation. The LED is positively connected to the 5V power supply. When the right input of the non-gate is high level, the LED turns on after the non-gate, and the LED is bright. When the right input of the non-gate is low, the After the non-gate turns high, the LED is extinguished. 3. Calculation, simulation process and results

The circuit runs in each case:

â—‹1 When the A switch is closed and the B switch is open (ie, logic 10), the result is as follows:

Figure 6 A switch is closed, B switch is open and running

Figure 6 A switch is closed, B switch is open and running

â—‹2 When the A switch is turned on and the B switch is closed (ie, logic 01), the operation result is as follows:

Figure 7 A switch is open, B switch is closed.

Figure 7 A switch is open, B switch is closed.

â—‹3 The operation results when A and B switches are closed at the same time (ie logic 11) are as follows:

Figure 8 A, B switch simultaneously closed operation results

Figure 8 A, B switch simultaneously closed operation results

â—‹4 When the A and B switches are turned on at the same time (ie, logic 00), the results are as follows:

Figure 9 A, B switch simultaneously open the operation result map

Figure 9 A, B switch simultaneously open the operation result map

4. List of components

Number of component specifications

Function signal generator XFG11

Master and slave JK trigger 74LS76D2

Double input NAND gate 74LS00D8

Three-input NAND gate 74LS10D1

Double input NOT gate 74LS04D7

Dual input XOR gate 74LS86D1

Decoder 74LS138D1

Resistance 200 Euro 8

DC power supply 5V6

Ground terminal GND4

5. Design and use instructions

This design is based on the computer Multisim simulation software to simulate the state, through the switch A, B to achieve the state transition, A, B simultaneously closed the equivalent of the car brake, the six indicators are flashing at the same time; A, B at the same time disconnected equivalent to the car Normal operation, all indicators are off; A closed, B disconnected is equivalent to the left turn of the car, the left three lights flash in the left cycle; A disconnected, B closed is equivalent to the car right turn, the right three lights are right The cycle flashes. The "XFGI" frequency is suitable for 60HZ. Therefore, the design basically has the basic functions of the common taillight control of the automobile, and realizes the functions of turning and braking indication, and has certain use value.

Single-axis smartphone stabilizer is a pivoted support that allows the phone staying stabilized.

With a gyro-stabilized gimbal system, it keeps stabilized or steerable horizon with automatic calibration

to give you an unprecedented smooth shooting experience.

phone gimbal stabilizer
 

1axis smartphone gimbal are designed as pocket size, portable and easy to take.

You can carry it as easy as smartphone!

 black gimbalvideo gimbal

Wewow focusing on handheld stabilizer is a technology company which does R & D independently.

With Wenpod series product released, the company achieved the industry's praise and quickly became

the leader of the smart stabilizer industry.

Our service

1. Reply to you within 24 hours.

2. Already sample: within 1-2days.

3. Shipping date: within 24 hours once get the payment.

4. 12 months warranty.

5. After-sales service, solve within 3 working dates.

If you have any questions, please contact with us directly.

Wewow appreciates domestic and international business relationship!

Single-axis Smartphone Stabilizer

Single-Axis Smartphone Stabilizer,Professional Single-Axis Smartphone Stabilizer,Smartphone Stabilizer With Single Handheld,Single-Axis Smartphone Gimbal Stabilizer

GUANGZHOU WEWOW ELECTRONIC CO., LTD. , https://www.stabilizers.pl