Automobile generator control system based on single chip microcomputer

By designing a single-chip machine-based automotive generator control system, the output voltage, current and speed of the generator are monitored and protected in real time, the problem that traditional systems cannot monitor and protect in real time is solved, the safety and stability of the system are improved, and the system is achieved Intuitive parameter display.

CN111061189BActive Publication Date: 2024-12-03ZHONGBEI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911327422.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-20
Publication Date
2024-12-03
Estimated Expiration
2039-12-20

AI Technical Summary

Technical Problem

Traditional automotive generator control systems cannot monitor and protect the generator's output voltage, current and speed in real time, resulting in insufficient stability and safety of the power supply system.

Method used

A single-chip machine-based automotive generator control system is designed, including voltage regulator, terminal controller, voltage acquisition circuit, current acquisition circuit, speed acquisition circuit, keyboard input circuit, protection circuit, alarm circuit and display circuit, through these circuits The generator parameters are collected and processed in real time to achieve real-time monitoring and protection.

Benefits of technology

Real-time online monitoring and protection of generators is realized, the safety and stability of the automotive generator control system is improved, and the voltage, current and speed are displayed in real time through the display circuit, enhancing the intuitiveness and safety of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111061189B_ABST
    Figure CN111061189B_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of generator control, and specifically relates to an automobile generator control system based on a single-chip microcomputer; the control system comprises: a voltage regulator, a terminal controller, a voltage acquisition circuit, a current acquisition circuit, a speed acquisition circuit, a keyboard input circuit, a protection circuit, an alarm circuit, a display circuit and an auxiliary power supply circuit; the voltage regulator and the terminal controller are bidirectionally connected in communication, the output end of the terminal controller is electrically connected to the input end of the display circuit, the output end of the voltage acquisition circuit is electrically connected to the input end of the voltage regulator, the output end of the current acquisition circuit is electrically connected to the input end of the voltage regulator, the output end of the speed acquisition circuit is electrically connected to the input end of the voltage regulator, the output end of the keyboard input circuit is electrically connected to the input end of the voltage regulator, the output end of the voltage regulator is electrically connected to the input end of the alarm circuit, and the output end of the voltage regulator is connected to the input end of the protection circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of generator control, and in particular relates to an automobile generator control system based on a single chip microcomputer. Background Art

[0002] With the rapid development of automotive electronic technology in recent years, more and more people are pursuing entertainment and comfort inside the car. As a result, various electrical equipment has been increasingly used in cars, making the power output of cars larger and larger. Therefore, the requirements for the stability and safety of the car generator power supply system are also getting higher and higher.

[0003] The automobile generator is the main source of electrical energy for the automobile power system. With the increasing proportion of large-scale integrated control circuits in automotive electronics, the traditional automobile generator control system has no parameter detection and cannot perform parameter detection and intelligent control protection; therefore, realizing real-time online monitoring and protection of automobile AC generators is an important direction for the development of automobile power systems. Summary of the invention

[0004] The present invention overcomes the deficiencies of the prior art and aims to solve the technical problem of providing a single-chip microcomputer-based automobile generator control system that can monitor the output voltage, current, and motor speed of an automobile generator in real time and realize abnormal generator operation alarm and protection.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: an automobile generator control system based on a single-chip microcomputer, including a voltage regulator, a terminal controller, a voltage acquisition circuit, a current acquisition circuit, a speed acquisition circuit, a keyboard input circuit, a protection circuit, an alarm circuit, a display circuit and an auxiliary power supply circuit; the voltage regulator and the terminal controller are connected in bidirectional communication, the output end of the terminal controller is electrically connected to the input end of the display circuit, the output end of the voltage acquisition circuit is electrically connected to the input end of the voltage regulator, the output end of the current acquisition circuit is electrically connected to the input end of the voltage regulator, the output end of the speed acquisition circuit is electrically connected to the input end of the voltage regulator, the output end of the keyboard input circuit is electrically connected to the input end of the voltage regulator, the output end of the voltage regulator is electrically connected to the input end of the alarm circuit, the output end of the voltage regulator is connected to the input end of the protection circuit, the output end of the protection circuit is connected to the external electronic load circuit, and the auxiliary power supply circuit provides power supply for the entire control system.

[0006] Preferably, the voltage regulator includes: a single chip microcomputer U1, the voltage acquisition circuit includes: a voltage transformer TV1, a voltage transformer TV2 and a voltage transformer TV3, the speed acquisition circuit includes: a photoelectric sensor IC1, the current acquisition circuit includes: an amplifier IC2; the auxiliary power supply circuit includes a 5V power supply output terminal VCC and a 12V power supply output terminal; the primary winding of the voltage transformer TV1 is connected in parallel with the A phase circuit of the generator, and the secondary winding of the voltage transformer TV1 is connected in parallel with the rectifier VD1. The positive output end of the rectifier VD1 is connected to one end of the resistor R5 and one end of the capacitor Cp1 respectively, the other end of the resistor R5 is connected to one end of the resistor R6, one end of the capacitor C9, and the positive electrode of the wiring terminal P3 respectively, the other end of the resistor R6 is connected to the other end of the capacitor Cp1, the other end of the capacitor C9, the negative output end of the rectifier VD1, and the negative electrode of the wiring terminal P3 and then grounded; the primary winding of the voltage transformer TV2 is connected in parallel with the B-phase circuit of the generator, and the voltage transformer T The secondary winding of V2 is connected to the input end of the rectifier VD2, the positive output end of the rectifier VD2 is respectively connected to one end of the resistor R7 and one end of the capacitor Cp2, the other end of the resistor R7 is respectively connected to one end of the resistor R8, one end of the capacitor C10, and the positive electrode of the wiring terminal P4, the other end of the resistor R8 is respectively connected to the other end of the capacitor Cp2, the other end of the capacitor C10, the negative output end of the rectifier VD2, and the negative electrode of the wiring terminal P4 and then grounded; the primary winding of the voltage transformer TV3 is connected to the generator The C-phase circuit of the machine is connected in parallel, the secondary winding of the voltage transformer TV3 is connected to the input end of the rectifier VD3, the positive output end of the rectifier VD3 is respectively connected to one end of the resistor R9 and one end of the capacitor Cp3, the other end of the resistor R9 is respectively connected to one end of the resistor R10, one end of the capacitor C11, and the positive electrode of the wiring terminal P5, the other end of the resistor R10 is respectively connected to the other end of the capacitor Cp3, the other end of the capacitor C11, the negative output end of the rectifier VD2, and the negative electrode of the wiring terminal P4 and then grounded;The positive electrode of the photoelectric sensor IC1 is connected to one end of the resistor R14, and the other end of the resistor R14 is respectively connected to one end of the capacitor C11, the positive electrode of the light-emitting diode D11, one end of the resistor R12, one end of the resistor R15, one end of the resistor R16, the positive input terminal of the amplifier IC3, and the 5V power supply output terminal VCC. The other end of the capacitor C11 is respectively connected to one end of the resistor R11, one end of the resistor R13, and the negative electrode of the photoelectric sensor IC1 and then grounded. The other end of the resistor R11 is connected to the negative electrode of the light-emitting diode D11, and the other end of the resistor R13 is respectively connected to the other end of the resistor R12, the inverting input terminal of the amplifier IC3, and one end of the capacitor C12. The other end of the capacitor C12 is respectively connected to the emitter of the photoelectric sensor IC1 and the negative input terminal of the amplifier IC3 and then grounded. The other end of the resistor R15 is respectively connected to the photoelectric The collector of the sensor IC1 is connected to the in-phase input terminal of the amplifier IC3. The output terminal of the amplifier IC3 is respectively connected to the other end of the resistor R16 and the output terminal DO of the speed acquisition circuit. The output terminal DO of the speed acquisition circuit is connected to the input terminal P2.3 of the single-chip computer U1; the input terminal -IN of the amplifier IC2 is respectively connected to one end of the resistor R21 and the 5V power supply output terminal VCC. The other end of the resistor R21 is connected to the input terminal +IN of the amplifier IC2 and then grounded. The ground terminal GND of the amplifier IC2 is respectively connected to the output terminal REF2 of the amplifier IC2 and the output terminal NC of the amplifier IC2 and then grounded. The input terminal REF1 of the amplifier IC2 is respectively connected to the power supply terminal V+ and the 12V power supply output terminal of the amplifier IC2. The output terminal OUT of the amplifier IC2 is connected to the input terminal P1.7 of the single-chip computer U1. ;

[0007] Preferably, the alarm circuit comprises: a transistor Q2, a buzzer LS, a light emitting diode D0, a light emitting diode D1 and a light emitting diode D2; the base of the transistor Q2 is connected in series with a resistor R7 and then connected to a control signal input terminal S1, the collector of the transistor Q2 is connected to a 5V power supply output terminal VCC, the emitter of the transistor Q2 is connected to the positive electrode of the buzzer LS, the cathode of the buzzer LS is respectively connected to the cathode of the light emitting diode D0, the cathode of the light emitting diode D1 and the cathode of the light emitting diode D2 and then grounded, and the light emitting diode D1 is connected to the positive electrode of the buzzer LS and then connected to the negative electrode of the light emitting diode D0, the cathode of the light emitting diode D1 and the cathode of the light emitting diode D2. The anode of the diode D2 is connected to the control signal input terminal S2, the anode of the light-emitting diode D1 is connected to the control signal input terminal S3, and the anode of the light-emitting diode D0 is connected to the control signal input terminal S4; the control signal input terminal S1 is connected to the output terminal P0.6 of the single-chip microcomputer U1, the control signal input terminal S2 is connected to the output terminal P0.5 of the single-chip microcomputer U1, the control signal input terminal S3 is connected to the output terminal P0.5 of the single-chip microcomputer U1, and the control signal input terminal S4 is connected to the output terminal P0.4 of the single-chip microcomputer U1.

[0008] Preferably, the protection circuit includes: a transistor Q1 and a relay K1, the base of the transistor Q1 is connected to the protection control signal input terminal S0, and the protection control signal input terminal S0 is connected to the output terminal P0.7 of the single-chip computer U1; the emitter of the transistor Q1 is connected to the 5V power supply output terminal VCC, the emitter of the transistor Q1 is connected to one end of the coil K1.1 of the relay K1 and the cathode of the diode D4, the other end of the coil K1.1 of the relay K1 is connected to the anode of the diode D4 and then grounded, and the normally closed switch K1.2 of the coil K1.1 of the relay K1 is connected in series in the external electronic load circuit.

[0009] Preferably, the terminal controller includes: a single-chip microcomputer U3, and the display circuit includes: a liquid crystal display screen U5; the data transmitting end TX of the single-chip microcomputer U3 is connected to the data receiving end P3.0 of the single-chip microcomputer U1, and the data receiving end RX of the single-chip microcomputer U3 is connected to the data transmitting end P3.1 of the single-chip microcomputer U1; the output end RB0 of the single-chip microcomputer U3 is connected to the data input end DATA0 of the liquid crystal display screen U5, the output end RB1 of the single-chip microcomputer U3 is connected to the data input end DATA1 of the liquid crystal display screen U5, the output end RB2 of the single-chip microcomputer U3 is connected to the data input end DATA2 of the liquid crystal display screen U5, and the output end RB3 of the single-chip microcomputer U3 is connected to the data input end DATA4 of the liquid crystal display screen U5. The data input terminal DATA3 of the liquid crystal display screen U5 is connected, the output terminal RB4 of the single-chip microcomputer U3 is connected to the data input terminal DATA4 of the liquid crystal display screen U5, the output terminal RB5 of the single-chip microcomputer U3 is connected to the data input terminal DATA5 of the liquid crystal display screen U5, the output terminal RB6 of the single-chip microcomputer U3 is connected to the data input terminal DATA6 of the liquid crystal display screen U5, and the output terminal RB7 of the single-chip microcomputer U3 is connected to the data input terminal DATA7 of the liquid crystal display screen U5; the output terminal RC3 of the single-chip microcomputer U3 is connected to the command data selection terminal RS of the liquid crystal display screen U5, and the output terminal RC4 of the single-chip microcomputer U3 is connected to the read-write selection terminal of the liquid crystal display screen U5 The output terminal RC5 of the single-chip computer U3 is connected to the enable terminal EN of the liquid crystal display U5, the 5V power output terminal VCC of the liquid crystal display U5 is respectively connected to one end of the resistor R25 and the 5V power output terminal VCC, the other end of the resistor R25 is respectively connected to one end of the resistor R26 and the power terminal Vo of the liquid crystal display U5, the other end of the resistor R26 is connected to the ground terminal GND of the liquid crystal display U5 and then grounded, the backlight power terminal A of the liquid crystal display U5 is connected to the 5V power output terminal VCC, and the ground terminal K of the liquid crystal display U5 is grounded.

[0010] Preferably, the keyboard input circuit includes: key S6, key S7, key S8, key S9, key S10, key S11, key S12, key S13, key S14, key S15, key S16, key S17, key S18, key S19, key S20, and key S21; one end of the key S6 is connected to the data receiving end P3.0 of the single-chip microcomputer U1, one end of the key S7, one end of the key S8, and one end of the key S9, the other end of the key S6 is respectively connected to one end of the key S10, one end of the key S14, one end of the key S18, and the output end P3.4 of the single-chip microcomputer U1, the other end of the key S7 is respectively connected to one end of the key S11, one end of the key S15, one end of the key S19, and the output end P3.5 of the single-chip microcomputer U1, and the other end of the key S8 is respectively connected to one end of the key S11, one end of the key S15, one end of the key S19, and the output end P3.5 of the single-chip microcomputer U1. The other end of the button S18 is respectively connected to the other end of the button S19, the other end of the button S20, the other end of the button S21, and the output terminal P3.3 of the single-chip computer U1.

[0011] Preferably, it also includes: a storage circuit, which is bidirectionally communicatively connected with the voltage regulator, and the storage circuit includes: a storage chip U4, an address selection terminal A0 of the storage chip U4 is respectively connected to the address selection terminal A1 of the storage chip U4, the address selection terminal A2 of the storage chip U4, and the ground terminal GND of the storage chip U4 and then grounded, the power supply terminal VCC of the storage chip U4 is connected to the 5V power supply output terminal VCC, the protection segment WP of the storage chip U4 is grounded, the serial clock terminal SCL of the storage chip U4 is connected to the data transmission terminal P2.0 of the single-chip computer U1, and the serial data / address terminal SDA of the storage chip U4 is connected to the data transmission terminal P2.1 of the single-chip computer U1.

[0012] Preferably, the model of the single-chip microcomputer U1 is STC12C5A60S2, and the model of the single-chip microcomputer U3 is PIC18F2580.

[0013] Compared with the prior art, the present invention has the following beneficial effects:

[0014] 1. The present invention is based on a single-chip microcomputer automobile generator control system. When in use, the voltage, current and speed of the automobile generator are sampled through a voltage acquisition circuit, a current acquisition circuit and a speed acquisition circuit, and the voltage, current and speed data are transmitted to a terminal controller through a voltage regulator. The terminal controller processes the sampled values ​​and sends alarm, protection and other execution commands to the voltage regulator. The voltage regulator cuts off the power supply of the external load circuit through the protection circuit to achieve overcurrent / overvoltage protection. The voltage regulator realizes real-time status display and alarm in normal, low-speed and overvoltage / overcurrent states of the motor through the alarm circuit, thereby improving the safety and stability of the automobile generator control system.

[0015] 2. In the present invention, the output voltage, output current and generator speed of the generator can be displayed in real time through the display circuit, and the display method is intuitive and clear. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention will be further described in detail below in conjunction with the accompanying drawings;

[0017] Figure 1 A circuit connection diagram of a single-chip microcomputer-based automobile generator control system provided in Embodiment 1 of the present invention;

[0018] Figure 2 A circuit schematic diagram of a voltage acquisition circuit provided in Embodiment 1 of the present invention;

[0019] Figure 3 A circuit schematic diagram of a speed acquisition circuit provided in Embodiment 1 of the present invention;

[0020] Figure 4 A circuit schematic diagram of a current acquisition circuit provided in Embodiment 1 of the present invention;

[0021] Figure 5 A circuit schematic diagram of a protection circuit and an external electronic load circuit provided in Embodiment 1 of the present invention;

[0022] Figure 6 A circuit schematic diagram of a terminal controller and a display circuit provided in Embodiment 1 of the present invention;

[0023] Figure 7 A circuit schematic diagram of a keyboard input circuit provided in Embodiment 1 of the present invention;

[0024] Figure 8 A circuit schematic diagram of an alarm circuit provided in Embodiment 1 of the present invention;

[0025] Fig. 9 A circuit schematic diagram of a storage circuit provided in Embodiment 1 of the present invention;

[0026] Fig.10A circuit schematic diagram of an auxiliary power supply circuit provided in Embodiment 1 of the present invention;

[0027] In the figure:

[0028] 10 is a voltage regulator, 20 is a terminal controller, 30 is a voltage acquisition circuit, 40 is a current acquisition circuit, 50 is a speed acquisition circuit, 60 is a keyboard input circuit, 70 is a protection circuit, 80 is an alarm circuit, and 90 is a display circuit. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0030] Figure 1 The circuit connection diagram of the automobile generator control system based on the single chip microcomputer provided in the first embodiment of the present invention is as follows: Figure 1 As shown, the automobile generator control system based on the single chip microcomputer includes a voltage regulator 10, a terminal controller 20, a voltage acquisition circuit 30, a current acquisition circuit 40, a speed acquisition circuit 50, a keyboard input circuit 60, a protection circuit 70, an alarm circuit 80, a display circuit 90 and an auxiliary power supply circuit; the voltage regulator 10 and the terminal controller 20 are bidirectionally connected in communication, the output end of the terminal controller 20 is electrically connected to the input end of the display circuit 90, the output end of the voltage acquisition circuit 30 is electrically connected to the input end of the voltage regulator 10, the output end of the current acquisition circuit 40 is electrically connected to the input end of the voltage regulator 10, the output end of the speed acquisition circuit 50 is electrically connected to the input end of the voltage regulator 10, the output end of the keyboard input circuit 60 is electrically connected to the input end of the voltage regulator 10, the output end of the voltage regulator 10 is electrically connected to the input end of the alarm circuit 80, the output end of the voltage regulator 10 is connected to the input end of the protection circuit 70, and the output end of the protection circuit 70 is connected to the external electronic load circuit. The auxiliary power supply circuit provides power supply for the entire control system.

[0031] Figure 2 The circuit schematic diagram of the voltage acquisition circuit provided in the first embodiment of the present invention is as follows: Figure 3 This is a circuit schematic diagram of a speed acquisition circuit provided in Embodiment 1 of the present invention. Figure 4 The circuit schematic diagram of the current acquisition circuit provided in the first embodiment of the present invention; Figures 2 to 4As shown, the voltage acquisition circuit 30 includes: voltage transformer TV1, voltage transformer TV2 and voltage transformer TV3, the speed acquisition circuit 50 includes: photoelectric sensor IC1, the current acquisition circuit 40 includes: amplifier IC2; the auxiliary power supply circuit includes a 5V power supply output terminal VCC and a 12V power supply output terminal, and the voltage regulator 10 includes: a single-chip microcomputer U1, and the model of the single-chip microcomputer U1 is STC12C5A60S2.

[0032] In the present invention, the voltage, current and speed of the on-board three-phase generator of the automobile are collected online in real time. Specifically, the circuit structure of the voltage collection circuit 30 is as follows: the primary winding of the voltage transformer TV1 is connected in parallel with the A-phase circuit of the generator, the secondary winding of the voltage transformer TV1 is connected to the input end of the rectifier VD1, the positive output end of the rectifier VD1 is respectively connected to one end of the resistor R5 and one end of the capacitor Cp1, the other end of the resistor R5 is respectively connected to one end of the resistor R6, one end of the capacitor C9, and the positive electrode of the wiring terminal P3, and the resistor The other end of R6 is respectively connected to the other end of capacitor Cp1, the other end of capacitor C9, the negative output end of rectifier VD1, and the negative electrode of terminal P3 and then grounded; the primary winding of voltage transformer TV2 is connected in parallel with the B-phase circuit of the generator, the secondary winding of voltage transformer TV2 is connected to the input end of rectifier VD2, the positive output end of rectifier VD2 is respectively connected to one end of resistor R7 and one end of capacitor Cp2, the other end of resistor R7 is respectively connected to one end of resistor R8, one end of capacitor C10, and the positive electrode of terminal P4, the The other end of the resistor R8 is respectively connected to the other end of the capacitor Cp2, the other end of the capacitor C10, the negative output end of the rectifier VD2, and the negative electrode of the terminal P4 and then grounded; the primary winding of the voltage transformer TV3 is connected in parallel with the C-phase circuit of the generator, the secondary winding of the voltage transformer TV3 is connected to the input end of the rectifier VD3, the positive output end of the rectifier VD3 is respectively connected to one end of the resistor R9 and one end of the capacitor Cp3, the other end of the resistor R9 is respectively connected to one end of the resistor R10, one end of the capacitor C11, and the positive electrode of the terminal P5 The other end of the resistor R10 is respectively connected to the other end of the capacitor Cp3, the other end of the capacitor C11, the negative output end of the rectifier VD2, and the negative electrode of the wiring terminal P4 and then grounded; in this embodiment, the voltage transformers TV1~TV3 can select DL-PT202G type voltage transformers to convert the voltage into a low voltage measurable range, and the voltage obtained on the secondary side of the voltage transformer is rectified and filtered by a rectifier bridge and an electrolytic capacitor to output a DC voltage with small pulsation. This DC voltage can be accurately detected by the microcontroller U1 because it is in the range of 0~5V.

[0033] The circuit structure of the speed acquisition circuit 50 is as follows: the positive electrode of the photoelectric sensor IC1 is connected to one end of the resistor R14, and the other end of the resistor R14 is respectively connected to one end of the capacitor C11, the positive electrode of the light-emitting diode D11, one end of the resistor R12, one end of the resistor R15, one end of the resistor R16, the positive input end of the amplifier IC3, and the 5V power supply output end VCC. The other end of the capacitor C11 is respectively connected to one end of the resistor R11, one end of the resistor R13, and the negative electrode of the photoelectric sensor IC1 and then grounded. The other end of the resistor R11 is connected to the negative electrode of the light-emitting diode D11. The other end of the resistor R13 is respectively connected to the other end of the resistor R12, the inverting input end of the amplifier IC3, and one end of the capacitor C12. The other end of the capacitor C12 is respectively connected to the emitter of the photoelectric sensor IC1. , and the negative input terminal of the amplifier IC3 are connected to ground, the other end of the resistor R15 is respectively connected to the collector of the photoelectric sensor IC1 and the in-phase input terminal of the amplifier IC3, the output end of the amplifier IC3 is respectively connected to the other end of the resistor R16 and the output end DO of the speed acquisition circuit 50, the output end DO of the speed acquisition circuit 50 is connected to the input end P2.3 of the single-chip computer U1. In this embodiment, the speed acquisition circuit utilizes the photoelectric gate to generate 0~5V high and low level jumps during the rotation of the code wheel, and then through the characteristics of the amplifier IC3 (LM393 voltage comparator), the output square wave signal is made more stable to obtain an accurate digital signal, and then the digital signal is sent to the single-chip computer U1, and the single-chip computer U1 calculates the current motor speed by detecting the square wave frequency and performs corresponding response actions.

[0034] The circuit structure of the current acquisition circuit 40 is as follows: the input terminal -IN of the amplifier IC2 is respectively connected to one end of the resistor R21 and the 5V power supply output terminal VCC, the other end of the resistor R21 is connected to the input terminal +IN of the amplifier IC2 and then grounded, the ground terminal GND of the amplifier IC2 is respectively connected to the output terminal REF2 of the amplifier IC2 and the output terminal NC of the amplifier IC2 and then grounded, the output terminal REF1 of the amplifier IC2 is respectively connected to the power supply terminal V+ and the 12V power supply output terminal of the amplifier IC2, and the output terminal OUT of the amplifier IC2 is connected to the input terminal P1.7 of the single-chip computer U1; the current acquisition circuit 40 of the present invention will cause a small voltage drop in the main circuit through the cement resistor R21, and then amplify the signal through the amplifier IC2 of model IN282, this amplifier IC2 can amplify the voltage by about 50 times, and obtain a changing micro voltage through the current change of the cement resistor R21, and the changing micro voltage is amplified and given to the single-chip computer U1, so as to realize the indirect acquisition of the system current by the single-chip computer.

[0035] Figure 8 The circuit schematic diagram of the alarm circuit provided in the first embodiment of the present invention is as follows: Figure 8As shown, the alarm circuit 80 includes: a transistor Q2, a buzzer LS, a light emitting diode D0, a light emitting diode D1 and a light emitting diode D2; the base of the transistor Q2 is connected in series with a resistor R7 and then connected to the control signal input terminal S1, the collector of the transistor Q2 is connected to the 5V power supply output terminal VCC, the emitter of the transistor Q2 is connected to the positive electrode of the buzzer LS, the cathode of the buzzer LS is respectively connected to the cathode of the light emitting diode D0, the cathode of the light emitting diode D1, and the cathode of the light emitting diode D2 and then grounded, The anode of the diode D2 is connected to the control signal input terminal S2, the anode of the light-emitting diode D1 is connected to the control signal input terminal S3, and the anode of the light-emitting diode D0 is connected to the control signal input terminal S4; the control signal input terminal S1 is connected to the output terminal P0.6 of the single-chip microcomputer U1, the control signal input terminal S2 is connected to the output terminal P0.5 of the single-chip microcomputer U1, the control signal input terminal S3 is connected to the output terminal P0.5 of the single-chip microcomputer U1, and the control signal input terminal S4 is connected to the output terminal P0.4 of the single-chip microcomputer U1.

[0036] The alarm circuit 80 in this embodiment uses an active buzzer as the main alarm device. The active buzzer cooperates with an NPN transistor to achieve isolation between the single-chip computer U1 and the buzzer, which equivalently increases the driving ability of the single-chip computer U1. In the present invention, a resistor R7 of about 1K is set between the single-chip computer U1 and the base of the alarm circuit 80 transistor, otherwise the excessive base current will affect the normal operation of the single-chip computer U1. In addition, three green, blue and red indicator lights are set on the alarm circuit 80, which respectively display the real-time status when the motor is normal, low speed and overvoltage / overcurrent state; in this embodiment, the selected light-emitting diode can be directly controlled by the single-chip computer U1 because of the small current passing through it.

[0037] Among them: the control signal input through the control signal input terminal S1 is used to control the sound of the buzzer LS; when the motor is overvoltage / overcurrent, the control signal input through the control signal input terminal S2 is used to control the light emission of the light-emitting diode D2; when the motor runs at a low speed, the control signal input through the control signal input terminal S3 is used to control the light emission of the light-emitting diode D1; when the motor runs normally, the control signal input through the control signal input terminal S4 is used to control the light emission of the light-emitting diode D0.

[0038] Figure 5 The circuit schematic diagram of the protection circuit and the external electronic load circuit provided in the first embodiment of the present invention is as follows: Figure 5As shown, the protection circuit 70 includes: a transistor Q1 and a relay K1. The base of the transistor Q1 is connected to the protection control signal input terminal S0, and the protection control signal input terminal S0 is connected to the output terminal P0.7 of the single-chip computer U1; the emitter of the transistor Q1 is connected to the 5V power supply output terminal VCC, the emitter of the transistor Q1 is connected to one end of the coil K1.1 of the relay K1 and the cathode of the diode D4, the other end of the coil K1.1 of the relay K1 is connected to the anode of the diode D4 and then grounded, and the normally closed switch K1.2 of the coil K1.1 of the relay K1 is connected in series in the external electronic load circuit.

[0039] Specifically, the model of the relay K1 is JQC-3F (T73) 5VDC. The relay K1 can isolate and drive the control circuit and the single-chip computer U1 under high voltage and high power conditions. It can withstand a current of 10A under 125V AC voltage conditions and a current of 7A under 240V AC voltage conditions. When the motor is overvoltage / overcurrent, the protection control signal input terminal S0 of the protection circuit 70 receives the control signal sent by the output terminal P0.7 of the single-chip computer U1, so that the normally closed contact K1.2 of the relay K1 is disconnected, thereby cutting off the load circuit to protect the load circuit.

[0040] Furthermore, the external electronic load circuit includes: diodes D31~D33, capacitors C31~C36, and resistors R31~R34; the external load circuit converts the three-phase AC voltage into DC voltage through a three-phase full-bridge rectifier circuit and a filter circuit, and the balanced regulation of the three-phase current can be achieved by adjusting one load.

[0041] Figure 6 The circuit schematic diagram of the terminal controller and the display circuit provided in the first embodiment of the present invention is as follows: Figure 6 As shown, the terminal controller 20 includes: a single chip microcomputer U3, and the display circuit 90 includes: a liquid crystal display screen U5; the data transmitting end TX of the single chip microcomputer U3 is connected to the data receiving end P3.0 of the single chip microcomputer U1, and the data receiving end RX of the single chip microcomputer U3 is connected to the data transmitting end P3.1 of the single chip microcomputer U1;

[0042] In the present invention, the terminal controller 20 is composed of a PIC18F2580 single-chip microcomputer. Since the terminal controller 20 has only one asynchronous serial communication interface pin, the terminal controller 20 is only responsible for processing the signal of the voltage regulator controller 10, controlling the display and issuing control commands. The terminal controller 20 has an internal enhanced USART module. The operation of the enhanced USART is mainly controlled by three registers, namely, the transmission status and control register, the receiving status and control register, and the baud rate control register. The EUSART serial port control will automatically configure the pin from the input end to the output end as needed.

[0043] Specifically, the output terminal RB0 of the single-chip microcomputer U3 is connected to the data input terminal DATA0 of the liquid crystal display screen U5, the output terminal RB1 of the single-chip microcomputer U3 is connected to the data input terminal DATA1 of the liquid crystal display screen U5, the output terminal RB2 of the single-chip microcomputer U3 is connected to the data input terminal DATA2 of the liquid crystal display screen U5, the output terminal RB3 of the single-chip microcomputer U3 is connected to the data input terminal DATA3 of the liquid crystal display screen U5, the output terminal RB4 of the single-chip microcomputer U3 is connected to the data input terminal DATA4 of the liquid crystal display screen U5, the output terminal RB5 of the single-chip microcomputer U3 is connected to the data input terminal DATA5 of the liquid crystal display screen U5, the output terminal RB6 of the single-chip microcomputer U3 is connected to the data input terminal DATA6 of the liquid crystal display screen U5, and the output terminal RB7 of the single-chip microcomputer U3 is connected to the data input terminal DATA7 of the liquid crystal display screen U5; the output terminal RC3 of the single-chip microcomputer U3 is connected to the command data selection terminal RS of the liquid crystal display screen U5, and the output terminal RC4 of the single-chip microcomputer U3 is connected to the read-write selection terminal of the liquid crystal display screen U5. The output terminal RC5 of the single-chip computer U3 is connected to the enable terminal EN of the liquid crystal display U5, the 5V power output terminal VCC of the liquid crystal display U5 is respectively connected to one end of the resistor R25 and the 5V power output terminal VCC, the other end of the resistor R25 is respectively connected to one end of the resistor R26 and the power terminal Vo of the liquid crystal display U5, the other end of the resistor R26 is connected to the ground terminal GND of the liquid crystal display U5 and then grounded, the backlight power terminal A of the liquid crystal display U5 is connected to the 5V power output terminal VCC, and the ground terminal K of the liquid crystal display U5 is grounded.

[0044] Figure 7 The circuit principle of the keyboard input circuit provided in the first embodiment of the present invention is as follows: Figure 7As shown, the keyboard input circuit 60 includes: key S6, key S7, key S8, key S9, key S10, key S11, key S12, key S13, key S14, key S15, key S16, key S17, key S18, key S19, key S20, and key S21; one end of the key S6 is connected to the data receiving terminal P3.0 of the single-chip microcomputer U1, one end of the key S7, one end of the key S8, and one end of the key S9, the other end of the key S6 is respectively connected to one end of the key S10, one end of the key S14, one end of the key S18, and the output terminal P3.4 of the single-chip microcomputer U1, the other end of the key S7 is respectively connected to one end of the key S11, one end of the key S15, one end of the key S19, and the output terminal P3.5 of the single-chip microcomputer U1, and the other end of the key S8 is respectively connected to one end of the key S10, one end of the key S14, one end of the key S18, and the output terminal P3.4 of the single-chip microcomputer U1. The other end of the button S18 is respectively connected to the other end of the button S19, the other end of the button S20, the other end of the button S21, and the output terminal P3.3 of the single-chip computer U1.

[0045] In the present invention, a group of pin ports are used to control 16 keys. First, the ports of P3.0~P3.3 analog voltage regulators are set to a high-level state, the row of the keys is pulled high, and then the level state values ​​of the analog voltage regulator ports P3.4~P3.7 are read to locate the column direction of the keys; secondly, P3.4~P3.7 of the voltage regulators are set to a high-level state, and then the values ​​of P3.0~P3.3 of the voltage regulators are read to locate the row position of the keys. After two scans, it can be determined which key is pressed.

[0046] Fig. 9 The circuit schematic diagram of the storage circuit provided in the first embodiment of the present invention is as follows: Fig. 9 As shown, it also includes: a storage circuit, the storage circuit is bidirectionally connected to the voltage regulator 10, and the storage circuit includes: a storage chip U4,

[0047] The address selection terminal A0 of the memory chip U4 is respectively connected to the address selection terminal A1 of the memory chip U4, the address selection terminal A2 of the memory chip U4, and the ground terminal GND of the memory chip U4 and then grounded, the power supply terminal VCC of the memory chip U4 is connected to the 5V power supply output terminal VCC, the protection segment WP of the memory chip U4 is grounded, the serial clock terminal SCL of the memory chip U4 is connected to the data transmission terminal P2.0 of the microcontroller U1, and the serial data / address terminal SDA of the memory chip U4 is connected to the data transmission terminal P2.1 of the microcontroller U1.

[0048] Fig.10 A circuit schematic diagram of an auxiliary power supply circuit provided in Embodiment 1 of the present invention; in the present invention, the auxiliary power supply circuit provides 12V and 5V power supplies for the entire control system, and the output of 12V power supply and 5V power supply can be achieved by adjusting the resistance values ​​of variable resistors Rp1 and Rp2; the auxiliary power supply circuit in the present invention adopts the LM2596 chip as the power supply port of all active devices, and the LM2596 switching voltage regulator integrated chip has an output voltage feedback interface, so that its output voltage is basically stable and unchanged, which is beneficial to provide accurate reference voltage to the single-chip microcomputer U1 and the voltage acquisition circuit, current acquisition circuit, and speed acquisition circuit, so that the sampling parameters are more accurate.

[0049] The present invention can realize the overcurrent protection function: when the load is short-circuited or overcurrent occurs, the generator output voltage, output current and generator speed regulator can be displayed in real time, and the regulator will automatically shut down to prevent the circuit from burning out; the present invention can realize the overvoltage protection function: when the internal components of the generator regulator are damaged or the output voltage is out of control, the output is automatically cut off to achieve overvoltage protection; the present invention can realize the parameter display function: the generator output voltage, output current and generator speed can be displayed in real time on the display screen of the display circuit.

[0050] In the present invention, the terminal controller mainly receives and processes data sent by the voltage regulator, and sends control commands to the voltage regulator through the serial port protocol to realize the display, control and protection of system parameters.

[0051] Specifically, since the A / D sampling values ​​of the system voltage, current and speed are transmitted through the voltage regulator using the asynchronous serial communication protocol interface, the terminal controller receives parameters based on hexadecimal, which need to be converted into the required parameter values ​​through software.

[0052] Furthermore, through cyclic detection, the terminal controller has achieved the following: when the automobile three-phase AC generator loses speed due to belt slippage, the system automatically alarms; when the automobile generator is overloaded, the system automatically cuts off the main circuit and alarms; when the automobile generator loses control of the voltage due to electrical aging, the system cuts off the main circuit and alarms.

[0053] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. The automobile generator control system based on single chip microcomputer is characterized by: It comprises a voltage regulator (10), a terminal controller (20), a voltage acquisition circuit (30), a current acquisition circuit (40), a speed acquisition circuit (50), a keyboard input circuit (60), a protection circuit (70), an alarm circuit (80), a display circuit (90) and an auxiliary power supply circuit; The voltage regulator (10) and the terminal controller (20) are bidirectionally connected in communication, the output end of the terminal controller (20) is electrically connected to the input end of the display circuit (90), the output end of the voltage acquisition circuit (30) is electrically connected to the input end of the voltage regulator (10), the output end of the current acquisition circuit (40) is electrically connected to the input end of the voltage regulator (10), the output end of the speed acquisition circuit (50) is electrically connected to the input end of the voltage regulator (10), the output end of the keyboard input circuit (60) is electrically connected to the input end of the voltage regulator (10), the output end of the voltage regulator (10) is electrically connected to the input end of the alarm circuit (80), the output end of the voltage regulator (10) is connected to the input end of the protection circuit (70), the output end of the protection circuit (70) is connected to the external electronic load circuit, and the auxiliary power supply circuit provides power supply for the entire control system; The voltage regulator (10) comprises: a single chip microcomputer U1; the voltage acquisition circuit (30) comprises: a voltage transformer TV1, a voltage transformer TV2 and a voltage transformer TV3; the speed acquisition circuit (50) comprises: a photoelectric sensor IC1; the current acquisition circuit (40) comprises: an amplifier IC2; the auxiliary power supply circuit comprises a 5V power supply output terminal VCC and a 12V power supply output terminal; The primary winding of the voltage transformer TV1 is connected in parallel with the A-phase circuit of the generator, the secondary winding of the voltage transformer TV1 is connected to the input end of the rectifier VD1, the positive output end of the rectifier VD1 is connected to one end of the resistor R5 and one end of the capacitor Cp1 respectively, the other end of the resistor R5 is connected to one end of the resistor R6, one end of the capacitor C9, and the positive electrode of the wiring terminal P3 respectively, the other end of the resistor R6 is connected to the other end of the capacitor Cp1, the other end of the capacitor C9, the negative output end of the rectifier VD1, and the negative electrode of the wiring terminal P3 and then grounded; the primary winding of the voltage transformer TV2 is connected in parallel with the B-phase circuit of the generator, the secondary winding of the voltage transformer TV2 is connected to the input end of the rectifier VD2, the positive output end of the rectifier VD2 is connected to one end of the resistor R7 and one end of the capacitor Cp2 respectively, the The other end is respectively connected to one end of the resistor R8, one end of the capacitor C10, and the positive electrode of the terminal P4, and the other end of the resistor R8 is respectively connected to the other end of the capacitor Cp2, the other end of the capacitor C10, the negative output end of the rectifier VD2, and the negative electrode of the terminal P4 and then grounded; the primary winding of the voltage transformer TV3 is connected in parallel with the C-phase circuit of the generator, the secondary winding of the voltage transformer TV3 is connected to the input end of the rectifier VD3, the positive output end of the rectifier VD3 is respectively connected to one end of the resistor R9 and one end of the capacitor Cp3, the other end of the resistor R9 is respectively connected to one end of the resistor R10, one end of the capacitor C11, and the positive electrode of the terminal P5, and the other end of the resistor R10 is respectively connected to the other end of the capacitor Cp3, the other end of the capacitor C11, the negative output end of the rectifier VD2, and the negative electrode of the terminal P4 and then grounded; The positive electrode of the photoelectric sensor IC1 is connected to one end of the resistor R14, and the other end of the resistor R14 is respectively connected to one end of the capacitor C11, the positive electrode of the light-emitting diode D11, one end of the resistor R12, one end of the resistor R15, one end of the resistor R16, the positive input end of the amplifier IC3, and the 5V power supply output end VCC. The other end of the capacitor C11 is respectively connected to one end of the resistor R11, one end of the resistor R13, and the negative electrode of the photoelectric sensor IC1 and then grounded. The other end of the resistor R11 is connected to the negative electrode of the light-emitting diode D11, and the other end of the resistor R13 is respectively connected to The other end of the resistor R12, the inverting input end of the amplifier IC3, and one end of the capacitor C12 are connected; the other end of the capacitor C12 is respectively connected to the emitter of the photoelectric sensor IC1 and the negative input end of the amplifier IC3 and then grounded; the other end of the resistor R15 is respectively connected to the collector of the photoelectric sensor IC1 and the non-inverting input end of the amplifier IC3; the output end of the amplifier IC3 is respectively connected to the other end of the resistor R16 and the output end DO of the speed acquisition circuit (50); the output end DO of the speed acquisition circuit (50) is connected to the input end P2.3 of the single-chip computer U1; The input terminal -IN of the amplifier IC2 is respectively connected to one end of the resistor R21 and the 5V power supply output terminal VCC, the other end of the resistor R21 is connected to the input terminal +IN of the amplifier IC2 and then grounded, the ground terminal GND of the amplifier IC2 is respectively connected to the output terminal REF2 of the amplifier IC2 and the output terminal NC of the amplifier IC2 and then grounded, the output terminal REF1 of the amplifier IC2 is respectively connected to the power supply terminal V+ and the 12V power supply output terminal of the amplifier IC2, and the output terminal OUT of the amplifier IC2 is connected to the input terminal P1.7 of the single-chip computer U1; The automobile generator control system based on the single chip microcomputer further comprises: a storage circuit, the storage circuit being bidirectionally connected to the voltage regulator (10), the storage circuit comprising: a storage chip U4, The address selection terminal A0 of the memory chip U4 is respectively connected to the address selection terminal A1 of the memory chip U4, the address selection terminal A2 of the memory chip U4, and the ground terminal GND of the memory chip U4 and then grounded, the power supply terminal VCC of the memory chip U4 is connected to the 5V power supply output terminal VCC, the protection segment WP of the memory chip U4 is grounded, the serial clock terminal SCL of the memory chip U4 is connected to the data transmission terminal P2.0 of the microcontroller U1, and the serial data / address terminal SDA of the memory chip U4 is connected to the data transmission terminal P2.1 of the microcontroller U1.

2. The automobile generator control system based on a single chip microcomputer according to claim 1 is characterized in that: The alarm circuit (80) comprises: a transistor Q2, a buzzer LS, a light emitting diode D0, a light emitting diode D1 and a light emitting diode D2; The base of the transistor Q2 is connected to the control signal input terminal S1 after being connected in series with the resistor R7, the collector of the transistor Q2 is connected to the 5V power supply output terminal VCC, the emitter of the transistor Q2 is connected to the positive electrode of the buzzer LS, the negative electrode of the buzzer LS is respectively connected to the negative electrode of the light-emitting diode D0, the negative electrode of the light-emitting diode D1, and the negative electrode of the light-emitting diode D2 and then grounded, the positive electrode of the light-emitting diode D2 is connected to the control signal input terminal S2, the positive electrode of the light-emitting diode D1 is connected to the control signal input terminal S3, and the positive electrode of the light-emitting diode D0 is connected to the control signal input terminal S4; The control signal input terminal S1 is connected to the output terminal P0.6 of the single chip microcomputer U1, the control signal input terminal S2 is connected to the output terminal P0.5 of the single chip microcomputer U1, the control signal input terminal S3 is connected to the output terminal P0.5 of the single chip microcomputer U1, and the control signal input terminal S4 is connected to the output terminal P0.4 of the single chip microcomputer U1.

3. The automobile generator control system based on a single chip microcomputer according to claim 1 is characterized in that: The protection circuit (70) comprises: a transistor Q1 and a relay K1, wherein the base of the transistor Q1 is connected to a protection control signal input terminal S0, and the protection control signal input terminal S0 is connected to an output terminal P0.7 of a single chip computer U1; The emitter of the transistor Q1 is connected to the 5V power supply output terminal VCC, the emitter of the transistor Q1 is connected to one end of the coil K1.1 of the relay K1 and the cathode of the diode D4, the other end of the coil K1.1 of the relay K1 is connected to the anode of the diode D4 and then grounded, and the normally closed switch K1.2 of the coil K1.1 of the relay K1 is connected in series in the external electronic load circuit.

4. The automobile generator control system based on a single chip microcomputer according to claim 1 is characterized in that: The terminal controller (20) comprises: a single chip microcomputer U3, and the display circuit (90) comprises: a liquid crystal display screen U5; The data transmitting terminal TX of the single-chip microcomputer U3 is connected to the data receiving terminal P3.0 of the single-chip microcomputer U1, and the data receiving terminal RX of the single-chip microcomputer U3 is connected to the data transmitting terminal P3.1 of the single-chip microcomputer U1; The output terminal RB0 of the single-chip microcomputer U3 is connected to the data input terminal DATA0 of the liquid crystal display screen U5, the output terminal RB1 of the single-chip microcomputer U3 is connected to the data input terminal DATA1 of the liquid crystal display screen U5, the output terminal RB2 of the single-chip microcomputer U3 is connected to the data input terminal DATA2 of the liquid crystal display screen U5, the output terminal RB3 of the single-chip microcomputer U3 is connected to the data input terminal DATA3 of the liquid crystal display screen U5, the output terminal RB4 of the single-chip microcomputer U3 is connected to the data input terminal DATA4 of the liquid crystal display screen U5, the output terminal RB5 of the single-chip microcomputer U3 is connected to the data input terminal DATA5 of the liquid crystal display screen U5, the output terminal RB6 of the single-chip microcomputer U3 is connected to the data input terminal DATA6 of the liquid crystal display screen U5, and the output terminal RB7 of the single-chip microcomputer U3 is connected to the data input terminal DATA7 of the liquid crystal display screen U5; The output terminal RC3 of the single-chip microcomputer U3 is connected to the command data selection terminal RS of the liquid crystal display screen U5, and the output terminal RC4 of the single-chip microcomputer U3 is connected to the read / write selection terminal RS of the liquid crystal display screen U5. The output terminal RC5 of the single-chip computer U3 is connected to the enable terminal EN of the liquid crystal display U5, the 5V power output terminal VCC of the liquid crystal display U5 is respectively connected to one end of the resistor R25 and the 5V power output terminal VCC, the other end of the resistor R25 is respectively connected to one end of the resistor R26 and the power terminal Vo of the liquid crystal display U5, the other end of the resistor R26 is connected to the ground terminal GND of the liquid crystal display U5 and then grounded, the backlight power terminal A of the liquid crystal display U5 is connected to the 5V power output terminal VCC, and the ground terminal K of the liquid crystal display U5 is grounded.

5. The automobile generator control system based on a single chip microcomputer according to claim 1 is characterized in that: The keyboard input circuit (60) comprises: a key S6, a key S7, a key S8, a key S9, a key S10, a key S11, a key S12, a key S13, a key S14, a key S15, a key S16, a key S17, a key S18, a key S19, a key S20, and a key S21; One end of the button S6 is connected to the data receiving terminal P3.0 of the single-chip microcomputer U1, one end of the button S7, one end of the button S8, and one end of the button S9. The other end of the button S6 is respectively connected to one end of the button S10, one end of the button S14, one end of the button S18, and the output terminal P3.4 of the single-chip microcomputer U1. The other end of the button S7 is respectively connected to one end of the button S11, one end of the button S15, one end of the button S19, and the output terminal P3.5 of the single-chip microcomputer U1. The other end of the button S8 is respectively connected to one end of the button S12, one end of the button S16, one end of the button S20, and the output terminal P3.6 of the single-chip microcomputer U1. The other end of the button S6 is respectively connected to one end of the button S13, one end of the button S17, one end of the button S21, and the output terminal P3.7 of the single-chip microcomputer U1. The other end of the button S10 is respectively connected to the other end of the button S11, the other end of the button S12, the other end of the button S13, and the data sending end P3.1 of the single-chip microcomputer U1; the other end of the button S14 is respectively connected to the other end of the button S15, the other end of the button S16, the other end of the button S17, and the output end P3.2 of the single-chip microcomputer U1; the other end of the button S18 is respectively connected to the other end of the button S19, the other end of the button S20, the other end of the button S21, and the output end P3.3 of the single-chip microcomputer U1.

6. The automobile generator control system based on a single chip microcomputer according to claim 1 is characterized in that: The automobile generator control system based on a single-chip microcomputer according to claim 1 is characterized in that the model of the single-chip microcomputer U1 is STC12C5A60S2.

7. The automobile generator control system based on a single chip microcomputer according to claim 4 is characterized in that: The model of the single chip microcomputer U3 is PIC18F2580.