Unlock instant, AI-driven research and patent intelligence for your innovation.

Switch detection method

A switch detection and switch detection circuit technology, applied in the field of circuit detection, can solve the problems of increasing the manufacturer's manufacturing pressure, adversely compressing the cost of the product, and being large in size, and achieves the effect of reducing the manufacturer's cost.

Active Publication Date: 2021-06-08
ZHEJIANG TEKANG ELECTRONIC TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, in the process of detecting the switch state, the detection accuracy is often improved by adding multiple resistors in the circuit to increase the resistance voltage division. However, this type of resistor is an alloy resistor, which is large in size and high in cost. Not conducive to compressing the cost of products
Another way is to lead out multiple wires at the switch SW, so as to make the electrical parameters in the detection circuit change according to the different states of the switch to complete the detection, but the cost of this type of switch is very high, which is not conducive to reducing product costs. Increased manufacturing pressure on manufacturers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Switch detection method
  • Switch detection method
  • Switch detection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] The invention provides a switch detection method, which is used to detect the on-off state of the switch SW installed on one side of the DC motor through the control chip MCU, such as figure 1 As shown, the switch detection method includes:

[0028] 11. After the control chip MCU is powered on, let the control chip MCU output the voltage value of turning on the MOS transistor Q1, obtain the current value flowing through the MOS transistor Q1 in the switch detection circuit connected to the control chip MCU, and generate the corresponding current value Control instruction;

[0029] 12. When receiving the first control instruction indicating that the current value is less than the preset threshold value, the control chip MCU outputs the voltage value of closing the MOS transistor Q1, and obtains the sampling at the AD sampling terminal in the switch detection circuit after the MOS transistor Q1 is disconnected Voltage value;

[0030] 13. If the sampling voltage value is...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a switch detection method, including making the control chip MCU output the voltage value of the conduction MOS transistor Q1, and obtaining the current value flowing through the MOS transistor Q1 in the switch detection circuit connected to the control chip MCU; When the first control command of the preset threshold value is used, the control chip MCU is made to output the voltage value of closing the MOS transistor Q1, and the sampling voltage value at the AD sampling terminal in the switch detection circuit is obtained after the MOS transistor Q1 is disconnected; if the sampling voltage value is greater than the standard If the sampled voltage value is zero, then it is determined that the switch SW is in a closed state; if the sampled voltage value is zero, it is determined that the switch SW is open. According to the external switch SW in different states to detect the sampling voltage value of the MOS transistor Q1 in the on and off state, and refer to the change of the current flowing through Q1 in different states of the reference SW, which leads to the change of the sampling voltage value to complete the state of the switch SW Compared with the prior art, the detection of the switch state can be completed without using expensive electrical components, which reduces the cost of the manufacturer.

Description

technical field [0001] The invention belongs to the field of circuit detection, in particular to a switch detection method. Background technique [0002] In the prior art, in the process of detecting the switch state, the detection accuracy is often improved by adding multiple resistors in the circuit to increase the resistance voltage division. However, this type of resistor is an alloy resistor, which is large in size and high in cost. It is not conducive to reducing the cost of products. Another way is to lead out multiple wires at the switch SW, so as to make the electrical parameters in the detection circuit change according to the different states of the switch to complete the detection, but the cost of this type of switch is very high, which is not conducive to reducing product cost. Increased manufacturing pressure on manufacturers. Contents of the invention [0003] In order to solve the shortcomings and deficiencies in the prior art, the invention provides a sw...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G01R31/327
CPCG01R31/327
Inventor 何志强曲世超井超
Owner ZHEJIANG TEKANG ELECTRONIC TECH CO LTD