CN112666383A - Dynamic detection device and method for current, voltage and power of mobile equipment - Google Patents

Dynamic detection device and method for current, voltage and power of mobile equipment Download PDF

Info

Publication number
CN112666383A
CN112666383A CN202011484767.8A CN202011484767A CN112666383A CN 112666383 A CN112666383 A CN 112666383A CN 202011484767 A CN202011484767 A CN 202011484767A CN 112666383 A CN112666383 A CN 112666383A
Authority
CN
China
Prior art keywords
voltage
current
sampling
circuit
adc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011484767.8A
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.)
Guizhou Aerospace Control Technology Co Ltd
Original Assignee
Guizhou Aerospace Control 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 Guizhou Aerospace Control Technology Co Ltd filed Critical Guizhou Aerospace Control Technology Co Ltd
Priority to CN202011484767.8A priority Critical patent/CN112666383A/en
Publication of CN112666383A publication Critical patent/CN112666383A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a dynamic detection device and a method for current, voltage and power of mobile equipment, wherein the device comprises a current acquisition circuit, a voltage acquisition circuit and a detection controller, the detection controller is provided with a control chip, an ADC (analog to digital converter) sampling module is arranged on the control chip, and the ADC sampling module is provided with a current sampling interface for acquiring current and a voltage sampling interface for acquiring voltage; the current sampling circuit is provided with a current sampling resistor, and the current sampling resistor is connected with a current sampling interface on the ADC sampling module through a precision amplifier; the voltage sampling circuit is provided with a voltage sampling resistor, the voltage sampling resistor is connected with a voltage sampling interface on the ADC sampling module, and the current sampling resistor and the voltage sampling resistor form a resistor voltage division circuit for dividing the voltage of the tested mobile equipment. The device and the method have the characteristics of digitalization, integration, flexible interface, good expandability and the like, and have high practical value.

Description

Dynamic detection device and method for current, voltage and power of mobile equipment
Technical Field
The present invention relates to a dynamic detection device for voltage, current and power consumption, and more particularly, to a dynamic detection device and method for current, voltage and power of a mobile device.
Background
With the research and development of mobile equipment (such as robots and the like), a low-power-consumption design mode naturally becomes a great trend, and the design aims of high efficiency, high reliability and low power consumption of products can be achieved by monitoring the dynamic working process of the products, optimizing the design of high-power-consumption working points and monitoring abnormal power consumption.
In the research and debugging work of mobile equipment, dynamic detection of voltage, current and power consumption is an important link of product debugging, conventional voltage, current and power measuring instruments cannot be adopted in the dynamic motion of mobile equipment, in addition, the existing voltage, current and power measuring instruments are large in size, and the existing coulometer large-size interface has the defects of inflexibility in use and the like.
Disclosure of Invention
The invention aims to provide a dynamic detection device for current, voltage and power of mobile equipment with reasonable design, and aims to solve the problem that the dynamic detection of the voltage, the current and the power consumption of the existing mobile equipment is inconvenient in the debugging and testing process.
Another objective of the present invention is to provide a dynamic detection method of the dynamic detection apparatus.
In order to achieve the purpose, the invention adopts the following technical scheme:
a dynamic detection device for current, voltage and power of mobile equipment is characterized by comprising a current acquisition circuit, a voltage acquisition circuit and a detection controller, wherein the detection controller is provided with a control chip, an ADC (analog to digital converter) sampling module is arranged on the control chip, and a current sampling interface for acquiring current and a voltage sampling interface for acquiring voltage are arranged on the ADC sampling module;
the current sampling circuit is provided with a current sampling resistor, and the current sampling resistor is connected with a current sampling interface on the ADC sampling module through a precision amplifier;
the voltage sampling circuit is provided with a voltage sampling resistor which is connected with a voltage sampling interface on the ADC sampling module,
the current sampling resistor and the voltage sampling resistor form a resistor voltage division circuit for dividing the voltage of the mobile device to be tested,
the device chooses ST meaning method semiconductor singlechip STM32L011 as the controller for use, and this controller has characteristics such as small volume low-power consumption, and the interface satisfies the demand, and this singlechip STM32L011 has 12 ADC, two way UART, SPI interface etc..
Preferably, the detection controller is further provided with an external communication serial port connected with an external device, the external communication serial port is connected with the control chip through a serial port optical coupling isolation module, and the external device is a controller which needs to use voltage, current and power signals.
Preferably, the serial port optical coupling isolation module is provided with a photoelectric coupler consisting of a light emitting diode and a phototriode, the light emitting diode and the phototriode are assembled together, and information is transmitted by using an optical signal, so that electric- > optical- > electric transmission of a circuit signal (a photoelectric coupling circuit) is realized, the purpose is to realize electric isolation of an input part and an output part in order that the input part and the electric part of the circuit are in a completely isolated state, and the anti-interference capability, the reliability and the stability of the serial port optical coupling isolation module are improved.
Preferably, still be connected with the OLED display screen on the detection controller, this display screen is 0.91 cun OLED display screen, and the interface is the SPI interface, and one of them SPI interface is SCL \ SDA interface, and SCL \ SDA interface all is connected with pull-up resistance.
Preferably, the device is also provided with a measuring connector for connecting the mobile device to be measured with the resistance voltage dividing circuit, wherein the measuring connector adopts an XT30 connector which has the characteristics of large passing current, small volume, reliable connection and the like.
Preferably, the device is further provided with a power supply circuit for supplying power to the entire device.
The dynamic detection method of the mobile equipment adopts the dynamic detection device and has the working process that,
the working current of the mobile device to be tested is acquired through a resistance voltage division circuit, the acquired current signal is filtered and amplified through a precision amplifier, ADC conversion is completed through ADC sampling, holding, quantification and coding on a control chip, and the current signal is converted into a current digital signal;
after voltage division is carried out through the resistance voltage division circuit, the voltage is converted into a voltage digital signal through the ADC, voltage, current and power signals are output after integral calculation of the control chip, and the voltage, current and power signals obtained through calculation are displayed through a display screen and are provided for external equipment through a serial port.
Compared with the prior art, the invention has the following advantages:
1. the volume is small, the use is simple, and the device is suitable for mobile equipment development;
2. the cost is low, the efficiency is high, and the method is particularly suitable for system integration;
3. the interface flexibility is strong, and the extensibility is good.
The device and the method have the characteristics of digitalization, integration, flexible interface, good expandability and the like, and have high practical value.
Drawings
FIG. 1 is a schematic block diagram of a system of a dynamic detection apparatus according to the present invention;
FIG. 2 is a schematic diagram of a current acquisition circuit;
FIG. 3 is a schematic diagram of a voltage acquisition circuit;
FIG. 4 is a circuit schematic of the detection controller;
FIG. 5 is a schematic circuit diagram of a serial port optocoupler-isolation module;
FIG. 6 is a schematic circuit diagram of a display screen;
fig. 7 is a schematic diagram of a power supply circuit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Referring to fig. 1, a dynamic detection device for current, voltage and power of a mobile device comprises a current collection circuit, a voltage collection circuit and a detection controller, wherein the detection controller is provided with a control chip, an ADC sampling module is arranged on the control chip, and the ADC sampling module is provided with a current sampling interface for collecting current and a voltage sampling interface for collecting voltage;
the current sampling circuit is provided with a current sampling resistor, and the current sampling resistor is connected with a current sampling interface on the ADC sampling module through a precision amplifier;
the voltage sampling circuit is provided with a voltage sampling resistor which is connected with a voltage sampling interface on the ADC sampling module,
current sampling resistance and voltage sampling resistance have constituted and have carried out the resistance bleeder circuit of partial pressure to the voltage of being surveyed the mobile device, control chip passes through serial ports opto-coupler isolation module and is connected with external device, serial ports opto-coupler isolation module is equipped with the optoelectronic coupler who comprises emitting diode and phototriode.
Referring to fig. 2, the R13 resistor is a current sampling resistor, for example, a 10A current can generate a 0.1V voltage drop on a 0.01R resistor, UOT-, OUT + is amplified to a 0-3V interval by N2(OPA335) for ADC sampling, IN the figure, ADC _ IN0 is connected to the input of the MCU processor D1 ADC;
referring to fig. 3, the circuit divides the voltage VP of the mobile device to be tested to 0-3V by using R5 and R8, and the ADC _ IN1 is connected to the ADC input of the MCU processor D1;
referring to fig. 4, the device selects an ST-method semiconductor singlechip STM32L011 as a controller, the controller has the characteristics of small volume, low power consumption and the like, and an interface meets requirements. The single chip microcomputer STM32L011 is provided with a 12-bit ADC, two paths of UARTs, an SPI interface and the like. IN the figure, ADC _ IN0 is used for current sampling, ADC _ IN1 is used for voltage sampling, TX2 and RX2 are used for external serial port communication, and SCL \ SDA is used for a 0.91-inch OLED screen interface;
referring to fig. 5, an output TX2 signal of the serial port optical coupling isolation module is output as TX2_ OUT through isolation, an external RX2_ OUT signal is input as RX2 through isolation, and 3.3V _ O supplies power to an external interface;
referring to fig. 6, the display screen is a 0.91 inch OLED display screen, the interface is an SPI interface, and the SCL \ SDA all need to be connected to a pull-up resistor.
Referring to fig. 7, the device is further provided with a power supply circuit for supplying power to the whole device, the power supply circuit mainly comprises a voltage reduction circuit and a voltage reduction and stabilization circuit, the device power supply voltage VP (for example, 48V, the resistance of R1 and R3 can be adjusted according to the input voltage) is stabilized to 5V through a V2(MM3Z5V1) zener diode, and the current output capability is provided through V1(BCX 56). R1 is an over 2W power resistor, and meets the over current passing capability.
The 5V voltage is reduced by an N1(TPS70933) voltage reduction chip to be 3.3.V voltage required by the circuit and provide stable driving capability.
The detection controller is also connected with an OLED display screen, the interface on the OLED display screen is an SPI interface, one SPI interface is an SCL/SDA interface, and the SCL/SDA interface is connected with a pull-up resistor.
The device is also provided with a measuring joint for connecting the mobile device to be measured and the resistance voltage dividing circuit.
The dynamic detection method of the mobile equipment adopts the dynamic detection device and has the working process that,
the working current of the mobile device to be tested is acquired through a resistance voltage division circuit, the acquired current signal is filtered and amplified through a precision amplifier, ADC conversion is completed through ADC sampling, holding, quantification and coding on a control chip, and the current signal is converted into a current digital signal;
after voltage division is carried out through the resistance voltage division circuit, the voltage is converted into a voltage digital signal through the ADC, the voltage, current and power signals are output after integral calculation of the control chip, and the voltage, current and power signals obtained through calculation are displayed on the display screen and are provided for external equipment through a serial port.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (10)

1. A mobile device current, voltage and power dynamic detection device is characterized in that: the device comprises a current acquisition circuit, a voltage acquisition circuit and a detection controller, wherein the detection controller is provided with a control chip, an ADC (analog to digital converter) sampling module is arranged on the control chip, and a current sampling interface for acquiring current and a voltage sampling interface for acquiring voltage are arranged on the ADC sampling module;
the current sampling circuit is provided with a current sampling resistor, and the current sampling resistor is connected with a current sampling interface on the ADC sampling module through a precision amplifier;
the voltage sampling circuit is provided with a voltage sampling resistor which is connected with a voltage sampling interface on the ADC sampling module,
the current sampling resistor and the voltage sampling resistor form a resistor voltage division circuit for dividing the voltage of the mobile device to be tested.
2. The device according to claim 1, wherein the detection controller is further provided with an external communication serial port connected with an external device, and the external communication serial port is connected with the control chip through a serial port optical coupling isolation module.
3. The device of claim 2, wherein the serial optocoupler isolation module is configured with an optocoupler consisting of a light emitting diode and a phototransistor.
4. The device according to claim 1, wherein an OLED display is further connected to the detection controller.
5. The device of claim 4, wherein the interfaces on the OLED display screen are SPI interfaces, one of the SPI interfaces is an SCL \ SDA interface, and pull-up resistors are connected to the SCL \ SDA interfaces.
6. The apparatus according to claim 1, further comprising a measuring connector for connecting the mobile device to be tested with the resistor divider circuit.
7. The apparatus according to claim 1, wherein a power supply circuit is further provided to supply power to the entire apparatus.
8. The apparatus of claim 7, wherein the power supply circuit comprises a buck circuit and a buck regulator circuit.
9. A dynamic detection method for current, voltage and power of mobile equipment, which is characterized in that the dynamic detection device of any one of claims 1-8 is adopted, and the working process is,
the working current of the mobile device to be tested is acquired through a resistance voltage division circuit, the acquired current signal is filtered and amplified through a precision amplifier, ADC conversion is completed through ADC sampling, holding, quantification and coding on a control chip, and the current signal is converted into a current digital signal;
after voltage division is carried out through the resistance voltage division circuit, the voltage is converted into a voltage digital signal through the ADC, and voltage, current and power signals are output after integral calculation of the control chip.
10. The method of claim 9, wherein the calculated voltage, current and power signals are displayed on a display screen and provided to an external device via a serial port.
CN202011484767.8A 2020-12-16 2020-12-16 Dynamic detection device and method for current, voltage and power of mobile equipment Pending CN112666383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011484767.8A CN112666383A (en) 2020-12-16 2020-12-16 Dynamic detection device and method for current, voltage and power of mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011484767.8A CN112666383A (en) 2020-12-16 2020-12-16 Dynamic detection device and method for current, voltage and power of mobile equipment

Publications (1)

Publication Number Publication Date
CN112666383A true CN112666383A (en) 2021-04-16

Family

ID=75405408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011484767.8A Pending CN112666383A (en) 2020-12-16 2020-12-16 Dynamic detection device and method for current, voltage and power of mobile equipment

Country Status (1)

Country Link
CN (1) CN112666383A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113671244A (en) * 2021-08-06 2021-11-19 优利德科技(中国)股份有限公司 Amplification module, detection sampling device and signal sampling amplification method
CN115395764A (en) * 2022-09-13 2022-11-25 上海百功微电子有限公司 Power supply control method, power supply control chip and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113671244A (en) * 2021-08-06 2021-11-19 优利德科技(中国)股份有限公司 Amplification module, detection sampling device and signal sampling amplification method
CN115395764A (en) * 2022-09-13 2022-11-25 上海百功微电子有限公司 Power supply control method, power supply control chip and system

Similar Documents

Publication Publication Date Title
CN112666383A (en) Dynamic detection device and method for current, voltage and power of mobile equipment
CN200989791Y (en) Multichannel optical fiber grating demodulator
CN209821329U (en) Network cable testing device
CN215116490U (en) Dynamic detection device for current, voltage and power of mobile equipment
CN210380849U (en) 25G optical module testing arrangement
CN103051376B (en) Portable test board
CN219223762U (en) Portable optical fiber gyro testing device
CN204836173U (en) Multi -functional fiber test appearance
CN211124351U (en) Multifunctional data acquisition unit based on simulation and digital acquisition
CN206573152U (en) The easy-to-use multichannel low-power consumption sensor information acquisition system based on earphone hole
CN115290821A (en) A but, batchization module operation frock for gaseous detection
CN114910814A (en) Multichannel acquisition circuit, aging test equipment and system
CN211183539U (en) Electricity safety public management system for university dormitory
CN102735335A (en) Device for realizing optical power detection in optical fiber network
CN201885822U (en) Acquisition module for configurable thermal resistance
CN211824552U (en) Artificial intelligence humiture collection system
CN209692768U (en) QSFP28 optical module test device
CN219285327U (en) Main control circuit board detection device
CN104913844A (en) Calibration-free optical power meter
CN211653036U (en) Bias circuit, power supply circuit and testing device
CN219715566U (en) Intelligent probe for oscilloscope and oscilloscope
CN104301035A (en) Detection device for testing SFP
CN214480554U (en) USB multi-isolation type analog quantity acquisition module
CN217384353U (en) Circuit capable of supporting flow detection of five-path gas
CN218916767U (en) Display module test equipment and test system

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