CN109669378B - Dynamic threshold detection circuit, method and concentrator - Google Patents

Dynamic threshold detection circuit, method and concentrator Download PDF

Info

Publication number
CN109669378B
CN109669378B CN201910062213.XA CN201910062213A CN109669378B CN 109669378 B CN109669378 B CN 109669378B CN 201910062213 A CN201910062213 A CN 201910062213A CN 109669378 B CN109669378 B CN 109669378B
Authority
CN
China
Prior art keywords
resistor
circuit
controller
capacitor
comparator
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
CN201910062213.XA
Other languages
Chinese (zh)
Other versions
CN109669378A (en
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.)
Wuhan Yiwei Technology Co ltd
Original Assignee
Wuhan Yiwei 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 Wuhan Yiwei Technology Co ltd filed Critical Wuhan Yiwei Technology Co ltd
Priority to CN201910062213.XA priority Critical patent/CN109669378B/en
Publication of CN109669378A publication Critical patent/CN109669378A/en
Application granted granted Critical
Publication of CN109669378B publication Critical patent/CN109669378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Power Engineering (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Electronic Switches (AREA)

Abstract

The invention discloses a dynamic threshold detection circuit, a method and a concentrator, wherein the dynamic threshold detection circuit comprises a power supply circuit, a controller, a dynamic control circuit, a current signal conversion circuit, a threshold identification current circuit and a comparison circuit; the power supply circuit is connected with the controller, the controller is further connected with the dynamic control circuit, the current signal conversion circuit, the threshold identification current circuit and the comparison circuit respectively, the dynamic control circuit is further connected with the input end of the driving circuit, the output end of the driving circuit is connected with the communication voltage generation circuit, and the communication voltage generation circuit is further connected with the communication output interface circuit and the current signal conversion circuit respectively. The technical scheme of the invention aims at realizing the detection of load return data by setting a dynamic threshold detection circuit and feeding back the load return data to a controller when load current fluctuates, so as to regulate the voltage input to the load and enable the load to work normally.

Description

Dynamic threshold detection circuit, method and concentrator
Technical Field
The present invention relates to the field of concentrator technologies, and in particular, to a dynamic threshold detection circuit, a dynamic threshold detection method, and a concentrator.
Background
The intelligent meter reading concentrator is an important component device of the remote meter reading control system, when the intelligent meter reading concentrator runs at full load, the internal consumption of the intelligent meter reading concentrator can be increased, so that the voltage input to a load is low, and when the voltage is too low, the load can not work normally, so that meter reading fails; in theory, the load is of constant current characteristic, but in practical application, the load often deviates from the constant current characteristic, which causes a jump in the emission voltage of the MBUS (Symphonic MBUS), and causes current fluctuation of the load, and the fluctuation affects the concentrator to receive the return data of the load.
Because a fixed threshold is generally adopted in the prior art to detect the load current, when the MBUS bus is overloaded, the jump of the MBUS transmitting voltage can cause the load current to change greatly, and the data in the load current recovery time can be lost, even the load can not work normally.
Disclosure of Invention
The invention mainly aims to provide a dynamic threshold detection circuit, which aims to realize detection of load return data by setting the dynamic threshold detection circuit and feeds the load return data back to a controller when load current fluctuates so as to regulate voltage input to the load to enable the load to work normally.
In order to achieve the above objective, the present invention provides a dynamic threshold detection circuit, which includes a power circuit, a controller, a dynamic control circuit, a current signal conversion circuit, a threshold identification current circuit and a comparison circuit; the power supply circuit is connected with the controller, the controller is also connected with the dynamic control circuit, the current signal conversion circuit, the threshold identification current circuit and the comparison circuit respectively, the dynamic control circuit is also connected with the input end of the driving circuit, the output end of the driving circuit is connected with the communication voltage generation circuit, and the communication voltage generation circuit is also connected with the communication output interface circuit and the current signal conversion circuit respectively;
the power supply circuit is used for providing power supply voltage for the controller;
the current signal conversion circuit is used for receiving a load return signal fed back by the communication output interface circuit when the controller supplies power to a load connected with the communication output interface circuit, and outputting a first current signal to the comparison circuit after conversion;
the threshold identification current circuit is used for tracking the load return signal and identifying corresponding load current, and when the load current fluctuation is identified, the threshold identification current circuit correspondingly matches with a preset variable threshold value of the load current fluctuation so as to output a second current signal to the comparison circuit;
the comparison circuit is used for comparing the first current signal with the second current signal, detecting load return data corresponding to the load return signal according to a comparison result and feeding back the load return data to the controller;
and the dynamic control circuit is used for correspondingly adjusting the communication voltage generated by the communication voltage generating circuit driven by the driving circuit according to the load return data received by the controller so as to control the load connected with the communication output interface circuit to work normally.
Preferably, the dynamic control circuit includes a first resistor, a second nor gate, a first nor gate, a second resistor, a third resistor, a first triode, a fourth resistor, a fifth resistor and a first MOS transistor; wherein,,
the first end of the first resistor is respectively connected with forty-four ends of a pin of the controller and the first input end of the second nor gate, the second end of the first resistor is grounded, the second input end of the second nor gate is respectively connected with the output end of the first nor gate and the first end of the second resistor, the output end of the second nor gate is respectively connected with forty-three ends of a pin of the controller, the first input end of the first nor gate is connected with forty-three ends of the pin of the controller, the second end of the second resistor is respectively connected with the first end of the third resistor and the base electrode of the first triode, the second end of the third resistor and the emitter electrode of the first triode are respectively grounded, the collector electrode of the first triode is connected with the first end of the fourth resistor, the second end of the fourth resistor is connected with the first end of the fifth resistor and the first MOS is respectively connected with the drain electrode of the first triode, and the drain electrode of the fifth MOS is respectively connected with the first MOS.
Preferably, the current signal conversion circuit includes a tenth resistor, a third capacitor, a fourth capacitor, a first comparator, an eleventh resistor, a twelfth resistor, a second comparator, a thirteenth resistor, a fifth capacitor, and a fourteenth resistor; wherein,,
the first end of the tenth resistor is connected with the drain electrode of the first MOS tube and the input end of the driving circuit respectively, the second end of the tenth resistor is connected with the first end of the third capacitor, the first end of the fourth capacitor and the positive power end of the first comparator respectively, the second end of the third capacitor and the second end of the fourth capacitor are grounded respectively, the first end of the eleventh resistor is connected with the inverting input end of the first comparator, the output end of the first comparator is connected with the first end of the twelfth resistor and the non-inverting input end of the second comparator respectively, the second end of the twelfth resistor is grounded, the inverting input end of the second comparator is connected with the first end of the thirteenth resistor, the first end of the fifth capacitor and the first end of the fourteenth resistor respectively, and the output end of the second comparator is connected with the nine end of the controller, the second end of the thirteenth resistor and the fifth end of the fifth capacitor respectively.
Preferably, the current signal conversion circuit further includes a third comparator, an eighteenth resistor, a fifteenth resistor, a sixteenth resistor, and a seventeenth resistor; wherein,,
the output end and the inverting input end of the third comparator are connected with the second end of the fourteenth resistor, the non-inverting input end of the third comparator is respectively connected with the first end of the eighteenth resistor, the first end of the fifteenth resistor, the first end of the sixteenth resistor and the first end of the seventeenth resistor, the second end of the eighteenth resistor is grounded, the second end of the fifteenth resistor is connected with thirty-three ends of a pin of the controller, the second end of the sixteenth resistor is connected with thirty-five ends of the pin of the controller, and the second end of the seventeenth resistor is connected with thirty-five ends of the pin of the controller.
Preferably, the threshold identification current circuit comprises a digital to analog converter; wherein,,
the voltage output end of the digital-to-analog converter is connected with the comparison circuit, the level trigger input end of the digital-to-analog converter is connected with the fifty-two ends of the pin of the controller, the serial clock input end of the digital-to-analog converter is connected with the fifty-three ends of the pin of the controller, and the serial data input end of the digital-to-analog converter is connected with the fifty-four ends of the pin of the controller.
Preferably, the comparison circuit comprises a fourth comparator, a twentieth resistor, an eighth capacitor and a ninth capacitor; wherein,,
the non-inverting input end of the fourth comparator is connected with the voltage output end of the digital-to-analog converter, the inverting input end of the fourth comparator is connected with the output end of the second comparator through the pin nine end of the controller, the positive power end of the fourth comparator is respectively connected with the first end of the eighth capacitor and the first end of the ninth capacitor, the second end of the eighth capacitor and the second end of the ninth capacitor are grounded, and the output end of the fourth comparator is respectively connected with the first end of the twentieth resistor and the pin seventeen end of the controller.
Preferably, the dynamic threshold detection circuit further comprises a driving circuit, a communication voltage generation circuit, a sixth resistor, a seventh resistor and a communication output interface circuit; wherein,,
the input end of the driving circuit is respectively connected with the drain electrode of the first MOS tube and the first end of the tenth resistor, the output end of the driving circuit is connected with the communication voltage generating circuit, the communication voltage generating circuit is also respectively connected with the first end of the sixth resistor and the second end of the eleventh resistor, the second end of the sixth resistor is respectively connected with the first end of the seventh resistor and the in-phase input end of the first comparator, and the second end of the seventh resistor is connected with the communication output interface circuit.
Preferably, the dynamic threshold detection circuit further comprises a photoelectric coupler, an eighth resistor, a first capacitor, a second capacitor and a ninth resistor; wherein,,
the first end of the ninth resistor is connected with the first end of the sixth resistor and the second end of the eleventh resistor respectively, the second end of the ninth resistor is connected with the first end of the second capacitor and the first end of the first capacitor respectively, the second end of the second capacitor and the second end of the first capacitor are connected with the second end of the sixth resistor respectively, the input end of the photoelectric coupler is connected with the first end and the second end of the first capacitor respectively, the output end of the photoelectric coupler is connected with the first end of the eighth resistor and the forty ends of pins of the controller respectively, and the second end of the eighth resistor is grounded.
The invention also provides a dynamic threshold detection method, which comprises the following steps:
the power supply circuit provides a power supply voltage for the controller;
when the controller supplies power to a load connected with the communication output interface circuit, the current signal conversion circuit receives a load return signal fed back by the communication output interface circuit, and outputs a first current signal to the comparison circuit after conversion;
the threshold identification current circuit tracks the load return signal and identifies a corresponding load current, and when the load current fluctuation is identified, the corresponding load current fluctuation is matched to a preset variable threshold value of the load current fluctuation so as to output a second current signal to the comparison circuit;
the comparison circuit compares the first current signal with the second current signal, detects load return data corresponding to the load return signal according to a comparison result and feeds the load return data back to the controller;
and the dynamic control circuit correspondingly adjusts the communication voltage generated by the communication voltage generating circuit driven by the driving circuit according to the load return data received by the controller so as to control the load connected with the communication output interface circuit to work normally.
The invention also proposes a concentrator comprising a dynamic threshold detection circuit as defined in any one of the above, or applied to a dynamic threshold detection method as defined above.
The technical scheme of the invention forms a dynamic threshold detection circuit by adopting a power supply circuit, a controller, a dynamic control circuit, a current signal conversion circuit, a threshold identification current circuit and a comparison circuit. Wherein the power supply circuit is used for providing a power supply voltage for the controller; the current signal conversion circuit is used for receiving a load return signal fed back by the communication output interface circuit when the controller supplies power to a load connected with the communication output interface circuit, and outputting a first current signal to the comparison circuit after conversion; the threshold identification current circuit is used for tracking the load return signal and identifying corresponding load current, and when the load current fluctuation is identified, the threshold identification current circuit correspondingly matches with a preset variable threshold value of the load current fluctuation so as to output a second current signal to the comparison circuit; the comparison circuit is used for comparing the first current signal with the second current signal, detecting load return data corresponding to the load return signal according to a comparison result and feeding back the load return data to the controller; the dynamic control circuit is used for correspondingly adjusting the communication voltage generated by the communication voltage generating circuit driven by the driving circuit according to the load return data received by the controller so as to control the load connected with the communication output interface circuit to work normally. The technical scheme of the invention aims at realizing the detection of load return data by setting a dynamic threshold detection circuit and feeding back the load return data to a controller when load current fluctuates, so as to regulate the voltage input to the load and enable the load to work normally.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a functional block diagram of an embodiment of a dynamic threshold detection circuit according to the present invention;
FIG. 2 is a circuit diagram of one embodiment of a dynamic threshold detection circuit of the present invention;
FIG. 3 is a circuit diagram of an embodiment of a driving circuit and a communication voltage generating circuit of the dynamic threshold detection circuit of the present invention;
FIG. 4 is a graph of load current versus time in accordance with the present invention;
fig. 5 is a flow chart of the dynamic threshold detection method of the present invention.
Reference numerals illustrate:
reference numerals Name of the name Reference numerals Name of the name
100 Power supply circuit R1~R20 First to twentieth resistors
200 Controller for controlling a power supply C1~C9 First to ninth capacitors
300 Dynamic control circuit G1~G2 First to second NOR gates
400 Driving circuit Q1 First triode
500 Communication voltage generating circuit M1 First MOS tube
600 Communication output interface circuit A1~A4 First to fourth comparators
700 Current signal conversion circuit DAC1 Digital-to-analog converter
800 Threshold identification current circuit U1 Photoelectric coupler
900 Comparison circuit D1 First diode
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
Furthermore, the description of "first," "second," etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the technical solutions should be considered that the combination does not exist and is not within the scope of protection claimed by the present invention.
The invention provides a dynamic threshold detection circuit.
Referring to fig. 1, in the embodiment of the present invention, the dynamic threshold detection circuit includes a power circuit 100, a controller 200, a dynamic control circuit 300, a current signal conversion circuit 700, a threshold identification current circuit 800, and a comparison circuit 900; the power supply circuit 100 is connected to the controller 200, the controller 200 is further connected to the dynamic control circuit 300, the current signal conversion circuit 700, the threshold identification current circuit 800 and the comparison circuit 900, the dynamic control circuit 300 is further connected to an input end of the driving circuit 400, an output end of the driving circuit 400 is connected to the communication voltage generation circuit 500, and the communication voltage generation circuit 500 is further connected to the communication output interface circuit 600 and the current signal conversion circuit 700;
the power supply circuit 100 is configured to provide a power supply voltage to the controller 200;
the current signal conversion circuit 700 is configured to receive a load return signal fed back by the communication output interface circuit 600 when the controller 200 supplies power to a load connected to the communication output interface circuit 600, and output a first current signal to the comparison circuit 900 after conversion;
the threshold identifying current circuit 800 is configured to track the load return signal and identify a corresponding load current, and when the load current fluctuation is identified, correspondingly match to a preset variable threshold of the load current fluctuation, so as to output a second current signal to the comparing circuit 900;
the comparison circuit 900 is configured to compare the first current signal with the second current signal, detect load return data corresponding to the load return signal according to a comparison result, and feed back the load return data to the controller 200.
The dynamic control circuit 300 is configured to correspondingly adjust the communication voltage generated by the communication voltage generating circuit 500 driven by the driving circuit 400 according to the load return data received by the controller 200, so as to control the load connected to the communication output interface circuit 600 to work normally.
It should be noted that, in this embodiment, the controller 200 employs an iap15w4k6s4_lqfp 64 chip of STC manufacturer, where as shown in fig. 2, the P3 port may be used as a special function according to practical requirements, for example, P3.2 is an external interrupt 0, P3.3 is an external interrupt 1, P3.4 is an external input of the timer 0, and P3.5 is an external input of the timer 1, where the P3 ports are respectively connected to PIN numbers as shown in fig. 2, which are not listed here; it is easy to understand that the P7 ports are respectively connected to PIN numbers as shown in fig. 2, and the controller 200 may also be composed of peripheral circuits and the internal chip.
It should be noted that, in the present embodiment, the power circuit 100 provides the power supply voltage for the controller 200, wherein the power circuit 100 can be converted into various dc voltages by power supply, such as 32.5v,5v,3v, etc. shown in fig. 2, which is not described herein.
The technical scheme of the invention forms a dynamic threshold detection circuit by adopting the power supply circuit 100, the controller 200, the dynamic control circuit 300, the current signal conversion circuit 700, the threshold identification current circuit 800 and the comparison circuit 900. Wherein the power supply circuit 100 is configured to provide a supply voltage to the controller 200; the current signal conversion circuit 700 is configured to receive a load return signal fed back by the communication output interface circuit 600 when the controller 200 supplies power to a load connected to the communication output interface circuit 600, and output a first current signal to the comparison circuit 900 after conversion; the threshold identifying current circuit 800 is configured to track the load return signal and identify a corresponding load current, and when the load current fluctuation is identified, correspondingly match to a preset variable threshold of the load current fluctuation, so as to output a second current signal to the comparing circuit 900; the comparison circuit 900 is configured to compare the first current signal with the second current signal, detect load return data corresponding to the load return signal according to a comparison result, and feed back the load return data to the controller 200; the dynamic control circuit 300 is configured to correspondingly adjust the communication voltage generated by the communication voltage generating circuit 500 driven by the driving circuit 400 according to the load return data received by the controller 200, so as to control the load connected to the communication output interface circuit 600 to work normally. The technical scheme of the invention aims at realizing the detection of load return data by setting a dynamic threshold detection circuit and feeding back the load return data to a controller when load current fluctuates, so as to regulate the voltage input to the load and enable the load to work normally.
Specifically, referring to fig. 2, the dynamic control circuit 300 includes a first resistor R1, a second nor gate G2, a first nor gate G1, a second resistor R2, a third resistor R3, a first triode Q1, a fourth resistor R4, a fifth resistor R5, and a first MOS transistor M1; wherein,,
the first end of the first resistor R1 is respectively connected with forty-four pins of the controller 200 and the first input end of the second nor gate G2, the second end of the first resistor R1 is grounded, the second input end of the second nor gate G2 is respectively connected with the output end of the first nor gate G1 and the first end of the second resistor R2, the output end of the second nor gate G2 is respectively connected with forty-three pins of the controller 200, the first input end of the first nor gate G1 is respectively connected with forty-three pins of the controller 200, the second end of the second resistor R2 is respectively connected with the first end of the third resistor R3 and the base electrode of the first triode Q1, the second end of the third resistor R3 and the first triode Q1 are respectively grounded, the first input end of the first triode Q1 is respectively connected with the first end of the fourth resistor M4 and the fifth resistor M5, the drain electrode of the fourth resistor M4 is respectively connected with the first end of the third resistor M1 and the fifth resistor M5.
In this embodiment, the dynamic control circuit 300 adjusts the voltage input to the load connected to the communication output interface circuit by setting the second nor gate G2, the first nor gate G1, the first triode Q1, and the first MOS transistor M1.
Specifically, the current signal conversion circuit 700 includes a tenth resistor R10, a third capacitor C1, a fourth capacitor C4, a first comparator A1, an eleventh resistor R11, a twelfth resistor R12, a second comparator A2, a thirteenth resistor R13, a fifth capacitor C5, and a fourteenth resistor R14; wherein,,
the first end of the tenth resistor R10 is connected to the drain of the first MOS transistor M1 and the input end of the driving circuit 400, the second end of the tenth resistor R10 is connected to the first end of the third capacitor C3, the first end of the fourth capacitor C4 and the positive power supply end of the first comparator A1, the second end of the third capacitor C3 and the second end of the fourth capacitor C4 are grounded, the first end of the eleventh resistor R11 is connected to the inverting input end of the first comparator A1, the output end of the first comparator A1 is connected to the first end of the twelfth resistor R12 and the non-inverting input end of the second comparator A2, the second end of the twelfth resistor R12 is grounded, the inverting input end of the second comparator A2 is connected to the first end of the thirteenth resistor R13, the first end of the fifth capacitor C5 and the second end of the fourteenth resistor R14 are connected to the inverting input end of the thirteenth resistor C13, and the output end of the ninth comparator A2 is connected to the thirteenth end of the thirteenth resistor C5.
It should be noted that, in this embodiment, the current signal conversion circuit 700 further includes a nineteenth resistor R19, a first diode D1, a sixth capacitor C6, and a seventh capacitor C7, where when the current signal conversion circuit 700 outputs a corresponding current signal after conversion, the corresponding current signal is input to the controller 200 through the pin nine terminal of the controller 200.
Specifically, the current signal conversion circuit 700 further includes a third comparator A3, an eighteenth resistor R18, a fifteenth resistor R15, a sixteenth resistor R16, and a seventeenth resistor R17; wherein,,
the output end and the inverting input end of the third comparator A3 are connected with the second end of the fourteenth resistor R14, the non-inverting input end of the third comparator A3 is connected with the first end of the eighteenth resistor R18, the first end of the fifteenth resistor R15, the first end of the sixteenth resistor R16 and the first end of the seventeenth resistor R17, the second end of the eighteenth resistor R18 is grounded, the second end of the fifteenth resistor R15 is connected with the thirty-three ends of the pin of the controller 200, the second end of the sixteenth resistor R16 is connected with the thirty-four ends of the pin of the controller 200, and the second end of the seventeenth resistor R17 is connected with the thirty-five ends of the pin of the controller 200.
In this embodiment, the third comparator A3 is added in the prior art, interacts with the DAC1 and is controlled by the controller 200 to output the first current signal to the comparing circuit 900.
Specifically, the threshold identification current circuit 800 includes a digital-to-analog converter DAC1; wherein,,
the voltage output end of the DAC1 is connected to the comparing circuit 900, the level trigger input end of the DAC1 is connected to the fifty-two ends of the pin of the controller 200, the serial clock input end of the DAC1 is connected to the fifty-three ends of the pin of the controller 200, and the serial data input end of the DAC1 is connected to the fifty-four ends of the pin of the controller 200.
It should be noted that, in this embodiment, the DAC7512 chip is used to track the load return signal and identify the corresponding load current, when the load current fluctuation is identified, the corresponding preset variable threshold value is matched to the load current fluctuation, referring to fig. 4, which is a graph of time-dependent load current change caused by the emission voltage jump of the MBUS, the detected load current threshold dynamically configured by the concentrator is matched to a position of one half of the load current jump (i.e. the preset variable threshold value), so as to output the second current signal to the comparison circuit 900,
specifically, the comparison circuit 900 includes a fourth comparator A4, a twentieth resistor R20, an eighth capacitor C8, and a ninth capacitor C9; wherein,,
the non-inverting input end of the fourth comparator A4 is connected to the voltage output end of the DAC1, the inverting input end of the fourth comparator A4 is connected to the output end of the second comparator A2 via the pin nine end of the controller 200, the positive power end of the fourth comparator A4 is connected to the first end of the eighth capacitor C8 and the first end of the ninth capacitor C9, the second end of the eighth capacitor C8 is grounded to the second end of the ninth capacitor C9, and the output end of the fourth comparator A4 is connected to the first end of the twentieth resistor R20 and the pin seventeen end of the controller 200.
It should be noted that, in the present embodiment, in the prior art, a fixed threshold is used to detect the load current, when the load on the MBUS bus is relatively large, the load current variation caused by the MBUS transmission is relatively large, and the data in the load current recovery time will be lost, referring to fig. 4, in the technical scheme of the present invention, a dynamic threshold is used to detect the load current, and the comparison circuit 900 compares the first current signal with the second current signal, and detects the load return data corresponding to the load return signal according to the comparison result and feeds back the load return data to the controller 200, so as to ensure that the load return data fed back to the controller 200 will not be lost, so that the voltage input to the load is regulated by the dynamic control circuit 300.
Specifically, the dynamic threshold detection circuit further includes a driving circuit 400, a communication voltage generating circuit 500, a sixth resistor R6, a seventh resistor R7, and a communication output interface circuit 600; wherein,,
the input end of the driving circuit 400 is connected with the drain electrode of the first MOS transistor M1 and the first end of the tenth resistor R10, the output end of the driving circuit 400 is connected with the communication voltage generating circuit 500, the communication voltage generating circuit 500 is further connected with the first end of the sixth resistor R6 and the second end of the eleventh resistor R11, the second end of the sixth resistor R6 is connected with the first end of the seventh resistor R7 and the non-inverting input end of the first comparator A1, and the second end of the seventh resistor R7 is connected with the communication output interface circuit 600.
It should be noted that, in this embodiment, referring to fig. 3, a circuit structure diagram of the driving circuit 400 and the communication voltage generating circuit 500 is shown, wherein an MBUS driver is an LM317 chip, and the communication voltage generating circuit 500 is driven to generate a communication voltage by the adjustment of the dynamic control circuit 300, so as to control the load connected to the communication output interface circuit 600 to work normally; the communication output interface circuit 600 may be composed of a relay with a model number of SRS-05VDC-SH and an MBUS interface, which are not described in detail herein; in addition, the MCUPIN in fig. 3 is connected to the pin port of the controller 200 according to the pin number, the two resistors corresponding to 1.5 ohm and 1 ohm respectively correspond to the sixth resistor R6 and the seventh resistor R7 in fig. 2, and the drain electrode of the first MOS transistor M1 is connected to the Vin end of the chip LM317 in fig. 3.
It should be noted that, in this embodiment, the MBUS driver is of a low impedance type, has a strong overvoltage protection capability, and is capable of absorbing an overvoltage signal formed by external interference, for example: sensing lightning stroke; the bus has a strong current short-circuit protection function, and can be prevented from being damaged under the condition of any short circuit of the MBUS bus.
Specifically, the dynamic threshold detection circuit further includes a photo coupler U1, an eighth resistor R8, a first capacitor C1, a second capacitor C2, and a ninth resistor R9; wherein,,
the first end of the ninth resistor R9 is connected with the first end of the sixth resistor R6 and the second end of the eleventh resistor R11, the second end of the ninth resistor R9 is connected with the first end of the second capacitor C2 and the first end of the first capacitor C1, the second end of the second capacitor C2 and the second end of the first capacitor C1 are connected with the second end of the sixth resistor R6, the input end of the photo coupler U1 is connected with the first end and the second end of the first capacitor C1, the output end of the photo coupler U1 is connected with the first end of the eighth resistor R8 and the forty ends of the pins of the controller 200, and the second end of the eighth resistor R8 is grounded.
It should be noted that, in this embodiment, when the load is shorted, the photo coupler U1 is connected to the controller 200 in an open circuit, and the controller 200 stops supplying power to the load to ensure that the load is not damaged.
Referring to fig. 3, the present invention further provides a dynamic threshold detection method, where the dynamic threshold detection method includes:
step S10: the power supply circuit 100 supplies a power supply voltage to the controller.
Step S20: when the controller 200 supplies power to the load connected to the communication output interface circuit 600, the current signal conversion circuit 700 receives the load return signal fed back by the communication output interface circuit 600, and outputs the first current signal to the comparison circuit 900 after conversion.
Step S30: the threshold identification current circuit 800 tracks the load return signal and identifies a corresponding load current, and when the load current fluctuation is identified, a corresponding preset variable threshold value matched to the load current fluctuation is output to the comparison circuit 900.
Step S40: the comparison circuit 900 compares the first current signal with the second current signal, detects load return data corresponding to the load return signal according to a comparison result, and feeds back the load return data to the controller 200.
Step S50: the dynamic control circuit 300 correspondingly adjusts the communication voltage generated by the communication voltage generating circuit 500 through the driving circuit 400 according to the load return data received by the controller 200, so as to control the load connected to the communication output interface circuit 600 to work normally.
It should be noted that, in this embodiment, the dynamic threshold detection method can automatically match to a preset variable threshold of load current fluctuation to drive a nonstandard MBUS load, and the technical scheme of the present invention forms a dynamic threshold detection circuit by setting the power circuit 100, the controller 200, the dynamic control circuit 300, the current signal conversion circuit 700, the threshold identification current circuit 800 and the comparison circuit 900; when the load current fluctuates, the detection of load return data is realized by setting a dynamic threshold detection circuit and the load return data is fed back to the controller 200, so that the voltage input to the load is regulated to enable the load to work normally.
The invention further proposes a concentrator comprising a dynamic threshold detection circuit as defined in any one of the above. It will be readily appreciated that the concentrator has at least the benefits of the embodiments described above.
It should be noted that, in this embodiment, the concentrator applies the dynamic threshold detection method as described in any one of the above.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the description of the present invention and the accompanying drawings or direct/indirect application in other related technical fields are included in the scope of the invention.

Claims (8)

1. The dynamic threshold detection circuit is characterized by comprising a power supply circuit, a controller, a dynamic control circuit, a current signal conversion circuit, a threshold identification current circuit and a comparison circuit; the power supply circuit is connected with the controller, the controller is also connected with the dynamic control circuit, the current signal conversion circuit, the threshold identification current circuit and the comparison circuit respectively, the dynamic control circuit is also connected with the input end of the driving circuit, the output end of the driving circuit is connected with the communication voltage generation circuit, and the communication voltage generation circuit is also connected with the communication output interface circuit and the current signal conversion circuit respectively;
the power supply circuit is used for providing power supply voltage for the controller;
the current signal conversion circuit is used for receiving a load return signal fed back by the communication output interface circuit when the controller supplies power to a load connected with the communication output interface circuit, and outputting a first current signal to the comparison circuit after conversion;
the threshold identification current circuit is used for tracking the load return signal and identifying corresponding load current, and when the load current fluctuation is identified, the threshold identification current circuit correspondingly matches with a preset variable threshold value of the load current fluctuation so as to output a second current signal to the comparison circuit;
the comparison circuit is used for comparing the first current signal with the second current signal, detecting load return data corresponding to the load return signal according to a comparison result and feeding back the load return data to the controller;
the dynamic control circuit is used for correspondingly adjusting the communication voltage generated by the communication voltage generating circuit driven by the driving circuit according to the load return data received by the controller so as to control the load connected with the communication output interface circuit to work normally;
the dynamic control circuit comprises a first resistor, a second NOR gate, a first NOR gate, a second resistor, a third resistor, a first triode, a fourth resistor, a fifth resistor and a first MOS tube; wherein,,
the first end of the first resistor is respectively connected with forty-four ends of a pin of the controller and the first input end of the second nor gate, the second end of the first resistor is grounded, the second input end of the second nor gate is respectively connected with the output end of the first nor gate and the first end of the second resistor, the output end of the second nor gate is respectively connected with forty-three ends of a pin of the controller, the first input end of the first nor gate is connected with forty-three ends of the pin of the controller, the second end of the second resistor is respectively connected with the first end of the third resistor and the base electrode of the first triode, the second end of the third resistor and the emitter electrode of the first triode are respectively grounded, the collector electrode of the first triode is connected with the first end of the fourth resistor, the second end of the fourth resistor is connected with the first end of the fifth resistor and the first MOS is respectively connected with the drain electrode of the first triode, and the drain electrode of the fifth MOS is respectively connected with the first MOS.
2. The dynamic threshold detection circuit of claim 1, wherein the current signal conversion circuit comprises a tenth resistor, a third capacitor, a fourth capacitor, a first comparator, an eleventh resistor, a twelfth resistor, a second comparator, a thirteenth resistor, a fifth capacitor, and a fourteenth resistor; wherein,,
the first end of the tenth resistor is connected with the drain electrode of the first MOS tube and the input end of the driving circuit respectively, the second end of the tenth resistor is connected with the first end of the third capacitor, the first end of the fourth capacitor and the positive power end of the first comparator respectively, the second end of the third capacitor and the second end of the fourth capacitor are grounded respectively, the first end of the eleventh resistor is connected with the inverting input end of the first comparator, the output end of the first comparator is connected with the first end of the twelfth resistor and the non-inverting input end of the second comparator respectively, the second end of the twelfth resistor is grounded, the inverting input end of the second comparator is connected with the first end of the thirteenth resistor, the first end of the fifth capacitor and the first end of the fourteenth resistor respectively, and the output end of the second comparator is connected with the nine end of the controller, the second end of the thirteenth resistor and the fifth end of the fifth capacitor respectively.
3. The dynamic threshold detection circuit of claim 2, wherein the current signal conversion circuit further comprises a third comparator, an eighteenth resistor, a fifteenth resistor, a sixteenth resistor, and a seventeenth resistor; wherein,,
the output end and the inverting input end of the third comparator are connected with the second end of the fourteenth resistor, the non-inverting input end of the third comparator is respectively connected with the first end of the eighteenth resistor, the first end of the fifteenth resistor, the first end of the sixteenth resistor and the first end of the seventeenth resistor, the second end of the eighteenth resistor is grounded, the second end of the fifteenth resistor is connected with thirty-three ends of a pin of the controller, the second end of the sixteenth resistor is connected with thirty-five ends of the pin of the controller, and the second end of the seventeenth resistor is connected with thirty-five ends of the pin of the controller.
4. The dynamic threshold detection circuit of claim 3, wherein the threshold identification current circuit comprises a digital-to-analog converter; wherein,,
the voltage output end of the digital-to-analog converter is connected with the comparison circuit, the level trigger input end of the digital-to-analog converter is connected with the fifty-two ends of the pin of the controller, the serial clock input end of the digital-to-analog converter is connected with the fifty-three ends of the pin of the controller, and the serial data input end of the digital-to-analog converter is connected with the fifty-four ends of the pin of the controller.
5. The dynamic threshold detection circuit of claim 4, wherein the comparison circuit comprises a fourth comparator, a twentieth resistor, an eighth capacitor, and a ninth capacitor; wherein,,
the non-inverting input end of the fourth comparator is connected with the voltage output end of the digital-to-analog converter, the inverting input end of the fourth comparator is connected with the output end of the second comparator through the pin nine end of the controller, the positive power end of the fourth comparator is respectively connected with the first end of the eighth capacitor and the first end of the ninth capacitor, the second end of the eighth capacitor and the second end of the ninth capacitor are grounded, and the output end of the fourth comparator is respectively connected with the first end of the twentieth resistor and the pin seventeen end of the controller.
6. The dynamic threshold detection circuit of any of claims 1 to 5, wherein the dynamic threshold detection circuit further comprises a driving circuit, a communication voltage generation circuit, a sixth resistor, a seventh resistor, and a communication output interface circuit; wherein,,
the input end of the driving circuit is respectively connected with the drain electrode of the first MOS tube and the first end of the tenth resistor, the output end of the driving circuit is connected with the communication voltage generating circuit, the communication voltage generating circuit is also respectively connected with the first end of the sixth resistor and the second end of the eleventh resistor, the second end of the sixth resistor is respectively connected with the first end of the seventh resistor and the in-phase input end of the first comparator, and the second end of the seventh resistor is connected with the communication output interface circuit.
7. The dynamic threshold detection circuit of claim 6, further comprising a photo coupler, an eighth resistor, a first capacitor, a second capacitor, and a ninth resistor; wherein,,
the first end of the ninth resistor is connected with the first end of the sixth resistor and the second end of the eleventh resistor respectively, the second end of the ninth resistor is connected with the first end of the second capacitor and the first end of the first capacitor respectively, the second end of the second capacitor and the second end of the first capacitor are connected with the second end of the sixth resistor respectively, the input end of the photoelectric coupler is connected with the first end and the second end of the first capacitor respectively, the output end of the photoelectric coupler is connected with the first end of the eighth resistor and the forty ends of pins of the controller respectively, and the second end of the eighth resistor is grounded.
8. A concentrator, characterized in that the concentrator comprises a dynamic threshold detection circuit according to any one of claims 1 to 7.
CN201910062213.XA 2019-01-21 2019-01-21 Dynamic threshold detection circuit, method and concentrator Active CN109669378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910062213.XA CN109669378B (en) 2019-01-21 2019-01-21 Dynamic threshold detection circuit, method and concentrator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910062213.XA CN109669378B (en) 2019-01-21 2019-01-21 Dynamic threshold detection circuit, method and concentrator

Publications (2)

Publication Number Publication Date
CN109669378A CN109669378A (en) 2019-04-23
CN109669378B true CN109669378B (en) 2023-10-10

Family

ID=66150283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910062213.XA Active CN109669378B (en) 2019-01-21 2019-01-21 Dynamic threshold detection circuit, method and concentrator

Country Status (1)

Country Link
CN (1) CN109669378B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002124378A (en) * 2000-10-19 2002-04-26 Kawaguchiko Seimitsu Co Ltd Display device drive circuit
WO2009015227A1 (en) * 2007-07-23 2009-01-29 Intersil Americas Inc. Load current compensation in synchronous power converters
JP2010011558A (en) * 2008-06-24 2010-01-14 Panasonic Electric Works Co Ltd Remote meter reading system
KR20120028831A (en) * 2010-09-15 2012-03-23 이광직 The apparatus and method of distribution transformer attached a condenser controll moudle with switching
CN103812330A (en) * 2012-11-06 2014-05-21 泰商泰达电子公司 Power supply converter capable of dynamically adjusting output voltage and power supply system suitable therefor
CN105809941A (en) * 2016-03-15 2016-07-27 安阳工学院 MBUS heat meter data collection controller and collection method
CN107256626A (en) * 2017-07-19 2017-10-17 南京新联电子股份有限公司 Based on MBUS standard agreements collection water, heat, the method for gas meter
CN209373387U (en) * 2019-01-21 2019-09-10 武汉易维电子科技有限公司 Dynamic threshold detection circuit and concentrator

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7511470B2 (en) * 2007-01-29 2009-03-31 M&Fc Holding, Llc Electronic tamper detection circuit for an electricity meter
US7755215B2 (en) * 2007-04-27 2010-07-13 Dell Products, Lp Method and circuit to output adaptive drive voltages within information handling systems
BR112014001356B1 (en) * 2011-07-21 2020-10-20 Siemens Aktiengesellschaft method and device for determining a failed section of a power supply line
US20130123998A1 (en) * 2011-11-14 2013-05-16 Christopher Slaboszewicz King Electrical power distribution systems, smart electricity meters, and methods of controlling local power connection
US9798367B2 (en) * 2013-04-09 2017-10-24 Intel Corporation Controlling supply of power to computing devices with dynamically variable energy capacity
US10241526B2 (en) * 2016-11-11 2019-03-26 Google Llc Thermostat switching circuitry with overcurrent shutdown

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002124378A (en) * 2000-10-19 2002-04-26 Kawaguchiko Seimitsu Co Ltd Display device drive circuit
WO2009015227A1 (en) * 2007-07-23 2009-01-29 Intersil Americas Inc. Load current compensation in synchronous power converters
JP2010011558A (en) * 2008-06-24 2010-01-14 Panasonic Electric Works Co Ltd Remote meter reading system
KR20120028831A (en) * 2010-09-15 2012-03-23 이광직 The apparatus and method of distribution transformer attached a condenser controll moudle with switching
CN103812330A (en) * 2012-11-06 2014-05-21 泰商泰达电子公司 Power supply converter capable of dynamically adjusting output voltage and power supply system suitable therefor
CN105809941A (en) * 2016-03-15 2016-07-27 安阳工学院 MBUS heat meter data collection controller and collection method
CN107256626A (en) * 2017-07-19 2017-10-17 南京新联电子股份有限公司 Based on MBUS standard agreements collection water, heat, the method for gas meter
CN209373387U (en) * 2019-01-21 2019-09-10 武汉易维电子科技有限公司 Dynamic threshold detection circuit and concentrator

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Single Event Effect Assessment of a 1-Mbit Commercial Magneto-resistive Random Access Memory;Philippe C. Adell et al.;2017IEEE Nuclear&Space Radiation Effects Conference;第1-4页 *
基于动态电位判断的负载状态在线检测技术研究;刘红奎;相征;罗辉果;;电子测量与仪器学报(第07期);第610-615页 *
用于多表集抄系统的自适应M- BUS 主机电路设计;王相伟 等;电测与仪表;第103-106、117页 *

Also Published As

Publication number Publication date
CN109669378A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
US20040008079A1 (en) Power supply circuit with control of rise characteristics of output voltage
US11545970B2 (en) Current detection circuit, current detection method, and semiconductor module
AU2015331860A1 (en) Systems for setting the address of a module
CN104679087A (en) Vehicle-mounted low-dropout linear voltage stabilizer circuit and low-voltage compensating circuit thereof
US20120092800A1 (en) Circuit for detecting over-voltage and over-current
JP2019062714A (en) Synchronous rectification circuit and switching power supply device
US9240716B2 (en) Switching power supply circuit
WO2022134379A1 (en) Bus communication circuit and device
CN109669378B (en) Dynamic threshold detection circuit, method and concentrator
US11632842B2 (en) Selective inrush current control with active current clamp and monitoring
US9557789B2 (en) Power control device
CN106528481B (en) Bus rectifier bridge post-discharge circuit integrated in slave chip
US20210006243A1 (en) Current detection circuit, current detection method, and semiconductor module
US8346494B2 (en) Physical quantity measurement device
CN209373387U (en) Dynamic threshold detection circuit and concentrator
US10447140B1 (en) Voltage band-pass enable circuit
CN111313357A (en) Intelligent power module and detection circuit thereof, and air conditioner
CN113253151B (en) Short circuit detection circuit, short circuit protection circuit and chip
CN111367346A (en) Voltage stabilizing circuit, power supply and electric equipment
CN106249040B (en) Wide-range dynamic voltage measuring circuit and method
US5751603A (en) Asymmetrical power supply
CN211506286U (en) Auxiliary power supply circuit with wide input voltage range
CN115136478A (en) Semiconductor integrated circuit for power supply and power supply system
US20120274308A1 (en) Voltage detection circuit
CN220692819U (en) Flyback switching power supply with short-circuit protection and photovoltaic inverter equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20201117

Address after: Room 01, 12 / F, building A-1, zone II (phase 6), National Geospatial Information Industry base, No. 3, wudayuan 4th Road, Donghu New Technology Development Zone, Wuhan, Hubei Province

Applicant after: Wuhan Yiwei Technology Co.,Ltd.

Address before: 430000 11-storey Building of Administrative Complex Building of Wuhan Instrument and Electronics School, No. 1 Liufangyuan Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Applicant before: WUHAN EWIDE ELECTRONIC TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Dynamic threshold detection circuit, method, and concentrator

Effective date of registration: 20231130

Granted publication date: 20231010

Pledgee: Wuhan Pacific Bank of Communications Co.,Ltd.

Pledgor: Wuhan Yiwei Technology Co.,Ltd.

Registration number: Y2023980068474

PE01 Entry into force of the registration of the contract for pledge of patent right