CN214311353U - Switching value acquisition control circuit and device - Google Patents

Switching value acquisition control circuit and device Download PDF

Info

Publication number
CN214311353U
CN214311353U CN202023139524.9U CN202023139524U CN214311353U CN 214311353 U CN214311353 U CN 214311353U CN 202023139524 U CN202023139524 U CN 202023139524U CN 214311353 U CN214311353 U CN 214311353U
Authority
CN
China
Prior art keywords
module
electrically connected
resistor
switching value
value acquisition
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
CN202023139524.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.)
Shenzhen JWIPC Technology Co Ltd
Original Assignee
Shenzhen JWIPC 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 Shenzhen JWIPC Technology Co Ltd filed Critical Shenzhen JWIPC Technology Co Ltd
Priority to CN202023139524.9U priority Critical patent/CN214311353U/en
Application granted granted Critical
Publication of CN214311353U publication Critical patent/CN214311353U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model discloses a switching value acquisition control circuit and device, include: the control module, the interface conversion module, the serial port current anti-irrigation module, the switching value acquisition module and the buzzer driving module; the interface conversion module, the switching value acquisition module and the buzzer driving module are respectively electrically connected with the control module, and the serial port current anti-irrigation module is electrically connected with the interface conversion module; the switching value acquisition module is electrically connected with a GPIO port of the integrated circuit; the control module is used for monitoring the acquisition signal of the switching value acquisition module in real time; the interface conversion module is used for converting the USB signal into a UART serial port signal; the serial port current anti-flowing module is used for realizing the switch protection of the interface conversion module; the buzzer driving module is used for indicating the state of the collected signal of the switching value collecting module. The utility model discloses can realize the reliable collection to the switching value for the switching signal who treats the collection has stronger interference immunity.

Description

Switching value acquisition control circuit and device
Technical Field
The utility model relates to a signal acquisition technical field especially relates to a switching value acquisition control circuit.
Background
The common circuit collects quantities, which can be divided into switching quantities, digital quantities, analog quantities and pulse quantities. The acquisition and monitoring of signals such as switching value, digital value, analog value, pulse value and the like are necessary processes of industrial production and are important steps for ensuring the normal work of equipment. However, the existing switching value signal acquisition device has complex circuit and weak anti-interference performance, and cannot realize reliable work. Therefore, the invention of a switching value acquisition control circuit is a problem to be solved urgently by those skilled in the art.
SUMMERY OF THE UTILITY MODEL
The to-be-solved technical problem of the utility model lies in, to the above-mentioned defect of prior art, a switching value acquisition control circuit and device are provided.
In a first aspect, the utility model discloses a switching value acquisition control circuit, which comprises a control module, an interface conversion module, a serial port current anti-irrigation module, a switching value acquisition module and a buzzer driving module; the interface conversion module, the switching value acquisition module and the buzzer driving module are respectively electrically connected with the control module, and the serial port current anti-irrigation module is electrically connected with the interface conversion module; the switching value acquisition module is electrically connected with a GPIO port of the integrated circuit; the control module is used for monitoring the acquisition signal of the switching value acquisition module in real time; the interface conversion module is used for converting the USB signal into a UART serial port signal; the serial port current anti-flowing module is used for realizing the switch protection of the interface conversion module; the buzzer driving module is used for indicating the state of the collected signal of the switching value collecting module.
Preferably, the interface conversion module comprises a USB interface, a USB to UART conversion chip and a crystal oscillator; the USB interface is respectively electrically connected with an input power supply and the USB-to-UART conversion chip, and the USB-to-UART conversion chip is respectively electrically connected with the input power supply and the crystal oscillator.
Preferably, the serial port current anti-irrigation module comprises a first triode, a first resistor, a second resistor, a third resistor and a first diode; the emitting electrode of the first triode is electrically connected with the USB-to-UART conversion chip, the collecting electrode of the first triode is electrically connected with the control module and the first end of the first resistor respectively, the second end of the first resistor is electrically connected with the input power supply, the base electrode of the first triode is electrically connected with the first end of the second resistor, the second end of the second resistor is electrically connected with the first end of the third resistor, the second end of the third resistor is electrically connected with the USB-to-UART conversion chip and the first end of the first diode respectively, and the second end of the first diode is electrically connected with the control module.
Preferably, the switching value acquisition module includes an optical coupling isolator, a first light emitting diode, a second diode, a fourth resistor and a fifth resistor; the first end of the fourth resistor is an acquisition quantity signal input end, the second end of the fourth resistor is respectively electrically connected with the second diode and the first end of the first light emitting diode, the second end of the first light emitting diode is electrically connected with the first end of the optical coupling isolator, the second end of the optical coupling isolator is grounded, the first end of the fifth resistor is electrically connected with the third end of the optical coupling isolator, the third end of the optical coupling isolator is electrically connected with the control module, the second end of the fifth resistor is electrically connected with the input power supply, and the fourth end of the optical coupling isolator is grounded.
Preferably, the buzzer driving module includes a second light emitting diode, a sixth resistor, a seventh resistor, an eighth resistor, a second triode, and a buzzer; the first end of the sixth resistor is electrically connected with the control module, the second end of the sixth resistor is electrically connected with the second light-emitting diode, the first end of the seventh resistor is electrically connected with the control module, the second end of the seventh resistor is electrically connected with the base electrode of the second triode, the collector electrode of the second triode is electrically connected with the first end of the buzzer, the second end of the buzzer is electrically connected with the first end of the eighth resistor, the second end of the eighth resistor is electrically connected with the input power supply, and the collector electrode of the second triode is grounded.
In a second aspect, the utility model also discloses a switching value acquisition control device, including the first aspect a switching value acquisition control circuit.
The utility model discloses a switching value acquisition control circuit and device have following beneficial effect, the utility model discloses a switching value acquisition control circuit includes: the control module, the interface conversion module, the serial port current anti-irrigation module, the switching value acquisition module and the buzzer driving module; the interface conversion module, the switching value acquisition module and the buzzer driving module are respectively electrically connected with the control module, and the serial port current anti-irrigation module is electrically connected with the interface conversion module; the switching value acquisition module is electrically connected with a GPIO port of the integrated circuit; the control module is used for monitoring the acquisition signal of the switching value acquisition module in real time; the interface conversion module is used for converting the USB signal into a UART serial port signal; the serial port current anti-pouring module is used for realizing the switch protection of the interface conversion module and preventing the current of the serial port from pouring; the buzzer driving module is used for indicating the state of the collected signal of the switching value collecting module. Therefore, the utility model discloses can realize the reliable collection to the switching value for the switching signal who treats the collection has stronger interference immunity.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below with reference to the accompanying drawings and embodiments, wherein the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained without inventive work according to the drawings:
fig. 1 is a schematic block diagram of a switching value acquisition control circuit according to a preferred embodiment of the present invention;
fig. 2 is a circuit diagram of an interface conversion module of a switching value acquisition control circuit according to a preferred embodiment of the present invention;
fig. 3 is a circuit diagram of a serial port current anti-irrigation module of a switching value acquisition control circuit according to a preferred embodiment of the present invention;
fig. 4 is a circuit diagram of a switching value acquisition module of the switching value acquisition control circuit according to a preferred embodiment of the present invention;
fig. 5 is a circuit diagram of a buzzer driving module of the switching value acquisition control circuit according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, a clear and complete description will be given below with reference to the technical solutions of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the protection scope of the present invention.
Example one
The preferred embodiment of the present invention is shown in fig. 1, and comprises a control module 1, an interface conversion module 2, a serial port current anti-irrigation module 3, a switching value acquisition module 4 and a buzzer driving module 5; the interface conversion module 2, the switching value acquisition module 4 and the buzzer driving module 5 are respectively electrically connected with the control module 1, and the serial port current anti-irrigation module 3 is electrically connected with the interface conversion module 2; the switching value acquisition module is electrically connected with a GPIO port of the integrated circuit; the control module 1 is used for monitoring the acquisition signal of the switching value acquisition module 4 in real time; the interface conversion module 2 is used for converting the USB signal into a UART serial port signal; the serial port current anti-pouring module 3 is used for realizing the switch protection of the interface conversion module 2 and preventing the current of the serial port from pouring; the buzzer driving module 5 is used for indicating the state of the collected signal of the switching value collecting module 4. Therefore, the utility model discloses can realize the reliable collection to the switching value for the switching signal who treats the collection has stronger interference immunity.
Preferably, referring to fig. 2, the interface conversion module 2 includes a USB interface, a USB to UART conversion chip U2 and a crystal oscillator X2; the USB interface is respectively and electrically connected with an input power supply and the USB-to-UART conversion chip U2, and the USB-to-UART conversion chip U2 is respectively and electrically connected with the input power supply and the crystal oscillator X2. It can be understood that, in the embodiment, the USB to UART conversion chip U2 has a model CH340G, and the crystal oscillator X2 is configured to cooperate with the chip CH340G to provide an accurate clock.
Preferably, referring to fig. 3, the serial port current anti-sink module 3 includes a first transistor Q2, a first resistor R23, a second resistor R24, a third resistor R22, and a first diode D1; the emitter of the first triode Q2 is electrically connected with the USB-to-UART conversion chip U2, the collector of the first triode Q2 is respectively electrically connected with the control module 1 and the first end of the first resistor R23, the second end of the first resistor R23 is electrically connected with the input power supply, the base of the first triode Q2 is electrically connected with the first end of the second resistor R24, the second end of the second resistor R24 is electrically connected with the first end of the third resistor R22, the second end of the third resistor R22 is respectively electrically connected with the USB-to-UART conversion chip U2 and the first end of the first diode D1, and the second end of the first diode D1 is electrically connected with the control module 1. It can be understood that, in this embodiment, in order to prevent the current from flowing into the serial port, the first transistor Q2 is used to perform switching control based on the power-on timing sequence of the CH340G chip, so as to ensure stable operation of the circuit.
Preferably, referring to fig. 4, the switching value collecting module 4 includes an optical isolator U5, a first light emitting diode PWR4, a second diode D5, a fourth resistor R11, and a fifth resistor R10; a first end of the fourth resistor R10 is an acquisition quantity signal input end, a second end of the fourth resistor R11 is electrically connected with a first end of the second diode D5 and a first end of the first light emitting diode PWR4, a second end of the first light emitting diode PER4 is electrically connected with a first end of the optocoupler isolator U5, a second end of the optocoupler isolator U5 and a second end of the second diode D5 are grounded, a first end of the fifth resistor R10 is electrically connected with a third end of the optocoupler isolator U5, a third end of the optocoupler isolator U5 is electrically connected with the control module 1, a second end of the fifth resistor R10 is electrically connected with an input power supply, and a fourth end of the optocoupler isolator U5 is grounded. It is understood that, in the present embodiment, the second diode D5 is used for reverse protection; the first light emitting diode PWR4 is used to indicate whether the collected switching value voltage is greater than 5V, and lights up and outputs high level to the control module 1 when greater than 5V; the optocoupler isolator U5 is used for realizing the isolation protection effect between the switching value and the control module; the fourth resistor R11 and the fifth resistor R10 are current limiting protection resistors.
Preferably, referring to fig. 5, the buzzer driving module 5 includes a second light emitting diode PWR9, a sixth resistor R19, a seventh resistor R20, an eighth resistor R21, a second triode Q1 and a buzzer; the first end of the sixth resistor R19 is electrically connected to the control module 1, the second end of the sixth resistor R19 is electrically connected to the second light emitting diode PWR9, the first end of the seventh resistor R20 is electrically connected to the control module 1, the second end of the seventh resistor R20 is electrically connected to the base of the second triode, the collector of the second triode Q1 is electrically connected to the first end of the buzzer, the second end of the buzzer is electrically connected to the first end of the eighth resistor R21, the second end of the eighth resistor R21 is electrically connected to the input power supply, and the collector of the second triode Q1 is grounded. In this embodiment, when the input voltage of the switching value collection module 4 is greater than a threshold value, the control module 1 controls the buzzer driving module 5 to operate.
Example two
The utility model also discloses a switching value acquisition control device, including embodiment one the simple and interference immunity of circuit a switching value acquisition control circuit strong.
To sum up, the switching value acquisition control circuit provided by the utility model comprises a control module 1, an interface conversion module 2, a serial port current anti-irrigation module 3, a switching value acquisition module 4 and a buzzer driving module 5; the interface conversion module 2, the switching value acquisition module 4 and the buzzer driving module 5 are respectively electrically connected with the control module 1, and the serial port current anti-irrigation module 3 is electrically connected with the interface conversion module 2; the switching value acquisition module is electrically connected with a GPIO port of the integrated circuit; the control module 1 is used for monitoring the acquisition signal of the switching value acquisition module in real time; the interface conversion module 2 is used for converting the USB signal into a UART serial port signal; the serial port current anti-flowing module 3 is used for realizing the switch protection of the interface conversion module 2; the buzzer driving module 5 is used for indicating the state of the collected signal of the switching value collecting module. Therefore, the utility model discloses can realize the reliable collection to the switching value for the switching signal who treats the collection has stronger interference immunity.
The switching value acquisition control circuit and the switching value acquisition control device provided by the utility model are introduced in detail, and specific examples are applied in the text to explain the principle and the implementation mode of the utility model, and the description of the above embodiments is only used for helping to understand the method and the core idea of the utility model; meanwhile, to the general technical personnel in this field, according to the utility model discloses an idea, all can have the change part on concrete implementation and application scope, to sum up, this description content only is the utility model discloses an embodiment, does not consequently restrict the utility model discloses a patent scope, all utilize the equivalent structure or the equivalent flow transform that the content of the description and the attached drawing did, or directly or indirectly use in other relevant technical fields, all the same reason is included in the utility model discloses a patent protection scope. And should not be construed as limiting the invention.

Claims (6)

1. A switching value acquisition control circuit, comprising: the control module, the interface conversion module, the serial port current anti-irrigation module, the switching value acquisition module and the buzzer driving module; the interface conversion module, the switching value acquisition module and the buzzer driving module are respectively electrically connected with the control module, and the serial port current anti-irrigation module is electrically connected with the interface conversion module; the switching value acquisition module is electrically connected with a GPIO port of the integrated circuit; the control module is used for monitoring the acquisition signal of the switching value acquisition module in real time; the interface conversion module is used for converting the USB signal into a UART serial port signal; the serial port current anti-flowing module is used for realizing the switch protection of the interface conversion module; the buzzer driving module is used for indicating the state of the collected signal of the switching value collecting module.
2. The switching value acquisition control circuit according to claim 1, wherein the interface conversion module comprises a USB interface, a USB to UART conversion chip, and a crystal oscillator; the USB interface is respectively electrically connected with an input power supply and the USB-to-UART conversion chip, and the USB-to-UART conversion chip is respectively electrically connected with the input power supply and the crystal oscillator.
3. The switching value acquisition control circuit according to claim 2, wherein the serial port current anti-backflow module comprises a first triode, a first resistor, a second resistor, a third resistor and a first diode; the emitting electrode of the first triode is electrically connected with the USB-to-UART conversion chip, the collecting electrode of the first triode is electrically connected with the control module and the first end of the first resistor respectively, the second end of the first resistor is electrically connected with the input power supply, the base electrode of the first triode is electrically connected with the first end of the second resistor, the second end of the second resistor is electrically connected with the first end of the third resistor, the second end of the third resistor is electrically connected with the USB-to-UART conversion chip and the first end of the first diode respectively, and the second end of the first diode is electrically connected with the control module.
4. The switching value acquisition control circuit according to claim 1, wherein the switching value acquisition module comprises an optical coupling isolator, a first light emitting diode, a second diode, a fourth resistor and a fifth resistor; the first end of the fourth resistor is an acquisition quantity signal input end, the second end of the fourth resistor is respectively electrically connected with the second diode and the first end of the first light emitting diode, the second end of the first light emitting diode is electrically connected with the first end of the optical coupling isolator, the second end of the optical coupling isolator is grounded, the first end of the fifth resistor is electrically connected with the third end of the optical coupling isolator, the third end of the optical coupling isolator is electrically connected with the control module, the second end of the fifth resistor is electrically connected with the input power supply, and the fourth end of the optical coupling isolator is grounded.
5. The switching value acquisition control circuit according to claim 1, wherein the buzzer driving module comprises a second light emitting diode, a sixth resistor, a seventh resistor, an eighth resistor, a second triode and a buzzer; the first end of the sixth resistor is electrically connected with the control module, the second end of the sixth resistor is electrically connected with the second light-emitting diode, the first end of the seventh resistor is electrically connected with the control module, the second end of the seventh resistor is electrically connected with the base electrode of the second triode, the collector electrode of the second triode is electrically connected with the first end of the buzzer, the second end of the buzzer is electrically connected with the first end of the eighth resistor, the second end of the eighth resistor is electrically connected with the input power supply, and the collector electrode of the second triode is grounded.
6. A switching value acquisition control device, characterized by comprising a switching value acquisition control circuit according to any one of claims 1 to 5.
CN202023139524.9U 2020-12-23 2020-12-23 Switching value acquisition control circuit and device Active CN214311353U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023139524.9U CN214311353U (en) 2020-12-23 2020-12-23 Switching value acquisition control circuit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023139524.9U CN214311353U (en) 2020-12-23 2020-12-23 Switching value acquisition control circuit and device

Publications (1)

Publication Number Publication Date
CN214311353U true CN214311353U (en) 2021-09-28

Family

ID=77860656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023139524.9U Active CN214311353U (en) 2020-12-23 2020-12-23 Switching value acquisition control circuit and device

Country Status (1)

Country Link
CN (1) CN214311353U (en)

Similar Documents

Publication Publication Date Title
CN205679749U (en) Power on/off observation circuit
CN203657820U (en) Conditioning circuit for output signals of incremental encoder
CN203705526U (en) Voltage polarity judgment circuit and system
CN214311353U (en) Switching value acquisition control circuit and device
CN203688642U (en) Power failure detection circuit
CN114501733B (en) LED constant current drive circuit with open circuit detection function
CN104483579A (en) Switching value acquisition circuit
CN215120570U (en) Low standby power consumption DC-DC converter
CN102681449B (en) A kind of switching value input circuit of engineering machinery nonshared control unit
CN209548886U (en) A kind of filter core service life alert circuit based on nine layers of filter element water purification apparatus
CN2414422Y (en) Multi-purpose leakage protector tester
CN203588034U (en) Temperature detection experiment module based on PLC controller
CN201928255U (en) Household electronic appliance automation wire holder with sending data line management by serial port
CN202616756U (en) Undervoltage protecting circuit of switching power supply
CN202043034U (en) Level shift circuit realizing shifting from 5v signal to 3.3v signal for singlechip system
CN214125266U (en) Indicator lamp interface circuit
CN101620247A (en) Electric intelligent display control transmitter
CN210954199U (en) Universal detection circuit for digital input signals and frequency converter
CN219843595U (en) Isolated digital input detection circuit
CN201928258U (en) Serial port junctor output data instruction type 2<8N>/2-channel automatic connector base for electrical household appliances
CN217085090U (en) Positive and negative voltage sampling circuit
CN213935179U (en) Signal acquisition circuit for FTU
CN209858636U (en) Current detection alarm device
CN211786006U (en) High-precision isolation indicating circuit
CN208079444U (en) A kind of constant current driver circuit for LED with light source failure detection function

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant