CN209928229U - System for realizing relay control by USB interface compatible with different modules - Google Patents

System for realizing relay control by USB interface compatible with different modules Download PDF

Info

Publication number
CN209928229U
CN209928229U CN201920516423.7U CN201920516423U CN209928229U CN 209928229 U CN209928229 U CN 209928229U CN 201920516423 U CN201920516423 U CN 201920516423U CN 209928229 U CN209928229 U CN 209928229U
Authority
CN
China
Prior art keywords
pin
usb
circuit unit
module
resistor
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
CN201920516423.7U
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 Guanchen Science And Technology Co Ltd
Original Assignee
Shenzhen Guanchen Science And 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 Guanchen Science And Technology Co Ltd filed Critical Shenzhen Guanchen Science And Technology Co Ltd
Priority to CN201920516423.7U priority Critical patent/CN209928229U/en
Application granted granted Critical
Publication of CN209928229U publication Critical patent/CN209928229U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model provides a system for relay control is realized to compatible different modules of USB interface, include: the USB interface module comprises a USB male port and a USB female port, the power supply module comprises a power supply unit, an AC-DC circuit unit and a DC-DC circuit unit, the USB controller module is connected with one end of the USB male port to form a USB flash disk module, the USB flash disk module is inserted into one end of the USB female port through the USB interface, the other end of the USB female port is connected with the input end of the drive circuit module, and the output end of the drive circuit module is connected with the relay circuit module. The utility model discloses a USB controller of grafting, the outside command signal of wireless reception is handled through USB processor module, through USB interface output signal to drive circuit module, controls the break-make output of relay, adopts USB interface grafting mode to change different USB controller modules, and control mode is easy with easily changing, and is very convenient.

Description

System for realizing relay control by USB interface compatible with different modules
Technical Field
The utility model relates to an automatic control technical field, in particular to system that relay control is realized to compatible different modules of USB interface.
Background
An intelligent home control system (SCS for short) is characterized in that an intelligent home system is used as a platform, home appliances and household appliances are used as main control objects, facilities related to home life are efficiently integrated by utilizing an integrated wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, an efficient control management system for residential facilities and home schedule transactions is constructed, home intelligence, safety, convenience and comfort are improved, and an environment-friendly control system platform is realized. The intelligent home control system is an intelligent home core and is a basis for realizing an intelligent home control function.
With the continuous progress of society and the rapid development of information technology, intelligent household appliances increasingly enter ordinary families, for example, the control of power switches of the household appliances is usually performed manually, a real intelligent home system cannot be realized, the production cost is high, and the mutual connection and the automatic control become necessary directions for the development of future intelligent homes.
SUMMERY OF THE UTILITY MODEL
In order to solve the above problem, the utility model relates to a system for relay control is realized to compatible different modules of USB interface.
The technical scheme of the utility model is realized like this:
the utility model discloses a system for relay control is realized to compatible different modules of USB interface, include: the power module comprises a power supply unit, an AC-DC circuit unit and a DC-DC circuit unit, the power supply unit is connected with the input end of the AC-DC circuit unit and supplies alternating current to the AC-DC circuit unit, the output end of the AC-DC circuit unit is connected to the input ends of the DC-DC circuit unit and the driving circuit module, the output end of the DC-DC circuit unit is connected with the USB female port, the USB controller module is connected with one end of the USB male port to form a USB flash disk module, the USB flash disk module is connected with one end of the USB female port in an inserting mode through a USB interface, the other end of the USB female port is connected with the input end of the driving circuit module, and the output end of the driving circuit module is connected with the relay circuit module.
Further, the female port of USB has the pin that sets gradually and is: the power supply comprises a first pin of JP2, a second pin of JP2, a third pin of JP2, a fourth pin of JP2, a fifth pin of JP2, a sixth pin of JP2, a seventh pin of JP2, an eighth pin of JP2 and a ninth pin of JP2, wherein the second pin of JP2 is connected with the positive electrode of a 5V power supply, and the eighth pin of JP2 is connected with the ground; the male USB port is provided with pins which are correspondingly connected with the pins of the female USB port, and the pins are sequentially as follows: JP3 first pin, JP3 second pin, JP3 third pin, JP3 fourth pin, JP3 fifth pin, JP3 sixth pin, JP3 seventh pin, JP3 eighth pin, JP3 ninth pin.
Furthermore, the USB controller module comprises a data acquisition chip, a one-key configuration button connected with the data acquisition chip and an LED display lamp, when the one-key configuration button is started, the LED display lamp is turned on, the data acquisition chip is in matched communication connection with an external client and receives a remote control signal of the data acquisition chip, the remote control signal is processed to become a control signal, and the control signal is transmitted to the driving circuit module through the USB interface module and is used for driving the relay circuit module to work.
Furthermore, the data acquisition chip is any one of a 2.4G wireless chip, a Bluetooth chip, a WIFI chip, a ZIGBEE chip, an LORA chip, a 4G chip or an NB-IOT chip.
Furthermore, the driving circuit module comprises a first driving circuit unit and a second driving circuit unit, the first driving circuit unit and the second driving circuit unit are connected in parallel, the input ends of the first driving circuit unit and the second driving circuit unit are connected with the USB female port, and the output ends of the first driving circuit unit and the second driving circuit unit are connected with the relay circuit module.
Furthermore, the first driving circuit unit comprises a first resistor, a second resistor, a first diode and a first triode, wherein one end of the first resistor is connected with one pin of the USB female port, and the other end of the first resistor is connected with the 1 st pin of the first triode; one end of the second resistor is connected with the common end of the No. 1 pin of the first triode and the first resistor, and the other end of the second resistor is grounded; the 2 nd pin of the first triode is connected with the anode of the first diode and the 2 nd pin of the first coil in the relay circuit module, the cathode of the first diode is connected with the 1 st pin of the first coil in the relay circuit module, and the 3 rd pin of the first triode is grounded.
Furthermore, the second driving circuit unit comprises a third resistor, a fourth resistor, a second diode and a second triode, wherein one end of the third resistor is connected with one pin of the USB female port, and the other end of the third resistor is connected with the 1 st pin of the second triode; one end of the third resistor is connected with the common end of the No. 1 pin of the second triode and the third resistor, and the other end of the fourth resistor is grounded; the 2 nd pin of second triode with the anodal of second diode is connected and with the 2 nd pin of second coil in the relay circuit module is connected, the negative pole of second diode with the 1 st pin of second coil in the relay circuit module is connected, the 3 rd pin ground connection of second triode.
The utility model provides a method for realizing relay control by compatible different modules of USB interface, comprising the following steps:
integrating a USB controller module and a USB male port into a USB disk, wherein the USB male port of the USB disk is inserted into a USB female port of a controller, and the controller is used for controlling on-off output of a relay;
secondly, the client sends a starting signal to the USB flash disk, a USB controller module in the USB flash disk processes the received starting signal to start a control signal, and the starting control signal is transmitted to a controller through a USB interface arranged in the USB flash disk;
and step three, the controller receives the opening control signal and drives a coil of the relay, and the on-off of a relay contact is controlled through the coil.
Implement the utility model discloses a system and method that compatible different modules of USB interface realized relay control has following profitable technological effect:
implement the utility model relates to a system that relay control is realized to compatible different modules of USB interface, the control signal that sends through the USB flash disk wireless reception customer end of pegging graft exports through the processing control relay break-make, and USB interface grafting mode is changed the USB flash disk controller, and is very convenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that 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 according to these drawings without inventive exercise.
Fig. 1 is a system block diagram of the first embodiment of the present invention, in which a USB interface is compatible with different modules to realize relay control;
fig. 2 is a schematic structural diagram of a part of a system in which a USB interface is compatible with different modules to realize relay control according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of another part of a system for realizing relay control by using USB interfaces compatible with different modules according to the first embodiment of the present invention;
fig. 4 is a functional diagram of a system for implementing relay control by using USB interfaces compatible with different modules according to the first embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
Referring to fig. 1, 2 and 3, a first embodiment of the present invention includes a power module 10, a USB male port 20, a USB female port 30, a USB controller module 40, a driving circuit module 50 and a relay circuit module 60, wherein the power module 10 includes a power supply unit 101, an AC-DC circuit unit 102 and a DC-DC circuit unit 103, the power supply unit 101 is connected to an input end of the AC-DC circuit unit 102 and provides alternating current for the AC-DC circuit unit, an output end of the AC-DC circuit unit 102 is connected to input ends of the DC-DC circuit unit 103 and the driving circuit module 50, an output end of the DC-DC circuit unit 103 is connected to the USB female port 30, the USB controller module 40 is connected to one end of the USB male port 20 to form a USB disk module 70, the USB disk module 70 is inserted into one end of the USB female port 30 through a USB interface, the other end of the USB female port 30 is connected to an input, the output terminal of the driving circuit module 50 is connected to the relay circuit module 60.
Specifically, the USB female port 30 has pins arranged in sequence as follows: the power supply comprises a first pin of JP2, a second pin of JP2, a third pin of JP2, a fourth pin of JP2, a fifth pin of JP2, a sixth pin of JP2, a seventh pin of JP2, an eighth pin of JP2 and a ninth pin of JP2, wherein the second pin of JP2 is connected with the positive electrode of a 5V power supply, and the eighth pin of JP2 is connected with the ground; the male USB port 20 has pins corresponding to and connected with the pins of the female USB port 30: JP3 first pin, JP3 second pin, JP3 third pin, JP3 fourth pin, JP3 fifth pin, JP3 sixth pin, JP3 seventh pin, JP3 eighth pin, JP3 ninth pin.
Specifically, the driving circuit module 50 includes a first driving circuit unit 501 and a second driving circuit unit 502, the first driving circuit unit 501 and the second driving circuit unit 502 are connected in parallel, and input ends thereof are connected to the USB female port 30, and output ends thereof are connected to the relay circuit module 60.
Specifically, the first driving circuit unit 501 includes a first resistor R1, a second resistor R2, a first diode D1, and a first transistor Q1, wherein one end of the first resistor R1 is connected to one pin of the USB female port 30, and the other end of the first resistor R1 is connected to the 1 st pin of the first transistor Q1; one end of the second resistor R2 is connected with the common end of the No. 1 pin of the first triode Q1 and the first resistor R1, and the other end of the second resistor R2 is grounded; the 2 nd pin of the first transistor Q1 is connected to the positive electrode of the first diode D1 and to the 2 nd pin of the first coil in the relay circuit module 60, the negative electrode of the first diode D1 is connected to the 1 st pin of the first coil 601 in the relay circuit module 60, and the 3 rd pin of the first transistor Q1 is grounded.
The second driving circuit unit 502 includes a third resistor R3, a fourth resistor R4, a second diode D2 and a second transistor Q2, wherein one end of the third resistor R3 is connected to one pin of the USB female port 30, and the other end of the third resistor R3 is connected to the 1 st pin of the second transistor Q2; one end of the third resistor R3 is connected with the common end of the No. 1 pin of the second triode Q2 and the third resistor R3, and the other end of the fourth resistor R4 is grounded; a 2 nd pin of the second transistor Q2 is connected to the anode of the second diode D2 and to the 2 nd pin of the second coil 602 in the relay circuit module 60, the cathode of the second diode D2 is connected to the 1 st pin of the second coil 602 in the relay circuit module 60, and the 3 rd pin of the second transistor Q2 is grounded.
The utility model provides a method for USB interface compatible different modules realizes relay control, like figure 4, including following step:
step one, a USB controller module and a USB male port are integrated into a USB flash disk 100, the USB male port of the USB flash disk 100 is plugged into a USB female port of a controller 200, and the controller 200 is used for controlling on-off output of a relay 300;
step two, the client 400 sends a start signal to the USB disk 100, the USB controller module in the USB disk 100 processes the received start signal to start a control signal, and the start control signal is transmitted to the controller 200 through a USB interface provided in the USB disk 100;
and step three, the controller 200 receives the opening control signal and drives a coil of the relay 300, and the on-off of the relay contact is controlled through the coil.
The method in the first embodiment has the technical effects that: the method for realizing the relay control by the USB interface compatible with different processor modules can be suitable for controlling the electric switch, can receive the wireless control signal to control the opening or closing of the electric switch as long as the USB flash disk module is inserted into and connected with a system with a driving circuit module, has strong compatibility, and is very convenient to connect by a USB mode.
The above description is only a preferred embodiment of the present invention, and should not be taken as limiting the invention, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. The utility model provides a system for USB interface is compatible different modules and is realized relay control which characterized in that includes: the power module comprises a power supply unit, an AC-DC circuit unit and a DC-DC circuit unit, the power supply unit is connected with the input end of the AC-DC circuit unit and supplies alternating current to the AC-DC circuit unit, the output end of the AC-DC circuit unit is connected to the input ends of the DC-DC circuit unit and the driving circuit module, the output end of the DC-DC circuit unit is connected with the USB female port, the USB controller module is connected with one end of the USB male port to form a USB flash disk module, the USB flash disk module is connected with one end of the USB female port in an inserting mode through a USB interface, the other end of the USB female port is connected with the input end of the driving circuit module, and the output end of the driving circuit module is connected with the relay circuit module.
2. The system according to claim 1, wherein the USB female port has pins arranged in sequence as follows: the power supply comprises a first pin of JP2, a second pin of JP2, a third pin of JP2, a fourth pin of JP2, a fifth pin of JP2, a sixth pin of JP2, a seventh pin of JP2, an eighth pin of JP2 and a ninth pin of JP2, wherein the second pin of JP2 is connected with the positive electrode of a 5V power supply, and the eighth pin of JP2 is connected with the ground; the male USB port is provided with pins which are correspondingly connected with the pins of the female USB port, and the pins are sequentially as follows: JP3 first pin, JP3 second pin, JP3 third pin, JP3 fourth pin, JP3 fifth pin, JP3 sixth pin, JP3 seventh pin, JP3 eighth pin, JP3 ninth pin.
3. The system of claim 1, wherein the USB controller module comprises a data acquisition chip, a one-key configuration button connected to the data acquisition chip, and an LED display lamp, wherein when the one-key configuration button is activated, the LED display lamp is turned on, the data acquisition chip is in communication connection with an external client, receives a remote control signal thereof, and processes the remote control signal to obtain a control signal, and the control signal is transmitted to the driving circuit module through the USB interface module to drive the relay circuit module to operate.
4. The system of claim 3, wherein the data acquisition chip is any one of a 2.4G wireless chip, a Bluetooth chip, a WIFI chip, a ZIGBEE chip, a LORA chip, a 4G chip, or an NB-IOT chip.
5. The system according to claim 1, wherein the driving circuit module comprises a first driving circuit unit and a second driving circuit unit, the first driving circuit unit and the second driving circuit unit are connected in parallel, input ends of the first driving circuit unit and the second driving circuit unit are connected with the USB female port, and output ends of the first driving circuit unit and the second driving circuit unit are connected with the relay circuit module.
6. The system according to claim 5, wherein the first driving circuit unit comprises a first resistor (R1), a second resistor (R2), a first diode (D1) and a first transistor (Q1), wherein one end of the first resistor (R1) is connected to one pin of the USB female port, and the other end of the first resistor (R1) is connected to the 1 st pin of the first transistor (Q1); one end of the second resistor (R2) is connected with the common end of the No. 1 pin of the first triode (Q1) and the first resistor (R1), and the other end of the second resistor (R2) is grounded; the 2 nd pin of the first triode (Q1) is connected with the positive electrode of the first diode (D1) and the 2 nd pin of the first coil in the relay circuit module, the negative electrode of the first diode (D1) is connected with the 1 st pin of the first coil in the relay circuit module, and the 3 rd pin of the first triode (Q1) is grounded.
7. The system according to claim 5, wherein the second driving circuit unit comprises a third resistor (R3), a fourth resistor (R4), a second diode (D2) and a second transistor (Q2), wherein one end of the third resistor (R3) is connected to one pin of the USB female port, and the other end of the third resistor (R3) is connected to the 1 st pin of the second transistor (Q2); one end of the third resistor (R3) is connected with the common end of the No. 1 pin of the second triode (Q2) and the third resistor (R3), and the other end of the fourth resistor (R4) is grounded; a 2 nd pin of the second transistor (Q2) is connected to the anode of the second diode (D2) and to the 2 nd pin of the second coil in the relay circuit module, the cathode of the second diode (D2) is connected to the 1 st pin of the second coil in the relay circuit module, and the 3 rd pin of the second transistor (Q2) is grounded.
CN201920516423.7U 2019-04-17 2019-04-17 System for realizing relay control by USB interface compatible with different modules Active CN209928229U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920516423.7U CN209928229U (en) 2019-04-17 2019-04-17 System for realizing relay control by USB interface compatible with different modules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920516423.7U CN209928229U (en) 2019-04-17 2019-04-17 System for realizing relay control by USB interface compatible with different modules

Publications (1)

Publication Number Publication Date
CN209928229U true CN209928229U (en) 2020-01-10

Family

ID=69073818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920516423.7U Active CN209928229U (en) 2019-04-17 2019-04-17 System for realizing relay control by USB interface compatible with different modules

Country Status (1)

Country Link
CN (1) CN209928229U (en)

Similar Documents

Publication Publication Date Title
CN101630797B (en) Wireless remote control socket assembly
CN106159579A (en) A kind of smart jack based on wireless wifi communication technology and control method
CN206250502U (en) A kind of smart jack
CN112885070A (en) Ultramicro power consumption signal transmitting device and application thereof
CN203690619U (en) Multifunctional remote control socket
CN111756086B (en) Power bridging device and bridging method using mobile robot battery
CN105527952A (en) Smart home control device and electric appliance matching system and method
CN103996935B (en) A kind of energy-saving socket and control method thereof
CN201725734U (en) Time-controlled power switch
CN105352121A (en) Remote control system and method based on mobile phone terminal
CN209928229U (en) System for realizing relay control by USB interface compatible with different modules
CN101165618A (en) Intelligent standby electricity-saving power supervisor
CN201774576U (en) Mobile phone having remote control function
CN109245239B (en) Intelligent charging system and method
CN200941496Y (en) Smart energy saving socket of air conditioner
CN105024236A (en) Automatic code matching intelligent socket and automatic code matching method thereof
CN204928901U (en) Terminal module who possesses state synchronizing function
CN205304589U (en) Power source control circuit
CN201466376U (en) Specific energy saving socket for combined mating electrical appliance
CN210442672U (en) Intelligent power supply switch
CN206441947U (en) Novel intelligent socket based on ESP8266 chips
CN2620913Y (en) Voice controlled remote controller for domestic electric equipment
CN103259734A (en) Router with remote control timing function
CN106025728A (en) Wireless infrared intelligent socket
CN207690276U (en) A kind of multifunctional household remote controler based on smart machine

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant