Fan control system and method for new energy automobile
By designing a fan control system including a main control unit, a preprocessing unit, a frequency signal unit, a signal amplification unit and a switching control unit, the problem of fan controller compatibility with PWM and analog signals is solved, and pin resource saving and Simplified design.
Patent Information
- Application Number
- CN202411136076.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-26
AI Technical Summary
Existing fan controllers need to be compatible with PWM signal control and analog signal control, resulting in increased pin resource usage and increased design complexity.
Design a fan control system including a main control unit, a preprocessing unit, a frequency signal unit, a signal amplification unit and a switching control unit. Through the bus signal, an analog voltage signal, a frequency control signal and an analog control signal of different voltage values are generated, and switching is used. The control unit selects the output signal type and is compatible with different types of fans.
The generation of compatible PWM and analog signals through bus signal control saves controller pin resources, simplifies design, and improves vehicle design flexibility.
Smart Images

Figure CN119021893A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle fan control, and in particular to a fan control system and method for a new energy vehicle. Background Art
[0002] In the complex system of the car, the cooling fan plays a vital role, which is directly related to the stable operation and overall performance of the engine. In order to ensure that the engine will not be damaged due to overheating in a high-temperature working environment, and thus maintain its good working performance, extend its service life and meet strict exhaust emission standards, an efficient cooling system is essential. In this system, the cooling fan effectively helps the engine and coolant dissipate heat by promoting air circulation.
[0003] With the continuous advancement of automobile technology, the speed control methods of fans have become more diversified, mainly including PWM (pulse width modulation) signal control speed control and analog signal control speed control. These two methods have their own advantages and can adapt to different car models and engine cooling requirements. However, this also brings certain challenges to the design of fan controllers because it is necessary to be compatible and control these two different types of fans at the same time.
[0004] To meet this challenge, modern fan controllers have been optimized in design, including PWM signal control speed regulation mode and analog signal control speed regulation mode. In order to be compatible with fans with different control methods, the fan controller has at least one PWM signal output pin and one analog signal output pin to be compatible with fans with different control methods, respectively, occupying the pin resources of the controller. Summary of the invention
[0005] In view of the above problems existing in fan control, the present invention provides a fan control system and method for a new energy vehicle.
[0006] In a first aspect, the technical solution of the present invention provides a fan control system for a new energy vehicle, comprising a main control unit, wherein the main control unit is connected to a preprocessing unit, a frequency signal unit, a signal amplification unit and a switching control unit; The preprocessing unit is connected to the frequency signal unit and the signal amplifying unit respectively; the switching control unit is connected to the switching output unit; the switching output unit is connected to the frequency signal unit and the signal amplifying unit respectively; The pre-processing unit generates analog voltage signals with different voltage values according to the bus signal configuration output by the main control unit; The frequency signal unit generates a frequency control signal with different frequencies and duty cycles from the analog voltage signal generated by the preprocessing unit according to the bus signal of the main control unit; The signal amplifying unit amplifies the analog voltage signal generated by the preprocessing unit according to the bus signal of the main control unit to generate an analog control signal; The switching control unit outputs control information according to the bus signal of the main control unit to control the output switching of the switching output unit; The switching output unit outputs the frequency control signal generated by the frequency signal unit or the analog control signal generated by the signal amplifying unit to the fan to be controlled according to the control information output by the switching control unit.
[0007] As a preferred embodiment of the technical solution of the present invention, the preprocessing unit includes a fan speed controller chip, the control input end of the fan speed controller chip is connected to the bus interface of the main control unit, the power end of the fan speed controller chip is connected to the power supply VCC, and the output end of the fan speed controller chip outputs an analog voltage signal.
[0008] As a preferred embodiment of the technical solution of the present invention, the frequency signal unit includes a first digital potentiometer and a pulse width modulator; The control end of the first digital potentiometer is connected to the bus interface of the main control unit, the setting output channel of the first digital potentiometer is connected to the setting input end of the pulse width modulator, the signal input end of the pulse width modulator is connected to the output end of the fan speed controller chip, and the output end of the pulse width modulator outputs a frequency control signal to the switching output unit.
[0009] As a preferred embodiment of the technical solution of the present invention, the signal amplification unit includes a second digital potentiometer and an amplifier; The input end of the amplifier is connected to the analog voltage signal output by the preprocessing unit, the control end of the second digital potentiometer is connected to the bus interface of the main control unit, the amplification setting output channel of the second digital potentiometer is connected to the input end of the amplifier, and the output end of the amplifier is connected to the feedback input channel of the second digital potentiometer; the output end of the amplifier is also connected to the switching output unit.
[0010] As a preferred embodiment of the technical solution of the present invention, the analog voltage signal output by the preprocessing unit is connected to the reverse input terminal of the amplifier through a resistor R2, one end of the resistor R2 connected to the analog voltage signal is grounded through a capacitor C7, the reverse input terminal of the amplifier is also grounded through a capacitor C8, the positive input terminal of the amplifier is grounded through a resistor R3, the power supply terminal of the amplifier is connected to the power supply VCC, the power supply terminal of the amplifier is also grounded through a capacitor C9, and the output terminal of the amplifier is respectively connected to the switching output unit and the feedback input channel of the second digital potentiometer; the amplification setting output channel of the second digital potentiometer is connected to the reverse input terminal of the amplifier, and the power supply terminal of the second digital potentiometer is connected to the power supply VCC.
[0011] As a preferred embodiment of the technical solution of the present invention, the duty cycle of the frequency signal unit output signal is
[0012] in, It is the analog voltage signal output by the pre-processing unit; Is a constant value.
[0013] As a preferred embodiment of the technical solution of the present invention, the switching control unit includes a switching selection chip, the control end of the switching selection chip is connected to the bus interface of the main control unit, and the first control output end and the second control output end of the switching selection chip are respectively connected to the switching output unit.
[0014] As a preferred embodiment of the technical solution of the present invention, the switching output unit includes a first switch chip and a second switch chip; The input end of the first switch chip is connected to the output end of the pulse width modulator, the control end of the first switch chip is connected to the first control output end of the switch selection chip, and the output end of the first switch chip is connected to the fan to be controlled; The input end of the second switch chip is connected to the output end of the amplifier, the control end of the second switch chip is connected to the second control output end of the switch selection chip, and the output end of the second switch chip is connected to the fan to be controlled.
[0015] In a second aspect, the technical solution of the present invention provides a fan control method for a new energy vehicle, comprising the following steps: The preprocessing unit receives the control signal output by the main control unit through the bus interface, generates an analog voltage signal of a corresponding amplitude, and connects the generated analog voltage signal to the signal amplification unit and the frequency signal unit respectively; The signal amplification unit amplifies the analog voltage signal to generate an analog control signal based on the control signal output by the main control unit through the bus interface; at the same time, the frequency signal unit generates a frequency control signal with different frequencies and duty cycles based on the control signal output by the main control unit through the bus interface. The main control unit sets the output selection signal of the switching control unit through the bus interface and connects to the switching output unit respectively, and controls the switching output unit to output a frequency control signal to control the fan or output an analog control signal to control the fan.
[0016] As a preferred embodiment of the technical solution of the present invention, the signal amplification unit amplifies the analog voltage signal based on the control signal output by the main control unit through the bus interface to generate an analog control signal; and the frequency signal unit generates a frequency control signal with different frequencies and duty cycles based on the control signal output by the main control unit through the bus interface from the analog voltage signal, including: The main control unit sends a resistance setting instruction to the first digital potentiometer through the bus interface, sets the resistance of the channel P0 of the first digital potentiometer to a fixed value and connects the amplifier and the resistor R2 to realize signal amplification and output of an analog control signal; The main control unit sends a resistance setting instruction to the second digital potentiometer of the frequency signal unit through the bus interface. The second digital potentiometer sets the variable resistance value of channel P0 and the variable resistance value of channel P1 according to the instruction and connects to the pulse width modulator respectively to set the frequency of the frequency control signal generated by the pulse width modulator. The analog voltage signal generated by the prediction unit is connected to the pulse width modulator to set the duty cycle of the generated frequency control signal.
[0017] The data of PWM signal and analog signal is realized through a 2-wire I2C interface, saving TOM resources and analog-to-digital converter resources of the onboard main control chip; fans with PWM control mode and analog signal control mode are compatible through a controller (ECU, VCU, etc.) pin, without the need for separate PWM signal output pin and analog signal output pin, saving controller pin resources and increasing vehicle design flexibility.
[0018] It can be seen from the above technical scheme that the present invention has the following advantages: the bus signal of the main control unit is used to control the preprocessing unit to generate analog voltage signals of different amplitudes, and the generated analog voltage signals are sent to the frequency signal unit to generate PWM signals with different duty cycles and different frequencies, and the generated analog voltage signals are sent to the signal amplification unit to generate amplified analog voltage signals at the same time, and by switching the control unit to control the PWM signal and the analog signal selection output, the drive of the fan compatible with the PWM control method and the analog signal control method.
[0019] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 is a schematic block diagram of a system according to an embodiment of the present invention.
[0022] Figure 2 Schematic diagram of a preprocessing unit in an embodiment of the present invention.
[0023] Figure 3 It is a schematic diagram of the connection of the frequency signal unit in an embodiment of the present invention.
[0024] Figure 4 It is a connection diagram of the signal amplification unit in an embodiment of the present invention.
[0025] Figure 5 Schematic diagram of a switching control unit in an embodiment of the present invention.
[0026] Figure 6 Schematic diagram of the connection of the switching output unit in the embodiment of the present invention.
[0027] Figure 7 is a schematic flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the technical solutions in the present invention, 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 only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] like Figure 1 As shown, an embodiment of the present invention provides a fan control system for a new energy vehicle, including a main control unit, wherein the main control unit is connected to a preprocessing unit, a frequency signal unit, a signal amplifying unit and a switching control unit; The preprocessing unit is connected to the frequency signal unit and the signal amplifying unit respectively; the switching control unit is connected to the switching output unit; the switching output unit is connected to the frequency signal unit and the signal amplifying unit respectively; The pre-processing unit generates analog voltage signals with different voltage values according to the bus signal configuration output by the main control unit; The frequency signal unit generates a frequency control signal with different frequencies and duty cycles from the analog voltage signal generated by the preprocessing unit according to the bus signal of the main control unit; The signal amplifying unit amplifies the analog voltage signal generated by the preprocessing unit according to the bus signal of the main control unit to generate an analog control signal; The switching control unit outputs control information according to the bus signal of the main control unit to control the output switching of the switching output unit; The switching output unit outputs the frequency control signal generated by the frequency signal unit or the analog control signal generated by the signal amplifying unit to the fan to be controlled according to the control information output by the switching control unit.
[0030] In some embodiments, Figure 2As shown, the pre-processing unit includes a fan speed controller chip U2, the control input end of the fan speed controller chip is connected to the bus interface of the main control unit, the power end of the fan speed controller chip is connected to the power supply VCC, and the output end of the fan speed controller chip outputs an analog voltage signal DAC_VOL. In the embodiment of the present invention, the bus interface of the main control unit is an I2C interface, and the signals I2C_SCL and I2C_SDA of the fan speed controller chip U2 are respectively connected to the I2C interface of the main control chip; the capacitor C2 is respectively connected to the VCC end and the GND end of I2CU2. The main control chip can be a TC27x, TC38X main control chip, or a S32G, S32K, etc. main control chip, and is not limited to the above chip models.
[0031] In some embodiments, Figure 3 As shown, the frequency signal unit includes a first digital potentiometer U3 and a pulse width modulator U1; The I2C interface signals I2C_SDA and I2C_SCL of the first digital potentiometer U3 are connected to the I2C interface of the main control unit, the setting output channel of the first digital potentiometer is connected to the setting input end of the pulse width modulator, the signal input end of the pulse width modulator is connected to the output end of the fan speed controller chip, and the output end of the pulse width modulator outputs a frequency control signal to the switching output unit.
[0032] One end of capacitor C1 is connected to the V+ end of pulse width modulator U1, and the other end is connected to power ground GND; one end of capacitor C3 is connected to the VDD end of the first digital potentiometer U3, and the other end is connected to power ground GND; the SET end of pulse width modulator U1 is connected to the P0W end of the first digital potentiometer U3, and the DIV end of pulse width modulator U1 is connected to the P1W end of the first digital potentiometer U3; the P0B end and P1B end of the first digital potentiometer U3 are both connected to the power ground GND, and the P1A end is connected to the power supply VCC. The A2, A1, and A0 ends of the first digital potentiometer U3 are all grounded; the I2C interface signals I2C_SDA and I2C_SCL of the first digital potentiometer U3 are connected to the I2C interface of the main control chip.
[0033] In some embodiments, Figure 4As shown, the signal amplification unit includes an amplifier U7, a second digital potentiometer U8, a capacitor C8, a capacitor C9, a capacitor C10, a capacitor C11, a resistor R2, and a resistor R3. One end of the capacitor C8 is connected to the resistor R2 and the VOUT end of the fan speed controller U2, and the other end is connected to the power ground; one end of the capacitor C9 is connected to the resistor R2 and the reverse input end of the amplifier U7, respectively, and the other end is connected to the power ground; one end of the capacitor C10 is connected to the power end of the amplifier U7, and the other end is connected to the power ground; one end of the resistor R3 is connected to the positive input end of the amplifier U7, and the other end is connected to the power ground; the P0W end of the second digital potentiometer U8 is connected to the output end of the amplifier U7, and the P0B end is connected to the reverse input end of the amplifier U7. One end of the capacitor C11 is connected to the VDD end of the second digital potentiometer U8, and the other end is connected to the power ground; the A2 end of the second digital potentiometer U8 is connected to the power supply VCC, and A1 and A0 are connected to the power ground respectively.
[0034] In some embodiments, Figure 5 As shown, the switching control unit includes a switching selection chip U6, a resistor R1, and a capacitor C6. One end of the resistor R1 is connected to the RESET end of the switching selection chip U6, and the other end is connected to the power supply VCC; one end of the capacitor C6 is connected to the VCC end of the switching selection chip U6, and the other end is connected to the power supply ground; the I2C interfaces I2C_SDA and I2C_SCL of the switching selection chip U6 are connected to the I2C interface of the main control chip.
[0035] In some embodiments, Figure 6 As shown, the switching output unit includes a first switch chip U4, a second switch chip U5, a capacitor C4, and a capacitor C7; the D-end signal of the first switch chip U4 is connected to the D-end signal of the second switch chip U5 for output, and is connected to the control input signal of the fan; the SEL signal and S signal of the first switch chip U4 are respectively connected to the P0-end signal of the switching selection chip U6 and the OUT-end signal of the fan speed controller chip U1; the SEL signal and S signal of the second switch chip U5 are respectively connected to the P1-end signal of the switching selection chip U6 and the output-end signal of the amplifier U7.
[0036] Combination Figure 2-Figure 6 The specific working process of the system in the embodiment of the present invention is as follows: The pre-processing unit receives the control signal of the main control unit through the I2C interface, and the fan speed controller U2 of the pre-processing unit generates an analog voltage signal DAC_VOL of corresponding amplitude; wherein U2 is the speed control signal chip LTC1695.
[0037] The generated DAC_VOL signal is connected to the signal amplification unit, and the amplified signal A_OUT is generated through the amplifier U7; the amplification factor of the amplifier U7 is controlled by the second digital potentiometer U8, and the specific control method is as follows: the main control unit sends a resistance setting instruction to the second digital potentiometer U8 through the I2C interface, and the resistance of the channel P0 of the second digital potentiometer U8 is set to a fixed value; P0W and P0B of the second digital potentiometer U8 are respectively connected to the output end and the reverse input end of the amplifier U7, and combined with the resistor R2 to realize signal amplification.
[0038] The DAC_VOL signal generated by the fan speed controller U2 is connected to the 1st pin of the pulse width modulator U1 to set the duty cycle of the generated frequency signal; the main control unit sends a resistance setting instruction to the second digital potentiometer U3 of the frequency signal unit through the I2C interface, and U3 sets the variable resistance value of channel P0 and the variable resistance value of channel P1 according to the instruction, wherein the FREQ_SET of the variable resistance value of channel P0 is connected to the 3rd pin of the pulse width modulator U1, and the NDIV of the variable resistance value of channel P1 is connected to the 4th pin of the pulse width modulator U1 to set the frequency of the frequency signal generated by the pulse width modulator U1. Among them, U3 is the digital potentiometer chip MCP4661 of Microchip Technology. U1 is the analog voltage-controlled pulse width modulator LTC6992.
[0039] The main control unit sets the output MUX_SEL1 and MUX_SEL2 signals of U6 in the switching control unit through the I2C interface; the MUX_SEL1 and MUX_SEL2 signals are respectively connected to the first switch chip U4 and the second switch chip U5 of the switching output unit; when MUX_SEL1 is 1 and MUX_SEL2 is 0, U4 of the switching output unit works, and the frequency signal PWM_OUT is output to the FAN_OUT signal through U4 to output a frequency control signal to control the fan. When MUX_SEL1 is 0 and MUX_SEL2 is 1, U5 of the switching output unit works, and the analog signal A_OUT is output to the FAN_OUT signal through U5 to output an analog control signal to control the fan.
[0040] The I2C address of U2 of the preprocessing unit is 0x1110100. The host configures the analog signal output voltage DAC_VOL of U2 through the I2C interface. The duty cycle formula of the frequency signal unit output signal is as follows:
[0041] in, The analog signal DAC_VOL output by the pre-processing unit; , is a constant value.
[0042] The I2C address of U3 of the frequency signal unit is 0x0101000. The main control unit configures the variable resistance values of the P0 channel and P1 channel of the frequency signal unit U3 through the I2C interface to realize the frequency configuration of the frequency signal; the relationship between the configuration resistance of the P0 channel and P1 channel of U3 and the frequency is as follows:
[0043] in, The resistance between P0W and P0B of P0 channel of U3; The lookup table is composed of the resistance values of the P1A and P1W terminals of the P1 channel of U3 and the resistance divided value between the P1W terminal and the P1B terminal.
[0044] At the same time, the main control unit configures the variable resistance values of the P0W and P0B terminals of the P0 channel of the signal amplifier unit U8 through the I2C interface to realize the configuration of the amplification factor to generate analog voltage signals of different amplitudes. The I2C address of the signal amplifier unit U8 is 0x0101100.
[0045] The main control unit configures the signal output of the switching control unit through the I2C interface to control the strobe output of the PWM signal and the analog signal; when the external fan is a PWM controlled fan, the signal MUX_SEL1 of the switching control unit is 1, MUX_SEL2 is 0, U4 of the switching output unit is turned on, U5 is turned off, and the PWM control signal is output to the controller pin of the fan; when the external fan is an analog voltage controlled fan, the signal MUX_SEL1 of U6 of the switching control unit is 0, MUX_SEL2 is 1, U4 of the switching output unit is turned off, U5 is turned on, and the analog voltage signal is output to the controller pin of the fan, thereby realizing the driving of fans with different control modes. The I2C address of U6 of the switching control unit is 0x1001001.
[0046] like Figure 7 As shown, an embodiment of the present invention provides a fan control method for a new energy vehicle, comprising the following steps: Step 1: The preprocessing unit receives the control signal output by the main control unit through the bus interface, generates an analog voltage signal of a corresponding amplitude, and connects the generated analog voltage signal to the signal amplification unit and the frequency signal unit respectively; Step 2: The signal amplification unit amplifies the analog voltage signal based on the control signal output by the main control unit through the bus interface to generate an analog control signal; at the same time, the frequency signal unit generates a frequency control signal with different frequencies and duty cycles based on the control signal output by the main control unit through the bus interface. Step 3: The main control unit sets the output selection signal of the switching control unit through the bus interface and connects it to the switching output unit respectively, and controls the switching output unit to output a frequency control signal to control the fan or output an analog control signal to control the fan.
[0047] In an embodiment of the present invention, the steps of a signal amplifying unit amplifying an analog voltage signal to generate an analog control signal based on a control signal output by a main control unit through a bus interface; and a frequency signal unit generating a frequency control signal with different frequencies and duty cycles based on a control signal output by a main control unit through a bus interface from an analog voltage signal include: The main control unit sends a resistance setting instruction to the first digital potentiometer through the bus interface, sets the resistance of the channel P0 of the first digital potentiometer to a fixed value and connects the amplifier and the resistor R2 to realize signal amplification and output of an analog control signal; The main control unit sends a resistance setting instruction to the second digital potentiometer of the frequency signal unit through the bus interface. The second digital potentiometer sets the variable resistance value of channel P0 and the variable resistance value of channel P1 according to the instruction and connects to the pulse width modulator respectively to set the frequency of the frequency control signal generated by the pulse width modulator. The analog voltage signal generated by the prediction unit is connected to the pulse width modulator to set the duty cycle of the generated frequency control signal.
[0048] It should be noted that the method provided in the embodiment of the present invention is a control method of the system described in the above embodiment. For details not described in detail in the method embodiment, reference can be made to the above system embodiment.
[0049] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0050] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.
Claims
1. A fan control system for new energy vehicles, It is characterized in that It includes a main control unit, which is connected to a preprocessing unit, a frequency signal unit, a signal amplification unit and a switching control unit; The preprocessing unit is connected to the frequency signal unit and the signal amplifying unit respectively; the switching control unit is connected to the switching output unit; the switching output unit is connected to the frequency signal unit and the signal amplifying unit respectively; The pre-processing unit generates analog voltage signals with different voltage values according to the bus signal configuration output by the main control unit; The frequency signal unit generates a frequency control signal with different frequencies and duty cycles from the analog voltage signal generated by the preprocessing unit according to the bus signal of the main control unit; The signal amplifying unit amplifies the analog voltage signal generated by the preprocessing unit according to the bus signal of the main control unit to generate an analog control signal; The switching control unit outputs control information according to the bus signal of the main control unit to control the output switching of the switching output unit; The switching output unit outputs the frequency control signal generated by the frequency signal unit or the analog control signal generated by the signal amplifying unit to the fan to be controlled according to the control information output by the switching control unit.
2. The fan control system of the new energy vehicle according to claim 1, It is characterized in that The preprocessing unit comprises a fan speed controller chip, a control input end of the fan speed controller chip is connected to the bus interface of the main control unit, a power end of the fan speed controller chip is connected to a power supply VCC, and an output end of the fan speed controller chip outputs an analog voltage signal.
3. The fan control system of the new energy vehicle according to claim 2, It is characterized in that The frequency signal unit includes a first digital potentiometer and a pulse width modulator; The control end of the first digital potentiometer is connected to the bus interface of the main control unit, the setting output channel of the first digital potentiometer is connected to the setting input end of the pulse width modulator, the signal input end of the pulse width modulator is connected to the output end of the fan speed controller chip, and the output end of the pulse width modulator outputs a frequency control signal to the switching output unit.
4. The fan control system of the new energy vehicle according to claim 3, It is characterized in that The signal amplification unit includes a second digital potentiometer and an amplifier; The input end of the amplifier is connected to the analog voltage signal output by the preprocessing unit, the control end of the second digital potentiometer is connected to the bus interface of the main control unit, the amplification setting output channel of the second digital potentiometer is connected to the input end of the amplifier, and the output end of the amplifier is connected to the feedback input channel of the second digital potentiometer; the output end of the amplifier is also connected to the switching output unit.
5. The fan control system of the new energy vehicle according to claim 4, It is characterized in that The analog voltage signal output by the preprocessing unit is connected to the inverting input terminal of the amplifier through the resistor R2, one end of the resistor R2 connected to the analog voltage signal is grounded through the capacitor C7, the inverting input terminal of the amplifier is also grounded through the capacitor C8, the positive input terminal of the amplifier is grounded through the resistor R3, the power supply terminal of the amplifier is connected to the power supply VCC, the power supply terminal of the amplifier is also grounded through the capacitor C9, and the output terminal of the amplifier is respectively connected to the switching output unit and the feedback input channel of the second digital potentiometer; The amplification setting output channel of the second digital potentiometer is connected to the inverting input terminal of the amplifier, and the power supply terminal of the second digital potentiometer is connected to the power supply VCC.
6. The fan control system of the new energy vehicle according to claim 5, It is characterized in that The duty cycle of the frequency signal unit output signal in, It is the analog voltage signal output by the pre-processing unit; Is a constant value.
7. The fan control system of the new energy vehicle according to claim 6, It is characterized in that The switching control unit comprises a switching selection chip, a control end of the switching selection chip is connected to the bus interface of the main control unit, and a first control output end and a second control output end of the switching selection chip are respectively connected to the switching output unit.
8. The fan control system of the new energy vehicle according to claim 7, It is characterized in that The switching output unit includes a first switch chip and a second switch chip; The input end of the first switch chip is connected to the output end of the pulse width modulator, the control end of the first switch chip is connected to the first control output end of the switch selection chip, and the output end of the first switch chip is connected to the fan to be controlled; The input end of the second switch chip is connected to the output end of the amplifier, the control end of the second switch chip is connected to the second control output end of the switch selection chip, and the output end of the second switch chip is connected to the fan to be controlled.
9. A fan control method for a new energy vehicle, It is characterized in that The steps include: The preprocessing unit receives the control signal output by the main control unit through the bus interface, generates an analog voltage signal of a corresponding amplitude, and connects the generated analog voltage signal to the signal amplification unit and the frequency signal unit respectively; The signal amplification unit amplifies the analog voltage signal to generate an analog control signal based on the control signal output by the main control unit through the bus interface; at the same time, the frequency signal unit generates a frequency control signal with different frequencies and duty cycles based on the control signal output by the main control unit through the bus interface. The main control unit sets the output selection signal of the switching control unit through the bus interface and connects to the switching output unit respectively, and controls the switching output unit to output a frequency control signal to control the fan or output an analog control signal to control the fan.
10. The fan control method of the new energy vehicle according to claim 9, It is characterized in that The signal amplification unit amplifies the analog voltage signal to generate an analog control signal based on the control signal output by the main control unit through the bus interface; and the frequency signal unit generates a frequency control signal with different frequencies and duty cycles based on the control signal output by the main control unit through the bus interface. The steps include: The main control unit sends a resistance setting instruction to the first digital potentiometer through the bus interface, sets the resistance of the channel P0 of the first digital potentiometer to a fixed value and connects the amplifier and the resistor R2 to realize signal amplification and output of an analog control signal; The main control unit sends a resistance setting instruction to the second digital potentiometer of the frequency signal unit through the bus interface. The second digital potentiometer sets the variable resistance value of channel P0 and the variable resistance value of channel P1 according to the instruction and connects to the pulse width modulator respectively to set the frequency of the frequency control signal generated by the pulse width modulator. The analog voltage signal generated by the prediction unit is connected to the pulse width modulator to set the duty cycle of the generated frequency control signal.
