CN203243311U - Switching value detection apparatus based on analog-to-digital converter - Google Patents
Switching value detection apparatus based on analog-to-digital converter Download PDFInfo
- Publication number
- CN203243311U CN203243311U CN 201320229846 CN201320229846U CN203243311U CN 203243311 U CN203243311 U CN 203243311U CN 201320229846 CN201320229846 CN 201320229846 CN 201320229846 U CN201320229846 U CN 201320229846U CN 203243311 U CN203243311 U CN 203243311U
- Authority
- CN
- China
- Prior art keywords
- analog
- digital converter
- resistor
- resistance
- switching value
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
The utility model relates to a level signal detection apparatus being especially suitable for detection of an inputted switching value by an automobile ECU. The apparatus cancels an optical coupler circuit and is provided with three resistors between a 5V voltage and a ground in series; an external signal line can be accessed between a first resistor and a second resistor, a potential drop is divided by the second resistor and a third resistor, and then the external signals are inputted into an analog-to-digital converter through an internal signal line; an internal CPU is used to read an output value of the analog-to-digital converter. The utility model is beneficial in that even if the external wiring is wrong and thus an input voltage is too high, the ECU can also be protected, thereby being free of being damaged; furthermore, fault points can be accurately determined.
Description
Technical field
The utility model relates to a kind of level signal checkout gear, especially is fit to automobile ECU the detection of input switch amount is used.
Background technology
Development along with automotive engineering, traditional directly is abandoned to the mode that drives terminal gradually by switch connection, the employing of more and more car electric systems the bus integration control technology, and then adopt by the ECU(electronic control unit) gather switching signal and the mode that drives terminal, greatly simplified electrical connecting wires.
In the switching quantity detection circuit product design, usually switch one end ground connection, 12V(or 24V) photoelectric coupled circuit among the high level access ECU, this connecting circuit is simple, stable; If but the misconnection of 12V switch high level end has entered the 24V level, then can burn optocoupler, damage ECU.According to statistics, 80% ECU input damages all owing to the external cabling mistake causes, and this damage generally is unrepairable, can only change whole ECU module.
Summary of the invention
The purpose of this utility model provides to be avoided the switch wire connection mistake and damages ECU, and when causing system exception because of wiring error, can accurately judge the fault point based on the switching value detection device of analog to digital converter to remedy the deficiency of prior art.
The utility model for the technical scheme that realizes purpose is: based on the switching value detection device of analog to digital converter, it is characterized in that: three resistance string are set are associated between 5V and the ground, between external signal line access resistance one and the resistance two, and after resistance two and resistance three dividing potential drops, pass through the internal signal wire input analog-to-digital converter, read the output valve of this analog to digital converter by innernal CPU.
Optimize, external signal line is through resistance two and resistance three dividing potential drops.
Optimize, use analog to digital converter to gather the value of external signal after dividing potential drop.
The beneficial effects of the utility model are: even during the external cabling mistake, input voltage is too high, also can effectively protect ECU, makes it can not damage.Simultaneously, also can accurately judge the fault point.
Description of drawings
Fig. 1 is the structural representation of the utility model embodiment.
Embodiment
Embodiment:
At present auto electric high level commonly used has two kinds of 12V and 24V, and the utility model has been cancelled the optocoupler design, solves to guarantee can not damage hardware circuit in the situation of wrong level.Specific implementation method is as follows:
This device of access between ECU and outside level:
Design R1, R2, three resistance of R3 are connected between 5V and the ground, are analog to digital converter from obtaining signal AD0 between R3 and the R2 by internal signal wire 2 access A/D converter 1(), and external signal is by between external signal line 3 input R2 and the R1.Capacitor C 1 is eliminated out the input voltage transient fluctuation, C2 then be to A the input signal of D transducer 1 carry out simple filtering and process.
As shown in Figure 1, when outside high level access 24V, AD0=24V * (R3/ (R1+R2))=24V * (180/ (180+680)) ≈ 5.023V; When outside high level access 12V, AD0=12V * (R3/ (R1+R2))=12V * (180/ (180+680)) ≈ 2.511V; When outside input grounding, AD0=0V; When break in the outside, AD0=5V * (R3/ (R1+R2))=5V * (180/ (180+180+680)) ≈ 0.865V.Therefore only needing to select a input range is that the A/D converter 1 of 0~5V gets final product, and the precision of A/D converter 1 does not need too high yet, and 8 get final product.
Analog to digital converter 1 rear portion digital signal is sent into single-chip microcomputer and is processed.
Utilize the MCU of ECU to read the A/D value, if read value be 5V, obviously the 24V level has been accessed in the outside; If read value be 2.5V, then the 12V level has been accessed in the outside; If read value be 0V, then external ground; If read value be 0.8V, outside broken string then.As for the feedback of data result, then can utilize CAN bus data bag, transformation result is sent on the diagnosis terminal.
Claims (1)
1. based on the switching value detection device of analog to digital converter, it is characterized in that: three resistance string are set are associated between 5V and the ground, between external signal line access resistance one and the resistance two, after resistance two and resistance three dividing potential drops, by the internal signal wire input analog-to-digital converter, read the output valve of this analog to digital converter by innernal CPU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201320229846 CN203243311U (en) | 2013-04-28 | 2013-04-28 | Switching value detection apparatus based on analog-to-digital converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201320229846 CN203243311U (en) | 2013-04-28 | 2013-04-28 | Switching value detection apparatus based on analog-to-digital converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203243311U true CN203243311U (en) | 2013-10-16 |
Family
ID=49320564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201320229846 Expired - Lifetime CN203243311U (en) | 2013-04-28 | 2013-04-28 | Switching value detection apparatus based on analog-to-digital converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203243311U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104914376A (en) * | 2015-05-08 | 2015-09-16 | 武汉合康动力技术有限公司 | Digital circuit state detection circuit and digital circuit state detection method |
CN106646036A (en) * | 2016-11-28 | 2017-05-10 | 北京动力源科技股份有限公司 | Switching value detection circuit and method, and electronic device |
CN108258978A (en) * | 2018-03-07 | 2018-07-06 | 深圳市沃特沃德股份有限公司 | Motor control assembly |
CN108352839A (en) * | 2015-11-11 | 2018-07-31 | 三菱电机株式会社 | A/D conversion equipments |
-
2013
- 2013-04-28 CN CN 201320229846 patent/CN203243311U/en not_active Expired - Lifetime
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104914376A (en) * | 2015-05-08 | 2015-09-16 | 武汉合康动力技术有限公司 | Digital circuit state detection circuit and digital circuit state detection method |
CN108352839A (en) * | 2015-11-11 | 2018-07-31 | 三菱电机株式会社 | A/D conversion equipments |
CN108352839B (en) * | 2015-11-11 | 2023-02-21 | 三菱电机株式会社 | A/D converter |
CN106646036A (en) * | 2016-11-28 | 2017-05-10 | 北京动力源科技股份有限公司 | Switching value detection circuit and method, and electronic device |
CN108258978A (en) * | 2018-03-07 | 2018-07-06 | 深圳市沃特沃德股份有限公司 | Motor control assembly |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203243311U (en) | Switching value detection apparatus based on analog-to-digital converter | |
CN204203687U (en) | A kind of analogue quantity output circuit | |
CN102565563B (en) | For robotization integrated test system and the method for automotive electronics electric system | |
CN108021122B (en) | Vibration test fault diagnosis method for aircraft engine | |
US11899076B2 (en) | Device for automatic detection of coupling between electronic devices | |
CN103529346B (en) | Circuit fault diagnosis method and device | |
CN109283424B (en) | Testing device and method for four-port sensor signal deconcentrator with LED | |
CN112327211B (en) | Vehicle-mounted microphone power supply connection state monitoring circuit and method | |
CN109445368A (en) | Data collecting card | |
CN211123726U (en) | Analog input acquisition circuit | |
CN203287033U (en) | Automotive electronic control unit self-diagnostic sensor signal detection circuit | |
CN103713551A (en) | Switching amount, frequency amount and analog voltage amount multiplexing input port sampling apparatus | |
CN102497194A (en) | Voltage sampling method and voltage sampling circuit | |
CN204044227U (en) | vehicle-mounted fuse current measuring device | |
CN213069107U (en) | Current acquisition circuit and power battery based on single current sensor | |
CN209992650U (en) | Battery wire harness detection circuit | |
CN209231748U (en) | Data collecting card | |
CN204462836U (en) | The electromagnetic compatibility test load box of automobile straight fuel-injection engine controller | |
CN203444256U (en) | Signal processing circuit for intelligent product | |
CN210981427U (en) | Fuel liquid level detection device | |
CN112350709A (en) | Multi-protection current input interface circuit | |
CN210016423U (en) | Motor control device | |
CN214479836U (en) | Intelligent distribution box for vehicle detection system | |
CN207623395U (en) | A kind of divider of ontology and second divided voltage plate Phototube Coupling | |
CN204807318U (en) | Multipurpose sensor detection case for automobile engine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20131016 |
|
CX01 | Expiry of patent term |