Vehicle control unit PWM output detection circuit

By designing the PWM output detection circuit of the vehicle controller, including multiple detection circuits and CAN bus transmission, the problem of inconvenient feedback of detection results in the prior art is solved, and accurate detection and safety feedback of the output signal of the vehicle controller are realized. Ensure the safe operation of the vehicle.

CN222087985UActive Publication Date: 2024-11-29ZHENGZHOU HAIZHIYANG NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323623328.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-11-29
Estimated Expiration
2033-12-29

AI Technical Summary

Technical Problem

The existing vehicle controller output detection circuit is difficult to feedback the detection results, which is inconvenient to use, affecting the safe driving of the vehicle.

Method used

A complete vehicle controller PWM output detection circuit is designed, including interface circuit, voltage detection circuit, current detection circuit, frequency detection circuit and duty cycle detection circuit. The detection signal is transmitted to the comparison unit through the CAN bus, and data comparison is performed and The comparison result is output, and the fault detection circuit is used to calculate the fault location and feed it back to the vehicle controller.

Benefits of technology

It realizes timely detection and feedback of the output signals of the vehicle controller, ensures driving safety, avoids signal interference, and improves detection accuracy and feedback sensitivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222087985U_ABST
    Figure CN222087985U_ABST
Patent Text Reader

Abstract

The utility model relates to a PWM output detection circuit of a vehicle control unit. The PWM output detection circuit comprises an interface circuit which is connected with a PWM signal output end of the vehicle control unit; the interface circuit is respectively connected with the voltage detection circuit, the current detection circuit, the frequency detection circuit and the duty ratio detection circuit and can respectively measure the voltage, the current, the frequency and the duty ratio of the PWM signal; the controller is connected with the output ends of the voltage detection circuit, the current detection circuit, the frequency detection circuit and the duty ratio detection circuit, and is used for receiving a detection signal and transmitting the signal to the comparison unit by detecting a CAN (Controller Area Network) bus; the comparison unit is used for comparing the detection data provided by the controller with the parameter data provided by the vehicle control unit and outputting a comparison result; and the fault detection circuit is used for being connected with the output end of the comparison unit, calculating the fault according to the data result and feeding back the fault to the vehicle control unit, and the vehicle control unit outputs a PWM signal and provides parameter data for the comparison unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of vehicle controller output detection, in particular to a vehicle controller PWM output detection circuit. Background Art

[0002] With the continuous upgrading of new energy vehicles, new energy vehicles have more and more functions. An indispensable component in electric vehicles is the vehicle controller. The function of the new energy vehicle controller is to be responsible for the normal driving of the vehicle, braking energy feedback, energy management of the vehicle engine and power battery, network management, fault diagnosis and processing, vehicle status monitoring, etc., so as to ensure the normal and stable operation of the vehicle under good power, high economy and reliability.

[0003] When the vehicle controller transmits PWM signals to control electrical components in the vehicle, the electrical components in the vehicle may not be successfully called due to the instability and deviation of the PWM signal, especially the calling of heating equipment and charging equipment. If any electrical components are not called normally, it will affect the safe driving of the vehicle. Therefore, it is necessary to detect the signal output by the vehicle controller and provide timely feedback to know whether the peripheral devices are called normally, so as to ensure driving safety. However, the existing vehicle controller output detection circuit is difficult to feedback the detection results, which is very inconvenient to use.

[0004] Based on this, it is necessary to study a vehicle controller PWM output detection circuit. Utility Model Content

[0005] In view of this, the purpose of the utility model is to provide a vehicle controller PWM output detection circuit, which can detect the PWM signal output by the vehicle controller and provide timely feedback to ensure driving safety.

[0006] To achieve the above purpose, the technical solution adopted by the utility model is: a vehicle controller PWM output detection circuit, characterized in that it includes:

[0007] The interface circuit is connected to the PWM signal output terminal of the vehicle controller;

[0008] The voltage detection circuit is connected to the interface circuit and can measure the voltage value of the PWM signal;

[0009] The current detection circuit is connected to the interface circuit and can measure the current value of the PWM signal;

[0010] The frequency detection circuit is connected to the interface circuit and is capable of measuring the frequency of the PWM signal;

[0011] The duty cycle detection circuit is connected to the interface circuit and is capable of measuring the duty cycle of the PWM signal;

[0012] The controller is connected to the output ends of the voltage detection circuit, the current detection circuit, the frequency detection circuit and the duty cycle detection circuit, receives the detection signal and transmits the signal to the comparison unit by detecting the CAN bus;

[0013] A comparison unit compares the detection data provided by the controller with the parameter data provided by the vehicle controller and outputs a comparison result;

[0014] The fault detection circuit is used to be connected to the output end of the comparison unit, and calculate the fault location according to the data result, and feed it back to the vehicle controller. The vehicle controller outputs a PWM signal and provides parameter data to the comparison unit.

[0015] Furthermore, the voltage detection circuit includes a resistor R1, a resistor R2, a resistor R3, a diode D1, a diode D2 and a filter capacitor C1; the diode D1 and the diode D2 are connected in series, wherein the anode of the diode D2 is grounded, the filter capacitor C1 and the resistor R3 are both connected in parallel with the diode D2, the resistor R1 and the resistor R2 are connected in series, and the resistor R2 is connected to one end of the resistor R3.

[0016] Furthermore, the current detection circuit includes resistors R4, R5, R6, R7, diode D3 and transistor T1; the cathode of diode D3 is connected to the collector of transistor T1, resistors R4 and R5 are connected in series, one end of resistor R4 is connected to the anode of diode D3, one end of resistor R5 is connected to the base of the transistor, the emitter of transistor T1 is grounded, and resistors R6 and R7 are connected in series and in parallel with transistor T1.

[0017] Furthermore, the frequency detection circuit includes a comparator CMP1 and a counter CNT1, the input end of the comparator CMP1 is connected to the interface circuit, the counter CNT1 is connected to the comparator CMP1, the comparator CMP1 can compare with the parameter voltage and output high and low level signals, the counter CNT1 counts the output signal of the comparator CMP1 and clears it every once in a while.

[0018] Furthermore, the duty cycle detection circuit includes a comparator CMP2 and a timer TIM1, the input end of the comparator CMP2 is connected to the interface circuit, the timer TIM1 is connected to the comparator TIM1, the comparator CMP2 can compare with the parameter voltage and output high and low level signals, the timer TIM1 times the output signal of the comparator CMP2 and clears it once every PWM signal output cycle.

[0019] The beneficial effects of the above technical solution are:

[0020] The utility model connects an interface circuit to a PWM signal output terminal of a vehicle controller to receive PWM signals and transmit them to different test circuits respectively. After receiving the signals, the different test circuits test the PWM signals, and test the voltage, current, frequency and duty cycle of the PWM signals respectively. After the test, the test signals are transmitted to the controller. The controller converts the signals and transmits them to a comparison unit through a detection CAN bus. The comparison unit compares the detection signals with parameters provided by the vehicle controller and transmits them to a fault detection circuit. The fault detection circuit determines where the fault is in the PWM signal output by the vehicle controller and feeds it back to the vehicle controller. The detection CAN bus is split out for independent transmission, thereby avoiding mutual interference between signals, making signal detection more accurate and feedback more sensitive. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a circuit block diagram of the utility model;

[0022] Figure 2 A circuit diagram of a voltage detection circuit of the utility model;

[0023] Figure 3 A circuit diagram of a current detection circuit of the utility model;

[0024] Figure 4 It is a schematic diagram of a frequency detection circuit of the utility model;

[0025] Figure 5 It is a schematic diagram of the duty cycle detection circuit of the utility model. DETAILED DESCRIPTION

[0026] The utility model is further described in detail below with reference to the accompanying drawings and specific implementation methods:

[0027] Embodiment 1, this embodiment aims to provide a vehicle controller PWM output detection circuit, which is mainly used to detect the PWM signal output by the vehicle controller and provide timely feedback. In view of the problem that the existing vehicle controller output detection circuit is difficult to feedback the detection result and is very inconvenient to use, this embodiment provides a vehicle controller PWM output detection circuit.

[0028] like Figure 1-5 As shown in FIG. 1 , a vehicle controller PWM output detection circuit includes:

[0029] The interface circuit is a double-row connector interface, on which there are pins connected to the PWM signal output end of the vehicle controller. The interface circuit is connected to the PWM signal output end of the vehicle controller. There are multiple output pins on the interface circuit, and the voltage detection circuit, current detection circuit, frequency detection circuit and duty cycle detection circuit are respectively connected to the output pins of the interface circuit.

[0030] The voltage detection circuit includes a resistor R1, a resistor R2, a resistor R3, a diode D1, a diode D2 and a filter capacitor C1; the diode D1 and the diode D2 are connected in series, wherein the anode of the diode D2 is grounded, the filter capacitor C1 and the resistor R3 are both connected in parallel with the diode D2, the resistor R1 and the resistor R2 are connected in series, the resistor R2 is connected to one end of the resistor R3, and the output end of the voltage detection circuit is connected to the input end of the controller.

[0031] The current detection circuit includes a resistor R4, a resistor R5, a resistor R6, a resistor R7, a diode D3 and a transistor T1; the cathode of the diode D3 is connected to the collector of the transistor T1, the resistor R4 and the resistor R5 are connected in series, one end of the resistor R4 is connected to the anode of the diode D3, one end of the resistor R5 is connected to the base of the transistor, the emitter of the transistor T1 is grounded, the resistor R6 and the resistor R7 are connected in series and in parallel with the transistor T1, and the output end of the current detection circuit is connected to the input end of the controller.

[0032] The frequency detection circuit includes a comparator CMP1 and a counter CNT1. The input end of the comparator CMP1 is connected to the interface circuit. The counter CNT1 is connected to the comparator CMP1. The comparator CMP1 can compare with the parameter voltage and output high and low level signals to reflect the waveform of the PWM signal. The counter CNT1 counts the output signal of the comparator CMP1 and resets it every once in a while. By calculating the ratio of the number of pulses and time, the frequency of the PWM output signal can be obtained. The output end of the frequency detection circuit is connected to the input end of the controller.

[0033] The duty cycle detection circuit includes a comparator CMP2 and a timer TIM1. The input end of the comparator CMP2 is connected to the interface circuit, and the timer TIM1 is connected to the comparator TIM1. The comparator CMP2 can compare with the parameter voltage and output high and low level signals to reflect the waveform of the PWM signal. The timer TIM1 times the output signal of the comparator CMP2 and clears it once every PWM output signal output cycle to reflect the high level time of the PWM output signal. By calculating the ratio of the high level time and the cycle, the duty cycle of the PWM output signal can be obtained. The output end of the duty cycle detection circuit is connected to the input end of the controller.

[0034] The controller is connected to one end of the detection CAN bus, and the other end of the detection CAN bus is connected to the comparison unit. After receiving the detection signals from the voltage detection circuit, the current detection circuit, the frequency detection circuit and the duty cycle detection circuit, the controller transmits the detection signals to the comparison unit through the detection CAN bus.

[0035] After receiving the detection signal, the comparison unit compares the detection signal with the parameter data provided by the vehicle controller, determines whether the PWM output signal is normal, and converts the judgment result to the fault detection circuit; the fault detection circuit will analyze the detection structure in turn and take corresponding actions. When a fault occurs, the fault detection circuit will determine the location of the fault and feed it back to the vehicle controller to ensure that the PWM signal output by the vehicle controller can obtain feedback in time to ensure driving safety.

[0036] The implementation methods of the utility model described above do not constitute a limitation on the protection scope of the utility model. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the utility model should be included in the protection scope of the claims of the utility model.

Claims

1. A vehicle controller PWM output detection circuit, characterized in that: include: The interface circuit is connected to the PWM signal output terminal of the vehicle controller; The voltage detection circuit is connected to the interface circuit and can measure the voltage value of the PWM signal; The current detection circuit is connected to the interface circuit and can measure the current value of the PWM signal; The frequency detection circuit is connected to the interface circuit and is capable of measuring the frequency of the PWM signal; The duty cycle detection circuit is connected to the interface circuit and is capable of measuring the duty cycle of the PWM signal; The controller is connected to the output ends of the voltage detection circuit, the current detection circuit, the frequency detection circuit and the duty cycle detection circuit, receives the detection signal and transmits the signal to the comparison unit by detecting the CAN bus; A comparison unit compares the detection data provided by the controller with the parameter data provided by the vehicle controller and outputs a comparison result; The fault detection circuit is used to be connected to the output end of the comparison unit, and calculate the fault location according to the data result, and feed it back to the vehicle controller. The vehicle controller outputs a PWM signal and provides parameter data to the comparison unit.

2. The vehicle controller PWM output detection circuit according to claim 1, characterized in that: The voltage detection circuit includes a resistor R1, a resistor R2, a resistor R3, a diode D1, a diode D2 and a filter capacitor C1; the diode D1 and the diode D2 are connected in series, wherein the anode of the diode D2 is grounded, the filter capacitor C1 and the resistor R3 are both connected in parallel with the diode D2, the resistor R1 and the resistor R2 are connected in series, and the resistor R2 is connected to one end of the resistor R3.

3. The vehicle controller PWM output detection circuit according to claim 1, characterized in that: The current detection circuit includes a resistor R4, a resistor R5, a resistor R6, a resistor R7, a diode D3 and a transistor T1; the cathode of the diode D3 is connected to the collector of the transistor T1, the resistor R4 and the resistor R5 are connected in series, one end of the resistor R4 is connected to the anode of the diode D3, one end of the resistor R5 is connected to the base of the transistor, the emitter of the transistor T1 is grounded, and the resistor R6 and the resistor R7 are connected in series and in parallel with the transistor T1.

4. The vehicle controller PWM output detection circuit according to claim 1, characterized in that: The frequency detection circuit includes a comparator CMP1 and a counter CNT1. The input end of the comparator CMP1 is connected to the interface circuit. The counter CNT1 is connected to the comparator CMP1. The comparator CMP1 can compare with the parameter voltage and output high and low level signals. The counter CNT1 counts the output signal of the comparator CMP1 and resets it every once in a while.

5. The vehicle controller PWM output detection circuit according to claim 1, characterized in that: The duty cycle detection circuit includes a comparator CMP2 and a timer TIM1, the input end of the comparator CMP2 is connected to the interface circuit, the timer TIM1 is connected to the comparator TIM1, the comparator CMP2 can compare with the parameter voltage and output high and low level signals, the timer TIM1 times the output signal of the comparator CMP2 and clears it once every PWM signal output cycle.