CN110957806A - Generator controller circuit - Google Patents

Generator controller circuit Download PDF

Info

Publication number
CN110957806A
CN110957806A CN201911170470.1A CN201911170470A CN110957806A CN 110957806 A CN110957806 A CN 110957806A CN 201911170470 A CN201911170470 A CN 201911170470A CN 110957806 A CN110957806 A CN 110957806A
Authority
CN
China
Prior art keywords
circuit
capacitor
resistor
pin
microcontroller
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.)
Withdrawn
Application number
CN201911170470.1A
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.)
Qingyuan Deyuan Energy Development Co ltd
Original Assignee
Qingyuan Deyuan Energy Development 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 Qingyuan Deyuan Energy Development Co ltd filed Critical Qingyuan Deyuan Energy Development Co ltd
Priority to CN201911170470.1A priority Critical patent/CN110957806A/en
Publication of CN110957806A publication Critical patent/CN110957806A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/08Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems requiring starting of a prime-mover
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P9/00Arrangements for controlling electric generators for the purpose of obtaining a desired output
    • H02P9/08Control of generator circuit during starting or stopping of driving means, e.g. for initiating excitation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The invention discloses a generator controller circuit, which comprises a power circuit, an MCU circuit and an I2C circuit, output control circuit, output drive circuit, 4G module and SIM circuit, bee calling organ circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit, the MCU circuit includes microcontroller U9, microcontroller U9 is STM32F103C, microcontroller U9 respectively with output drive circuit, 4G module and SIM circuit, bee calling organ circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit are connected, I2The C circuit comprises an internal integrated chip U3, pins 5 and 6 of the internal integrated chip U3 are connected with a microcontroller U9, and an output control circuit is connected with the generator through an output driving circuit. The generator controller circuit realizes remote intelligent starting and flameout of the base station generator, does not need people to arrive at the site, timely controls the running condition of the base station generator, monitors real-time data, realizes intelligent management of the generator, releases manpower, and solves the problem that manual operation is difficult to generate electricitySo as to solve the problem of accuracy.

Description

Generator controller circuit
Technical Field
The invention relates to the technical field of Internet of things, in particular to a generator controller circuit.
Background
With the development of society, electric power has become a power source of the whole society and becomes an indispensable important factor in production and life. However, with the rapid development of economy in recent years, people have a great demand for electric energy, and during the peak period of electricity utilization, the contradiction between electricity supply and demand is prominent, and in severe cases, unexpected power interruption occurs, which brings unpredictable loss. When the power is cut off, the generator set is used for generating power, people are required to start the generator on site, the generator cannot be started in time due to the fact that the power failure time is not fixed, and certain economic loss can be caused due to the power failure phenomenon in the middle. In addition, the traditional generator management scheme cannot provide real-time record of generator data, cannot realize intelligent starting and flameout of the generator of the base station, cannot control the running condition of the generator, and cannot trigger and start the generator according to conditions.
Disclosure of Invention
The invention aims to solve the defects, and provides a generator controller circuit which realizes remote intelligent starting and flameout of a base station generator, does not need people to arrive at the site, timely controls the running condition of the base station generator, monitors data in real time, realizes intelligent management of the generator, releases manpower and solves the problem that manual operation is difficult to generate electricity accurately.
The technical scheme is as follows:
the generator controller circuit comprises a power supply circuit, an MCU circuit, and an I2The power supply circuit is respectively connected with the MCU circuit, the I circuit and the clock circuit2C circuit, output control circuit, output drive circuit, 4G module and SIM circuit, buzzer circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit connection, the MCU circuit includes microcontroller U9, microcontroller U9 is STM32F103C, microcontroller U9 respectively with output drive circuit, 4G module and SIM circuit, buzzer circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit connection, I9 is connected2The C circuit includes internal integrationThe chip U3, the internal integration chip U3 is AT24C16, the 5 th and 6 th pins of the internal integration chip U3 are connected with the network pins I2C1_ SDA _ Mother and I2C1_ SCL _ Mother of the microcontroller U9, and the output control circuit is connected with the generator through the output driving circuit.
The MCU circuit further comprises an external oscillator, a burning interface J10, a debugging and upgrading interface J9, a resistor R38, a resistor R39 and a resistor R40, wherein the external oscillator comprises an SM patch crystal oscillator Y2, a capacitor C35 and a capacitor C36, two ends of the SM patch crystal oscillator Y2 are respectively connected with an OSC1 pin and an OSC0 pin of a microcontroller U9, one ends of the capacitor C35 and the capacitor C36 are respectively connected with an OSC1 pin and an OSC0 pin of the microcontroller U9, and the other ends of the capacitor C35 and the capacitor C36 are grounded; the 1 st pin and the 2 nd pin of the burning interface J10 are respectively connected with a SWDIO pin and a SWDCLK pin of a microcontroller U9, the 3 rd pin of the burning interface J10 is connected with a 3.3V power supply, and the 4 th pin of the burning interface J10 is grounded; the 1 st, 2 nd feet of debugging upgrade interface J9 connect serial ports UART _ TX, UART _ RX of microcontroller U9 respectively to connect resistance R39, resistance R40 respectively, microcontroller U9's BOOT1 foot, debugging upgrade interface J9's BOOT0 foot are connected respectively to resistance R38's both ends, 3.3V power is connected to debugging upgrade interface J9's 5 th foot, debugging upgrade interface J9's 4 th foot ground connection.
Said I2The C circuit further comprises a capacitor C13, a resistor R20 and a resistor R21, the 1 st, 2 nd, 3 rd, 4 th and 7 th pins of the internal integrated chip U3 are grounded, the 8 th pin of the internal integrated chip U3 is connected with a 3.3V power supply, the 3.3V power supply is grounded through the capacitor C13, and the 5 th and 6 th pins of the internal integrated chip U3 are respectively connected with the 3.3V power supply through the resistor R20 and the resistor R21.
The clock circuit comprises a clock chip U5, a crystal oscillator Y1, a capacitor C22, a capacitor C23, a battery BT1, a diode D2, a diode D3, a capacitor C24, a resistor R34 and a resistor R35, wherein the clock chip U5 is PCF8563, two ends of the crystal oscillator Y1 are respectively connected with an OSC1 pin and an OSC0 pin of the microcontroller U9, one ends of the capacitor C22 and the capacitor C23 are respectively connected with an OSC0 pin and an OSC1 pin of the microcontroller U9, and the other ends of the capacitor C22 and the capacitor C23 are grounded; the 8 th pin of the clock chip U5 is respectively connected with a battery BT1, a 3.3V power supply and a ground wire through the diode D2, the diode D3 and the capacitor C24, the 5 th pin and the 6 th pin of the clock chip U5 are respectively connected with the network pins I2C2_ SDA and I2C2_ SCL of the microcontroller U9, and are respectively connected with the 3.3V power supply through the resistor R34 and the resistor R35.
The power supply circuit comprises a regulated power supply module U6, a regulated power supply module U7, a regulated power supply module U8, a diode D4, a diode D5, a diode D6, a diode D7, a capacitor C25, a capacitor C26, a capacitor C27, a coil L27 and a coil L27, wherein the regulated power supply module U27 is LM2596HVS-5.0, the regulated power supply module U27 is LM2596HVS-3.3, the regulated power supply module U27 is 111AMS 7, the positive pole of an external DC12 27 power supply is respectively connected with the input ends of the regulated power supply module U27 and the regulated power supply module U27 through the diode D27 and the diode D27, the output end of the regulated power supply module U27 is connected with the input end of the regulated power supply module U27, an output control circuit, an output drive circuit and a buzzer circuit, one end of the diode C27 is connected with the negative pole of the diode D27, the other end of the capacitor C36, the dotted terminal of the coil L1 is connected to one terminal of the diode D5, the other terminal of the diode D5 is grounded, the non-dotted terminal of the coil L1 is connected to one terminals of the capacitor C26 and the capacitor C27, and the other terminals of the capacitor C26 and the capacitor C27 are grounded; the output end of the regulated power supply module U7 is connected with a 4G module and a SIM circuit through the coil L2, the dotted terminal of the coil L2 is connected with one end of the diode D7, the other end of the diode D7 is grounded, the non-dotted terminal of the coil L2 is connected with one ends of the capacitor C29 and the capacitor C30, and the other ends of the capacitor C29 and the capacitor C30 are grounded; the output end of the voltage-stabilized power supply module U8 is connected with a capacitor C33, a capacitor C34, an MCU circuit and an I2The other ends of the capacitor C33 and the capacitor C34 are grounded.
The buzzer circuit comprises a buzzer LS1, a resistor R60, a resistor R61 and a triode Q4, wherein one end of the buzzer LS1 is connected with a 5V power supply through a resistor R60, the other end of the buzzer LS1 is connected with a collector of the triode Q4, a base of the triode Q4 is connected with a BEE pin of a microcontroller U9 through a resistor R61, and an emitter of the triode Q4 is grounded.
The output driving circuit comprises a driving chip U14, a resistor R53, a resistor R54, a resistor R55, a resistor R56, a resistor R57, a resistor R58, a resistor R59, a network line Relay1-5 and a network line VoltageOUT1-2, the output control circuit comprises a Relay and a terminal J11, the input ends of the 1-7 pins of the driving chip U14 are respectively connected with the network pin Relay Control 9-5 and the network pin VoltageIN 9-2 of the microcontroller U9, the input ends of the 1-7 pins of the driving chip U9 are respectively connected with a 3.3V power supply through the resistor R9, the resistor R9 and the resistor R9, the 8 pins of the driving chip U9 are grounded, the 9 pins of the driving chip U9 are connected with a DC 59 power supply, the output ends of the 16-10 pins of the driving chip U9 are respectively connected with the Relay coil OUT 72 and the network line Relay OUT 72-2 through the network line Relay, the other end of the relay coil is connected with a DC5V power supply, the control contact 3-4 of the relay is connected with a terminal J11, and the terminal J11 is connected with a generator.
The commercial power and power generation acquisition circuit comprises a double operational amplifier U11, a commercial power acquisition circuit and a power generation acquisition circuit, wherein the commercial power acquisition circuit comprises a commercial power rectification circuit and a commercial power voltage follower circuit, a commercial power supply is connected with the INB positive input end of the double operational amplifier U11 through the electric rectification circuit, and the OUTB output end of the double operational amplifier U11 is connected with a network 220_ check pin of a microcontroller U9 through the commercial power voltage follower circuit; the power generation acquisition circuit comprises a power generation rectifying circuit and a power generation voltage following circuit, a power generator power supply is connected with an INA positive input end of the double operational amplifier U11 through the power generation rectifying circuit, an OUT output end of the double operational amplifier U11 is connected with a network 220_ A _ check foot of the microcontroller U9 through the power generation voltage following circuit, and a VCC end of the double operational amplifier U11 is connected with a 3.3V power supply.
The signal acquisition circuit comprises an Oil quantity acquisition circuit, a current acquisition circuit, a battery voltage acquisition circuit, a 12V voltage acquisition circuit and a temperature acquisition circuit, wherein the Oil quantity acquisition circuit is connected with a GetSigADC _ Oil pin of the microcontroller U9, the current acquisition circuit is connected with a GetSigADC _ l pin of the microcontroller U9, the battery voltage acquisition circuit is connected with a GetSigADC _52V pin of the microcontroller U9, the 12V voltage acquisition circuit is connected with a GetSigADC _12V pin of the microcontroller U9, and the temperature acquisition circuit is connected with a GetSigDQ _ TEMPER pin of the microcontroller U9.
The 4G module and SIM circuit comprises a module socket J3, a 4G module, a 4G RESET circuit, a 4G transmission data level conversion circuit, a 4G reception data level conversion circuit and an SIM circuit, wherein the module socket J3 is PICe-52p, the 4G module is correspondingly connected with the module socket J3, the module socket J3 is connected with a network pin MCU _4G _ RESET of the microcontroller U9 through the 4G RESET circuit, the module socket J3 is connected with a network pin UARST2_4G _ TX of the microcontroller U9 through the 4G transmission data level conversion circuit, and the module socket J3 is connected with a network pin UARST2_4G _ RX of the microcontroller U9 through the 4G reception data level conversion circuit; the SIM circuit comprises a SIM card M1, a capacitor C14, a capacitor C15, a capacitor C16, a capacitor C17, a transient voltage suppression diode TVS1, a resistor R23, a resistor R24 and a resistor R25, wherein pins 1, 2, 3 and 6 of the SIM card M1 are grounded through the capacitor C14, the capacitor C15, the capacitor C16 and the capacitor C17, the negative end of the transient voltage suppression diode TVS1 is respectively connected with pins 1, 2, 3 and 6 of the SIM card M1, and pins 2, 3 and 6 of the SIM card M1 are respectively connected with pins RST _ CLK and UIM _ DAT of the module socket J3 through the resistor R23, the resistor R24 and the resistor R25.
The following illustrates the advantages or principles of the invention:
1. the invention provides a generator controller circuit, which comprises a power supply circuit, an MCU circuit and an I2C circuit, output control circuit, output drive circuit, 4G module and SIM circuit, buzzer circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit, the power supply circuit is MCU circuit, I2The C circuit, the output control circuit, the output drive circuit, the 4G module, the SIM circuit, the buzzer circuit, the signal acquisition circuit, the commercial power and power generation acquisition circuit and the clock circuit provide power, and the MCU circuit carries out corresponding operation or processing on information acquired by each I \ O port or converts the information into corresponding actionThe instruction is output to I \ O to drive peripheral equipment; i is2The C circuit performs read-write operation through I2C1_ SDA _ Mother and I2C1_ SCL _ Mother which are connected with the MUC; the buzzer circuit provides sound for the equipment; the clock circuit transmits clock signals, timing signals and alarm signals to the MCU to complete various complex timing services; the 4G module and the SIM circuit realize remote intelligent management control on the generator; the signal acquisition circuit realizes the real-time acquisition of data such as the oil quantity, the current, the temperature, the battery voltage and the like of the generator and provides real-time data for the intelligent management of the generator; the commercial power and power generation acquisition circuit can acquire power generation and supply signals of the generator or commercial power supply signals in real time and provide real-time information for intelligent management of the generator; the output control circuit and the output driving circuit realize a circuit for intelligently controlling the starting and flameout of the generator, and solve the problem that the power generation is difficult to be accurately operated manually; the generator controller circuit realizes remote intelligent starting and flameout of the base station generator, people do not need to arrive at the site, the running condition of the base station generator is controlled in time, real-time data monitoring is realized, intelligent management of the generator is realized, manpower is released, and the problem that manual operation power generation is difficult to achieve accurately is solved.
2. The MCU circuit comprises a microcontroller U9, an external oscillator, a burning interface J10, a debugging and upgrading interface J9, a resistor R38, a resistor R39 and a resistor R40, wherein the microcontroller U9 is STM32F103C, and the STM32F103C is a high-performance, low-cost and low-power-consumption embedded MUC; the external oscillator is composed of an SM patch crystal oscillator Y2, a capacitor C35 and a capacitor C36, and the microcontroller U9 performs corresponding operation or processing on information acquired by each I \ O port or converts the information into corresponding action instructions to be output to I \ O to drive peripheral equipment.
3. I of the invention2The circuit C further comprises a capacitor C13, a resistor R20 and a resistor R21, and the internal integrated chip U3 is connected with the microcontroller U9 through I2C1_ SDA _ Mother and I2C1_ SCL _ Mother for reading and writing.
4. The clock circuit of the invention comprises a clock chip U5, a crystal oscillator Y1, a capacitor C22, a capacitor C23, a battery BT1, a diode D2, a diode D3, a capacitor C24, a resistor R34 and a resistor R35, wherein the clock chip U5 is PCF8563, and the PCF8563 is a low-power consumption CMOS real-time clock/calendar chip which provides power for the clock chip U5, the crystal oscillator Y1, the capacitor C22, the capacitor C23 and the resistor R86A programmable clock output, an interrupt output and power-down detector, all addresses and data passing through I2The C bus interface is serially transferred. The PCF8563 has various alarm functions, timer functions, clock output functions and interrupt output functions to complete various complex timing services; the clock chip U5, the crystal oscillator Y1, the capacitor C22 and the capacitor C23 form an oscillator, and a reference frequency is generated to the PCF 8563; the battery BT1, the diode D2, the capacitor C24 and the 8 pins of the clock chip U5 are connected to form a battery power supply system, the diode D3, the capacitor C24, an external 3.3V power supply and the 8 pins of the clock chip U5 are connected to form an external power supply for supplying power, and the two power supply systems are isolated by the diode D2 and the diode D3; the 5 feet (SDA data) and 6 feet (SCL clock) of the clock chip U5 are pulled up to the power supply of 3.3V through a 4.7K resistor R34 and a resistor R35 and are connected to networks I2C2_ SDA and I2C2_ SCL of the microcontroller U9, and the clock chip U5 transmits clock signals, timing signals and alarm signals to the microcontroller U9.
5. The power supply circuit comprises a regulated power supply module U6, a regulated power supply module U7, a regulated power supply module U8, a diode D4, a diode D5, a diode D6, a diode D7, a capacitor C25, a capacitor C26, a capacitor C27, a capacitor C29, a capacitor C30, a capacitor C33, a capacitor C34, a coil L1 and a coil L2, wherein one path of an external DC12V power supply is connected with a regulated power supply module 6(LM2596HVS-5.0) through the diode D4 and the capacitor C25 to be regulated into a DC5V power supply, and is connected with FUSE5 output through the coil L1, the capacitor C26 and the capacitor C27 in a filtering manner to provide power for the next-stage regulated power supply module U8, an output circuit and a buzzer; the other path is connected to a 3.3V power supply with stabilized voltage of a stabilized voltage power supply module U7(LM2596HVS-3.3) through a diode D6, and is connected with the output of a FUSE6 through a coil L2, a capacitor C29 and a capacitor C30 in a filtering way to provide DC3.3V power supply for the 4G module and the SIM circuit; the stabilized voltage power supply module U8 stabilizes the voltage to DC3.3V power supply, which is filtered and output by a capacitor C33 and a capacitor C34 and is an MCU circuit and I2The C circuit, the signal acquisition circuit and the like provide power.
6. The buzzer circuit comprises a buzzer LS1, a resistor R60, a resistor R61 and a triode Q4, when a microcontroller U9 sends a high level through a BEE pin, the triode Q4 is driven to be conducted through a resistor R61, a 5V power supply forms a loop through the resistor R60, the buzzer LS1 and the triode Q4, and the buzzer sends out sound when current flows through the buzzer; when the microcontroller U9 sends a low level through the BEE pin, the base voltage of the triode Q4 is low and cut off, and the buzzer LS1 has no current flowing and no sound; the microcontroller U9 continuously sends high and low levels and the buzzer continuously sounds.
7. The output driving circuit comprises a driving chip U14, a resistor R53, a resistor R54, a resistor R55, a resistor R56, a resistor R57, a resistor R58, a resistor R59, a network cable Relay1-5 and a network cable Voltage OUT1-2, wherein the output control circuit comprises a Relay and a terminal J11, the input ends of 1-7 pins of the driving chip U14 are respectively connected with a network pin Relay control1-5 and a network pin Voltage IN1-2 of a microcontroller U9, the other end of the output control circuit is connected with a 1K pull-up resistor R53-59 to a 3.3V power supply, when the Relay control1 of the microcontroller U9 outputs a high level, namely the 1 pin of the driving chip U14 inputs the high level, a Relay coil passes through current, the Relay is attracted, and control contacts 3 and 4 of the Relay are connected; when the Relay control1 of the microcontroller U9 outputs a low level, that is, the pin 1 of the driving chip U14 inputs a low level, and the pin 16 (Relay1) of the driving chip U14 outputs a high level, no current passes through the coil of the Relay, the Relay is released, and the pins 3 and 4 of the control contact of the Relay are disconnected, so that external on-off control is realized; the driving and output control circuit can realize the circuit for intelligently controlling the starting and flameout of the generator, and solves the problem that the manual operation power generation is difficult to be accurate.
8. The mains supply and power generation acquisition circuit comprises a double operational amplifier U11, a mains supply acquisition circuit and a power generation acquisition circuit, wherein the mains supply acquisition circuit comprises a mains supply rectification circuit and a mains supply voltage follower circuit, the mains supply voltage is rectified by the mains supply rectification circuit after being sampled, and then the rectified signal is sent to an INB positive input end of a double operational amplifier U11, the double operational amplifier U11 and the mains supply voltage follower circuit transmit an input end signal to a microcontroller U9, and the microcontroller U9 performs operation processing on the signal to realize acquisition of a mains supply signal; the power generation acquisition circuit comprises a power generation rectifying circuit and a power generation voltage follower circuit, the power generation rectifying circuit is used for rectifying power supply voltage of the power generator after sampling, signals are sent to an INA positive input end of a double operational amplifier U11 after rectification, the double operational amplifier U11 and the power generation voltage follower circuit transmit input end signals to a microcontroller U9, and the microcontroller U9 is used for carrying out operation processing on the signals to realize acquisition of power generation and supply signals of the power generator; the commercial power and power generation acquisition circuit of the generator controller can acquire power generation and supply signals or commercial power supply signals of the generator in real time, and provides real-time information for intelligent management of the generator.
9. The signal acquisition circuit comprises an oil mass acquisition circuit, a current acquisition circuit, a battery voltage acquisition circuit, a 12V voltage acquisition circuit and a temperature acquisition circuit, and is respectively used for acquiring oil mass change data, current change data, battery voltage change data, 12V voltage change data and temperature change data of a generator, sending the data to a microcontroller U9, converting the data through an ADC (analog to digital converter), and sending the data to a platform for display; the signal acquisition circuit realizes the real-time acquisition of data such as the oil quantity, the current, the temperature, the battery voltage and the like of the generator and provides real-time data for the intelligent management of the generator.
10. The 4G module and the SIM circuit comprise a module socket J3, a 4G module, a 4G reset circuit, a 4G data sending level conversion circuit, a 4G data receiving level conversion circuit and an SIM circuit, wherein the 4G module refers to a product which is characterized in that hardware is loaded to a specified frequency band, software supports a standard LTE protocol and is highly integrated and modularized in software and hardware, and the 4G module has the characteristics of high communication speed, wide network spectrum, flexible communication and the like; the hardware integrates radio frequency and baseband on a PCB platelet to complete wireless receiving, transmitting and baseband signal processing functions; the 4GLTE system can download at the speed of 100Mbps, is 50 times faster than dial-up networking, can also reach 50Mbps at the uploading speed, and can meet the requirements of almost all users on wireless service. And 4GLTEadvanced adopts a carrier aggregation technology, and the downlink peak speed can reach 150 Mbps. The 4G module and the 4G module of the SIM circuit are connected with each other at a high speed, all terminal data and the running state of the equipment are transmitted to a service center in real time, the running state of the terminal equipment is monitored in real time through a management monitoring platform, and equipment faults can be checked in time; the generator is managed and controlled remotely and intelligently, and the efficiency is greatly improved in multiple aspects such as operation cost, operation scale, service timeliness and the like.
Drawings
FIG. 1 is a functional block diagram of a generator controller circuit according to an embodiment of the present invention.
FIG. 2 is an MCU circuit, I of the generator controller of the embodiment of the invention2And C, a circuit schematic diagram.
Fig. 3 is a schematic diagram of a clock circuit of a generator controller according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a power circuit of a generator controller according to an embodiment of the invention.
Fig. 5 is a schematic diagram of a buzzer circuit of the generator controller according to the embodiment of the invention.
FIG. 6 is a schematic diagram of an output driver circuit of a generator controller according to an embodiment of the invention.
FIG. 7 is a schematic diagram of an output control circuit of a generator controller according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of a commercial power and power generation acquisition circuit of the generator controller according to the embodiment of the invention.
Fig. 9 is a schematic diagram of a signal acquisition circuit of a generator controller according to an embodiment of the invention.
FIG. 10 is a schematic diagram of a temperature acquisition circuit of a generator controller signal acquisition circuit according to an embodiment of the invention.
Fig. 11 is a schematic diagram of a 4G module and a SIM circuit of a generator controller according to an embodiment of the present invention.
Detailed Description
The following provides a detailed description of embodiments of the invention.
As shown in FIGS. 1 to 10, the generator controller circuit provided by the present invention comprises a power circuit, an MCU circuit, and an I2C circuit, output control circuit, output drive circuit, 4G module and SIM circuit, buzzer circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit, power supply circuit and MCU circuit, I circuit2The C circuit, the output control circuit, the output drive circuit, the 4G module, the SIM circuit, the buzzer circuit, the signal acquisition circuit, the commercial power and power generation acquisition circuit and the clock circuit are connected, the MCU circuit comprises a microcontroller U9 and a micro-controllerThe controller U9 is STM32F103C, the microcontroller U9 is respectively connected with the output drive circuit, the 4G module, the SIM circuit, the buzzer circuit, the signal acquisition circuit, the commercial power and power generation acquisition circuit and the clock circuit, I2The C circuit comprises an internal integrated chip U3, the internal integrated chip U3 is AT24C16, pins 5 and 6 of the internal integrated chip U3 are connected with network pins I2C1_ SDA _ Mother and I2C1_ SCL _ Mother of the microcontroller U9, and the output control circuit is connected with the generator through an output driving circuit.
The power supply circuit is an MCU circuit, I2The MCU circuit provides power for the C circuit, the output control circuit, the output driving circuit, the 4G module, the SIM circuit, the buzzer circuit, the signal acquisition circuit, the commercial power and power generation acquisition circuit and the clock circuit, and the MCU circuit performs corresponding operation or processing on information acquired by each I \ O port or converts the information into corresponding action instructions to output the corresponding action instructions to I \ O to drive peripheral equipment; i is2The C circuit performs read-write operation through I2C1_ SDA _ Mother and I2C1_ SCL _ Mother which are connected with the MUC; the buzzer circuit provides sound for the equipment; the clock circuit transmits clock signals, timing signals and alarm signals to the MCU to complete various complex timing services; the 4G module and the SIM circuit realize remote intelligent management control on the generator; the signal acquisition circuit realizes the real-time acquisition of data such as the oil quantity, the current, the temperature, the battery voltage and the like of the generator and provides real-time data for the intelligent management of the generator; the commercial power and power generation acquisition circuit can acquire power generation and supply signals of the generator or commercial power supply signals in real time and provide real-time information for intelligent management of the generator; the output control circuit and the output driving circuit realize a circuit for intelligently controlling the starting and flameout of the generator, and solve the problem that the power generation is difficult to be accurately operated manually; the generator controller circuit realizes remote intelligent starting and flameout of the base station generator, people do not need to arrive at the site, the running condition of the base station generator is controlled in time, real-time data monitoring is realized, intelligent management of the generator is realized, manpower is released, and the problem that manual operation power generation is difficult to achieve accurately is solved.
As shown in fig. 2, the MCU circuit of the present invention further includes an external oscillator, a burning interface J10, a debugging and upgrading interface J9, a resistor R38, a resistor R39, and a resistor R40, where the external oscillator includes an SM patch crystal oscillator Y2, a capacitor C35, and a capacitor C36, two ends of the SM patch crystal oscillator Y2 are respectively connected to an OSC1 pin and an OSC0 pin of the microcontroller U9, one ends of the capacitor C35 and the capacitor C36 are respectively connected to an OSC1 pin and an OSC0 pin of the microcontroller U9, and the other ends of the capacitor C35 and the capacitor C36 are grounded; the 1 st pin and the 2 nd pin of the burning interface J10 are respectively connected with an SWDIO pin and an SWDCLK pin of the microcontroller U9, the 3 rd pin of the burning interface J10 is connected with a 3.3V power supply, and the 4 th pin of the burning interface J10 is grounded; the 1 st pin and the 2 nd pin of the debugging and upgrading interface J9 are respectively connected with a serial port UART _ TX and a UART _ RX of the microcontroller U9, and are respectively connected with a resistor R39 and a resistor R40, two ends of the resistor R38 are respectively connected with a BOOT1 pin of the microcontroller U9 and a BOOT0 pin of the debugging and upgrading interface J9, the 5 th pin of the debugging and upgrading interface J9 is connected with a 3.3V power supply, and the 4 th pin of the debugging and upgrading interface J9 is grounded. The microcontroller U9 is STM32F103C, and STM32F103C is an embedded MUC with high performance, low cost and low power consumption; the external oscillator is composed of an SM patch crystal oscillator Y2, a capacitor C35 and a capacitor C36, and the microcontroller U9 performs corresponding operation or processing on information acquired by each I \ O port or converts the information into corresponding action instructions to be output to I \ O to drive peripheral equipment.
I of the invention2The C circuit further comprises a capacitor C13, a resistor R20 and a resistor R21, pins 1, 2, 3, 4 and 7 of the internal integrated chip U3 are grounded, a pin 8 of the internal integrated chip U3 is connected with a 3.3V power supply, the 3.3V power supply is grounded through a capacitor C13, and pins 5 and 6 of the internal integrated chip U3 are connected with a 3.3V power supply through a resistor R20 and a resistor R21 respectively. The internal integrated chip U3 is connected via the I2C1_ SDA _ other and the I2C1_ SCL _ other of the microcontroller U9 for reading and writing operations.
As shown in fig. 3, the clock circuit of the present invention includes a clock chip U5, a crystal oscillator Y1, a capacitor C22, a capacitor C23, a battery BT1, a diode D2, a diode D3, a capacitor C24, a resistor R34, and a resistor R35, where the clock chip U5 is PCF8563, two ends of the crystal oscillator Y1 are respectively connected to an OSC1 pin and an OSC0 pin of a microcontroller U9, one ends of the capacitor C22 and the capacitor C23 are respectively connected to an OSC0 pin and an OSC1 pin of the microcontroller U9, and the other ends of the capacitor C22 and the capacitor C23 are grounded; the 8 th pin of the clock chip U5 is respectively connected with a battery BT1, a 3.3V power supply and a ground wire through a diode D2, a diode D3 and a capacitor C24, and the 5 th pin and the 6 th pin of the clock chip U5 are respectively connected with a network pin I2C2 of a microcontroller U9SDA, I2C2 SCL, and is connected to a 3.3V power supply via a resistor R34 and a resistor R35, respectively. Clock chip U5 is PCF8563, PCF8563 is a low power consumption CMOS real time clock/calendar chip that provides a programmable clock output, an interrupt output and power down detector, all address and data passing I2The C bus interface is serially transferred. The PCF8563 has various alarm functions, timer functions, clock output functions and interrupt output functions to complete various complex timing services; the clock chip U5, the crystal oscillator Y1, the capacitor C22 and the capacitor C23 form an oscillator, and a reference frequency is generated to the PCF 8563; the battery BT1, the diode D2, the capacitor C24 and the 8 pins of the clock chip U5 are connected to form a battery power supply system, the diode D3, the capacitor C24, an external 3.3V power supply and the 8 pins of the clock chip U5 are connected to form an external power supply for supplying power, and the two power supply systems are isolated by the diode D2 and the diode D3; the 5 feet (SDA data) and 6 feet (SCL clock) of the clock chip U5 are pulled up to the power supply of 3.3V through a 4.7K resistor R34 and a resistor R35 and are connected to networks I2C2_ SDA and I2C2_ SCL of the microcontroller U9, and the clock chip U5 transmits clock signals, timing signals and alarm signals to the microcontroller U9.
As shown in FIG. 4, the power supply circuit of the present invention includes a regulated power supply module U6, a regulated power supply module U7, a regulated power supply module U8, a diode D4, a capacitor C4, a coil L4, and a coil L4, wherein the regulated power supply module U4 is LM2596HVS-5.0, the regulated power supply module U4 is LM2596HVS-3.3, the regulated power supply module U4 is AMS1117, the positive pole of the external DC12 4 power supply is connected to the input terminal of the regulated power supply module U4 through the diode D4 and the diode D4, the output terminal of the regulated power supply module U4 is connected to the input terminal of the regulated power supply module U4 through the coil L4, the input terminal of the regulated power supply module U4, the output control circuit, the output drive circuit, the buzzer circuit, the other terminal of the diode C4 is connected to the ground, the other terminal 4, the other end of the diode D5 is grounded, the non-dotted end of the coil L1 is connected with one ends of the capacitor C26 and the capacitor C27, and the other ends of the capacitor C26 and the capacitor C27 are grounded; output terminal of regulated power supply module U7The 4G module and the SIM circuit are connected through a coil L2, the dotted terminal of the coil L2 is connected with one end of a diode D7, the other end of the diode D7 is grounded, the non-dotted terminal of the coil L2 is connected with one ends of a capacitor C29 and a capacitor C30, and the other ends of the capacitor C29 and the capacitor C30 are grounded; the output end of the regulated power supply module U8 is connected with a capacitor C33, a capacitor C34, an MCU circuit and an I2The other ends of the C circuit, the signal acquisition circuit, the capacitor C33 and the capacitor C34 are grounded. One path of an external DC12V power supply is connected with a stabilized voltage supply module U6(LM2596HVS-5.0) through a diode D4 and a capacitor C25 to be stabilized into a DC5V power supply, and is filtered and connected with a FUSE5 output through a coil L1, a capacitor C26 and a capacitor C27 to provide power for a next-stage stabilized voltage supply module U8, an output circuit and a buzzer; the other path is connected to a 3.3V power supply with stabilized voltage of a stabilized voltage power supply module U7(LM2596HVS-3.3) through a diode D6, and is connected with the output of a FUSE6 through a coil L2, a capacitor C29 and a capacitor C30 in a filtering way to provide DC3.3V power supply for the 4G module and the SIM circuit; the stabilized voltage power supply module U8 stabilizes the voltage to DC3.3V power supply, which is filtered and output by a capacitor C33 and a capacitor C34 and is an MCU circuit and I2The C circuit, the signal acquisition circuit and the like provide power.
As shown in fig. 5, the buzzer circuit of the present invention includes a buzzer LS1, a resistor R60, a resistor R61, and a transistor Q4, wherein one end of the buzzer LS1 is connected to a 5V power supply through a resistor R60, the other end of the buzzer LS1 is connected to a collector of the transistor Q4, a base of the transistor Q4 is connected to a toe of the microcontroller U9 through a resistor R61, and an emitter of the transistor Q4 is grounded. When the microcontroller U9 sends a high level through a BEE pin, the triode Q4 is driven to be conducted through the resistor R61, a 5V power supply forms a loop through the resistor R60, the buzzer LS1 and the triode Q4, and the buzzer sends a sound when current flows through the buzzer; when the microcontroller U9 sends a low level through the BEE pin, the base voltage of the triode Q4 is low and cut off, and the buzzer LS1 has no current flowing and no sound; the microcontroller U9 continuously sends high and low levels and the buzzer continuously sounds.
As shown in fig. 6 and 7, the output driving circuit of the present invention includes a driving chip U14, a resistor R53, a resistor R54, a resistor R55, a resistor R56, a resistor R57, a resistor R58, a resistor R59, a network cable Relay1-5, and a network cable VoltageOUT1-2, the output control circuit includes a Relay and a terminal J11, input terminals of pins 1-7 of the driving chip U14 are respectively connected to a network pin relaystrol 9-5 and a network pin VoltageIN 9-2 of the microcontroller U9, input terminals of pins 1-7 of the driving chip U9 are respectively connected to a 3.3V power supply through a resistor R9, and a resistor R9, an 8 pin of the driving chip U9 is grounded, a pin 9 of the driving chip U9 is connected to a DC5 power supply, output terminal of the driving chip U3616-10 of the driving chip U9 is respectively connected to a network cable Relay via a voltage wire VoltageOUT 72 and a network cable Relay out 72, the other end of the relay coil is connected with a DC5V power supply, the control contact 3-4 of the relay is connected with a terminal J11, and a terminal J11 is connected with the generator. The input ends of pins 1-7 of a driving chip U14 are respectively connected with a network pin RelayControl1-5 and a network pin Voltagen 1-2 of a microcontroller U9, the other end of the driving chip U14 is connected with a 1K pull-up resistor R53-59 to a 3.3V power supply, when the RelayControl1 of the microcontroller U9 outputs a high level, namely the high level is input into the pin 1 of the driving chip U14, current passes through a coil of a relay at the moment, the relay is attracted, and the control contacts 3 and 4 of the relay are connected; when the Relay Control1 of the microcontroller U9 outputs a low level, that is, the pin 1 of the driving chip U14 inputs a low level, and the pin 16 (Relay1) of the driving chip U14 outputs a high level, no current passes through the coil of the Relay, the Relay is released, and the pins 3 and 4 of the Control contact of the Relay are disconnected, so that external on-off Control is realized; the driving and output control circuit can realize the circuit for intelligently controlling the starting and flameout of the generator, and solves the problem that the manual operation power generation is difficult to be accurate.
Among them, ULN2003 is preferably used as the driver chip U14. ULN2003 is high in working voltage and large in working current, the sink current can reach 500mA, the voltage of 50V can be borne in the off state, and the output can run in parallel at high load current.
The relays comprise a first Relay RE1, a second Relay RE2, a third Relay RE3, a fourth Relay RE4 and a fifth Relay RE5, wherein the driving output end of 16-12 pins of a driving chip U14 is respectively connected with one end of a coil of the first Relay RE1, the second Relay RE2, the third Relay RE3, the fourth Relay RE4 and the fifth Relay RE5 through a network line Relay1-5, the other end of the coil of the first Relay RE1, the second Relay RE2, the third Relay RE3, the fourth Relay RE4 and the fifth Relay RE5 is respectively connected with a DC5, a DC V power supply, the control contact 3 of the first Relay RE 82RE 56, the 10-9 pins of a 4 pin connection terminal J11, the control contact 3 of the second Relay RE2, the 8-7 pins of a 4 pin connection terminal J11, the control contact 3 of the third Relay RE3, the 6-5 pins of the 4 pin connection terminal J11 and the contact 72 of the fourth Relay RE4, The 4 th to 3 rd pins of the 4 th pin connecting terminal J11, the control contact 3 of the fifth relay RE5 and the 2 nd to 1 st pin of the 4 th pin connecting terminal J11.
In yet another embodiment, the output control circuit further includes a diode D8, a diode D9, a diode D10, a diode D11, and a diode D12, and the network cable Relay1-5 is connected to the DC5V power source through a diode D8, a diode D9, a diode D10, a diode D11, and a diode D12, respectively.
In another embodiment, the output control circuit further includes a terminal J12, the relays further include a sixth relay RE6 and a seventh relay RE7, the driving output ends of the pins 11 to 10 of the driving chip U14 are respectively connected to one ends of coils of the sixth relay RE6 and the seventh relay RE7 through a network cable VoltageOUT1-2, the other ends of the coils of the sixth relay RE6 and the seventh relay RE7 are respectively connected to a DC5V power supply, the control contacts 4 of the sixth relay RE6 and the seventh relay RE7 are connected to an input power supply, the control contacts 3 of the sixth relay RE6 and the seventh relay RE7 are respectively connected to pins 1 and 3 of the terminal J12, and the pin 2 of the terminal J12 is grounded.
In another embodiment, the output control circuit further includes a capacitor C51 and a capacitor C52, one end of the capacitor C51 is connected to the control contact 3 of the sixth relay RE6, the other end of the capacitor C51 is grounded, one end of the capacitor C52 is connected to the control contact 3 of the seventh relay RE7, and the other end of the capacitor C52 is grounded.
In yet another embodiment, the output control circuit further includes a diode D13, a diode D14, and a network cable VoltageOUT1-2 connected to the DC5V power source through a diode D13 and a diode D14, respectively.
As shown in fig. 8, the commercial power and power generation collecting circuit of the present invention includes a dual operational amplifier U11, a commercial power collecting circuit, and a power generation collecting circuit, wherein the commercial power collecting circuit includes a commercial power rectifying circuit and a commercial power voltage follower circuit, the commercial power is connected to the INB positive input end of the dual operational amplifier U11 through the commercial power rectifying circuit, the OUTB output end of the dual operational amplifier U11 is connected to the network 220_ check pin of the microcontroller U9 through the commercial power voltage follower circuit; the power generation acquisition circuit comprises a power generation rectifying circuit and a power generation voltage following circuit, a power supply of a power generator is connected with an INA positive input end of a double operational amplifier U11 through the power generation rectifying circuit, an OUT output end of the double operational amplifier U11 is connected with a network 220_ A _ check pin of a microcontroller U9 through the power generation voltage following circuit, and a VCC end of the double operational amplifier U11 is connected with a 3.3V power supply. The mains supply voltage is rectified by a mains supply rectifying circuit after being sampled, and then the rectified signal is sent to an INB positive input end of a double operational amplifier U11, the double operational amplifier U11 and a mains supply voltage follower circuit transmit an input end signal to a microcontroller U9, and the microcontroller U9 performs operation processing on the signal to realize acquisition of a mains supply signal; the power generation acquisition circuit comprises a power generation rectifying circuit and a power generation voltage follower circuit, the power generation rectifying circuit is used for rectifying power supply voltage of the power generator after sampling, signals are sent to an INA positive input end of a double operational amplifier U11 after rectification, the double operational amplifier U11 and the power generation voltage follower circuit transmit input end signals to a microcontroller U9, and the microcontroller U9 is used for carrying out operation processing on the signals to realize acquisition of power generation and supply signals of the power generator; the commercial power and power generation acquisition circuit of the generator controller can acquire power generation and supply signals or commercial power supply signals of the generator in real time, and provides real-time information for intelligent management of the generator.
Wherein, the model of the dual operational amplifier U11 is LM358 preferably.
The commercial power and power generation acquisition circuit further comprises a capacitor C43, the VCC end of the double operational amplifier U11 is connected with the capacitors C43 and 3.3V power supply, and the other end of the capacitor C43 is grounded.
The utility power rectification circuit comprises a resistor R46, a resistor R48, a resistor R49, a resistor R50, a current transformer T1, a rectifier bridge U12, a capacitor C44, a capacitor C47 and a capacitor C48, wherein one end of a primary winding of the current transformer T1 is connected with a live wire of a utility power supply through a resistor R46, the other end of the primary winding of the current transformer T1 is connected with a zero line of the utility power supply, two ends of a secondary winding of the current transformer T1 are connected with two ends of a resistor R48, two ends of a capacitor C44 and 3 and 4 pins of an input end of a rectifier bridge U12, a positive output end of the rectifier bridge U12 is connected with one ends of a resistor R49, a resistor R50 and a capacitor C47, the other end of the resistor R49 is connected with one end of a capacitor C48 and an INB positive input end of a double operational amplifier U48, and the. The current limiting resistor R46 and the primary side of the current transformer T1 form a sampling of generated voltage, the current induced by the secondary side of the current transformer T1 generates 0-3.3V voltage at the resistor R48, the generated voltage is filtered by the capacitor C44, the rectifier bridge U12 is rectified, the resistor R49, the resistor R50, the capacitor C47 and the capacitor C48 form an INB positive input end of a double-operational amplifier U11, a high-voltage signal of commercial power is subjected to current limiting and voltage reduction by the resistor R46, the current transformer T1 is isolated, the resistor R48 performs sampling, the rectifier bridge U12 performs rectification, the voltage of the resistor R50 is adjusted, and the signal is sent to the positive input end of the amplifier to realize sampling rectification of commercial.
The mains supply voltage follower circuit comprises a resistor R43, a resistor R45 and a capacitor C42, two ends of the resistor R45 are connected with an INB negative input end and an OUTB output end of a double operational amplifier U11, the OUTB output end of the double operational amplifier U11 is respectively connected with the capacitor C42 and a network 220_ check pin of the microcontroller U9 through a resistor R43, and the other end of the capacitor C42 is grounded; the resistor R43 corresponds to the resistance of the resistor R45. Since the resistor R43 has the same resistance as the resistor R45, a voltage follower is formed with the dual operational amplifier U11.
Preferably, the rectifier bridge U12 is model MB 6S.
The power generation acquisition circuit comprises a resistor R41, a resistor R47, a resistor R51, a resistor R52, a current transformer T2, a capacitor C45, a capacitor C46, a capacitor C49, a rectifier bridge U13 and a double operational amplifier U11, wherein one end of a primary winding of the current transformer T2 is connected with a live wire of a power supply of a generator through a resistor R41, the other end of a primary winding of the current transformer T2 is connected with a zero wire of the power supply of the generator, two ends of a secondary winding of the current transformer T2 are connected with two ends of the resistor R51, two ends of the capacitor C49 and 3 and 4 pins of an input end of a rectifier bridge U13, a positive output end of the rectifier bridge U13 is connected with one ends of the resistor R47, the resistor R47 and the capacitor C47, the other end of the resistor R47 is connected with the capacitor C47 and an INA positive input end of the double operational amplifier U47, and. The current limiting resistor R41 and the primary side of the current transformer T2 form a sampling of generated voltage, the current transformer T2 induces current to generate 0-3.3V voltage in a resistor R51, the voltage is filtered by a capacitor C49 and rectified by a rectifier bridge U13, a resistor R47, a resistor R52, a capacitor C45 and a capacitor C46 form an INA positive input end of a double-operational amplifier U11, a generated high-voltage signal is subjected to current limiting and voltage reduction by a resistor R41, the current transformer T2 is isolated, the resistor R51 performs sampling, the rectifier bridge U13 performs rectification, the voltage of the resistor R47 is adjusted, the signal is sent to the positive input end of the amplifier, and the sampling rectification of the power generation and power supply of the.
The generated voltage follower circuit comprises a resistor R42, a resistor R44 and a capacitor C41, wherein two ends of the resistor R44 are connected with an INA negative input end and an OUT output end of a double operational amplifier U11, the OUT output end of the double operational amplifier U11 is respectively connected with the capacitor C41 and a network 220_ A _ check pin of a microcontroller U9 through a resistor R42, the other end of the capacitor C41 is grounded, and the resistance value of the resistor R42 corresponds to that of the resistor R44. Since the resistor R42 has the same resistance as the resistor R44, a voltage follower is formed with the dual operational amplifier U11.
Preferably, the rectifier bridge U13 is model MB 6S.
As shown in fig. 9, the signal acquisition circuit of the present invention includes an Oil amount acquisition circuit, a current acquisition circuit, a battery voltage acquisition circuit, a 12V voltage acquisition circuit, and a temperature acquisition circuit, the Oil amount acquisition circuit is connected to a GetSigADC _ Oil pin of the microcontroller U9, the current acquisition circuit is connected to a GetSigADC _ l pin of the microcontroller U9, the battery voltage acquisition circuit is connected to a GetSigADC _52V pin of the microcontroller U9, the 12V voltage acquisition circuit is connected to a GetSigADC _12V pin of the microcontroller U9, and the temperature acquisition circuit is connected to a GetSigDQ _ TEMPER pin of the microcontroller U9. The oil quantity acquisition circuit, the current acquisition circuit, the battery voltage acquisition circuit, the 12V voltage acquisition circuit and the temperature acquisition circuit are respectively used for acquiring oil quantity change data, current change data, battery voltage change data, 12V voltage change data and temperature change data of the generator, sending the data to the microcontroller U9, converting the data through an ADC (analog to digital converter), and sending the data to a platform for display; the signal acquisition circuit realizes the real-time acquisition of data such as the oil quantity, the current, the temperature, the battery voltage and the like of the generator and provides real-time data for the intelligent management of the generator.
The oil quantity acquisition circuit comprises a resistor R5, a diode D1, a FUSE FUSE1, an oil level sensor, a resistor R6, a capacitor C4, a dual operational amplifier U1, a resistor R2, a capacitor C2 and a resistor R4, one ends of the resistor R5 and the diode D1 are connected with a 3.3V power supply, the other ends of the resistor R5 and the diode D1 are connected with the FUSE FUSE1 and the oil level sensor, and the other end of the oil level sensor is grounded; one end of a resistor R6 and one end of a capacitor C4 are connected with the INA positive input end of the dual operational amplifier U1, the other end of the resistor R6 is connected with a FUSE FUSE1, and the other end of the capacitor C4 is grounded; the OUT output end of the dual operational amplifier U1 is connected with a GetSigADC _ Oil pin of the microcontroller U9 and a capacitor C2 through a resistor R2, the other end of the capacitor C2 is grounded, and the INA negative input end of the dual operational amplifier U1 is connected with a resistor R4; one ends of a resistor R5 and a diode D1 are connected with a 3.3V power supply, the other ends of the resistor R5 and the diode D1 are connected with a FUSE FUSE1 and an oil level sensor, and a resistor R6 and a capacitor C4 are connected with an INA positive input end of a double operational amplifier U1 to form oil quantity acquisition positive input; the resistor R2, the resistor R4 and the capacitor C2 form oil volume voltage following output; when the Oil quantity changes, the sensor converts the change of the voltage to the voltage follower, then the change of the voltage is input to a GetSigADC _ Oil pin of the microcontroller U9, and the microcontroller U9 transmits data to the platform for displaying through ADC conversion.
Preferably, the dual operational amplifier U1 is of the type LM 358.
The current acquisition circuit comprises a FUSE FUSE7, an adjustable potentiometer RV1, a resistor R7, a resistor R8, a resistor R9, a capacitor C5, a resistor R1, a resistor R3 and a capacitor C1, wherein input current sequentially passes through the FUSE FUSE7, the adjustable potentiometer RV1, the resistor R7 and the resistor R8 and is connected to the INB positive input end of a double-operational amplifier U1, the negative electrode of the resistor R7 is grounded through the resistor R9, and the negative electrode of the resistor R8 is grounded through the capacitor C5; the OUTB output end of the double operational amplifier U1 is respectively connected with a GetSigADC _ l pin of the microcontroller U9 and a capacitor C1 through a resistor R1, the other end of the capacitor C1 is grounded, one end of a resistor R3 is connected with the OUTB output end of the double operational amplifier U1, and the other end of the resistor R3 is connected with the INB negative input end of the double operational amplifier U1. The adjustable potentiometer RV1 is used for current compensation adjustment, a FUSE FUSE7, the adjustable potentiometer RV1, a resistor R7, a resistor R8, a resistor R9 and a capacitor C5 form current acquisition forward input, and a resistor R1, a resistor R3 and a capacitor C1 form current and voltage follow-up output; the principle is the same as oil collection.
The battery voltage acquisition circuit comprises a dual operational amplifier U2, a FUSE FUSE2, a FUSE FUSE4, a resistor R15, a resistor R16, a resistor R18, a capacitor C9, a capacitor C10, a resistor R10, a resistor R12 and a capacitor C7, wherein the positive output of a battery is connected to the INA positive input end of the dual operational amplifier U2 sequentially through the resistor R15, the FUSE FUSE2 and the resistor R16, the negative electrode of the resistor R15 is grounded through the resistor R18 and the capacitor C9 respectively, the negative electrode of the resistor R16 is grounded through the capacitor C10, the OUT output end of the dual operational amplifier U2 is connected with the GetSigADC _52V pin of the microcontroller U9 and the capacitor C7 respectively through the resistor R10, the other end of the capacitor C7 is grounded, and the INA negative input end of the dual operational amplifier U1 is connected with the resistor R12. The battery voltage acquisition positive input is formed by a FUSE2, a FUSE4, a resistor R15, a resistor R16, a resistor R18, a capacitor C9 and a capacitor C10, and the battery voltage follow output is formed by the resistor R10, the resistor R12 and the capacitor C7; the principle is the same as oil collection.
Preferably, the dual operational amplifier U2 is of the type LM 358.
The 12V voltage acquisition circuit comprises a FUSE FUSE3, a resistor R11, a resistor R13, a resistor R14, a resistor R17, a resistor R19, a capacitor C11, a capacitor C12 and a capacitor C8, a 12V power supply is connected to the INB positive input end of the dual operational amplifier U2 through a resistor R14, a FUSE FUSE3 and a resistor R17 in sequence, the negative electrode of the resistor R14 is grounded through the resistor R19 and the capacitor C12 respectively, and the negative electrode of the resistor R17 is grounded through the capacitor C11; the OUTB output end of the dual operational amplifier U2 is connected with a GetSigADC _12V pin of the microcontroller U9 and a capacitor C8 through a resistor R11, the other end of the capacitor C8 is grounded, and the INB negative input end of the dual operational amplifier U2 is connected with a resistor R13. 12V voltage acquisition positive input is formed by a FUSE3, a resistor R14, a resistor R17, a resistor R19, a capacitor C11 and a capacitor C12, and 12V voltage follow output is formed by a resistor R11, a resistor R13 and a capacitor C8; the principle is the same as oil collection.
As shown in fig. 10, the temperature acquisition circuit includes a temperature sensor U4 and a resistor R22, two ends of the resistor R22 are respectively connected to a 2 nd pin and a 3 rd pin of the temperature sensor U4, a 1 st pin of the temperature sensor U4 is grounded, a 3 rd pin of the temperature sensor U4 is connected to a 3.3V power supply, and a 2 nd pin of the temperature sensor U4 is connected to a GetSigDQ _ TEMPER pin of the microcontroller U9. When the temperature sensor U4 senses that the temperature passes through the No. 2 pin of the temperature sensor U4, the data is transmitted to the microcontroller U9, and the microcontroller U9 sends the temperature value to the platform for display after ADC conversion.
As shown in fig. 11, the 4G module and SIM circuit of the present invention includes a module socket J3, a 4G module, a 4G RESET circuit, a 4G transmit data level conversion circuit, a 4G receive data level conversion circuit, and a SIM circuit, where the module socket J3 is a PICe-52p, the 4G module is correspondingly connected to the module socket J3, the module socket J3 is connected to a network pin MCU _4G _ RESET of the microcontroller U9 through the 4G RESET circuit, the module socket J3 is connected to a network pin rst ua 2_4G _ TX of the microcontroller U9 through the 4G transmit data level conversion circuit, and the module socket J3 is connected to a network pin uart 2_4G _ RX of the microcontroller U9 through the 4G receive data level conversion circuit; the SIM circuit includes a SIM card M1, a capacitor C14, a capacitor C15, a capacitor C16, a capacitor C17, a transient voltage suppression diode TVS1, a resistor R23, a resistor R24, and a resistor R25, wherein pins 1, 2, 3, and 6 of the SIM card M1 are grounded through the capacitor C14, the capacitor C15, the capacitor C16, and the capacitor C17, a negative terminal of the transient voltage suppression diode TVS1 is connected to pins 1, 2, 3, and 6 of the SIM card M1, and pins 2, 3, and 6 of the SIM card M1 are connected to pins UIM _ RST, UIM _ CLK, and UIM _ DAT of the module socket J3 through the resistor R23, the resistor R24, and the resistor R25, respectively. The 4G module is a general name of a product with hardware loaded to a specified frequency band, software supporting a standard LTE protocol and highly integrated and modularized software and hardware, and has the characteristics of high communication speed, wide network spectrum, flexible communication and the like; the hardware integrates radio frequency and baseband on a PCB platelet to complete wireless receiving, transmitting and baseband signal processing functions; the 4GLTE system can download at the speed of 100Mbps, is 50 times faster than dial-up networking, can also reach 50Mbps at the uploading speed, and can meet the requirements of almost all users on wireless service. And 4GLTEadvanced adopts a carrier aggregation technology, and the downlink peak speed can reach 150 Mbps. The 4G module and the 4G module of the SIM circuit are connected with each other at a high speed, all terminal data and the running state of the equipment are transmitted to a service center in real time, the running state of the terminal equipment is monitored in real time through a management monitoring platform, and equipment faults can be checked in time; the generator is managed and controlled remotely and intelligently, and the efficiency is greatly improved in multiple aspects such as operation cost, operation scale, service timeliness and the like.
The 4G RESET circuit comprises a resistor R26, a triode Q1, a capacitor C18 and a resistor R28, wherein one end of the resistor R26 is connected with a 3.3V power supply, the other end of the resistor R26 is connected with a pin 22 of a module socket J3 and a collector of the triode Q1 and is connected with one end of the capacitor C18, the other end of the capacitor C18 is connected with the ground, one end of the resistor R28 is connected with a base electrode of the triode Q1, and the other end of the resistor R28 is connected with a network pin MCU _4G _ RESET of the microcontroller U9. The reset system of the 4G module is formed by a resistor R26, a triode Q1, a capacitor C18 and a resistor R28; for resetting of the 4G module.
The 4G sending data level conversion circuit comprises a resistor R31, a resistor R32, a triode Q2 and a capacitor C20, wherein one end of the resistor R31, one end of the resistor R32 and one end of the capacitor C20 are connected with a 1.8V power supply of a pin 11 of a module socket J3, the other end of the resistor R31 is connected with a pin 23 of a module socket J3 and a collector of the triode Q2, the other end of the resistor R32 and the other end of the capacitor C20 are connected with a base of a triode Q2, and an emitter of the triode Q2 is connected with a network pin UARST2_4G _ TX of a microcontroller U9. The invention utilizes a 4G sending data level conversion circuit consisting of a resistor R31, a resistor R32, a triode Q2 and a capacitor C20 to send data to a microcontroller U9.
The 4G received data level conversion circuit comprises a resistor R30, a resistor R33, a triode Q3 and a capacitor C21, wherein one end of the resistor R30 is connected with a 3.3V power supply, the other end of the resistor R30 is connected with a network pin UARST2_4G _ RX of a microcontroller U9 and a collector of the triode Q3, one ends of a resistor R33 and the capacitor C21 are connected with a 1.8V power supply of a pin 11 of a module socket J3, the other ends of the resistor R33 and the capacitor C21 are connected with a base of the triode Q3, and an emitter of the triode Q3 is connected with a pin 31 of a module socket J3. The invention utilizes a 4G receiving data level conversion circuit consisting of a resistor R30, a resistor R33, a triode Q3 and a capacitor C21 to receive data sent by a microcontroller U9.
The 4G module and the SIM circuit further comprise a network state indicating circuit and a sending and receiving test end J4, wherein the network state indicating circuit comprises a resistor R27, a resistor R29 and a light emitting diode LED1, one end of the resistor R29 is connected with a pin 20 of the module socket J3 through a resistor R27, and the other end of the resistor R29 is connected with a pin 42 of the module socket J3 through a light emitting diode LED 1. The invention utilizes the resistor R27, the resistor R29 and the light emitting diode LED1 to form a network state indicating circuit for displaying the 4G network state.
Preferably, the SIM card M1 is a 6PIN card.
Pins 1 and 2 of the transmitting and receiving test terminal J4 are respectively connected with network pins UARST2_4G _ RX and UARST2_4G _ TX of the microcontroller U9.
The above are merely specific embodiments of the present invention, and the scope of the present invention is not limited thereby; any alterations and modifications without departing from the spirit of the invention are within the scope of the invention.

Claims (10)

1. The generator controller circuit is characterized by comprising a power supply circuit, an MCU circuit and an I2The power supply circuit is respectively connected with the MCU circuit, the I circuit and the clock circuit2C circuit, output control circuit, output drive circuit, 4G module and SIM circuit, buzzer circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit connection, the MCU circuit includes microcontroller U9, microcontroller U9 is STM32F103C, microcontroller U9 respectively with output drive circuit, 4G module and SIM circuit, buzzer circuit, signal acquisition circuit, commercial power and electricity generation acquisition circuit, clock circuit connection, I9 is connected2The C circuit comprises an internal integration chip U3, the internal integration chip U3 is AT24C16, pins 5 and 6 of the internal integration chip U3 are connected with network pins I2C1_ SDA _ other and I2C1_ SCL _ other of the microcontroller U9, and the output control circuit is connected with the generator through the output driving circuit.
2. The generator controller circuit according to claim 1, wherein the MCU circuit further includes an external oscillator, a burning interface J10, a debugging and upgrading interface J9, a resistor R38, a resistor R39, and a resistor R40, the external oscillator includes an SM patch crystal oscillator Y2, a capacitor C35, and a capacitor C36, two ends of the SM patch crystal oscillator Y2 are respectively connected to an OSC1 pin and an OSC0 pin of the microcontroller U9, one ends of the capacitor C35 and the capacitor C36 are respectively connected to an OSC1 pin and an OSC0 pin of the microcontroller U9, and the other ends of the capacitor C35 and the capacitor C36 are grounded; the 1 st pin and the 2 nd pin of the burning interface J10 are respectively connected with a SWDIO pin and a SWDCLK pin of a microcontroller U9, the 3 rd pin of the burning interface J10 is connected with a 3.3V power supply, and the 4 th pin of the burning interface J10 is grounded; the 1 st, 2 nd feet of debugging upgrade interface J9 connect serial ports UART _ TX, UART _ RX of microcontroller U9 respectively to connect resistance R39, resistance R40 respectively, microcontroller U9's BOOT1 foot, debugging upgrade interface J9's BOOT0 foot are connected respectively to resistance R38's both ends, 3.3V power is connected to debugging upgrade interface J9's 5 th foot, debugging upgrade interface J9's 4 th foot ground connection.
3. The generator controller circuit of claim 1, wherein I is2The C circuit further comprises a capacitor C13, a resistor R20 and a resistor R21, the 1 st, 2 nd, 3 rd, 4 th and 7 th pins of the internal integrated chip U3 are grounded, the 8 th pin of the internal integrated chip U3 is connected with a 3.3V power supply, the 3.3V power supply is grounded through the capacitor C13, and the 5 th and 6 th pins of the internal integrated chip U3 are respectively connected with the 3.3V power supply through the resistor R20 and the resistor R21.
4. The generator controller circuit according to claim 1, wherein the clock circuit comprises a clock chip U5, a crystal oscillator Y1, a capacitor C22, a capacitor C23, a battery BT1, a diode D2, a diode D3, a capacitor C24, a resistor R34 and a resistor R35, the clock chip U5 is PCF8563, two ends of the crystal oscillator Y1 are respectively connected with an OSC1 pin and an OSC0 pin of the microcontroller U9, one ends of the capacitor C22 and the capacitor C23 are respectively connected with an OSC0 pin and an OSC1 pin of the microcontroller U9, and the other ends of the capacitor C22 and the capacitor C23 are grounded; the 8 th pin of the clock chip U5 is respectively connected with a battery BT1, a 3.3V power supply and a ground wire through the diode D2, the diode D3 and the capacitor C24, the 5 th pin and the 6 th pin of the clock chip U5 are respectively connected with the network pins I2C2_ SDA and I2C2_ SCL of the microcontroller U9, and are respectively connected with the 3.3V power supply through the resistor R34 and the resistor R35.
5. The generator controller circuit of claim 1, wherein the power circuit comprises a regulated power module U6, a regulated power module U7, a regulated power module U8, a diode D4, a diode D5, a diode D6, a diode D7, a capacitor C25, a capacitor C26, a capacitor C27, a capacitor C29, a capacitor C30, a capacitor C33, a coil L33, and a coil L33, wherein the regulated power module U33 is LM2596HVS-5.0, the regulated power module U33 is LM2596HVS-3.3, the regulated power module U33 is LM 1117, the positive pole of the external DC12 33 power supply is connected to the input terminals of the regulated power module U33 through the diode D33 and the diode D33, the output terminal of the regulated power module U33 is connected to the input terminal of the diode D33, the output driver circuit and the buzzer circuit, and the negative pole of the diode D33 is connected to the regulated power module U33, the other end of the capacitor C25 is grounded, the dotted terminal of the coil L1 is connected with one end of the diode D5, the other end of the diode D5 is grounded, the non-dotted terminal of the coil L1 is connected with one ends of the capacitor C26 and the capacitor C27, and the other ends of the capacitor C26 and the capacitor C27 are grounded; the output end of the regulated power supply module U7 is connected with a 4G module and a SIM circuit through the coil L2, the dotted terminal of the coil L2 is connected with one end of the diode D7, the other end of the diode D7 is grounded, the non-dotted terminal of the coil L2 is connected with one ends of the capacitor C29 and the capacitor C30, and the other ends of the capacitor C29 and the capacitor C30 are grounded; the output end of the voltage-stabilized power supply module U8 is connected with a capacitor C33, a capacitor C34, an MCU circuit and an I2The other ends of the capacitor C33 and the capacitor C34 are grounded.
6. The generator controller circuit according to claim 1, wherein the buzzer circuit comprises a buzzer LS1, a resistor R60, a resistor R61 and a triode Q4, one end of the buzzer LS1 is connected with a 5V power supply through the resistor R60, the other end of the buzzer LS1 is connected with a collector of the triode Q4, a base of the triode Q4 is connected with a BEE pin of a microcontroller U9 through the resistor R61, and an emitter of the triode Q4 is grounded.
7. The generator controller circuit according to any one of claims 1 to 6, wherein the output driving circuit comprises a driving chip U14, a resistor R53, a resistor R54, a resistor R55, a resistor R56, a resistor R57, a resistor R58, a resistor R59, a network line Relay1-5, and a network line Voltage OUT1-2, the output Control circuit comprises a Relay and a terminal J11, input terminals of pins 1 to 7 of the driving chip U14 are respectively connected with network pin Relay Control1-5 and network pin Voltage IN1-2 of a microcontroller U9, input terminals of pins 1 to 7 of the driving chip U14 are respectively connected with a power supply 3.3V through a resistor R53, a resistor R54, a resistor R55, a resistor R56, and a resistor R56 are respectively connected with a power supply, a pin 8 of the driving chip U56 is grounded, and output terminals of the driving chip U365 are respectively connected with a DC power supply terminal DC 72 of the driving chip U56 through a network line Relay 3616-365, The network line Voltage OUT1-2 is connected with one end of the relay coil, the other end of the relay coil is connected with a DC5V power supply, the control contact 3-4 of the relay is connected with a terminal J11, and the terminal J11 is connected with a generator.
8. The generator controller circuit according to any of claims 1 to 6, wherein the mains and power collection circuit comprises a dual operational amplifier U11, a mains collection circuit, a power collection circuit, the mains collection circuit comprising a mains rectification circuit, a mains voltage follower circuit, a mains power supply connected to the INB positive input terminal of the dual operational amplifier U11 through the electrical rectification circuit, the OUTB output terminal of the dual operational amplifier U11 connected to the network 220_ check pin of the microcontroller U9 through the mains voltage follower circuit; the power generation acquisition circuit comprises a power generation rectifying circuit and a power generation voltage following circuit, a power generator power supply is connected with an INA positive input end of the double operational amplifier U11 through the power generation rectifying circuit, an OUT output end of the double operational amplifier U11 is connected with a network 220_ A _ check foot of the microcontroller U9 through the power generation voltage following circuit, and a VCC end of the double operational amplifier U11 is connected with a 3.3V power supply.
9. The generator controller circuit of any of claims 1 to 6 wherein the signal acquisition circuit comprises a fuel volume acquisition circuit, a current acquisition circuit, a battery voltage acquisition circuit, a 12V voltage acquisition circuit, and a temperature acquisition circuit, the fuel volume acquisition circuit is connected to the GetSigADC _ Oi pin of the microcontroller U9, the current acquisition circuit is connected to the GetSigADC _ l pin of the microcontroller U9, the battery voltage acquisition circuit is connected to the GetSigADC _52V pin of the microcontroller U9, the 12V voltage acquisition circuit is connected to the GetSigADC _12V pin of the microcontroller U9, and the temperature acquisition circuit is connected to the GetSigDQ _ TEMPER pin of the microcontroller U9.
10. The generator controller circuit according to any of claims 1 to 6, wherein said 4G module and SIM circuit comprises a module socket J3, a 4G module, a 4G RESET circuit, a 4G transmit data level shift circuit, a 4G receive data level shift circuit, and a SIM circuit, said module socket J3 is PICe-52p, said 4G module is correspondingly connected to said module socket J3, said module socket J3 is connected to a network pin MCU _4G _ RESET of said microcontroller U9 through said 4G RESET circuit, said module socket J3 is connected to a network pin UA 2_4G _ TX of said microcontroller U9 through said 4G transmit data level shift circuit, said module socket J3 is connected to a network pin UARST2_4G _ RX of said microcontroller U9 through said 4G receive data level shift circuit; the SIM circuit comprises a SIM card M1, a capacitor C14, a capacitor C15, a capacitor C16, a capacitor C17, a transient voltage suppression diode TVS1, a resistor R23, a resistor R24 and a resistor R25, wherein pins 1, 2, 3 and 6 of the SIM card M1 are grounded through the capacitor C14, the capacitor C15, the capacitor C16 and the capacitor C17, the negative end of the transient voltage suppression diode TVS1 is respectively connected with pins 1, 2, 3 and 6 of the SIM card M1, and pins 2, 3 and 6 of the SIM card M1 are respectively connected with pins RST _ CLK and UIM _ DAT of the module socket J3 through the resistor R23, the resistor R24 and the resistor R25.
CN201911170470.1A 2019-11-26 2019-11-26 Generator controller circuit Withdrawn CN110957806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911170470.1A CN110957806A (en) 2019-11-26 2019-11-26 Generator controller circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911170470.1A CN110957806A (en) 2019-11-26 2019-11-26 Generator controller circuit

Publications (1)

Publication Number Publication Date
CN110957806A true CN110957806A (en) 2020-04-03

Family

ID=69976881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911170470.1A Withdrawn CN110957806A (en) 2019-11-26 2019-11-26 Generator controller circuit

Country Status (1)

Country Link
CN (1) CN110957806A (en)

Similar Documents

Publication Publication Date Title
CN203775460U (en) Street lamp Internet of Things-oriented node controller
CN202841622U (en) Wireless LED street lamp remote control device
CN104596041B (en) The intelligent power saving operating control device and its control method of air-conditioning
CN101854762B (en) Plant tissue culture LED light source control system based on wireless network
CN103781255A (en) Intelligent LED street lamp monitor system based on ZigBee and Wi-Fi technology
CN104797032A (en) Method for realizing LED intelligent lighting control system based on the Internet of things technology
CN104837265A (en) Household illumination intelligent monitoring system
CN210838948U (en) Mains supply and power generation acquisition circuit of generator controller
CN210835667U (en) Signal acquisition circuit of generator controller
CN210836529U (en) 4G module and SIM circuit of generator controller
CN210724323U (en) Generator controller circuit
CN105792484A (en) Wireless self-networking variable-power intelligent illuminating equipment based on Internet-of-things
CN210835668U (en) Driving and output control circuit of generator controller
CN110957806A (en) Generator controller circuit
CN201789661U (en) Remote cluster controlling device for individual solar street lamp
CN204462909U (en) A kind of Intellisense terminal based on Internet of Things
CN203775483U (en) Intelligent LED light modulator based on KNX bus
CN202773138U (en) Wireless light-adjustable LED street lamp control system
CN102287742A (en) Intelligent solar street lamp
CN106102274B (en) A kind of street lamp control system
CN205430712U (en) City street lamp intelligent monitoring system based on internet of things
CN204331445U (en) A kind of intelligent lighting and infrared domestic electric appliances controller
CN211406390U (en) Narrow-band communication intelligent street lamp control system
CN204180337U (en) A kind of street lamp single-lamp control device
CN204316828U (en) Intelligent lamp control 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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200403