Circuit for detecting pull-up and pull-down configuration of discrete input of ECU

By designing a circuit to detect the pull-down configuration of the ECU's discrete input, and using a combination of light-emitting diodes and transistors, the problem that traditional equipment cannot identify the pull-down configuration inside the ECU is solved, and the intuitive identification of the internal configuration of the ECU and the judgment of high and low discrete input signals are achieved. Improved test accuracy and visualization.

CN221748367UActive Publication Date: 2024-09-20BEIJING INNOVITCH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420297826.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-18
Publication Date
2024-09-20
Estimated Expiration
2034-02-18

AI Technical Summary

Technical Problem

Traditional ECU test equipment cannot identify the pull-up and pull-down configuration inside the ECU, resulting in the inability to effectively identify discrete input signals.

Method used

A circuit is designed to detect the pull-down configuration of ECU discrete inputs. It uses a combination of light-emitting diodes and triodes to control the light-emitting diodes on and off through switches to achieve intuitive identification of the pull-down configuration inside the ECU.

Benefits of technology

The transistor is used to realize a constant current source and control the light-emitting diode to turn on and off. It can intuitively judge the pull-up and pull-down configuration inside the ECU, provide high and low discrete input signals, and improve the accuracy and visualization of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221748367U
    Figure CN221748367U
Patent Text Reader

Abstract

The utility model provides a circuit for detecting discrete input pull-up and pull-down configuration of an ECU, which comprises a first resistor, one end of the first resistor is connected with VBAT voltage, the other end of the first resistor is connected with anodes of a first light-emitting diode and a second light-emitting diode, a cathode of the first light-emitting diode is connected with an emitter of a triode, and a collector of the triode is grounded. The base electrode of the triode is connected with the first interface, the cathode of the second light emitting diode is connected with the collector electrode of the triode, the emitter electrode of the triode is grounded, the base electrode of the triode is connected with the second interface, the first switch is arranged between the second interface and the first interface, and the other end of the first switch is connected with the first port J and the discrete signal input circuit. Compared with the prior art, the ECU internal pull-up and pull-down configuration circuit has the advantages that a constant current source is achieved through the triodes, the light-emitting diodes are controlled to be turned on and turned off, and the pull-up and pull-down configuration in an ECU is visually judged by identifying the light-emitting diodes on and off through the toggle switches.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model discloses a circuit for detecting pull-up and pull-down configurations on discrete inputs of an ECU, and belongs to the field of automotive electronics. Background Art

[0002] ECU is the engine control electronic unit, which is a platform-type product. Different cars can be realized by only modifying certain configurations inside the ECU. These configurations include input interface configuration and output interface configuration. The output interface configuration can adjust the output channel without changing the hardware implementation of the ECU; the input configuration needs to modify the input configuration parameters of the ECU according to the characteristics of the external sensor. For discrete input signals, it is often achieved by changing the pull-up and pull-down configurations.

[0003] The discrete input signals are different, and the up and down configurations inside the ECU are also different. Traditional ECU testing equipment cannot identify the up and down pull-up configurations inside the ECU. Utility Model Content

[0004] In view of the deficiencies in the prior art, the utility model aims to provide a circuit for detecting the pull-up and pull-down configurations of discrete inputs of an ECU.

[0005] In order to achieve the above purpose, the utility model is implemented through the following technical solutions:

[0006] A circuit for detecting the pull-up and pull-down configuration of EU discrete input includes a resistor 1, one end of the resistor 1 is connected to the VBAT voltage, the other end of the resistor 1 is connected to the anodes of both the light-emitting diode 1 and the light-emitting diode 2, the cathode of the light-emitting diode 1 is connected to the emitter of the transistor, the collector of the transistor is grounded, the base of the transistor is connected to the interface 1, the cathode of the light-emitting diode 2 is connected to the collector of the transistor, the emitter of the transistor is grounded, the base of the transistor is connected to the interface 2, a switch 1 is arranged between the interface 2 and the interface 1, and the other end of the switch 1 is connected to the port 1J and then to the discrete signal input circuit.

[0007] Furthermore, the discrete signal input circuit includes a pull-up circuit and a pull-down circuit, the pull-up circuit includes resistor 1, one end of resistor 1 is connected to the microcontroller input pin, the other end of resistor 1 is connected to switch 1, one end of resistor 2 is connected to resistor 1, the other end of resistor 2 is connected to the VBAT voltage, one end of capacitor 1 is connected to one end of resistor 1, and the other end of capacitor 1 is grounded.

[0008] Furthermore, the pull-down circuit includes resistor 1, one end of resistor 1 is connected to the input pin of the microcontroller, the other end of resistor 1 is connected to switch 1, one end of resistor 2 is connected to resistor 1, the other end of resistor 2 is grounded, one end of capacitor 1 is connected to one end of resistor 1, and the other end of capacitor 1 is grounded.

[0009] Beneficial effects of the utility model:

[0010] The utility model realizes a constant current source through a triode to control the on and off of a light emitting diode, and intuitively judges the pull-up and pull-down configuration inside the ECU by identifying the on and off of the light emitting diode by turning a toggle switch.

[0011] The utility model can intuitively display the circuit of the pull-up and pull-down configuration inside the ECU, judge whether high is effective or low is effective, and provide high and low discrete input signals for the ECU at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0013] Figure 1 A schematic diagram of a pull-up and pull-down circuit inside a detection ECU of a circuit for detecting a discrete input of the ECU according to the utility model;

[0014] Figure 2 A schematic diagram of a pull-up circuit for detecting a pull-up and pull-down configuration of a discrete input of an ECU according to the utility model;

[0015] Figure 3 The utility model is a pull-down circuit schematic diagram of a circuit for detecting the pull-up and pull-down configuration of a discrete input of an ECU. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0017] See also Figure 1The utility model provides a circuit technical solution for detecting the pull-up and pull-down configuration of discrete input of ECU, including a resistor R2, one end of the resistor R2 is connected to the VBAT voltage, the other end of the resistor R2 is connected to the anodes of both the light emitting diode D1 and the light emitting diode D2, the cathode of the light emitting diode D1 is connected to the emitter of the PNP transistor Q1B, the collector of the PNP transistor Q1B is grounded, the base of the PNP transistor Q1B is connected to the interface one, the cathode of the light emitting diode D2 is connected to the collector of the NPN transistor Q1A, the emitter of the NPN transistor Q1A is grounded, the base of the NPN transistor Q1A is connected to the interface two, a switch S2 is provided between the interface two and the interface one, and the other end of the switch S2 is connected to the port J2 and then the discrete signal input circuit;

[0018] In specific applications, the IN terminal is the discrete input signal of the ECU; the switch S2 is connected to the interface 1, which represents the input high level; the switch S2 is connected to the interface 2, which represents the input low level; the light-emitting diode D1 indicates that the high level is valid, and the light-emitting diode D2 indicates that the low level is valid.

[0019] See also Figure 2-3 The discrete signal input circuit includes a pull-up circuit and a pull-down circuit. The pull-up circuit includes a resistor R41, one end of the resistor R41 is connected to the input pin of the single-chip computer, the other end of the resistor R41 is connected to the switch S2, one end of the resistor R40 is connected to the resistor R41, the other end of the resistor R40 is connected to the VBAT voltage, one end of the capacitor C40 is connected to one end of the resistor R41, and the other end of the capacitor C40 is grounded. The pull-down circuit includes a resistor R41, one end of the resistor R41 is connected to the input pin of the single-chip computer, the other end of the resistor R41 is connected to the switch S2, one end of the resistor R40 is connected to the resistor R41, the other end of the resistor R40 is grounded, one end of the capacitor C40 is connected to one end of the resistor R41, and the other end of the capacitor C40 is grounded;

[0020] In specific applications, the left IN is a discrete signal of external input, and the right MCU_Port is the input pin of the microcontroller; when the ECU is pulled up, the switch S2 is connected to the interface, the PNP transistor Q1B is blocked, and the light-emitting diode D1 and the light-emitting diode D2 are both off; when the switch S2 is connected to the interface, the NPN transistor Q1A is turned on, and the light-emitting diode D2 is always on; when the ECU is pulled down, the switch S2 is connected to the interface, the PNP transistor Q1B is turned on, and the light-emitting diode D1 is always on; when the switch S2 is connected to the interface, the NPN transistor Q1A is blocked, and the light-emitting diode D1 and the light-emitting diode D2 are both off; when it is unknown whether the ECU is pulled up or pulled down, the switch S2 can be toggled to observe whether the light-emitting diode D1 and the light-emitting diode D2 are on, to identify: if the light-emitting diode D2 is on, it means that the ECU is pulled up, and if the light-emitting diode D1 is on, it means that the ECU is pulled down. In addition, the circuit uses a triode constant current source to control the brightness of the LED to prevent the brightness from being unrecognizable due to the difference in pull-up and pull-down resistors inside the ECU.

[0021] Although this specification is described according to implementation modes, not every implementation mode includes only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A circuit for detecting pull-up and pull-down configurations on discrete inputs of an ECU, characterized in that: It includes a resistor R2, one end of which is connected to the VBAT voltage, the other end of which is connected to the anodes of a light emitting diode D1 and a light emitting diode D2, the cathode of the light emitting diode D1 is connected to the emitter of a PNP transistor Q1B, the collector of the PNP transistor Q1B is grounded, the base of the PNP transistor Q1B is connected to an interface 1, the cathode of the light emitting diode D2 is connected to the collector of an NPN transistor Q1A, the emitter of the NPN transistor Q1A is grounded, the base of the NPN transistor Q1A is connected to an interface 2, a switch S2 is provided between the interface 2 and the interface 1, and the other end of the switch S2 is connected to a port J2 and then to a discrete signal input circuit.

2. A circuit for detecting pull-up and pull-down configurations on discrete inputs of an ECU according to claim 1, characterized in that: The discrete signal input circuit includes a pull-up circuit and a pull-down circuit. The pull-up circuit includes a resistor R41. One end of the resistor R41 is connected to the input pin of the microcontroller, the other end of the resistor R41 is connected to a switch S2, one end of a resistor R40 is connected to the resistor R41, the other end of the resistor R40 is connected to the VBAT voltage, one end of a capacitor C40 is connected to one end of the resistor R41, and the other end of the capacitor C40 is grounded.

3. A circuit for detecting pull-up and pull-down configurations on discrete inputs of an ECU according to claim 2, characterized in that: The pull-down circuit includes a resistor R41, one end of which is connected to the input pin of the microcontroller, the other end of which is connected to a switch S2, one end of a resistor R40 is connected to the resistor R41, the other end of which is grounded, one end of a capacitor C40 is connected to one end of the resistor R41, and the other end of the capacitor C40 is grounded.