CN112835312A - General high-low level configurable digital signal acquisition circuit of vehicle control unit - Google Patents

General high-low level configurable digital signal acquisition circuit of vehicle control unit Download PDF

Info

Publication number
CN112835312A
CN112835312A CN202011622391.2A CN202011622391A CN112835312A CN 112835312 A CN112835312 A CN 112835312A CN 202011622391 A CN202011622391 A CN 202011622391A CN 112835312 A CN112835312 A CN 112835312A
Authority
CN
China
Prior art keywords
digital quantity
resistor
quantity switch
pull
acquisition module
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
CN202011622391.2A
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.)
Dayun Automobile Co Ltd
Original Assignee
Dayun Automobile 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 Dayun Automobile Co Ltd filed Critical Dayun Automobile Co Ltd
Priority to CN202011622391.2A priority Critical patent/CN112835312A/en
Publication of CN112835312A publication Critical patent/CN112835312A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Abstract

The invention relates to a general high-low level configurable digital signal acquisition circuit of a vehicle controller, which comprises a digital quantity switch acquisition module, wherein the input end of the digital quantity switch acquisition module is connected with one side of a digital quantity switch, the output end of the digital quantity switch acquisition module is connected with an MCU (microprogrammed control unit) of the vehicle controller, the digital quantity switch acquisition module is configured to be matched with the high effective level or the low effective level of the digital quantity switch, and the MCU acquires a digital quantity switch signal through the configured digital quantity switch. The invention can realize the matching with the high effective level or the low effective level of the digital quantity switch, improves the universality of the whole vehicle controller, selects and attaches different resistors to different signals, reduces the hardware cost and increases the expansibility of the controller.

Description

General high-low level configurable digital signal acquisition circuit of vehicle control unit
Technical Field
The invention relates to the technical field of new energy automobiles, in particular to a general high-low level configurable digital signal acquisition circuit for a vehicle control unit.
Background
The vehicle control unit is a core component of the new energy automobile. In recent years, the functions and performances of the vehicle control unit are rapidly developed. When the controller works, various sensor signals on the whole vehicle need to be acquired in real time, the voltage compatibility of a digital acquisition module of the whole vehicle controller influences the generalization of the whole vehicle controller, and the problem is solved to be an important technical link for the development of the whole vehicle controller.
With the development of new energy automobiles. In recent years, the demand for a vehicle control unit has shifted from functional stability and reliability to functional diversity and application integration.
At present, the low-voltage platforms of new energy vehicle types are mainly divided into 12V and 24V. The vehicle control units of the two platforms need to be adapted to different hardware products, cannot be used universally, can only change a PCB, and increases development cost and matching risk.
Disclosure of Invention
The invention provides a high-low level configurable digital signal acquisition circuit universal for a vehicle control unit, which aims to solve the problems that the vehicle control unit of the existing new energy vehicle type low-voltage platform cannot be universal when being adapted to different hardware products, and the development cost and the matching risk are increased due to the change of a PCB (printed circuit board).
In order to solve the problems, the invention adopts the following technical scheme:
a general high-low level configurable digital signal acquisition circuit for a vehicle controller comprises a digital quantity switch acquisition module;
the input end of the digital quantity switch acquisition module is connected with one side of the digital quantity switch through a connector and a wire harness, the output end of the digital quantity switch acquisition module is connected with an MCU of a vehicle control unit, the digital quantity switch acquisition module is configured to be matched with a high effective level or a low effective level of the digital quantity switch, and the MCU acquires a digital quantity switch signal of the corresponding digital quantity switch through the configured digital quantity switch acquisition module.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, through the design of the digital quantity switch acquisition module, the matching with the high effective level or the low effective level of the digital quantity switch can be realized, the universality of the whole vehicle controller is improved, different resistors are selected and attached to different signals, the hardware cost is reduced, and the expansibility of the controller is increased.
Drawings
Fig. 1 is a schematic circuit structure diagram of a digital quantity switch acquisition module in an embodiment of the present invention.
Detailed Description
The technical solution of the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
In one embodiment, the invention discloses a high-low level configurable digital signal acquisition circuit for a vehicle control unit.
Specifically, the input end of a digital switch acquisition module is connected with one side of a digital switch through a connector and a wire harness, the output end of the digital switch acquisition module is connected with an MCU of the whole vehicle controller, the digital switch acquisition module is configured to be matched with a high effective level or a low effective level of the digital switch, when the digital switch is a high effective level switch, the other side of the switch is connected to a system power supply, and when the digital switch is a low effective level switch, the other side of the switch is connected to the ground; and the MCU acquires the digital quantity switch signal Vin of the corresponding digital quantity switch through the configured digital quantity switch acquisition module.
The digital value switch acquisition module can realize the adaptation of the high and low level validity of the switching value acquisition. As shown in fig. 1, the digital switch acquisition module includes a pull-up resistor R1, a pull-down resistor R2, a current limiting resistor R3, a voltage dividing resistor R4, a first capacitor C1, and a second capacitor C2.
When the acquisition digital quantity switch is at a high active level, that is, the acquisition module of the digital quantity switch is configured to match with the high active level of the digital quantity switch, in the acquisition module of the digital quantity switch, other components need to be welded except for the pull-up resistor R1, that is, one end of the pull-down resistor R2 is connected with one end of the first capacitor C1, one end of the current-limiting resistor R3 and one side of the digital quantity switch respectively, the other end of the current-limiting resistor R3 is connected with one end of the resistor R4, one end of the second capacitor C2 and the MCU respectively, and the other ends of the pull-down resistor R2, the voltage-dividing resistor R4, the first capacitor C1 and the second capacitor C2 are grounded. The pull-down resistor R2 can ensure that the MCU can acquire a certain low level when the switch is suspended, thereby avoiding false operation caused by electromagnetic interference.
When the acquisition digital quantity switch is at a low active level, that is, the acquisition module of the digital quantity switch is configured to match with the low active level of the digital quantity switch, in the acquisition module of the digital quantity switch, except for the pull-down resistor R2, other components need to be welded, that is, the pull-up power source end is connected with one end of the pull-up resistor R1, the other end of the pull-up resistor R1 is connected with one end of the first capacitor C1 and one end of the current-limiting resistor R3 and one side of the digital quantity switch respectively, the other end of the current-limiting resistor R3 is connected with one end of the voltage-dividing resistor R4 and the second capacitor C2 and the MCU respectively, and the other ends of the voltage-dividing resistor R4, the first capacitor C1 and the second capacitor C2 are. The pull-up resistor R1 can ensure that the MCU can acquire a certain high level when the switch is suspended, thereby avoiding malfunction due to electromagnetic interference.
The switch wetting current is adjusted by a pull-up resistor R1 or a pull-down resistor R2. Wetting current is the minimum current that can clean the surface of the contact from dirt and corrosion to keep the contact in good condition. The hardware requirement stipulates that the direct current wetting current is in 1-IHIn the mA range, assuming that the value of the wetting current is ImA, the resistance values of a pull-up resistor (R1) and a pull-down resistor (R2) are calculated according to the specified range of the wetting current, wherein R is VB _ SW/I, wherein the pull-up resistor R1 is commonly used and has the precision of 1% when a pull-up power supply VB _ SW of a digital signal is used; its maximum power P is VB _ SW2and/R1, obtaining the resistance package according to the maximum power.
The current limiting resistor R3 is used for limiting the current flowing into the MCU, and the type selection is carried out according to the pouring current characteristic of the MCU pin and the number of digital signal channels.
The divider resistor R4 is used to regulate the voltage delivered to the MCU port.
The digital switch acquisition module of this embodiment selects different resistances to paste to different signals, reduces the hardware cost, increases the expansibility of controller.
The invention has the beneficial effects that: the invention can realize the matching of high effective level or low effective level of the digital quantity switch by designing the digital quantity switch acquisition module, can meet the high and low available effective level state by realizing the signal acquisition of the digital quantity switch, and allows the input voltage range to be 0-BbatThe minimum high effective level is identified as ULV, maximum Low effective level U of recognitionHV, switch wetting current 1mA < IHmA;
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A general high-low level configurable digital signal acquisition circuit for a vehicle controller is characterized by comprising a digital quantity switch acquisition module;
the input end of the digital quantity switch acquisition module is connected with one side of the digital quantity switch through a connector and a wire harness, the output end of the digital quantity switch acquisition module is connected with an MCU of a vehicle control unit, the digital quantity switch acquisition module is configured to be matched with a high effective level or a low effective level of the digital quantity switch, and the MCU acquires a digital quantity switch signal of the corresponding digital quantity switch through the configured digital quantity switch acquisition module.
2. The vehicle controller general high-low level configurable digital signal acquisition circuit as claimed in claim 1, wherein the digital quantity switch acquisition module comprises a pull-up resistor (R1), a pull-down resistor (R2), a current limiting resistor (R3), a voltage dividing resistor (R4), a first capacitor (C1) and a second capacitor (C2);
when the digital quantity switch acquisition module is configured to be matched with the high active level of the digital quantity switch, one end of the pull-down resistor (R2) is respectively connected with one end of the first capacitor (C1), one end of the current-limiting resistor (R3) and one side of the digital quantity switch, the other end of the current-limiting resistor (R3) is respectively connected with one end of the resistor (R4), one end of the second capacitor (C2) and the MCU, and the other ends of the pull-down resistor (R2), the voltage-dividing resistor (R4), the first capacitor (C1) and the second capacitor (C2) are grounded;
when the digital quantity switch acquisition module is configured to be matched with the low active level of the digital quantity switch, the pull-up power source end is connected with one end of the pull-up resistor (R1), the other end of the pull-up resistor (R1) is respectively connected with one end of the first capacitor (C1), one end of the current-limiting resistor (R3) and one side of the digital quantity switch, the other end of the current-limiting resistor (R3) is respectively connected with one end of the voltage-dividing resistor (R4), one end of the second capacitor (C2) and the MCU, and the other ends of the voltage-dividing resistor (R4), the first capacitor (C1) and the second capacitor (C2) are grounded.
3. The vehicle control unit general high-low level configurable digital signal acquisition circuit as claimed in claim 2,
the pull-up resistor (R1) is a standard resistor and has a precision of 1%.
4. The vehicle control unit general high-low level configurable digital signal acquisition circuit as claimed in claim 2 or 3,
and selecting the type of the current limiting resistor (R3) according to the MCU pin current filling characteristic and the number of digital signal channels.
5. The vehicle control unit general high-low level configurable digital signal acquisition circuit as claimed in claim 2 or 3,
calculating the resistance values of the pull-up resistor (R1) and the pull-down resistor (R2) according to a prescribed range of wetting current.
6. The vehicle control unit general high-low level configurable digital signal acquisition circuit as claimed in claim 5,
calculating the maximum power according to the resistance value of the pull-up resistor (R1), and obtaining the resistor package according to the maximum power.
7. The vehicle control unit general high-low level configurable digital signal acquisition circuit as claimed in claim 1 or 2,
the number of channels of the digital quantity switch acquisition module is 29 or 30.
CN202011622391.2A 2020-12-31 2020-12-31 General high-low level configurable digital signal acquisition circuit of vehicle control unit Pending CN112835312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011622391.2A CN112835312A (en) 2020-12-31 2020-12-31 General high-low level configurable digital signal acquisition circuit of vehicle control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011622391.2A CN112835312A (en) 2020-12-31 2020-12-31 General high-low level configurable digital signal acquisition circuit of vehicle control unit

Publications (1)

Publication Number Publication Date
CN112835312A true CN112835312A (en) 2021-05-25

Family

ID=75924197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011622391.2A Pending CN112835312A (en) 2020-12-31 2020-12-31 General high-low level configurable digital signal acquisition circuit of vehicle control unit

Country Status (1)

Country Link
CN (1) CN112835312A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114368377A (en) * 2021-09-06 2022-04-19 东风汽车集团股份有限公司 Brake pedal switch signal acquisition device and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202696575U (en) * 2012-07-05 2013-01-23 无锡艾美博特汽车电子设备有限公司 Actual level self-adaption device
CN106471595A (en) * 2014-07-18 2017-03-01 通用电气智能平台有限公司 The universal contact part supporting programmable wetting current inputs
CN210005894U (en) * 2019-06-25 2020-01-31 汉纳森(厦门)数据股份有限公司 Vehicle-mounted switch signal acquisition circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202696575U (en) * 2012-07-05 2013-01-23 无锡艾美博特汽车电子设备有限公司 Actual level self-adaption device
CN106471595A (en) * 2014-07-18 2017-03-01 通用电气智能平台有限公司 The universal contact part supporting programmable wetting current inputs
CN210005894U (en) * 2019-06-25 2020-01-31 汉纳森(厦门)数据股份有限公司 Vehicle-mounted switch signal acquisition circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114368377A (en) * 2021-09-06 2022-04-19 东风汽车集团股份有限公司 Brake pedal switch signal acquisition device and control method thereof

Similar Documents

Publication Publication Date Title
AU2004253143B2 (en) A method and system for bidirectional data and power transmission
JP3731679B2 (en) Multi-node vehicle communication network
US11899076B2 (en) Device for automatic detection of coupling between electronic devices
JPH0126250B2 (en)
CN86104427A (en) Feed is used for the circuit of apparatus surveillance of pneumatic tyre on wheel
JP2008532368A (en) Transceiver
CN112835312A (en) General high-low level configurable digital signal acquisition circuit of vehicle control unit
US11112464B2 (en) Signal output device
CN109455090A (en) The adjustable combination instrument of speed and control method
US10740272B2 (en) Input circuit that can be made redundant, input circuit unit having at least one input circuit, and method for operating the input circuit unit
CN100569555C (en) Vehicle mounted electrical apparatus driving circuit module with fault diagnosis functions
US20100052705A1 (en) Device for detecting the state of a switch
US5146154A (en) Circuit with ratiometric analog inputs
CN112327211A (en) Vehicle-mounted microphone power supply connection state monitoring circuit and method
KR20190112850A (en) Bus system and method for diagnosing a short circuit
JP2851730B2 (en) Programmable controller
CN112859666B (en) General acquisition circuit based on resistance type and voltage type analog signals of whole vehicle controller
US7235976B2 (en) Sensor for measuring the position of an actuating element
US20230251991A1 (en) Device for automatically detecting coupling between electronic devices
US7511651B1 (en) Interface for multiple receivers and a resistor ladder
CN217238193U (en) Vehicle-mounted equipment input large current detection circuit structure
CN218938812U (en) Signal acquisition circuit, signal acquisition equipment and vehicle
KR101409086B1 (en) Judging Circuit For State Of Static Voltage
CN206743200U (en) A kind of servo drive signal control circuit
WO2020037465A1 (en) Signal detection circuit and in-vehicle computer

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