CN112977297A - Signal acquisition circuit, control method, vehicle control unit and vehicle - Google Patents

Signal acquisition circuit, control method, vehicle control unit and vehicle Download PDF

Info

Publication number
CN112977297A
CN112977297A CN201911290774.1A CN201911290774A CN112977297A CN 112977297 A CN112977297 A CN 112977297A CN 201911290774 A CN201911290774 A CN 201911290774A CN 112977297 A CN112977297 A CN 112977297A
Authority
CN
China
Prior art keywords
switch module
pull
control
resistor
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911290774.1A
Other languages
Chinese (zh)
Inventor
应翔
邵赓华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beiqi Foton Motor Co Ltd
Original Assignee
Beiqi Foton Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beiqi Foton Motor Co Ltd filed Critical Beiqi Foton Motor Co Ltd
Priority to CN201911290774.1A priority Critical patent/CN112977297A/en
Publication of CN112977297A publication Critical patent/CN112977297A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/51Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/51Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
    • H03K17/56Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices
    • H03K17/687Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being field-effect transistors
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/51Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
    • H03K2017/515Mechanical switches; Electronic switches controlling mechanical switches, e.g. relais

Abstract

The disclosure relates to a signal acquisition circuit, a control method, a vehicle controller and a vehicle, wherein the signal acquisition circuit comprises: switch module, pull-up resistance and pull-down resistance, switch module's control end is as signal acquisition circuit's control end, switch module's control end is used for receiving the control signal that control chip sent, switch module, a control signal is when first level signal for, control switch module's first end and third end are connected, and control switch module's second end and fourth disconnection, switch module, a control signal is when second level signal, control switch module's first end and third end disconnection, and control switch module's second end and fourth end are connected. According to the control signal sent by the control chip, the pull-up resistor and the pull-down resistor of the signal acquisition circuit can be flexibly configured, the hardware version of the signal acquisition circuit is reduced, and the production cost is low.

Description

Signal acquisition circuit, control method, vehicle control unit and vehicle
Technical Field
The disclosure relates to the technical field of circuit control, in particular to a signal acquisition circuit, a control method, a vehicle controller and a vehicle.
Background
With the increasing automobile reserves in China, green and environment-friendly new energy automobiles are widely applied while paying attention to sustainable development. A VCU (english: Vehicle Control Unit, chinese: Vehicle Control Unit) is used as a core component of the new energy Vehicle, and a signal acquisition circuit of a hardware signal acquisition interface of the VCU needs to configure a pull-up resistor or a pull-down resistor according to the type and characteristics of an input signal. The existing signal acquisition Circuit adopts a mode of simultaneously designing a pull-up resistor and a pull-down resistor at an input end of a signal acquisition interface, and selects to weld the pull-up resistor or the pull-down resistor by changing a production BOM (Bill of Material, Chinese: Bill of Material) form according to practical application during production, so that one PCB (Printed Circuit Board, Chinese: Printed Circuit Board) corresponds to a plurality of production BOMs, thereby generating a plurality of hardware versions, requiring adjustment of a production line or even a test line during production, and having high production cost.
Disclosure of Invention
The invention aims to provide a signal acquisition circuit, a control method, a vehicle controller and a vehicle, which are used for solving the problems of multiple hardware versions and high production cost of the signal acquisition circuit in the prior art.
In order to achieve the above object, according to a first aspect of embodiments of the present disclosure, there is provided a signal acquisition circuit including: the circuit comprises a switch module, a pull-up resistor and a pull-down resistor;
the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with a control chip through the second end of the pull-up resistor, and the control end of the switch module is used for receiving a control signal sent by the control chip;
the switch module is configured to control the first end of the switch module to be connected to the third end and control the second end and the fourth end of the switch module to be disconnected when the control signal is a first level signal;
the switch module is configured to control the first end and the third end of the switch module to be disconnected and control the second end and the fourth end of the switch module to be connected when the control signal is a second level signal, where the first level signal is different from the second level signal.
Optionally, the switch module comprises a relay comprising a normally open contact and a normally closed contact;
the control end of relay is as switch module's control end, normally open contact's first end is as switch module's first end, normally open contact's second end is as switch module's third end, normally closed contact's first end is as switch module's second end, normally closed contact's second end is as switch module's fourth end.
Optionally, the switch module includes a first switch tube, a second switch tube and an inverter;
the control end of the first switch tube is used as the control end of the switch module, the input end of the phase inverter is connected with the control end of the first switch tube, the output end of the phase inverter is connected with the control end of the second switch tube, the input end of the first switch tube is used as the first end of the switch module, the output end of the first switch tube is used as the third end of the switch module, the input end of the second switch tube is used as the fourth end of the switch module, and the output end of the second switch tube is used as the second end of the switch module.
Optionally, the first switch tube is a field effect transistor MOS or a triode, and the second switch tube is an MOS or a triode.
Optionally, the signal acquisition circuit further comprises: a first capacitor;
the first end of the first capacitor is connected with the second end of the pull-up resistor, and the second end of the first capacitor is grounded.
Optionally, the signal acquisition circuit further comprises a filtering module;
the input end of the filtering module is connected with the second end of the pull-up resistor, the input end of the filtering module is used for collecting the input signal, and the output end of the filtering module is connected with the control chip.
Optionally, the filtering module includes a first resistor and a second capacitor;
the first end of the first resistor is used as the input end of the filtering module, the second end of the first resistor is connected with the first end of the second capacitor, the first end of the second capacitor is used as the output end of the filtering module, and the second end of the second capacitor is grounded.
According to a second aspect of the embodiments of the present disclosure, there is provided a control method for a signal acquisition circuit, the method being applied to a signal acquisition circuit, the signal acquisition circuit including: the circuit comprises a switch module, a pull-up resistor and a pull-down resistor;
the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with a control chip through the second end of the pull-up resistor, and the control end of the switch module is used for receiving a control signal sent by the control chip;
the method comprises the following steps:
when the control signal is a first level signal, controlling the first end of the switch module to be connected with the third end, and controlling the second end and the fourth end of the switch module to be disconnected, so that the first power supply is connected with the pull-up resistor, and the pull-down resistor is disconnected with the ground;
when the control signal is a second level signal, the first end and the third end of the switch module are controlled to be disconnected, and the second end and the fourth end of the switch module are controlled to be connected, so that the pull-down resistor is connected with the ground, the first power supply and the pull-up resistor are disconnected, and the first level signal is different from the second level signal.
According to a third aspect of the disclosed embodiments, there is provided a vehicle control unit including: a control chip and the signal acquisition circuit of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, a vehicle is provided with the vehicle control unit of the third aspect.
Through above-mentioned technical scheme, signal acquisition circuit in this disclosure includes: the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with the control chip through the second end of the pull-up resistor, the control end of the switch module is used for receiving a control signal sent by the control chip, the switch module is used for controlling the connection of the first end and the third end of the switch module and the disconnection of the second end and the fourth end of the switch module when the control signal is a first level signal, and the disconnection of the first end and the third end of the switch module when the control signal is a second level signal, and controlling the second end and the fourth end of the switch module to be connected, wherein the first level signal is different from the second level signal. According to the control signal sent by the control chip, the pull-up resistor and the pull-down resistor of the signal acquisition circuit can be flexibly configured, so that one hardware version of the signal acquisition circuit can meet the requirements of different applications, the hardware version of the signal acquisition circuit is reduced, and the production cost is low.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a block diagram illustrating a signal acquisition circuit according to an exemplary embodiment;
FIG. 2 is a block diagram illustrating another signal acquisition circuit in accordance with an exemplary embodiment;
FIG. 3 is a block diagram illustrating another signal acquisition circuit in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating another signal acquisition circuit in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating another signal acquisition circuit in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating yet another signal acquisition circuit in accordance with an exemplary embodiment;
FIG. 7 is a flow chart illustrating a method of controlling a signal acquisition circuit according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating a vehicle control unit in accordance with an exemplary embodiment;
FIG. 9 is a block diagram of a vehicle shown in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before introducing the signal acquisition circuit, the control method, the vehicle control unit and the vehicle provided by the present disclosure, an application scenario related to various embodiments of the present disclosure is first introduced. The application scenario may include any control chip that needs to configure a pull-up resistor or a pull-down resistor for the signal acquisition interface, and the control chip may be, for example, a VCU.
Fig. 1 is a block diagram illustrating a signal acquisition circuit according to an exemplary embodiment. As shown in fig. 1, the signal acquisition circuit 100 includes: a switch module 101, a pull-up resistor 102 and a pull-down resistor 103.
The control end of the switch module 101 serves as the control end of the signal acquisition circuit 100, the first end of the switch module 101 is connected with the first power source VCC, the second end of the switch module 101 is grounded GND, the third end of the switch module 101 is connected with the first end of the pull-up resistor 102, the second end of the pull-up resistor 102 is connected with the first end of the pull-down resistor 103, the second end of the pull-down resistor 103 is connected with the fourth end of the switch module 101, and the control end of the switch module 101 is used for receiving a control signal sent by the control chip 200.
And the switch module 101 is configured to control the first end and the third end of the switch module 101 to be connected and control the second end and the fourth end of the switch module 101 to be disconnected when the control signal is the first level signal.
The switch module 101 is configured to control the first end and the third end of the switch module 101 to be disconnected when the control signal is the second level signal, and control the second end and the fourth end of the switch module 101 to be connected, where the first level signal is different from the second level signal.
For example, in order to reduce the hardware version of the signal acquisition circuit 100, the signal acquisition circuit 100 may be simultaneously provided with a pull-up resistor 102 and a pull-down resistor 103, and the pull-up resistor 102 and the pull-down resistor 103 are configured by the switch module 101 (i.e., the switch module 101 selects the pull-up resistor 102 to clamp the input signal of the control chip 200 to a high level, or selects the pull-down resistor 103 to clamp the input signal of the control chip 200 to a low level), so that one hardware version of the signal acquisition circuit 100 can meet the requirements of different applications, thereby reducing the production cost.
The pull-up resistor 102 and the pull-down resistor 103 may be configured by the switch module 101 in the following manner: the control chip 200 is pre-configured with corresponding control software, which can output different control signals according to different practical applications of the signal acquisition circuit 100. After receiving the control signal sent by the control chip 200, the control terminal of the switch module 101 configures the pull-up resistor 102 or the pull-down resistor 103 according to the control signal (the control signal is a first level signal or a second level signal), and if the control signal is a first level signal (the first level signal may be a high level signal or a low level signal), the first terminal of the switch module 101 is controlled to be connected to the third terminal (even if the first power VCC is connected to the pull-up resistor 102), and the second terminal and the fourth terminal of the switch module 101 are controlled to be disconnected (even if the pull-down resistor 103 is disconnected from the ground GND), so that the first power VCC and the pull-up resistor 102 form a pull-up circuit, and the input signal of the control chip 200 is clamped to a high level through the pull-up resistor 102. If the control signal is a second level signal (the second level signal may be a low level signal or a high level signal), the first terminal and the third terminal of the switch module 101 are controlled to be disconnected (i.e., the first power VCC is disconnected from the pull-up resistor 102), and the second terminal and the fourth terminal of the switch module 101 are controlled to be connected (i.e., the pull-down resistor 103 is connected to the ground GND), so that the pull-down resistor 103 and the ground GND form a pull-down circuit, and the input signal of the control chip 200 is clamped to a low level through the pull-down resistor 103. The first power VCC is a pull-up power, and may be an independent dc power, or a power for controlling pin output of the chip 200, and may be 24V, for example. The first level signal and the second level signal are opposite level signals, that is, the first level signal is a high level signal, the second level signal is a low level signal, and if the first level signal is a low level signal, the second level signal is a high level signal.
In summary, the signal acquisition circuit in this disclosure includes: the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with the control chip through the second end of the pull-up resistor, the control end of the switch module is used for receiving a control signal sent by the control chip, the switch module is used for controlling the connection of the first end and the third end of the switch module and the disconnection of the second end and the fourth end of the switch module when the control signal is a first level signal, and the disconnection of the first end and the third end of the switch module when the control signal is a second level signal, and controlling the second end and the fourth end of the switch module to be connected, wherein the first level signal is different from the second level signal. According to the control signal sent by the control chip, the pull-up resistor and the pull-down resistor of the signal acquisition circuit can be flexibly configured, so that one hardware version of the signal acquisition circuit can meet the requirements of different applications, the hardware version of the signal acquisition circuit is reduced, and the production cost is low.
Fig. 2 is a block diagram illustrating another signal acquisition circuit according to an example embodiment. As shown in fig. 2, the switch module 101 includes a relay 1011, and the relay 1011 includes a normally open contact K1 and a normally closed contact K2.
The control end of the relay 1011 serves as the control end of the switch module 101, the first end of the normally open contact K1 serves as the first end of the switch module 101, the second end of the normally open contact K1 serves as the third end of the switch module 101, the first end of the normally closed contact K2 serves as the second end of the switch module 101, and the second end of the normally closed contact K2 serves as the fourth end of the switch module 101.
In one scenario, the switch module 101 may include a relay 1011, and when a control terminal of the relay 1011 receives a first level signal (which may be a high level signal, for example), the relay 1011 is activated, the normally open contact K1 is closed, and the normally closed contact K2 is opened, at this time, the first terminal of the switch module 101 is connected to the third terminal (i.e., the first power VCC is connected to the pull-up resistor 102), and the second terminal and the fourth terminal of the switch module 101 are opened (i.e., the pull-down resistor 103 is disconnected from the ground GND), so that the first power VCC, the normally open contact K1, and the pull-up resistor 102 form a pull-up circuit, and thus the input signal of the control chip 200 is clamped to a high level by the pull-up resistor 102. When the control terminal of the relay 1011 does not receive the control signal or receives the second level signal (for example, the control terminal may be a low level signal), the relay 1011 is not activated, the normally open contact K1 is opened, the normally closed contact K2 is closed, at this time, the first terminal of the switch module 101 is disconnected from the third terminal (i.e., the first power source VCC is disconnected from the pull-up resistor 102), and the second terminal and the fourth terminal of the switch module 101 are connected (i.e., the pull-down resistor 103 is connected to the ground GND), so that the pull-down resistor 103, the normally closed contact K2 and the ground GND form a pull-down circuit, thereby clamping the input signal of the control chip 200 to a low level through the pull-down resistor 103.
It should be noted that the connection relationship between the normally open contact K1 and the normally closed contact K2 in the switch module 101 shown in fig. 2 is only for illustrating a specific embodiment in the present disclosure, and the connection relationship between the normally open contact K1 and the normally closed contact K2 is not limited.
Further, the positions of the normally open contact K1 and the normally closed contact K2 may be interchanged, that is, the first end of the normally closed contact K2 is used as the first end of the switch module 101, the second end of the normally closed contact K2 is used as the third end of the switch module 101, the first end of the normally open contact K1 is used as the second end of the switch module 101, and the second end of the normally open contact K1 is used as the fourth end of the switch module 101, as shown in fig. 3. When the control terminal of the relay 1011 does not receive the control signal or receives the second level signal (for example, the control signal may be a low level signal), the relay 1011 is not activated, the normally closed contact K2 is closed, the normally open contact K1 is opened, at this time, the first terminal of the switch module 101 is connected to the third terminal (i.e., the first power VCC is connected to the pull-up resistor 102), and the second terminal and the fourth terminal of the switch module 101 are opened (i.e., the pull-down resistor 103 is disconnected from the ground GND), so that the first power VCC, the normally closed contact K2 and the pull-up resistor 102 form a pull-up circuit, and the input signal of the control chip 200 is clamped to a high level through the pull-up resistor 102. When the control terminal of the relay 1011 receives a first level signal (for example, a high level signal), the relay 1011 is activated, the normally closed contact K2 is opened, the normally open contact K1 is closed, at this time, the first terminal of the switch module 101 is disconnected from the third terminal (i.e., the first power VCC is disconnected from the pull-up resistor 102), and the second terminal and the fourth terminal of the switch module 101 are connected (i.e., the pull-down resistor 103 is connected to the ground GND), so that the pull-down resistor 103, the normally open contact K1 and the ground GND form a pull-down circuit, thereby clamping the input signal of the control chip 200 to a low level through the pull-down resistor 103.
Fig. 4 is a block diagram illustrating another signal acquisition circuit according to an example embodiment. As shown in fig. 4, the switch module 101 includes a first switch Q1, a second switch Q2, and an inverter U.
The control end of the first switch tube Q1 is used as the control end of the switch module 101, the input end of the phase inverter U is connected with the control end of the first switch tube Q1, the output end of the phase inverter U is connected with the control end of the second switch tube Q2, the input end of the first switch tube Q1 is used as the first end of the switch module 101, the output end of the first switch tube Q1 is used as the third end of the switch module 101, the input end of the second switch tube Q2 is used as the fourth end of the switch module 101, and the output end of the second switch tube Q2 is used as the second end of the switch module 101.
In another scenario, the switch module 101 may include: the switch comprises a first switch tube Q1, a second switch tube Q2 and a phase inverter U, wherein the first switch tube Q1 can be a Metal Oxide Semiconductor Field-Effect Transistor (MOS) or a triode, and the second switch tube Q2 can be an MOS or a triode. For example, when the first switching tube Q1 and the second switching tube Q2 are both N-channel MOS, the gate of the first switching tube Q1 is used as the control terminal of the switching module 101, the input terminal of the inverter U is connected to the gate of the first switching tube Q1, the output terminal of the inverter U is connected to the gate of the second switching tube Q2, the drain of the first switching tube Q1 is used as the first terminal of the switching module 101, the source of the first switching tube Q1 is used as the third terminal of the switching module 101, the drain of the second switching tube Q2 is used as the fourth terminal of the switching module 101, and the source of the second switching tube Q2 is used as the second terminal of the switching module 101.
When the control terminal of the first switch tube Q1 receives a first level signal (for example, a high level signal), the first switch tube Q1 is turned on, the first level signal transmits a low level signal to the second switch tube Q2 through the inverter U, the second switch tube Q2 is turned off, at this time, the first terminal of the switch module 101 is connected to the third terminal (i.e., the first power VCC is connected to the pull-up resistor 102), and the second terminal and the fourth terminal of the switch module 101 are turned off (i.e., the pull-down resistor 103 is disconnected from the ground GND), so that the first power VCC, the first switch tube Q1, and the pull-up resistor 102 form a pull-up circuit, and the input signal of the control chip 200 is clamped to a high level through the pull-up resistor 102. When the control end of the first switch tube Q1 receives a second level signal (for example, a low level signal), the first switch tube Q1 is turned off, the second level signal sends a high level signal to the second switch tube Q2 through the inverter U, the second switch tube Q2 is turned on, at this time, the first end of the switch module 101 is disconnected from the third end (i.e., the first power VCC is disconnected from the pull-up resistor 102), and the second end and the fourth end of the switch module 101 are connected (i.e., the pull-down resistor 103 is connected to the ground GND), so that the pull-down resistor 103, the second switch tube Q2 and the ground GND form a pull-down circuit, and the input signal of the control chip 200 is clamped to a low level through the pull-down resistor 103. Through the phase inverter U, the first switch tube Q1 and the second switch tube Q2 can be simultaneously controlled through one control signal, the circuit structure can be simplified, and the first switch tube Q1 and the second switch tube Q2 can be prevented from being simultaneously conducted.
Fig. 5 is a block diagram illustrating another signal acquisition circuit according to an example embodiment. As shown in fig. 5, the signal acquisition circuit 100 further includes: a first capacitor C1.
The first terminal of the first capacitor C1 is connected to the second terminal of the pull-up resistor 102, and the second terminal of the first capacitor C1 is grounded.
Further, in order to reduce the interference and damage of static electricity to the electrical components in the signal acquisition circuit 100, a first capacitor C1 may be disposed at the frontmost end of the signal acquisition circuit 100, that is, a first end of the first capacitor C1 is connected to the second end of the pull-up resistor 102, and a second end of the first capacitor C1 is grounded. The first capacitor C1 may be an ESD (Electro-Static Discharge, chinese) capacitor.
Fig. 6 is a block diagram illustrating yet another signal acquisition circuit in accordance with an exemplary embodiment. As shown in fig. 6, the signal acquisition circuit further includes a filtering module 104.
The input end of the filtering module 104 is connected to the second end of the pull-up resistor 102, the input end of the filtering module 104 is used for collecting input signals, and the output end of the filtering module 104 is connected to the control chip 200.
The filtering module 104 includes a first resistor R1 and a second capacitor C2.
A first end of the first resistor R1 is used as an input end of the filter module 104, a second end of the first resistor R1 is connected to a first end of the second capacitor C2, a first end of the second capacitor C2 is used as an output end of the filter module 104, and a second end of the second capacitor C2 is grounded.
Specifically, a certain amount of noise may exist in the input signal, which affects the accuracy of the input signal obtained by the control chip 200, and the input signal may be filtered by the filtering module 104 composed of the first resistor R1 and the second capacitor C2, so as to obtain the accurate input signal.
In summary, the signal acquisition circuit in this disclosure includes: the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with the control chip through the second end of the pull-up resistor, the control end of the switch module is used for receiving a control signal sent by the control chip, the switch module is used for controlling the connection of the first end and the third end of the switch module and the disconnection of the second end and the fourth end of the switch module when the control signal is a first level signal, and the disconnection of the first end and the third end of the switch module when the control signal is a second level signal, and controlling the second end and the fourth end of the switch module to be connected, wherein the first level signal is different from the second level signal. According to the control signal sent by the control chip, the pull-up resistor and the pull-down resistor of the signal acquisition circuit can be flexibly configured, so that one hardware version of the signal acquisition circuit can meet the requirements of different applications, the hardware version of the signal acquisition circuit is reduced, and the production cost is low.
Fig. 7 is a flow chart illustrating a method of controlling a signal acquisition circuit according to an exemplary embodiment. As shown in fig. 7, the method is applied to a signal acquisition circuit, which includes: switch module, pull-up resistance and pull-down resistance.
The control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with the first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with the control chip through the second end of the pull-up resistor, and the control end of the switch module is used for receiving a control signal sent by the control chip.
The method comprises the following steps:
step 301, when the control signal is the first level signal, controlling the first end of the switch module to be connected with the third end, and controlling the second end and the fourth end of the switch module to be disconnected, so that the first power supply is connected with the pull-up resistor, and the pull-down resistor is disconnected with the ground.
Step 302, when the control signal is a second level signal, the first end and the third end of the switch module are controlled to be disconnected, and the second end and the fourth end of the switch module are controlled to be connected, so that the pull-down resistor is connected with the ground, the first power supply and the pull-up resistor are blocked to be switched on, and the first level signal is different from the second level signal.
For example, in order to reduce the hardware version of the signal acquisition circuit, a pull-up resistor and a pull-down resistor may be simultaneously disposed in the signal acquisition circuit, and the pull-up resistor and the pull-down resistor are configured through the switch module, so that one hardware version of the signal acquisition circuit can meet the requirements of different applications, thereby reducing the production cost.
The manner of configuring the pull-up resistor and the pull-down resistor through the switch module may be: the control chip is preset with corresponding control software, the control software can output different control signals according to different practical applications of the signal acquisition circuit, and the control end of the switch module configures the pull-up resistor or the pull-down resistor according to the control signals after receiving the control signals sent by the control chip. When the control signal is a first level signal (the first level signal may be a high level signal or a low level signal), the first terminal of the control switch module is connected to the third terminal (even if the first power supply is connected to the pull-up resistor), and the second terminal and the fourth terminal of the control switch module are disconnected (even if the pull-down resistor is disconnected from the ground), so that the first power supply and the pull-up resistor form a pull-up circuit, and the input signal of the control chip is clamped to a high level through the pull-up resistor. When the control signal is a second level signal (the second level signal may be a low level signal or a high level signal), the first terminal of the switch module is controlled to be disconnected from the third terminal (even if the first power supply is disconnected from the pull-up resistor), and the second terminal and the fourth terminal of the switch module are controlled to be connected (even if the pull-down resistor is connected with the ground), so that the pull-down resistor and the ground form a pull-down circuit, and the input signal of the control chip is clamped to a low level through the pull-down resistor. The first level signal and the second level signal are opposite level signals, that is, the first level signal is a high level signal, the second level signal is a low level signal, and if the first level signal is a low level signal, the second level signal is a high level signal.
In summary, the signal acquisition circuit in this disclosure includes: the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with the control chip through the second end of the pull-up resistor, the control end of the switch module is used for receiving a control signal sent by the control chip, the switch module is used for controlling the connection of the first end and the third end of the switch module and the disconnection of the second end and the fourth end of the switch module when the control signal is a first level signal, and the disconnection of the first end and the third end of the switch module when the control signal is a second level signal, and controlling the second end and the fourth end of the switch module to be connected, wherein the first level signal is different from the second level signal. According to the control signal sent by the control chip, the pull-up resistor and the pull-down resistor of the signal acquisition circuit can be flexibly configured, so that one hardware version of the signal acquisition circuit can meet the requirements of different applications, the hardware version of the signal acquisition circuit is reduced, and the production cost is low.
FIG. 8 is a block diagram illustrating a hybrid vehicle controller in accordance with an exemplary embodiment. As shown in fig. 8, the vehicle control unit 400 includes: a control chip 200 and any of the signal acquisition circuits 100 described above.
With respect to the vehicle control unit 400 in the above-mentioned embodiment, the specific manner in which the signal acquisition circuit 100 performs the operation has been described in detail in the embodiment related to the signal acquisition circuit 100, and will not be described in detail herein.
In summary, the signal acquisition circuit in this disclosure includes: the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with the control chip through the second end of the pull-up resistor, the control end of the switch module is used for receiving a control signal sent by the control chip, the switch module is used for controlling the connection of the first end and the third end of the switch module and the disconnection of the second end and the fourth end of the switch module when the control signal is a first level signal, and the disconnection of the first end and the third end of the switch module when the control signal is a second level signal, and controlling the second end and the fourth end of the switch module to be connected, wherein the first level signal is different from the second level signal. According to the control signal sent by the control chip, the pull-up resistor and the pull-down resistor of the signal acquisition circuit can be flexibly configured, so that one hardware version of the signal acquisition circuit can meet the requirements of different applications, the hardware version of the signal acquisition circuit is reduced, and the production cost is low.
The present disclosure also relates to a vehicle, as shown in fig. 9, on which the vehicle 500 is provided with the vehicle control unit 400 shown in fig. 8.
With regard to the vehicle 500 in the above-described embodiment, the specific manner in which the vehicle control unit 400 performs the operation has been described in detail in relation to the embodiment of the signal acquisition circuit 100, and will not be elaborated herein.
In summary, the signal acquisition circuit in this disclosure includes: the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with the control chip through the second end of the pull-up resistor, the control end of the switch module is used for receiving a control signal sent by the control chip, the switch module is used for controlling the connection of the first end and the third end of the switch module and the disconnection of the second end and the fourth end of the switch module when the control signal is a first level signal, and the disconnection of the first end and the third end of the switch module when the control signal is a second level signal, and controlling the second end and the fourth end of the switch module to be connected, wherein the first level signal is different from the second level signal. According to the control signal sent by the control chip, the pull-up resistor and the pull-down resistor of the signal acquisition circuit can be flexibly configured, so that one hardware version of the signal acquisition circuit can meet the requirements of different applications, the hardware version of the signal acquisition circuit is reduced, and the production cost is low.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A signal acquisition circuit, comprising: the circuit comprises a switch module, a pull-up resistor and a pull-down resistor;
the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with a control chip through the second end of the pull-up resistor, and the control end of the switch module is used for receiving a control signal sent by the control chip;
the switch module is configured to control the first end of the switch module to be connected to the third end and control the second end and the fourth end of the switch module to be disconnected when the control signal is a first level signal;
the switch module is configured to control the first end and the third end of the switch module to be disconnected and control the second end and the fourth end of the switch module to be connected when the control signal is a second level signal, where the first level signal is different from the second level signal.
2. The signal acquisition circuit of claim 1 wherein the switch module comprises a relay comprising normally open contacts and normally closed contacts;
the control end of relay is as switch module's control end, normally open contact's first end is as switch module's first end, normally open contact's second end is as switch module's third end, normally closed contact's first end is as switch module's second end, normally closed contact's second end is as switch module's fourth end.
3. The signal acquisition circuit of claim 1, wherein the switch module comprises a first switch tube, a second switch tube and an inverter;
the control end of the first switch tube is used as the control end of the switch module, the input end of the phase inverter is connected with the control end of the first switch tube, the output end of the phase inverter is connected with the control end of the second switch tube, the input end of the first switch tube is used as the first end of the switch module, the output end of the first switch tube is used as the third end of the switch module, the input end of the second switch tube is used as the fourth end of the switch module, and the output end of the second switch tube is used as the second end of the switch module.
4. The signal acquisition circuit of claim 3, wherein the first switching transistor is a field effect transistor (MOS) or a transistor, and the second switching transistor is a MOS or a transistor.
5. The signal acquisition circuit of claim 1, further comprising: a first capacitor;
the first end of the first capacitor is connected with the second end of the pull-up resistor, and the second end of the first capacitor is grounded.
6. The signal acquisition circuit of claim 1, further comprising a filtering module;
the input end of the filtering module is connected with the second end of the pull-up resistor, the input end of the filtering module is used for collecting the input signal, and the output end of the filtering module is connected with the control chip.
7. The signal acquisition circuit of claim 6 wherein the filtering module comprises a first resistor and a second capacitor;
the first end of the first resistor is used as the input end of the filtering module, the second end of the first resistor is connected with the first end of the second capacitor, the first end of the second capacitor is used as the output end of the filtering module, and the second end of the second capacitor is grounded.
8. A control method of a signal acquisition circuit is characterized in that the method is applied to the signal acquisition circuit, and the signal acquisition circuit comprises the following steps: the circuit comprises a switch module, a pull-up resistor and a pull-down resistor;
the control end of the switch module is used as the control end of the signal acquisition circuit, the first end of the switch module is connected with a first power supply, the second end of the switch module is grounded, the third end of the switch module is connected with the first end of the pull-up resistor, the second end of the pull-up resistor is connected with the first end of the pull-down resistor, the second end of the pull-down resistor is connected with the fourth end of the switch module, an input signal is connected with a control chip through the second end of the pull-up resistor, and the control end of the switch module is used for receiving a control signal sent by the control chip;
the method comprises the following steps:
when the control signal is a first level signal, controlling the first end of the switch module to be connected with the third end, and controlling the second end and the fourth end of the switch module to be disconnected, so that the first power supply is connected with the pull-up resistor, and the pull-down resistor is disconnected with the ground;
when the control signal is a second level signal, the first end and the third end of the switch module are controlled to be disconnected, and the second end and the fourth end of the switch module are controlled to be connected, so that the pull-down resistor is connected with the ground, the first power supply and the pull-up resistor are disconnected, and the first level signal is different from the second level signal.
9. A vehicle control unit, characterized in that, vehicle control unit includes: a control chip and the signal acquisition circuit of any one of claims 1-7.
10. A vehicle, characterized in that the vehicle is provided with the vehicle control unit according to claim 9.
CN201911290774.1A 2019-12-13 2019-12-13 Signal acquisition circuit, control method, vehicle control unit and vehicle Pending CN112977297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911290774.1A CN112977297A (en) 2019-12-13 2019-12-13 Signal acquisition circuit, control method, vehicle control unit and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911290774.1A CN112977297A (en) 2019-12-13 2019-12-13 Signal acquisition circuit, control method, vehicle control unit and vehicle

Publications (1)

Publication Number Publication Date
CN112977297A true CN112977297A (en) 2021-06-18

Family

ID=76343044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911290774.1A Pending CN112977297A (en) 2019-12-13 2019-12-13 Signal acquisition circuit, control method, vehicle control unit and vehicle

Country Status (1)

Country Link
CN (1) CN112977297A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114237102A (en) * 2021-12-03 2022-03-25 珠海格力电器股份有限公司 Communication state switching circuit and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203616422U (en) * 2013-11-07 2014-05-28 北汽福田汽车股份有限公司 Input signal state detecting device and electric automobile provided with same
CN206441115U (en) * 2016-12-26 2017-08-25 深圳Tcl数字技术有限公司 Starting key circuit and electronic equipment
CN108008716A (en) * 2017-10-24 2018-05-08 浙江飞碟汽车制造有限公司 Portable electric automobile entire car controller detection device and its detection method
CN208924207U (en) * 2018-09-18 2019-05-31 广州汽车集团股份有限公司 A kind of digital simulation multiplexing input detecting circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203616422U (en) * 2013-11-07 2014-05-28 北汽福田汽车股份有限公司 Input signal state detecting device and electric automobile provided with same
CN206441115U (en) * 2016-12-26 2017-08-25 深圳Tcl数字技术有限公司 Starting key circuit and electronic equipment
CN108008716A (en) * 2017-10-24 2018-05-08 浙江飞碟汽车制造有限公司 Portable electric automobile entire car controller detection device and its detection method
CN208924207U (en) * 2018-09-18 2019-05-31 广州汽车集团股份有限公司 A kind of digital simulation multiplexing input detecting circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114237102A (en) * 2021-12-03 2022-03-25 珠海格力电器股份有限公司 Communication state switching circuit and equipment

Similar Documents

Publication Publication Date Title
CN103532355B (en) For the system and method for drive circuit
CN104348689B (en) LIN bus module
EP3216026B1 (en) Load isolation for pad signal monitoring and duty cycle adjustment
CN112977297A (en) Signal acquisition circuit, control method, vehicle control unit and vehicle
JP2019135830A (en) Transceiver utilizing isolated signaling and concealed isolated power to attain high common mode working voltage and tolerance
US10418994B1 (en) Circuit for and method of extending the bandwidth of a termination block
US9832037B2 (en) Method and apparatus for register setting via multiplexed chip contacts
KR100316037B1 (en) Output buffer circuit
TWI242325B (en) Overvoltage protection apparatus
CN105656176A (en) High-reliability power switching circuit and electronic device
CN105094274B (en) Switching Power Supply frequency setting circuit, method and electronic equipment
EP2464009B1 (en) Differential signal termination circuit
JP2023515383A (en) Data bus signal conditioners and level shifters
CN104935326B (en) Output circuit in interface circuit
CN110166040B (en) IO multiplexing circuit, integrated circuit and control method
US6085260A (en) Method and circuit for multiplexing an input port and an output port of a microprocessor into a single external interface
KR20010051048A (en) Electronic driver circuit for use in an electronic system, and method
US6199129B1 (en) Bus segment or bus interface for connection of a subassembly of a programmable controller to a bus
CN220457415U (en) Compatible testing device and testing equipment
CN115021537B (en) Pre-drive circuit
CN217904397U (en) High-voltage protection circuit
CN219225344U (en) Communication isolator and air conditioning system
CN211505800U (en) Automobile switch detection working circuit structure
CN219420586U (en) Phase-cutting unit, filter circuit, power supply circuit and charging equipment
CN102484443B (en) Pulsed control signal is utilized to control the equipment of motor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210618