CN111669731A - Switching circuit and device for field implementation - Google Patents

Switching circuit and device for field implementation Download PDF

Info

Publication number
CN111669731A
CN111669731A CN202010524639.5A CN202010524639A CN111669731A CN 111669731 A CN111669731 A CN 111669731A CN 202010524639 A CN202010524639 A CN 202010524639A CN 111669731 A CN111669731 A CN 111669731A
Authority
CN
China
Prior art keywords
pin
resistor
chip
module
capacitor
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
CN202010524639.5A
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.)
Shanghai Yogo Robot Co Ltd
Original Assignee
Shanghai Yogo Robot 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 Shanghai Yogo Robot Co Ltd filed Critical Shanghai Yogo Robot Co Ltd
Priority to CN202010524639.5A priority Critical patent/CN111669731A/en
Publication of CN111669731A publication Critical patent/CN111669731A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a switching circuit for field implementation, which comprises a control module, a first communication module, a second communication module and a display module, wherein the first communication module, the second communication module and the display module are all connected with the control module; the first communication module is used for realizing wireless communication with field equipment, the second communication module is used for realizing wireless communication with electronic equipment, the control module is used for acquiring state data of the field equipment through the first communication module, the control module is also used for transmitting the state data to the electronic equipment through the second communication module, and the display module is used for displaying the state data. The invention also provides a switching device for field implementation. The switching circuit and the switching device for field implementation do not need to use a cellular wireless network, and the field device and the electronic device can transmit data through local wireless transmission, so that the switching circuit and the switching device are high in instantaneity, high in efficiency, low in power consumption and convenient to operate.

Description

Switching circuit and device for field implementation
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of field implementation, in particular to a switching circuit and a switching device for field implementation.
[ background of the invention ]
At present, 2.4G wireless communication is applied to a plurality of devices (such as an intelligent carrying device robot) and when the devices are debugged on site, state data of the devices need to be transmitted to a cloud terminal through a wireless cellular network, and a debugger accesses the cloud terminal through an electronic device (such as a mobile phone) to acquire the state data of the devices. However, there is a network delay when the data is transmitted to the cloud via the wireless cellular network, and the electronic device is affected by the signal quality of the electronic device when accessing the cloud, so that the controllability of data transmission is low and the power consumption is high.
In view of the above, it is desirable to provide a novel patching circuit and apparatus for field implementation to overcome the above-mentioned drawbacks.
[ summary of the invention ]
The invention aims to provide a switching circuit and a switching device for field implementation, which do not need to use a cellular wireless network, can transmit data by field equipment and electronic equipment through local wireless transmission, and have the advantages of strong real-time performance, high efficiency, low power consumption and convenient operation.
In order to achieve the above object, the present invention provides a switching circuit for field implementation, which includes a control module, a first communication module, a second communication module and a display module, wherein the first communication module, the second communication module and the display module are all connected to the control module; the control module is used for acquiring state data of the field device through the first communication module, transmitting the state data to the electronic device through the second communication module, and the display module is used for displaying the state data.
In a preferred embodiment, the electronic device further comprises a charging module, the charging module is connected to the control module, and the charging module is used for charging the electronic device.
In a preferred embodiment, the mobile terminal further comprises a power saving module, and the power saving module is connected with the control module.
In a preferred embodiment, the control module includes a control chip, and the control chip is an MCU.
In a preferred embodiment, a pin PA1 of the control chip is connected to a resistor R5, a resistor R7 and a capacitor C2, one end of the resistor R5 is used for connecting a battery power supply, the other end of the resistor R5 is connected to the pin PA1, one end of the resistor R7 is connected to the pin PA1, the other end of the resistor R7 is grounded, one plate of the capacitor C2 is connected to the pin PA1, and the other plate of the capacitor C2 is grounded.
In a preferred embodiment, a PD14 pin of the control chip is connected to a resistor R41 and a resistor R42, one end of the resistor R41 is connected to the PD14 pin, the other end of the resistor R41 is grounded, one end of the resistor R42 is connected to the PD14 pin, the other end of the resistor R42 is further connected to a gate of a MOS transistor Q4, a source of the MOS transistor Q4 is grounded, a drain of the MOS transistor Q4 is further connected to an interface J4, the interface J4 is connected to a main power supply through the resistor R40, and the interface J4 is used for connecting a light emitting diode.
In a preferred embodiment, the display module comprises an LCD chip.
In a preferred embodiment, the PA7 pin of the control chip is connected to the LEDK pin of the LCD chip through a resistor R27, a resistor R28, a transistor Q2 and a resistor R26; the one end of resistance R28 is connected the PA7 pin, resistance R28's the other end ground connection, resistance R27's one end is connected the PA7 pin, resistance R27's the other end is connected triode Q2's base, triode Q2's emitter ground connection, triode Q2's collecting electrode is connected resistance R26's one end, resistance R26's the other end is connected the LEDK pin of LCD chip.
In a preferred embodiment, the first communication module comprises a 2.4G chip; the second communication module comprises a BLE chip or a WIFI chip.
In a preferred embodiment, the charging module comprises a charging chip, a TYPE-C connector and a TYPE-A connector; the charging chip is connected with the control chip, and the TYPE-C connector and the TYPE-A connector are connected with the charging chip.
In a preferred embodiment, the power saving module includes a transistor Q8, a MOS transistor Q7, a diode D9, a key SW1, a diode D10 and a voltage conversion chip; a PD3 pin of the control chip U1 is connected to the transistor Q8 through a resistor R23, one end of the resistor R23 is connected to a PD3 pin of the control chip U1, the other end of the resistor R23 is connected to a base of the transistor Q8, an emitter of the transistor Q8 is grounded, a collector of the transistor Q8 is connected to the MOS tube Q7 after passing through a resistor R22, a source of the MOS tube Q7 is used for connecting a battery power supply, a gate of the MOS tube Q7 is connected to an anode of the diode D9, a cathode of the diode D9 is connected to the key SW1, a cathode of the diode D9 is further connected to a cathode of the diode D10, an anode of the diode D10 is connected to a PD2 pin of the control chip, an anode of the diode D10 is further connected to a main power supply through a resistor R45, and a drain of the MOS tube Q7 is connected to the voltage conversion chip.
The invention also provides a switching device for field implementation, which comprises any one of the switching circuits for field implementation.
Compared with the prior art, the switching circuit and the switching device for field implementation provided by the invention have the advantages that the first communication module can be in wireless communication with field equipment, the second communication module can be in wireless communication with electronic equipment, the control module can acquire the state data of the field equipment through the first communication module and transmit the state data to the electronic equipment through the second communication module, namely, a cellular wireless network is not needed, the field equipment and the electronic equipment can transmit data through local wireless transmission, the real-time performance is strong, the efficiency is high, the power consumption is low, the state data of the field equipment can be checked through the electronic equipment, the state of the field equipment is further set through the electronic equipment, the field equipment is convenient to debug, the convenience of field debugging is improved, and the scheme is simple and practical, the implementation efficiency of the project is improved, and the state data can be checked in real time through the display module, so that the reliability of data transmission is further improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic block diagram of a patching circuit for field implementation provided by the present invention;
FIGS. 2 and 3 are circuit diagrams of the control module of FIG. 1 for a field-implemented patching circuit;
FIG. 4 is a circuit diagram of the display module of FIG. 1 for use in a field-implemented patching circuit;
FIG. 5 is a circuit diagram of a first communication module of the patching circuit of FIG. 1 for field implementation;
FIG. 6 is a circuit diagram of a second communication module for the field-implemented patching circuit of FIG. 1;
fig. 7, 8 and 9 are circuit diagrams of the charging module for the field-implemented patching circuit shown in fig. 1;
fig. 10 is a circuit diagram of the power saving module of the patching circuit shown in fig. 1 for field implementation.
[ detailed description ] embodiments
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a switching circuit 100 for field implementation, which includes a control module 10, a first communication module 20, a second communication module 30 and a display module 40.
The first communication module 20, the second communication module 30 and the display module 40 are all connected to the control module 10; the first communication module 20 is configured to implement wireless communication with a field device 101, the second communication module 30 is configured to implement wireless communication with an electronic device 102, the control module 10 is configured to obtain status data of the field device 101 through the first communication module 20, the control module 10 is further configured to forward the status data to the electronic device 102 through the second communication module 30, and the display module 40 is configured to display the status data.
In the field-implemented switching circuit 100 provided by the invention, the first communication module 20 can wirelessly communicate with the field device 101, the second communication module 30 can wirelessly communicate with the electronic device 102, the control module 10 can acquire the status data of the field device 101 through the first communication module 10 and transmit the status data to the electronic device 102 through the second communication module 30, that is, a cellular wireless network is not required to be used, the field device 101 and the electronic device 102 can perform data transmission through local wireless transmission, the real-time performance is strong, the efficiency is high, the power consumption is low, the status data of the field device 101 can be checked through the electronic device 102, the electronic device 102 is used for setting the status of the field device 101, the field device 101 is convenient to debug, and the convenience of field debugging is improved, the scheme is simple and practical, the implementation efficiency of the project is improved, the state data can be checked in real time through the display module 40, and the reliability of data transmission is further improved.
Further, the adapting circuit 100 for field implementation further includes a charging module 50, the charging module 50 is connected to the control module 10, the charging module 50 is used for charging the electronic device 102, the charging module 50 avoids the problem of electric quantity exhaustion of the electronic device 102 in the debugging process of the field device 101, prolongs the service time of the electronic device 102, and ensures smooth debugging of the field device 101.
Referring to fig. 2 and fig. 3, the control module 10 includes a control chip U1, and specifically, the control chip U1 is a Micro Controller Unit (MCU). A pin PA1 of the control chip U1 is connected with a resistor R5, a resistor R7 and a capacitor C2, one end of the resistor R5 is connected with a battery power supply VBAT, the other end of the resistor R5 is connected with a pin PA1, one end of the resistor R7 is connected with a pin PA1, the other end of the resistor R7 is grounded GND, one polar plate of the capacitor C2 is connected with a pin PA1, and the other polar plate of the capacitor C2 is grounded GND. The voltage of the battery power supply passes through the resistor R5, the resistor R7 divides the voltage and then inputs the voltage to the PA1 pin, the capacitor C2 has a filtering effect, the PA1 pin has an ADC (analog-to-digital converter) function, and the voltage of the battery can be monitored in real time according to the divided voltage.
Referring to fig. 4, the display module 40 includes an LCD chip LCD1, and the PA2 pin, the PA3 pin, the PA4 pin, the PA5 pin, the PA6 pin, and the PA7 pin of the control chip U1 are connected to the display module 40, so as to realize communication between the control module 10 and the display module 40 (i.e., the control chip U1 and the LCD chip LCD 1). Specifically, the PA2 pin, the PA3 pin, the PA4 pin, the PA5 pin, and the PA6 pin are respectively connected to a RESET pin (RESET function pin), an SDA pin (write data pin), an SCL pin (clock signal pin), a CS pin (chip select signal pin), and a D/C pin (signal and command switching pin, where a high level is written data, and a low level is written command) of the LCD chip LCD 1; a pin PA7 is connected to a LEDK pin of an LCD chip LCD1 through a resistor R27, a resistor R28, a triode Q2 and a resistor R26, specifically, one end of a resistor R28 is connected with the pin PA7, the other end of the resistor R28 is grounded, one end of a resistor R27 is connected with the pin PA7, the other end of the resistor R27 is connected with a base of the triode Q2, an emitter of the triode Q2 is grounded, a collector of the triode Q2 is connected with one end of a resistor R26, and the other end of the resistor R26 is connected with the LEDK pin (backlight signal) of the LCD chip LCD 1; it is understood that the resistor R27 is a current limiting resistor, the resistor R28 is a pull-down resistor, and the transistor Q2 is a switch for controlling the backlight.
In this embodiment, the LEDA pin and the VDD pin of the LCD chip LCD1 are further connected to an inductor L2, one end of the inductor L2 is connected to the LEDA pin and the VDD pin, the other end of the inductor L2 is connected to a system power supply terminal VCC _ SYS, and the inductor L2 is used as an isolation power supply. The led a pin and the VDD pin of the LCD chip LCD1 are further connected with a capacitor C31 and a capacitor C36, and the capacitor C31 and the capacitor C36 function as a filter to filter noise of the circuit. Specifically, the system power supply terminal VCC _ SYS is connected to the main power supply VCC3.3V through an inductor L1, and the inductor L1 functions as an isolation power supply.
The PA13 pin and the PA14 pin of the control chip U1 are connected to a software download port (not shown) for downloading the initialization software of the MCU. The PB6 pin and the PB7 pin of the control chip U1 are connected to a serial communication port (not shown) for data transmission and reception.
Referring to fig. 5, the first communication module 20 includes a 2.4G chip U7, and a PA15 pin, a PC10 pin, a PC11 pin, a PC12 pin, a PD0 pin, and a PD1 pin of the control chip U1 are connected to a CSN pin, an SCK pin, a MOSI pin, a MISO pin, a CE pin, and an IRQ pin of the 2.4G chip U7, so as to implement communication between the control module 10 and the first communication module 20 (i.e., the control chip U1 and the 2.4G chip U7).
In this embodiment, the VCC pin of the 2.4G chip U7 is further connected to an inductor L4, one end of the inductor L4 is connected to the VCC pin, the other end of the inductor L4 is connected to a system power supply terminal VCC _ SYS, and the inductor L4 functions as an isolation power supply. The VCC pin of the LCD chip LCD1 is further connected with a capacitor C40 and a capacitor C41, and the capacitor C40 and the capacitor C41 function as filtering to filter noise of the circuit.
The PC13 pin, the PE2 pin, the PE3 pin, the PE4 pin, the PE5 pin and the PE6 pin of the control chip U1 are connected with the B pin, the G pin, the F pin, the E pin, the D pin and the C pin of the key K2, so that the communication between the control chip U1 and the key K2 is realized; it is understood that the key K2 is a confirmation key that enables the page turning of the display module 40.
Referring to fig. 6, the second communication module 30 includes a BLE chip U8, and a PE10 pin, a PE11 pin, a PE12 pin, a PE13 pin, a PE14 pin, a PE15 pin, a PB10 pin, and a PB11 pin of the control chip U1 are connected to an RTS pin, a CTS pin, a RST pin, a MOD pin, a WKP pin, a DISC pin, a RXD pin, and a TXD pin of the BLE chip U8, so as to implement communication between the control module 10 and the second communication module 20 (i.e., the control chip U1 and the BLE chip U8).
Specifically, a VCC pin of the BLE chip U8 is connected to a DATA pin of the BLE chip U8 through a resistor R30 and a light emitting diode D11, a power supply pin VCC of the BLE chip U8 is further connected to a LINK pin of the BLE chip U8 through a resistor R31 and a light emitting diode D12, the resistor R30 and the resistor R31 are current limiting resistors, and the light emitting diode D11 and the light emitting diode D12 are prevented from being burnt out due to excessive current, so that a protection effect is achieved. It can be understood that when an electronic device is connected to the BLE chip U8, the light emitting diode D11 flickers, and when data transmission is performed, the light emitting diode D12 flickers, so that the device connection and data transmission process is more intuitive. In this embodiment, the VCC pin of BLE chip U8 is further connected with inductance L5, and the VCC pin is connected to one end of inductance L5, and system power supply end VCC _ SYS is connected to the other end of inductance L5, and inductance L5's effect is for isolating the power supply. The VCC pin of the BLE chip U8 is also connected with a capacitor C42 and a capacitor C43, and the capacitor C42 and the capacitor C43 are used for filtering so as to filter noise of the circuit.
Referring to fig. 2 and fig. 3 again, the PB2 pin of the control chip U1 is grounded after being connected to the resistor R6, the resistor R6 is a pull-down resistor, and the PB2 pin is set as the start region of the chip, representing the internal start of the chip. The PB13 pin and the PB14 pin of the control chip U1 are connected to the main power source VCC3.3V through a light emitting diode D1 and a resistor R2, a light emitting diode D2 and a resistor R4, respectively. It can be understood that the main power supply VCC3.3V is further connected with a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, a capacitor C10, a capacitor C11, a capacitor C4, a capacitor C5, a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, a capacitor C10, and a capacitor C11, which function as filtering to filter noise of the circuit.
A PD14 pin of the control chip U1 is connected with a resistor R41 and a resistor R42, one end of the resistor R41 is connected with a PD14 pin, the other end of the resistor R41 is grounded, one end of the resistor R42 is connected with the PD14 pin, the other end of the resistor R42 is connected with a grid electrode of the MOS tube Q4, a source electrode of the MOS tube Q4 is grounded, a drain electrode of the MOS tube Q4 is connected with an interface J4, the interface J4 is connected with a main power supply VCC3.3V through the resistor R40, and the interface J4 is used for connecting a light-emitting diode to realize a flashlight function, so that the debugging of the field device 101. It can be understood that the main power supply VCC3.3V is further connected with a capacitor C12, a capacitor C13 and a capacitor C14, and the capacitors C12, C13 and C14 function as a filter to filter noise of the circuit.
The PH0 pin of the control chip U1 is connected with the clock chip X1 through a resistor R9, specifically, one end of the resistor R9 is connected with the PH0 pin, the other end of the resistor R9 is connected with the clock chip X1, the VCC pin of the clock chip X1 is connected with a main power supply VCC3.3V through a resistor R8, the VCC pin of the clock chip X1 is grounded after passing through a capacitor C3, and the clock chip X1 realizes the input of a clock signal of the control chip U1.
The BOOT0 pin of the control chip U1 is grounded after passing through the resistor R11, the resistor R11 is a pull-down resistor, and the BOOT0 pin is set for the starting area of the chip and represents the internal starting of the chip. The NRST pin of the control chip U1 is connected to a main power supply VCC3.3V through a resistor R12, the NRST pin of the control chip U1 is grounded after passing through a capacitor C3, at the moment of power-on, the NRST pin is pulled low due to the fact that a capacitor C3 is in a conducting state, the control chip U1 resets, and when the capacitor C3 is fully charged, the NRST pin is high, and at the moment, the control chip U1 works normally. The VCAP _1 pin of the control chip U1 is grounded after passing through the capacitor C19, the VCAP _2 pin of the control chip U1 is grounded after passing through the capacitor C18, and the capacitor C19 and the capacitor C18 are voltage-stabilizing capacitors, so that the stability of the system is improved.
Referring to fig. 7, 8 and 9, the charging module 40 includes a charging chip U300, a TYPE-C connector USB302 and a TYPE-a connector, the charging chip U300 is connected to the control chip U1, and the TYPE-C connector USB302 and the TYPE-a connector are connected to the charging chip U300. In this embodiment, the number of TYPE-a connectors is two, which are the first TYPE-a connector USB300 and the second TYPE-a connector USB 301.
The CC1 pin and the CC2 pin of the TYPE-C connector USB302 are respectively connected with the CC1 pin and the CC2 pin of the charging chip U300 and are used as charging TYPE protocol judgment pins. The DP1 pin of TYPE-C connector USB302 is connected with its DP2 pin, DN1 pin of TYPE-C connector USB302 is connected with its DN2 pin, DP2 pin, DN2 pin are connected to TVS pipe U302 through resistance R19, resistance R20 respectively, two output terminals of TVS pipe U302 are connected with PA11 pin and PA12 pin of control chip U1 respectively, TVS pipe U302 is antistatic pipe. The pin PA12 of the control chip U1 is also connected with a resistor R25, one end of the resistor R25 is connected with a pin PA12 of the control chip U1, the other end of the resistor R25 is connected with a collector of a triode Q18, an emitter of the triode Q18 is connected with a main power supply VCC3.3V, a base of the triode Q18 is connected with one end of a resistor R35, the other end of the resistor R35 is connected with a pin PD15 of the control chip U1 and connected with two USB pins of the control chip U1, after the USB controller works, the pin PD15 can be pulled down, and a signal of the pin PA12 is pulled up, so that the USB.
A VBUS pin of the USB302 of the TYPE-C connector is connected with a capacitor C300, and the capacitor C300 is a filter capacitor; the VBUS pin of the TYPE-C connector USB302 is further connected with an MOS tube Q300, the drain electrode of the MOS tube Q300 is connected with the VBUS pin of the TYPE-C connector USB302, the grid electrode of the MOS tube Q300 is connected with the VBUSG pin of the charging chip U300, and the source electrode of the MOS tube Q300 is connected with the TYPE-A connector. It can be understood that the MOS transistor Q300 is for protection, and specifically, a resistor R310 is further connected between the source of the MOS transistor Q300 and the gate of the MOS transistor Q300.
Further, a VCC pin of the first TYPE-a connector USB300 is connected to a source electrode of the MOS transistor Q300 through the MOS transistor Q301, specifically, the VCC pin of the first TYPE-a connector USB300 is connected to the source electrode of the MOS transistor Q301, a drain electrode of the MOS transistor Q301 is connected to the source electrode of the MOS transistor Q300, and a gate electrode of the MOS transistor Q301 is connected to a VOUT1G pin of the charging chip U300; the MOS tube Q301 has a protection effect, the VCC pin of the first TYPE-A connector USB300 is also connected with a capacitor C301, and the capacitor C301 has a filtering effect; the D + pin and the D-pin of the first TYPE-A connector USB300 are respectively connected with the DPA1 pin and the DMA1 pin of the charging chip U300.
A VCC pin of the second TYPE-a connector USB301 is connected to a source electrode of the MOS transistor Q300 through the MOS transistor Q302, specifically, the VCC pin of the second TYPE-a connector USB301 is connected to the source electrode of the MOS transistor Q302, a drain electrode of the MOS transistor Q302 is connected to the source electrode of the MOS transistor Q300, and a gate electrode of the MOS transistor Q302 is connected to a VOUT2G pin of the charging chip U300; the MOS tube Q302 has a protection effect, a VCC pin of the USB301 of the second TYPE-A connector is also connected with a capacitor C302, and the capacitor C302 has a filtering effect; the D + pin and the D-pin of the second TYPE-A connector USB301 are respectively connected with the DPA2 pin and the DMA2 pin of the charging chip U300.
It is understood that the first TYPE-a connector USB300 and the second TYPE-a connector USB301 are used to connect the electronic device 102 to enable charging of the electronic device 102, the TYPE-C connector USB302 is used to charge the apparatus of the adapting circuit itself, and the TYPE-C connector USB302 supports 5V/3A, 7V/2.4A, 9V/2A, 12V/1.5A charging. The DPA1 pin and the DMA1 pin, the DPA2 pin and the DMA2 pin of the charging chip U300 are used for determining a charging protocol for charging the electronic device 102.
In this embodiment, a VSN pin of the charging chip U300 is connected to a capacitor C304 and a capacitor C305, a VSP pin of the charging chip U300 is connected to a capacitor C306, and a VSYS pin of the charging chip U300 is connected to a capacitor C307, a capacitor C308, a capacitor C309, a capacitor C310, and a capacitor C311; the functions of the capacitor C304, the capacitor C305, the capacitor C306, the capacitor C307, the capacitor C308, the capacitor C309, the capacitor C310 and the capacitor C311 are filtering. A resistor R308 is connected between the VSN pin and the VSP pin of the charging chip U300, the resistor R308 is a sampling resistor, and the charging current is calculated by detecting the voltage at the two ends of the resistor R308.
The LX pin of the charging chip U300 is connected to a capacitor C313, a capacitor C314, a capacitor C315, a capacitor C316, and a capacitor C317 through an inductor L300, and the capacitor C313, the capacitor C314, the capacitor C315, the capacitor C316, and the capacitor C317 are further connected to a battery power supply VBAT; the BST pin of the charging chip U300 is connected to the inductor L300 through the capacitor C312; the BAT pin of the charging chip U300 is connected to a capacitor C320. It can be understood that the inductor L300 is used to realize voltage step-up and step-down of the charging chip U300, the capacitor C312 is an upper end capacitor, and the capacitors C313, C314, C315, C316, C317 and C320 are all filter capacitors.
An NTC pin of the charging chip U300 is connected with an NTC resistor of a battery power supply and used for detecting the temperature of the battery; the NTC pin of the charging chip U300 is further connected to a resistor R307, the resistor R307 is an external matching resistor, two ends of the resistor R307 are further connected to a capacitor C330, and the capacitor C330 is a filter capacitor. The VREG pin of the charging chip U300 is connected with a capacitor C318, and the VREG pin of the charging chip U300 is connected with a PB1 pin of the control chip U1.
The L1 pin and the L2 pin of the charging chip U300 are connected to the PB8 pin and the PB9 pin of the control chip U1, so that communication between the control module 10 and the charging module 50 (i.e., between the control chip U1 and the charging chip U300) is realized. The pin L1 and the pin L2 of the charging chip U300 are further connected to a system power supply terminal VCC _ SYS through a resistor R311 and a resistor R312, respectively, and the resistor R311 and the resistor R312 are pull-up resistors. The REST pin of the charging chip U300 is a reset pin, and the REST pin is externally connected with a resistor R302 for resetting; the LIGHT pin of the charging chip U300 is a charging indicator LIGHT, the LIGHT pin is externally connected with a resistor R301 and a LIGHT emitting diode D305, the resistor R301 is a current limiting resistor, and the LIGHT emitting diode D305 is an LED indicator LIGHT.
Furthermore, the control module 10 is further connected to a power saving module 60, and the power saving module 60 is connected to the control module 10. Referring to fig. 10, pin PD3 of the control chip U1 is connected to a resistor R24, pin PD1 of the control chip U1 is further connected to a transistor Q1 through a resistor R1, one end of the resistor R1 is connected to pin PD1 of the control chip U1, the other end of the resistor R1 is connected to a base of the transistor Q1, an emitter of the transistor Q1 is grounded, a collector of the transistor Q1 is connected to the MOS transistor Q1 through the resistor R1, the resistor R1 is connected between a source and a gate of the MOS transistor Q1, the source of the MOS transistor Q1 is further connected to a battery power VBAT, the battery power VBAT is further connected to a capacitor C1, the gate of the MOS transistor Q1 is connected to an anode of a diode D1, a cathode of the diode D1 is connected to the cathode of the diode D1, the cathode of the diode D1 is further connected to a cathode of the diode D1 through a resistor vcr 1, and a drain of the main power supply voltage conversion transistor vcq 36301. The OUT pin of the voltage conversion chip U301 is connected to a system power supply terminal VCC _ SYS.
It can be understood that the resistor R23 is a current-limiting resistor, the resistor R24 is a pull-down resistor, the resistor R22 and the resistor R45 are pull-up resistors, and the diode D9 and the diode D10 can ensure unidirectional conduction of the circuit and prevent voltage from flowing backward; the key SW1 is an external key, when the key SW1 is pressed, the gate of the MOS transistor Q7 is pulled low, the MOS transistor Q7 is turned on, the voltage is input to the voltage conversion chip U301, the voltage conversion chip U301 outputs the voltage to power the control chip U1, the PD3 pin of the control chip U1 outputs a high level after the control chip U1 works, and therefore, the MOS transistor Q8 is turned on, and even if the key SW1 is released, the MOS transistor Q7 is still in a conducting state, so that the power supply switch of the circuit can be controlled, and power is saved when the circuit is not used. It can be understood that the capacitor C23 is a filter capacitor, IN this embodiment, the IN pin of the voltage conversion chip U301 is further connected to the capacitor C24 and the capacitor C25, the OUT pin of the voltage conversion chip U301 is further connected to the capacitor C26 and the capacitor C27, and the capacitor C24, the capacitor C25, the capacitor C26, and the capacitor C27 function as a filter.
According to the switching circuit 100 for field implementation, provided by the invention, the 2.4 chip U7 can be in wireless communication with the field device 101, the BLE chip U8 can be in wireless communication with the electronic device 102, the control chip U1 can acquire the state data of the field device 101 through the 2.4 chip U7 and transmit the state data to the electronic device 102 through the BLE chip U8, so that the state data of the field device 101 can be checked through the electronic device 102, the state of the field device 101 is set through the electronic device 102, the field device 101 is convenient to debug, the convenience of field debugging is improved, the scheme is simple and practical, the implementation efficiency of engineering is improved, the state data can be checked in real time through the LCD1, and the reliability of data transmission is further improved. The charging chip U300 can also charge the electronic device 102, and the charging chip U300 avoids the problem of power exhaustion of the electronic device 102 in the debugging process of the field device 101, prolongs the service life of the electronic device 102, and ensures smooth debugging of the field device 101. It is understood that the field device 101 may be an intelligent handler robot or the like, the field device 101 employing 2.4G communication; the electronic device 102 may be a mobile phone, a tablet computer, or the like, and the electronic device 102 applies BLE communication. In other embodiments, the electronic device 102 may further apply WIFI communication, that is, the second communication module 30 includes a WIFI chip, and data is transferred to the electronic device 102 through the WIFI chip.
The invention also provides a field-implemented switching device comprising the switching circuit 100 for field implementation according to any one of the above embodiments. It is understood that the switching device for field implementation is a switching device applied to a field device commissioning scenario. It should be noted that all embodiments of the field-implemented patching circuit 100 provided by the present invention are applicable to the field-implemented patching device provided by the present invention, and can achieve the same or similar beneficial effects.
In summary, in the switching circuit 100 and the apparatus for field implementation provided by the present invention, the first communication module 20 can perform wireless communication with the field device 101, the second communication module 30 can perform wireless communication with the electronic device 102, the control module 10 can acquire the status data of the field device 101 through the first communication module 10 and transmit the status data to the electronic device 102 through the second communication module 30, that is, a cellular wireless network is not required, the field device 101 and the electronic device 102 can perform data transmission through local wireless transmission, the real-time performance is strong, the efficiency is high, the power consumption is low, the status data of the field device 101 can be checked through the electronic device 102, and then the electronic device 102 can set the status of the field device 101, so as to facilitate the debugging of the field device 101 and improve the convenience of field debugging, the scheme is simple and practical, the implementation efficiency of the project is improved, the state data can be checked in real time through the display module 40, and the reliability of data transmission is further improved.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. A switching circuit for field implementation is characterized by comprising a control module, a first communication module, a second communication module and a display module, wherein the first communication module, the second communication module and the display module are all connected with the control module; the control module is used for acquiring state data of the field device through the first communication module, transmitting the state data to the electronic device through the second communication module, and the display module is used for displaying the state data.
2. The patch circuit of claim 1 further comprising a charging module coupled to the control module, the charging module configured to charge the electronic device.
3. The patching circuit for field implementation of claim 2, further comprising a power saving module, the power saving module coupled to the control module.
4. The patching circuit for field implementation according to claim 1, wherein the control module includes a control chip, and the control chip is an MCU.
5. The field-implemented patching circuit of claim 4, wherein a resistor R5, a resistor R7 and a capacitor C2 are connected to a PA1 pin of the control chip, one end of the resistor R5 is used for connecting a battery power supply, the other end of the resistor R5 is connected to the PA1 pin, one end of the resistor R7 is connected to the PA1 pin, the other end of the resistor R7 is grounded, one plate of the capacitor C2 is connected to the PA1 pin, and the other plate of the capacitor C2 is grounded.
6. The switching circuit for field implementation according to claim 5, wherein a PD14 pin of the control chip is connected to the resistor R41 and the resistor R42, one end of the resistor R41 is connected to the PD14 pin, the other end of the resistor R41 is grounded, one end of the resistor R42 is connected to the PD14 pin, the other end of the resistor R42 is further connected to a gate of the MOS transistor Q4, a source of the MOS transistor Q4 is grounded, a drain of the MOS transistor Q4 is further connected to the interface J4, the interface J4 is connected to a main power supply through the resistor R40, and the interface J4 is used for connecting a light emitting diode.
7. The patching circuit of claim 4, wherein the display module comprises an LCD chip.
8. The field-implemented switching circuit according to claim 7, wherein the PA7 pin of the control chip is connected to the LEDK pin of the LCD chip through a resistor R27, a resistor R28, a transistor Q2, and a resistor R26; the one end of resistance R28 is connected the PA7 pin, resistance R28's the other end ground connection, resistance R27's one end is connected the PA7 pin, resistance R27's the other end is connected triode Q2's base, triode Q2's emitter ground connection, triode Q2's collecting electrode is connected resistance R26's one end, resistance R26's the other end is connected the LEDK pin of LCD chip.
9. The patching circuit of claim 7, wherein the first communication module comprises a 2.4G chip; the second communication module comprises a BLE chip or a WIFI chip.
10. The patch circuit of claim 4, wherein the charging module comprises a charging chip, a TYPE-C connector, and a TYPE-A connector; the charging chip is connected with the control chip, and the TYPE-C connector and the TYPE-A connector are connected with the charging chip.
11. The switching circuit for field implementation according to claim 4, wherein the power saving module includes a transistor Q8, a MOS transistor Q7, a diode D9, a button SW1, a diode D10 and a voltage conversion chip; a PD3 pin of the control chip U1 is connected to the transistor Q8 through a resistor R23, one end of the resistor R23 is connected to a PD3 pin of the control chip U1, the other end of the resistor R23 is connected to a base of the transistor Q8, an emitter of the transistor Q8 is grounded, a collector of the transistor Q8 is connected to the MOS tube Q7 after passing through a resistor R22, a source of the MOS tube Q7 is used for connecting a battery power supply, a gate of the MOS tube Q7 is connected to an anode of the diode D9, a cathode of the diode D9 is connected to the key SW1, a cathode of the diode D9 is further connected to a cathode of the diode D10, an anode of the diode D10 is connected to a PD2 pin of the control chip, an anode of the diode D10 is further connected to a main power supply through a resistor R45, and a drain of the MOS tube Q7 is connected to the voltage conversion chip.
12. A switching device for field implementation, characterized in that it comprises a switching circuit for field implementation according to any one of claims 1 to 11.
CN202010524639.5A 2020-06-10 2020-06-10 Switching circuit and device for field implementation Pending CN111669731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010524639.5A CN111669731A (en) 2020-06-10 2020-06-10 Switching circuit and device for field implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010524639.5A CN111669731A (en) 2020-06-10 2020-06-10 Switching circuit and device for field implementation

Publications (1)

Publication Number Publication Date
CN111669731A true CN111669731A (en) 2020-09-15

Family

ID=72386600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010524639.5A Pending CN111669731A (en) 2020-06-10 2020-06-10 Switching circuit and device for field implementation

Country Status (1)

Country Link
CN (1) CN111669731A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110187490A1 (en) * 2010-01-29 2011-08-04 Yokogawa Electric Corporation Control network system
US20160204954A1 (en) * 2015-01-14 2016-07-14 Proeasy Network Solutions Co., Ltd. Home control gateway and gateway control method thereof
CN106327841A (en) * 2016-10-09 2017-01-11 国网江苏省电力公司南京供电公司 Channel switch
CN208537952U (en) * 2018-08-08 2019-02-22 湖南仪峰安安网络科技股份有限公司 Data for industry spot acquire display device
CN209149564U (en) * 2018-12-22 2019-07-23 淄博海源电子科技有限公司 A kind of debugging terminal for wirelessly realizing remote transmitting water meter debugging
CN210377112U (en) * 2019-10-22 2020-04-21 南京林业大学 Multifunctional data acquisition and transmission circuit for industrial control equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110187490A1 (en) * 2010-01-29 2011-08-04 Yokogawa Electric Corporation Control network system
US20160204954A1 (en) * 2015-01-14 2016-07-14 Proeasy Network Solutions Co., Ltd. Home control gateway and gateway control method thereof
CN106327841A (en) * 2016-10-09 2017-01-11 国网江苏省电力公司南京供电公司 Channel switch
CN208537952U (en) * 2018-08-08 2019-02-22 湖南仪峰安安网络科技股份有限公司 Data for industry spot acquire display device
CN209149564U (en) * 2018-12-22 2019-07-23 淄博海源电子科技有限公司 A kind of debugging terminal for wirelessly realizing remote transmitting water meter debugging
CN210377112U (en) * 2019-10-22 2020-04-21 南京林业大学 Multifunctional data acquisition and transmission circuit for industrial control equipment

Similar Documents

Publication Publication Date Title
CN107658916A (en) Cue circuit and electronic equipment
CN104007392A (en) Battery electric quantity detecting and displaying method
CN105188189A (en) Gravity-sensor-based flash lamp illumination method and apparatus, and mobile terminal
CN111669731A (en) Switching circuit and device for field implementation
CN203368616U (en) Automatic power supply system based on HDMI interfaces
CN203013213U (en) Wireless control terminal used for LED display screen
CN106683636B (en) Suitable for vehicle-mounted high-definition multimedia interface and its application
CN110955623A (en) Display with USB Type C interface
CN209417725U (en) A kind of single USB-C interface with lamp effect turns the adapter of double USB-C interfaces
CN104869702A (en) Environment regulating system and method
CN205920310U (en) Flash light and contain its grow light system
CN106877078A (en) Terminal connection circuit and its method for wearable device
CN210721443U (en) Data interface switching circuit and device
CN108631377A (en) Electrifying control circuit and apply its portable power source device
CN206432513U (en) The terminal connection circuit of wearable device
WO2018058504A1 (en) 2.4ghz wireless code table circuit
CN207573665U (en) A kind of three-color diode condition indication circuit and VR are moved and are caught video camera
CN219227593U (en) Communication control circuit and power supply device
CN204652732U (en) A kind of environment adjustment system
CN210781148U (en) Television remote controller chip circuit with illumination drive and remote controller
CN106851146B (en) A kind of TV motherboard and smart television of the more power supplys of compatible multi-screen
CN220108065U (en) Audio and video recorder
CN220273659U (en) Discrete power on-off circuit applied to portable equipment
CN212460342U (en) Remote control device for FPV laser trolley
CN104009521A (en) Battery electric quantity detecting and displaying device

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