CN218449833U - Active and passive shared input circuit and configurable multifunctional input device - Google Patents

Active and passive shared input circuit and configurable multifunctional input device Download PDF

Info

Publication number
CN218449833U
CN218449833U CN202222098858.9U CN202222098858U CN218449833U CN 218449833 U CN218449833 U CN 218449833U CN 202222098858 U CN202222098858 U CN 202222098858U CN 218449833 U CN218449833 U CN 218449833U
Authority
CN
China
Prior art keywords
input
branch
interface
resistor
configuration
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
Application number
CN202222098858.9U
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.)
Zhengzhou Smartgen Technology Co Ltd
Original Assignee
Zhengzhou Smartgen Technology 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 Zhengzhou Smartgen Technology Co Ltd filed Critical Zhengzhou Smartgen Technology Co Ltd
Priority to CN202222098858.9U priority Critical patent/CN218449833U/en
Application granted granted Critical
Publication of CN218449833U publication Critical patent/CN218449833U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model provides an active and passive shared input circuit and a configurable multifunctional input device, wherein the active and passive shared input circuit comprises a configuration branch, a shared input branch and a sampling output branch, and the input end of the sampling output branch is respectively connected with the output end of the configuration branch and the output end of the shared input branch; the input end of the configuration branch is used as a configuration interface, and the configuration interface is used for connecting an external control device I; the input end of the common input branch is used as a common input interface, and the common input interface is used for connecting active input equipment or passive input equipment; and the output end of the sampling output branch circuit is used as an output interface which is used for connecting an external control device II. The utility model discloses can realize external active input and passive input function, help realizing the miniaturized development of controller.

Description

Active and passive shared input circuit and configurable multifunctional input device
Technical Field
The utility model relates to a power electronic technology field, specific theory has related to an active passive sharing input circuit and can dispose multi-functional input device.
Background
At present, the dual-power automatic switching controller gradually develops towards miniaturization, and simultaneously, the requirements on the powerful function, the simple circuit and the ultra-strong anti-interference capability of a hardware circuit are higher and higher, but the requirement on the function diversification of the hardware circuit of the dual-power automatic switching controller is met, so that the sampling required by the controller is more and more diversified, therefore, in practical application, the external input PIN interface comprises active input and passive input, and when the active input or the passive input is carried out, the low level is possibly effective, and the high level is also possibly effective.
In electronic and automatic control, the digital signal is binary, i.e. only a 0 signal and a 1 signal, a high level indicating a high state of voltage, denoted 1, and a low level indicating a low state of voltage, denoted 0. For a certain input port, after a low level 0 is added to a certain port of a chip, the logic operation function of the chip can be started, so that the port is called to be effective at a low level; after a certain port of the chip is added with a high level 1, the logic operation function of the chip can be started, so that the port is called as 'high level effective'.
The active input and low level are active, the active input and high level are active, the passive input and low level are active, and the passive input and high level are active, and generally correspond to one input circuit respectively;
if only one input circuit is set in consideration of miniaturization development, a hardware engineer can change the printed board back and forth, and after the printed board is changed, a series of experiments are subsequently performed to verify whether the changed content meets the requirements of customers, so that the production efficiency of the dual-power-supply controller is influenced, and the cost is increased;
however, if four types of input circuits are provided in consideration of the compatibility of the hardware circuit, the circuit structure is complicated, and the miniaturization is not facilitated.
In order to solve the above problems, people are always seeking an ideal technical solution.
Disclosure of Invention
The utility model aims at the not enough of prior art to an active passive sharing input circuit and configurable multi-functional input device are provided.
In order to realize the purpose, the utility model discloses the technical scheme who adopts is:
the utility model discloses a first aspect provides an active passive sharing input circuit, it includes configuration branch road, sharing input branch road and sampling output branch road, the input of sampling output branch road connects the output of configuration branch road and the output of sharing input branch road respectively;
the input end of the configuration branch is used as a configuration interface, and the configuration interface is used for connecting an external control device I;
the input end of the common input branch is used as a common input interface, and the common input interface is used for connecting active input equipment or passive input equipment;
and the output end of the sampling output branch circuit is used as an output interface which is used for connecting an external control device II.
A second aspect of the present invention provides a configurable multi-function input device, comprising a first power source, a second power source, an external control device i, an external control device ii, and the above-mentioned active and passive shared input circuit, wherein,
the first power supply is connected with a configuration branch of the active passive shared input circuit, and the second power supply is connected with a sampling output branch of the active passive shared input circuit;
the external control equipment I is connected with a configuration interface of the active and passive shared input circuit, and the external control equipment II is connected with an output interface of the active and passive shared input circuit.
The utility model has the advantages that:
1) The utility model provides an active and passive shared input circuit, which can share the same input circuit no matter the active input or the passive input is connected, and does not need a hardware engineer to change a printed board back and forth, thereby being beneficial to the development of a dual-power automatic switching controller towards miniaturization; the circuit structure is simple, the required devices are few, the cost is low, and the anti-interference capability is super strong;
2) The utility model also sets a configuration branch and a configuration interface, and the user can configure the active high/low level to be effective and then realize the active access through the high/low level of the configuration interface, or configure the passive input to be effective and then realize the passive access through the high/low level of the configuration interface, the operation is simple and convenient, and the working efficiency is high;
3) The utility model also provides a configurable multifunctional input device, which can realize the effective configuration of high/low level through the output of the external control equipment I, and further realize the active/passive input function of the controller;
4) The utility model is suitable for a abominable industrial environment to superstrong interference killing feature has.
Drawings
FIG. 1 is a schematic circuit diagram of the present invention;
fig. 2 is a first schematic structural diagram of the present invention;
fig. 3 is a schematic structural diagram of the present invention.
Detailed Description
The technical solution of the present invention will be described in further detail through the following embodiments.
Example 1
Fig. 2 and fig. 3 are schematic structural diagrams illustrating an active-passive shared input circuit, where the active-passive shared input circuit includes a configuration branch, a shared input branch, and a sampling output branch, and input ends of the sampling output branches are respectively connected to an output end of the configuration branch and an output end of the shared input branch; the input end of the configuration branch is used as a configuration interface, and the configuration interface is used for connecting an external control device I; the input end of the common input branch is used as a common input interface, and the common input interface is used for connecting active input equipment or passive input equipment; and the output end of the sampling output branch circuit is used as an output interface, and the output interface is used for connecting an external control device II.
The configuration interface is used as an effective configuration input port of a high/low level of the circuit, and the output interface is used as an input state judgment port of the circuit.
As shown in fig. 1, the configuration branch includes a triode Q1, a resistor R2, a resistor R3, and a diode D1, the base of the triode Q1 is connected to the configuration interface through the resistor R2, the base of the triode Q1 is further connected to the emitter of the triode Q1 through the resistor R1, and the resistor R1 and the emitter of the triode Q1 are further configured to be connected to a first power supply, respectively;
the collector of the triode Q1 is connected with the anode of the diode D1 through the resistor R3, and the cathode of the diode D1 is used as the output end of the configuration branch.
Wherein the first power supply provides a divided voltage power supply; the diode D1 plays a role in reverse connection prevention, and can effectively protect the impact of high level input to the common input branch (PIN interface) on the active and passive common input circuit.
It should be noted that when the input end of the configuration branch receives a low level signal, the triode Q1 in the configuration branch is turned on; the common input interface (PIN interface) inputs active low; when the input end of the configuration branch circuit receives a high level signal, the triode Q1 in the configuration branch circuit is cut off, and the input high level of the common input interface (PIN interface) is effective.
It can be understood that the common input branch is used as a switching value input circuit, and can be externally connected with an active input or an external passive input;
as shown in fig. 1, the common input branch includes a bidirectional TVS tube D4, a magnetic bead L1, a resistor R6, and a resistor R7, the bidirectional TVS tube D4 is disposed between the common input interface and a ground terminal, one end of the magnetic bead L1 is connected to the common input interface, and the other end of the magnetic bead L1 is used as an output end of the common input branch;
the resistor R6 and the resistor R7 are connected in parallel between the output end of the common input branch and the ground end.
The bidirectional TVS tube D4 can absorb instantaneous high-power pulses in the positive direction and the negative direction and clamp the voltage to a preset level, so that internal components of the circuit are effectively protected from being damaged; the magnetic bead L1 is used for filtering high-frequency noise and spike interference on the input PIN interface, and has the capacity of absorbing electrostatic pulses in addition so as to eliminate the influence of external interference on the circuit and improve the anti-interference capacity of the whole circuit.
As shown in fig. 1, the sampling output branch includes a diode D2, a diode D3, a resistor R4, a resistor R5, and a capacitor C1, a cathode of the diode D2 is used for connecting to a second power supply, an anode of the diode D2 is respectively connected to a cathode of the diode D3, one end of the resistor R4, and one end of the resistor R5, an anode of the diode D3 is connected to a ground terminal, another end of the resistor R4 is used as an input end of the sampling output branch, and another end of the resistor R5 is used as an output end of the sampling output branch;
and the capacitor C1 is connected between the output end of the sampling output branch and the grounding end.
The diode D2 and the diode D3 play a clamping role, and clamp the input voltage at 0V-3.3V so as to protect the input of external control equipment from being damaged due to overvoltage; the capacitor C1 is used for filtering external interference, eliminating the influence of the external interference on the single chip microcomputer and improving the anti-interference capability of the whole circuit.
Example 2
On the basis of embodiment 1, this embodiment provides a specific implementation of a configurable multifunctional input device, which includes a first power supply, a second power supply, an external control device i, an external control device ii, and the active-passive shared input circuit in embodiment 1, wherein,
the first power supply is connected with a configuration branch of the active passive shared input circuit, and the second power supply is connected with a sampling output branch of the active passive shared input circuit;
the external control equipment I is connected with a configuration interface of the active and passive shared input circuit, and the external control equipment II is connected with an output interface of the active and passive shared input circuit.
In a specific embodiment, the external control device i and the external control device ii are the same controller, as shown in fig. 2; in another specific embodiment, the external control device i is an upper computer, and the external control device ii is a controller, as shown in fig. 3.
Specifically, the controller may be a single chip microcomputer or other devices capable of implementing the above functions.
It should be noted that, the configurable multifunctional input device can configure its effective condition for the external active input or passive input through the first power supply, the second power supply, the controller and the active and passive shared input circuit in embodiment 1 by setting the configuration interface: whether the high level is effective or the low level is effective has super-strong anti-interference capability.
In a specific embodiment, the configuration interface is connected to a Switch _ In1_ Set interface of the single chip microcomputer and used as a high/low level effective configuration input port of the device; the output interface is connected to a Switch _ In1 interface of the singlechip and is used as an input state judgment port of the device;
when the configuration interface is configured into low-level output through the Switch _ In1_ Set interface of the single chip microcomputer, the triode Q1 is conducted, and at the moment, the working state of the device is that the input low level of the common input interface (external input PIN interface) is effective, as shown In the following table:
Figure 43721DEST_PATH_DEST_PATH_IMAGE002
1) The common input interface (external input PIN interface) is active input
The diode D1 of the configuration branch is cut off, current is limited through the resistors R4 and R5 of the sampling output branch, the current is clamped and protected by the diodes D2 and D3, a power supply is clamped to 3.3V, the output interface is at a high level (3.3V), the Switch _ In1 interface state of the single chip microcomputer is judged to be at the high level, and at the moment, the single chip microcomputer considers that an input signal of the common input interface is invalid;
2) The common input interface (external input PIN interface) is passive input
The diode D1 of the configuration branch is conducted, the output interface is at a low level (0V), the Switch _ In1 interface state of the single chip microcomputer is judged to be at the low level, and at the moment, the single chip microcomputer considers the input signal of the common input interface as effective input;
3) When the common input interface (external input PIN interface) is suspended
The diode D1 of the configuration branch circuit is conducted, the resistor R3 of the configuration branch circuit and the resistor R7 of the common input branch circuit form a voltage division circuit, an output interface is at a high level (3.3V), the Switch _ In1 interface state of the single chip microcomputer is judged to be at the high level, and at the moment, the single chip microcomputer considers that an input signal of the common input interface is invalid;
therefore, the single chip microcomputer can effectively distinguish whether the access signal of the common input interface is passively input or not through different sampling voltage values at the network interface Switch _ In1 according to the low-level effective function of the single chip microcomputer.
In another specific embodiment, when the configuration interface is configured to be output at a high level through the Switch _ In1_ Set interface of the single chip, the transistor Q1 of the configuration branch is turned off, and at this time, the working state of the apparatus is that the input at the common input interface (external input PIN interface) is high level and valid, as shown In the following table:
Figure 970089DEST_PATH_DEST_PATH_IMAGE004
1) The common input interface (external input PIN interface) is active input
The current is limited through resistors R4 and R5 of the sampling output branch, the current is clamped and protected by diodes D2 and D3, a power supply is clamped to 3.3V, the output interface is at a high level (3.3V), the Switch _ In1 interface state of the single chip microcomputer is judged to be at the high level, and at the moment, the single chip microcomputer considers that an input signal of the common input interface is effective input;
2) The common input interface (external input PIN interface) is a passive input
The output interface is connected to a grounding terminal through resistors R4 and R5 of the sampling output branch, the output interface is at a low level (0V), the Switch _ In1 interface state of the single chip microcomputer is judged to be at the low level, and at the moment, the single chip microcomputer considers that the input signal of the common input interface is invalid input;
3) When the common input interface (external input PIN interface) is suspended
The output interface is connected to a ground end through resistors R4 and R5 of the sampling output branch circuit and a resistor R6 and a resistor R7 of the common input branch circuit, the output interface is at a low level (0V), the Switch _ In1 interface state of the single chip microcomputer is judged to be at the low level, and at the moment, the single chip microcomputer considers that an input signal of the common input interface is invalid;
therefore, the single chip microcomputer can effectively distinguish whether the access signal of the common input interface is active input or not through different sampling voltage values at the network interface Switch _ In1 according to the high-level effective function of the single chip microcomputer.
Specifically, the first power supply and the second power supply are provided with a working power supply by a power supply module, the first power supply is +5V, and the second power supply is +3.3V.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention and not to limit it; although the present invention has been described in detail with reference to preferred embodiments, it should be understood by those skilled in the art that: the invention can be modified or equivalent substituted for some technical features; without departing from the spirit of the technical solution of the present invention, the present invention should be covered by the technical solution of the present invention.

Claims (7)

1. An active passive shared input circuit, characterized by: the sampling circuit comprises a configuration branch, a common input branch and a sampling output branch, wherein the input end of the sampling output branch is respectively connected with the output end of the configuration branch and the output end of the common input branch;
the input end of the configuration branch is used as a configuration interface, and the configuration interface is used for connecting an external control device I;
the input end of the common input branch is used as a common input interface, and the common input interface is used for connecting active input equipment or passive input equipment;
and the output end of the sampling output branch circuit is used as an output interface which is used for connecting an external control device II.
2. The active passive shared input circuit of claim 1, wherein: the configuration branch comprises a triode Q1, a resistor R2, a resistor R3 and a diode D1, the base electrode of the triode Q1 is connected with the configuration interface through the resistor R2, the base electrode of the triode Q1 is also connected with the emitting electrode of the triode Q1 through the resistor R1, and the resistor R1 and the emitting electrode of the triode Q1 are also used for being respectively connected with a first power supply;
and the collector electrode of the triode Q1 is connected with the anode of the diode D1 through the resistor R3, and the cathode of the diode D1 is used as the output end of the configuration branch.
3. The active passive shared input circuit of claim 1, wherein: the common input branch comprises a bidirectional TVS tube D4, a magnetic bead L1, a resistor R6 and a resistor R7, the bidirectional TVS tube D4 is arranged between the common input interface and a grounding end, one end of the magnetic bead L1 is connected with the common input interface, and the other end of the magnetic bead L1 is used as the output end of the common input branch;
the resistor R6 and the resistor R7 are connected in parallel between the output end of the common input branch and the ground end.
4. The active passive shared input circuit of claim 1, wherein: the sampling output branch comprises a diode D2, a diode D3, a resistor R4, a resistor R5 and a capacitor C1, wherein the cathode of the diode D2 is used for being connected with a second power supply, the anode of the diode D2 is respectively connected with the cathode of the diode D3, one end of the resistor R4 and one end of the resistor R5, the anode of the diode D3 is connected with a grounding end, the other end of the resistor R4 is used as the input end of the sampling output branch, and the other end of the resistor R5 is used as the output end of the sampling output branch;
and the capacitor C1 is connected between the output end of the sampling output branch and the grounding end.
5. A configurable multi-function input device, comprising: comprising a first power supply, a second power supply, an external control device I, an external control device II, and an active passive shared input circuit as claimed in any one of claims 1 to 4,
the first power supply is connected with a configuration branch of the active passive shared input circuit, and the second power supply is connected with a sampling output branch of the active passive shared input circuit;
the external control equipment I is connected with a configuration interface of the active passive shared input circuit, and the external control equipment II is connected with an output interface of the active passive shared input circuit.
6. A configurable multi-function input device as recited in claim 5, wherein: the external control equipment I and the external control equipment II are the same controller.
7. A configurable multi-function input device as recited in claim 5, wherein: the external control equipment I is an upper computer, and the external control equipment II is a controller.
CN202222098858.9U 2022-08-10 2022-08-10 Active and passive shared input circuit and configurable multifunctional input device Active CN218449833U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202222098858.9U CN218449833U (en) 2022-08-10 2022-08-10 Active and passive shared input circuit and configurable multifunctional input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202222098858.9U CN218449833U (en) 2022-08-10 2022-08-10 Active and passive shared input circuit and configurable multifunctional input device

Publications (1)

Publication Number Publication Date
CN218449833U true CN218449833U (en) 2023-02-03

Family

ID=85092730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202222098858.9U Active CN218449833U (en) 2022-08-10 2022-08-10 Active and passive shared input circuit and configurable multifunctional input device

Country Status (1)

Country Link
CN (1) CN218449833U (en)

Similar Documents

Publication Publication Date Title
CN218449833U (en) Active and passive shared input circuit and configurable multifunctional input device
CN205910520U (en) Power control chip and be provided with electronic equipment of this chip
CN210899112U (en) Electronic switch circuit with low power consumption
CN110445216B (en) Charging chip
CN202906437U (en) Input undervoltage protection circuit
CN215580886U (en) Drive circuit, circuit board assembly, and electronic device
CN212380941U (en) Overvoltage and surge protection circuit and electronic equipment
CN210247032U (en) Anti-impact circuit for startup and shutdown
CN215010090U (en) Motor drive circuit of dispensing system
CN215120095U (en) Power supply circuit
CN211720540U (en) Optical coupling control circuit
CN210867630U (en) Solid state relay circuit
CN210753900U (en) Sorter circuit
CN112833516B (en) Communication circuit of indoor unit and outdoor unit of air conditioner and air conditioner
CN216286563U (en) Power supply circuit and mainboard
CN214756058U (en) Circuit for adaptively adjusting positive-pressure and negative-pressure amplitude of MOS (metal oxide semiconductor) tube drive
CN216449021U (en) Switching value input/output switching circuit of instrument
CN220553999U (en) Integrated circuit for electronic switch
CN117978152B (en) Push-pull circuit, device and system capable of switching output level of pulse width modulation signal
CN212367132U (en) Feedback push-free circuit
CN216013588U (en) Switch detection circuit and detection device
CN213484842U (en) Anti-interference circuit structure of sensitive signal
CN214851013U (en) Power supply switching circuit and power supply switching device
CN212572513U (en) Digital quantity input circuit and equipment
CN217789657U (en) Level conversion circuit for cradle head

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant