CN106681943A - Device for preventing motor operation interference on data acquisition and serial port transmission - Google Patents
Device for preventing motor operation interference on data acquisition and serial port transmission Download PDFInfo
- Publication number
- CN106681943A CN106681943A CN201611157785.9A CN201611157785A CN106681943A CN 106681943 A CN106681943 A CN 106681943A CN 201611157785 A CN201611157785 A CN 201611157785A CN 106681943 A CN106681943 A CN 106681943A
- Authority
- CN
- China
- Prior art keywords
- serial port
- motor
- stationary contact
- relay
- usb
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Control Of Electric Motors In General (AREA)
- Information Transfer Systems (AREA)
Abstract
The invention discloses a device for preventing motor operation interference on data acquisition and serial port transmission. The device comprises a relay, a USB to serial port chip, a motor and a microcontroller; a power supply and the positive electrode of a motor are respectively connected with the input circuit of the relay, the microcontroller is used to control the switch on and off of the power supply; the output circuit of the relay comprises a movable contact point and a first stationary contact and a second stationary contact, the movable contact point is connected to the ground through a resistor, the first stationary contact and the ground terminal of the USB to serial port chip are connected, the second stationary contact point is connected with the negative electrode of the motor, the movable contact point of the relay and the first stationary contact point are normally closed. The circuit is simple in structure, and can from the physical layer avoid the situations that the electric control device starts to run the lower computer even when the principal computer is not yet separated with the electric control device, and after the lower computer is operated, uncertain signals are generated and affect the running of the principal computer through the connection with the USB to serial port chip of the principal computer.
Description
Technical field
The present invention relates to a kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission.
Background technology
Control panel with motor is increasingly popularized, and these equipment generally need to turn serial ports with electricity by USB
The connection of the host computers such as brain, mobile phone is configured with to it.In Practical Project, when host computer is not separated also with control panel, if
Standby is when having operated startup slave computer, neutral signal and the USB by connecting host computer often to be produced after slave computer running
Turning serial ports influences the operation of host computer, and host computer can be caused to produce the consequences such as deadlock when serious.
The content of the invention
Goal of the invention:For above-mentioned prior art, proposition is a kind of to prevent motor operation from disturbing data acquisition Serial Port Transmission
Device, when preventing host computer from not separated with control panel in time from physical layer, the influence that slave computer operation is produced to host computer.
Technical scheme:A kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission, including relay, USB turn
Serial port chip, motor and microcontroller;Positive pole of the input circuit of the relay respectively with power supply and motor is connected, institute
Microcontroller is stated for controlling the opening and closing of the power supply;The output loop of the relay includes movable contact and the first stationary contact
With the second stationary contact, by resistance eutral grounding, first stationary contact turns the earth terminal of serial port chip with the USB to the movable contact
Connection, second stationary contact is connected with the negative pole of the motor, and the movable contact of the relay is normal with first stationary contact
Close.
Further, also including a diode, the positive pole of the diode connects the positive pole of the motor, two pole
The negative pole of pipe connects the power supply.
Beneficial effect:A kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission of the invention, simple structure,
Can avoid not separated with control panel also when host computer from physical layer, control panel has operated startup slave computer, it is the next
Neutral signal is produced after machine running and turns the situation that serial ports influences host computer to run by connecting the USB of host computer.
Brief description of the drawings
Fig. 1 is structural representation of the invention.
Specific embodiment
The present invention is done below in conjunction with the accompanying drawings further is explained.
As shown in figure 1, a kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission, including relay
HK4100, USB turn serial port chip CH340G, pump motor M and microcontroller, and microcontroller can be the treatment such as single-chip microcomputer
Device.Input circuit one end of relay HK4100 connects external power source, the other end connection of input circuit by current-limiting resistance R1
The positive source of pump motor M.Microcontroller connects external power source, the opening and closing for controlling external power source.Relay HK4100
Output loop include movable contact and the first stationary contact and the second stationary contact, movable contact is grounded by earth resistance R2, first
The earth terminal GND that stationary contact turns serial port chip CH340G with USB is connected, the power cathode of its second stationary contact and pump motor M
Connection, and the movable contact of relay HK4100 is normally closed with the first stationary contact.
Additionally, circuit part also includes a diode IN4007, the positive pole of diode connects the positive pole of motor, diode
Negative pole connection external power source.The diode refers to relay fly-wheel diode, and it is used for protecting other elements not in circuit
Sensed voltage breakdown burns out, and is connected to the element two ends that relay produces induced electromotive force in parallel, and with its shape
Into loop, the electromotive force high that it is produced is consumed with continuous current system in loop, so as to play the element in protection circuit not by
The effect of damage.
In this circuit, microcontroller as the control panel of motor part, microcontroller turns serial ports core by USB
Piece can be with host computer, and such as mobile phone, apparatus such as computer carries out communication connection, so that host computer is configured to motor control.This
When the circuit of invention works, according to the setting of host computer, the opening and closing time of microprocessor control external power source, make motor
Run by the requirement of setting.
When external power source is turned off, the movable contact of relay HK4100 is normally closed with the first stationary contact, i.e., USB turns serial port chip
The earth terminal GND of CH340G is grounded by earth resistance R2, now microcontroller normally can be carried out with host computer data lead to
News, and pump motor M is in run-stopping status.
When microprocessor control external power source export electric energy when, electric current by relay input circuit when, relay
Movable contact is acted, and it disconnects with the first stationary contact, and is closed with the second stationary contact;External power source is defeated by relay HK4100's
Entry loop to motor positive source, then by after the connection of relay HK4100 movable contacts and the second stationary contact be grounded, formed
Circuit loop, motor starts to run well.Now, because the movable contact of relay and the first stationary contact disconnect, USB turns serial ports core
The earth terminal GND of piece CH340G is not grounded, and USB turns serial port chip CH340G i.e. cisco unity malfunction, for controller just now
Data communication cannot be carried out with host computer;Therefore during motor operation the neutral signal that produces cannot by microcontroller and
USB turns serial port chip and passes host computer back, thus avoids the influence that the operation of slave computer produces to host computer.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (2)
1. it is a kind of prevent motor operation disturb data acquisition Serial Port Transmission device, it is characterised in that:Turn including relay, USB
Serial port chip, motor and microcontroller;Positive pole of the input circuit of the relay respectively with power supply and motor is connected, institute
Microcontroller is stated for controlling the opening and closing of the power supply;The output loop of the relay includes movable contact and the first stationary contact
With the second stationary contact, by resistance eutral grounding, first stationary contact turns the earth terminal of serial port chip with the USB to the movable contact
Connection, second stationary contact is connected with the negative pole of the motor, and the movable contact of the relay is normal with first stationary contact
Close.
2. a kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission according to claim 1, its feature exists
In:Also include a diode, the positive pole of the diode connects the positive pole of the motor, the negative pole connection institute of the diode
State power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611157785.9A CN106681943B (en) | 2016-12-15 | 2016-12-15 | Device for preventing motor operation from interfering data acquisition serial port transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611157785.9A CN106681943B (en) | 2016-12-15 | 2016-12-15 | Device for preventing motor operation from interfering data acquisition serial port transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106681943A true CN106681943A (en) | 2017-05-17 |
CN106681943B CN106681943B (en) | 2023-06-09 |
Family
ID=58869304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611157785.9A Active CN106681943B (en) | 2016-12-15 | 2016-12-15 | Device for preventing motor operation from interfering data acquisition serial port transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106681943B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5418678A (en) * | 1993-09-02 | 1995-05-23 | Hubbell Incorporated | Manually set ground fault circuit interrupter |
WO2005074241A1 (en) * | 2004-01-29 | 2005-08-11 | Tyco Electronics Argentina Sa | Overvoltage protection in telephone/data lines, suitable for installations with low-quality earth connections |
CN101276488A (en) * | 2008-03-26 | 2008-10-01 | 中国科学院电工研究所 | Vehicular recording instrument capable of implementing intelligent CAN bus communication |
CN101520764A (en) * | 2008-02-25 | 2009-09-02 | 福建星网锐捷通讯股份有限公司 | System for directly using serial signal control device |
CN206322156U (en) * | 2016-12-15 | 2017-07-11 | 南京航空航天大学 | A kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission |
-
2016
- 2016-12-15 CN CN201611157785.9A patent/CN106681943B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5418678A (en) * | 1993-09-02 | 1995-05-23 | Hubbell Incorporated | Manually set ground fault circuit interrupter |
WO2005074241A1 (en) * | 2004-01-29 | 2005-08-11 | Tyco Electronics Argentina Sa | Overvoltage protection in telephone/data lines, suitable for installations with low-quality earth connections |
CN101520764A (en) * | 2008-02-25 | 2009-09-02 | 福建星网锐捷通讯股份有限公司 | System for directly using serial signal control device |
CN101276488A (en) * | 2008-03-26 | 2008-10-01 | 中国科学院电工研究所 | Vehicular recording instrument capable of implementing intelligent CAN bus communication |
CN206322156U (en) * | 2016-12-15 | 2017-07-11 | 南京航空航天大学 | A kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission |
Also Published As
Publication number | Publication date |
---|---|
CN106681943B (en) | 2023-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10409238B2 (en) | Smart power socket and smart home system | |
US9473648B2 (en) | Next generation form factor interface preventing large transient current during hot plugging | |
CN205545180U (en) | Short -circuit protection circuit and power supply device | |
CN103561167A (en) | Device, method and terminal equipment for restarting after dead halt | |
CN206074715U (en) | A kind of direct current power-fail detection circuit | |
CN206322156U (en) | A kind of device for preventing motor operation from disturbing data acquisition Serial Port Transmission | |
CN105425927B (en) | More key reset circuits and electronic product with reset key | |
CN203561847U (en) | Standby circuit control system with low power consumption | |
CN104914966B (en) | A kind of single-chip microcontroller Self-disconnecting restarts circuit | |
CN106210198A (en) | A kind of smart card protection circuit, mobile terminal and smart card guard method | |
CN105302653A (en) | Circuit structure used for preventing start of tablet computer caused by mistakenly touching power key | |
CN106681943A (en) | Device for preventing motor operation interference on data acquisition and serial port transmission | |
CN103645375A (en) | Power supply overrunning detection module without reference source | |
CN107678999A (en) | A kind of I2C isolation circuits | |
CN204077565U (en) | Power-off delay system of vehicle controller | |
CN110096382A (en) | The electronic device of mainboard and the application mainboard | |
CN209168087U (en) | Terminal device | |
CN209497440U (en) | The key circuit and electronic equipment of a kind of electronic equipment | |
CN206671934U (en) | A kind of second protection circuit of toaster | |
CN105403756A (en) | Circuit device having ground wire live detection function | |
CN205721163U (en) | Household appliance and standby circuit thereof | |
CN205210621U (en) | Control system with total line type intelligence switch | |
CN104424039A (en) | Protecting circuit | |
CN105739663B (en) | USB power source control circuit | |
CN203466382U (en) | Intelligent socket |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |