CN216351860U - IO detection same key detection device system with multiple processors - Google Patents
IO detection same key detection device system with multiple processors Download PDFInfo
- Publication number
- CN216351860U CN216351860U CN202122861851.3U CN202122861851U CN216351860U CN 216351860 U CN216351860 U CN 216351860U CN 202122861851 U CN202122861851 U CN 202122861851U CN 216351860 U CN216351860 U CN 216351860U
- Authority
- CN
- China
- Prior art keywords
- key
- processor
- detection
- diode
- processors
- 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.)
- Active
Links
Images
Abstract
The utility model relates to a device system for detecting the same key by IO detection of a plurality of processors, belonging to the technical field of processor key detection. The detection circuit comprises a plurality of detection circuits, each detection circuit comprises a resistor and a diode, the two ends of the resistor are respectively connected with an IO port of the processor and a power supply VDD of the processor, the IO port of the processor is connected with an anode of the diode, a cathode of the diode of each detection circuit is connected with a key, and the other end of the key is grounded. The utility model has the beneficial effects that: the realization is simple and the cost is low; IO electric leakage does not exist; any processor can detect the key once being powered on, and whether other processors are powered on or not is not required.
Description
Technical Field
The utility model relates to a device system for detecting the same key by IO detection of a plurality of processors, belonging to the technical field of processor key detection.
Background
In a multi-processor system, it may happen that two (or more) processors detect the same key. Conventionally, because processors are often not powered on simultaneously, IO leakage occurs, which results in a detection error of a processor key. This requires that all processors must be powered up to enable key detection. This limits the flexibility of key detection.
Disclosure of Invention
In order to overcome the defects of the prior art, the utility model provides the device for detecting the IO of the processors by detecting the same key, and the IO of the processors is detected by utilizing the characteristics that the key is effective at a low level and the diode has unidirectional conductivity.
The utility model is realized by the following technical scheme: the utility model provides a same button detection device system of a plurality of treater IO detection which characterized in that: the detection circuit comprises a plurality of detection circuits, each detection circuit comprises a resistor and a diode, the two ends of the resistor are respectively connected with an IO port of the processor and a power supply VDD of the processor, the IO port of the processor is connected with an anode of the diode, a cathode of the diode of each detection circuit is connected with a key, and the other end of the key is grounded.
The utility model has the beneficial effects that: the realization is simple and the cost is low; IO electric leakage does not exist; any processor can detect the key once being powered on, and whether other processors are powered on or not is not required.
Drawings
The utility model is further illustrated below with reference to the figures and examples.
FIG. 1 is a circuit diagram of an embodiment of the present invention;
FIG. 2 is a diagram of conventional dual processor key detection;
FIG. 3 is a schematic diagram of a processor of the present invention when unpowered;
FIG. 4 is a diagram illustrating a third processor detecting a same key according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a multiprocessor detecting the same key according to an embodiment of the present invention.
Detailed Description
A system for detecting a same key by multiple processors IO as shown in fig. 1 to 5, is characterized in that: the detection circuit comprises a plurality of detection circuits, each detection circuit comprises a resistor and a diode, the two ends of the resistor are respectively connected with an IO port of the processor and a power supply VDD of the processor, the IO port of the processor is connected with an anode of the diode, a cathode of the diode of each detection circuit is connected with a key, and the other end of the key is grounded.
The key detection is realized by utilizing the characteristic that the key is effective at low level and the unidirectional conductivity of the diode:
1. when the key is pressed low, all diodes conduct and both (or more) processed IO go low. All the MCUs detect that the keys are pressed down;
2. when the key is released, the high resistance is realized, the diode is disconnected, the IO port is pulled up to a high level by the IO power supply of the processor corresponding to the IO port, and the processor detects that the key is released;
3. if one (or more) of the processors is powered down, its corresponding IO goes low and its corresponding diode is non-conductive. The detection of the key by other processors is not influenced.
As shown in fig. 1, two processors are taken as an example, one processor is an MPU and its corresponding power supply MPU _ VDD, and the other processor is an MCU and its corresponding power supply MCU _ VDD. The IO of the MPU is pulled up to MPU _ VDD through R1, and the IO of the MCU is pulled up to MCU _ VDD through R2. Two IO series diodes D1/D2 are respectively connected with the KEY 1. The anode of the diode D1/D2 is connected with the IO port, and the cathode is connected with the KEY 1.
As shown in fig. 3, assuming that the processor MPU is powered off, the MPU _ VDD voltage of its corresponding power supply is 0, and the diode D2 is not conductive, and another processing is that the MCU is normal, and its corresponding power supply is powered on for the MCU _ VDD, and the diode D1 is conductive. Fig. 4 and 5 show schematic diagrams of three processors detecting the same key and a multi-processor detecting the same key, respectively.
Claims (1)
1. The utility model provides a same button detection device system of a plurality of treater IO detection which characterized in that: the detection circuit comprises a plurality of detection circuits, each detection circuit comprises a resistor and a diode, the two ends of the resistor are respectively connected with an IO port of the processor and a power supply VDD of the processor, the IO port of the processor is connected with an anode of the diode, a cathode of the diode of each detection circuit is connected with a key, and the other end of the key is grounded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202122861851.3U CN216351860U (en) | 2021-11-19 | 2021-11-19 | IO detection same key detection device system with multiple processors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202122861851.3U CN216351860U (en) | 2021-11-19 | 2021-11-19 | IO detection same key detection device system with multiple processors |
Publications (1)
Publication Number | Publication Date |
---|---|
CN216351860U true CN216351860U (en) | 2022-04-19 |
Family
ID=81151530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202122861851.3U Active CN216351860U (en) | 2021-11-19 | 2021-11-19 | IO detection same key detection device system with multiple processors |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN216351860U (en) |
-
2021
- 2021-11-19 CN CN202122861851.3U patent/CN216351860U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8443130B2 (en) | USB port detecting circuit | |
US10910818B2 (en) | Anti-short-circuit detection apparatus and user terminal | |
US9583893B2 (en) | Polarity control for a flat connector | |
US9270062B2 (en) | Electronic device and connector detection circuit thereof | |
US20100253554A1 (en) | Ghost key detecting circuit and related method | |
US20120098461A1 (en) | Power supply detecting circuit | |
CN104216497A (en) | Power supply fault detection device and method | |
CN102999414B (en) | Fan circuit for detecting | |
CN216351860U (en) | IO detection same key detection device system with multiple processors | |
TWI697004B (en) | Power quality detecting system and power quality detecting module | |
CN210609103U (en) | Reset detection circuit and electronic equipment | |
CN212989475U (en) | Power failure detection circuit and power consumption equipment | |
CN212622995U (en) | Detection circuit and electronic equipment | |
US10573997B1 (en) | Power supply unit with connector protection circuit | |
CN212410835U (en) | Detection circuit of alternating current input line and socket with detection circuit | |
CN206060277U (en) | A kind of battery management system with defencive function | |
CN209477857U (en) | A kind of workpiece sensing equipment | |
TWI726332B (en) | Motherboard battery detection device | |
US8297834B2 (en) | Temperature indication apparatus | |
JP2017203727A (en) | Short circuit detection circuit | |
CN203203765U (en) | Water leakage alarm device for underwater autonomous unmanned vehicle | |
US8988234B2 (en) | Alarm system | |
CN112286739B (en) | Motherboard battery detecting device | |
CN217238234U (en) | Direct current cooling fan fault detection circuit and fan system | |
CN216794662U (en) | Charging control circuit based on sound system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |