Detection apparatus, electronic device, detection method, storage medium, and program product

Through the frequency division technology of pulse electrical signal generator and D flip-flop, the analog switch circuit is controlled, which solves the problem of multiple sensors requiring multiple switch triggers, achieving space saving of the detection device and effective detection of multiple sensing signals. .

CN118801855APending Publication Date: 2024-10-18BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310403782.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, multiple sensors used to detect sensing signals require multiple switch triggers for control, resulting in excessive space occupied by the circuit board and making it difficult to effectively manage multiple sensing signals.

Method used

A pulse electrical signal generator and a D trigger are used to divide the pulse electrical signal. The divided frequency pulse electrical signal is used to control the analog switch circuit to turn on or off multiple detection sensors, reducing the number of triggers required. number of processors, saving circuit board space.

Benefits of technology

Through the frequency division function of the D flip-flop, multiple switching circuits can be effectively controlled, reducing the size of the detection device, while realizing the detection of sensing signals from multiple operating devices, and improving space utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118801855A_ABST
    Figure CN118801855A_ABST
Patent Text Reader

Abstract

The invention provides a detection device, electronic equipment, a detection method, a storage medium and a program product. The device comprises a pulse electric signal generator configured to generate a pulse electric signal; the D trigger is connected with the pulse electric signal generator and is configured to receive the pulse electric signal sent by the pulse electric signal generator and perform frequency division processing on the pulse electric signal to obtain a frequency division pulse electric signal; the analog switch is connected with the D trigger and comprises at least two switch circuits which are configured to control connection or disconnection of the at least two switch circuits according to the frequency division pulse electric signals; and the at least two detection sensors are correspondingly connected with the at least two switching circuits and are configured to detect sensing signals of the corresponding operating devices. A small number of D triggers can be utilized to control more switching circuits in the analog switch, the occupied space of a circuit board is small, and sensing signals of a plurality of operating devices can be detected at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data detection technology, and in particular to a detection device, electronic equipment, detection method, storage medium and program product. Background Art

[0002] Some devices are provided with a detection sensor for detecting a sensing signal of an operating device, so that the operation of the detection sensor can be controlled by only one switch.

[0003] At present, there are more and more operating devices on some equipment that need to detect sensor signals, and there may be multiple corresponding detection sensors. Generally, a switch is set for each detection sensor to control the operation of these multiple detection sensors.

[0004] However, in this way, each switch needs a trigger to be controlled, which will result in too many triggers being set for the control switches, occupying a large setting space of the circuit board. Summary of the invention

[0005] In view of this, the purpose of the present application is to propose a detection device, an electronic device, a detection method, a storage medium and a program product to solve or partially solve the above-mentioned technical problems.

[0006] Based on the above objectives, the first aspect of the present application provides a detection device, comprising:

[0007] a pulse electric signal generator configured to generate a pulse electric signal;

[0008] A D flip-flop, connected to the pulse electrical signal generator, configured to receive the pulse electrical signal sent by the pulse electrical signal generator, perform frequency division processing on the pulse electrical signal, and obtain a frequency-divided pulse electrical signal;

[0009] An analog switch, connected to the D flip-flop, comprising: at least two switch circuits, configured to control the on or off of the at least two switch circuits according to the divided frequency pulse electrical signal;

[0010] At least two detection sensors are connected to the at least two switch circuits correspondingly and are configured to detect sensing signals of corresponding operating devices.

[0011] Based on the same concept, the second aspect of the present application proposes an electronic device, including:

[0012] The detection device according to the first aspect;

[0013] At least two operating devices, each detection sensor of the detection device is provided with one operating device correspondingly, and the detection sensor is used to detect the sensing signal of the operating device;

[0014] A controller is connected to the detection device and to the at least two operating devices. The sensing signal is sent to the controller through the detection device. The controller analyzes and processes the sensing signal and controls the operation of the corresponding operating device according to the analysis result.

[0015] Based on the same concept, the third aspect of the present application proposes a detection method, characterized in that it includes:

[0016] Using a pulse electrical signal generator to generate a pulse electrical signal, and sending the pulse electrical signal to a D flip-flop;

[0017] Performing frequency division processing on the pulse electrical signal by the D flip-flop to obtain a frequency-divided pulse electrical signal;

[0018] The frequency-divided pulse electrical signal is used to control the connection or disconnection of at least two switch circuits in the analog switch, and at least two detection sensors are respectively controlled by the at least two switch circuits to detect the sensing signals of the corresponding operating devices.

[0019] Based on the same concept, the fourth aspect of the present application proposes a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the third aspect.

[0020] Based on the same concept, the fifth aspect of the present application proposes a computer program product, including computer program instructions, characterized in that when the computer program instructions are executed on a computer, the computer executes the method described in the third aspect.

[0021] From the above, it can be seen that the detection device, electronic device, detection method, storage medium and program product provided by the present application can use the D trigger to perform frequency division processing on the pulse electrical signal generated by the pulse electrical signal generator, and use the divided pulse electrical signal after the frequency division to control the connection or disconnection of at least two switch circuits in the analog switch, so that the operation of at least two detection sensors can be controlled, and then the sensor signal of the corresponding operating device can be detected. In this way, due to the use of the frequency division function of the D trigger, a small number of D triggers can be used to control more switch circuits in the analog switch, occupying less space on the circuit board, so that the volume of the detection device is reduced, and the purpose of detecting the sensor signals of multiple operating devices can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1A A circuit diagram of a detection device according to an embodiment of the present application;

[0024] Figure 1B A circuit diagram of a detection device according to another embodiment of the present application;

[0025] Figure 2A This is a schematic diagram of the frequency division of a pulse electrical signal by a D flip-flop in an embodiment of the present application;

[0026] Figure 2B A schematic diagram of an analog switch including two switch circuits in an embodiment of the present application;

[0027] Figure 2C A schematic diagram of an analog switch including 8 switch circuits in an embodiment of the present application;

[0028] Figure 3 A circuit diagram of an electronic device according to an embodiment of the present application;

[0029] Figure 4 This is a flow chart of the detection method according to an embodiment of the present application.

[0030] Description of reference numerals:

[0031] Detection device 1;

[0032] Pulse electrical signal generator 11,

[0033] D flip-flop 12, input interface 121, output interface 122, middle D flip-flop 123, first input interface 1231, first output interface 1232, second output interface 1233, end D flip-flop 124, second input interface 1241, third output interface 1242;

[0034] Analog switch 13, switch circuit 131, control interface 132, signal interface 133,

[0035] Detection sensor 14, control line 15, analog-to-digital converter 16, ballast resistor 17;

[0036] Running device 2, controller 3. DETAILED DESCRIPTION

[0037] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0038] The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present application, and are not intended to limit the scope of the present application in any way. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0039] In the application, it should be understood that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.

[0040] The principles and spirit of the present application are explained in detail below with reference to several representative implementations of the present application.

[0041] The present application embodiment provides a detection device 1, such as Figure 1A As shown, including:

[0042] The pulse electrical signal generator 11 is configured to generate a pulse electrical signal;

[0043] A D flip-flop 12 is connected to the pulse electrical signal generator 11 and is configured to receive the pulse electrical signal sent by the pulse electrical signal generator 11, perform frequency division processing on the pulse electrical signal, and obtain a frequency-divided pulse electrical signal;

[0044] The analog switch 13 is connected to the D flip-flop 12 and includes: at least two switch circuits 131, configured to control the connection or disconnection of the at least two switch circuits 131 according to the divided frequency pulse electrical signal;

[0045] At least two detection sensors 14 are connected to the at least two switch circuits 131 and are configured to detect the sensing signal of the corresponding operating device 2. The switch circuit 131 and the detection sensor 14 may correspond to each other in a one-to-one manner, or one switch circuit 131 may correspond to multiple detection sensors 14.

[0046] During specific implementation, the pulse interval time of the pulse electrical signal generated by the pulse electrical signal generator 11 can be set according to actual needs, for example, a pulse is generated every 1ms (the time here is not specifically limited and can be changed), and a pulse lasts for 1ms (the time here is not specifically limited and can be changed). In addition, the corresponding pulse electrical signal can be a segmented pulse (that is, a group of pulse electrical signals is generated every time interval), for example, a group of pulse electrical signals containing 20 pulses is generated every 1 minute. Subsequently, the D flip-flop 12 can be used to perform frequency division processing on the pulse electrical signal, and a D flip-flop 12 can divide the pulse electrical signal into two frequencies. For example: after a pulse electrical signal of 101010101 is divided, it becomes 1100110011, that is, the "10" signal is divided into two frequency-divided pulse electrical signals of "11" and "00". In this way, "11" can control a switch circuit 131, and "00" can control another switch circuit 131.

[0047] In specific implementation, the D trigger 12 can be used to perform frequency division processing on the pulse electrical signal generated by the pulse electrical signal generator, and the divided pulse electrical signal can be used to control the connection or disconnection of at least two switch circuits 131 in the analog switch 13, so that the operation of at least two detection sensors 14 can be controlled, and then the sensor signal of the corresponding operating device 2 can be detected.

[0048] Through the above technical scheme, due to the frequency division function of the D flip-flop 12 on the generated pulse electrical signal, a small number of D flip-flops 12 can be used to control more switch circuits 131 in the analog switch 13 based on the divided pulse electrical signal after frequency division, which occupies less space on the circuit board, thereby reducing the volume of the detection device 1 and achieving the purpose of controlling the operation of multiple operating devices 2 according to the detected sensor signal.

[0049] In some embodiments, the D flip-flop 12 includes:

[0050] An input interface 121 connected to the pulse electrical signal generator 11;

[0051] The output interface 122 is connected to the analog switch 13 and is used to output the frequency-divided pulse electrical signal.

[0052] In some embodiments, the analog switch 13 includes: a control interface 132 and a signal interface 133;

[0053] The output interface 121 of the D flip-flop 12 is connected to the control interface 132, and the signal interface 133 is connected to the control line 15;

[0054] The switch circuit 131 receives the sensing signal sent by the detection sensor 14, and sends the sensing signal to the control line 15 for output through the signal interface;

[0055] The control line 15 is used to connect the controller 3 so that the controller 3 can analyze and process the sensing signal and control the operation of the corresponding operating device 2 according to the analysis result.

[0056] In specific implementation, the analog switch 13 may be an integrated chip formed by integrating at least two switch circuits 131 inside, and the integrated chip at least includes: a control interface 132, a signal interface 133, and switch connection ports corresponding to at least two switch circuits 131, wherein at least two switch circuits 131 are connected in parallel and connected to the control interface 132 and the signal interface 133. In this way, each detection sensor 14 is connected to a corresponding switch connection port, and the operation of the detection sensor 14 can be controlled by the switch circuit 131 corresponding to the switch connection port, that is, when a certain switch circuit 131 is turned on, the corresponding detection sensor 14 works and can detect the sensor signal of the corresponding operating device 2; when the switch circuit 131 is turned off, the corresponding detection sensor 14 stops the detection operation.

[0057] Then, the sensing signal is sent to the control line 15 through the switch circuit 131 and the signal interface 133 provided on the analog switch 13, and then output to the controller 3, so that the controller 3 can analyze and process the sensing signal and control the operation of the corresponding operating device 2 according to the analysis result.

[0058] In some embodiments, the pulse electrical signal generator 11 is connected to a power supply and is used to convert a stable voltage signal of the power supply into a pulse voltage signal.

[0059] In specific implementation, the corresponding power supply can provide a stable voltage, so that the pulse electrical signal generated after the pulse electrical signal generator 11 can be a pulse voltage signal, and the voltage value of the pulse voltage signal can be equal to the voltage value of the power supply. If a higher voltage pulse voltage signal is desired, a boost device can be provided in the middle to increase the voltage to the corresponding required voltage value; if a lower voltage pulse voltage signal is desired, a step-down device can be provided in the middle to reduce the voltage to the corresponding required voltage value. For example, the present embodiment preferably uses a 1.8V power supply.

[0060] After the pulse electrical signal is divided by the D trigger 12, each divided pulse electrical signal controls the on or off of a switch circuit 131 in the analog switch 13. A power interface connected to each switch circuit 131 is provided on the analog switch 13. When one of the switch circuits 131 is controlled to be turned on, the power supply will supply power to the corresponding detection sensor 14 through the power interface and the switch circuit 131, so that the detection sensor 14 can start the detection work normally.

[0061] In some embodiments, the number of the D flip-flops 12 is N, and the maximum number of the switch circuits 131 in the corresponding analog switch 13 is 2. N , where N is a positive integer.

[0062] In specific implementation, each D flip-flop 12 can divide the pulse electrical signal into two frequencies to obtain two divided pulse electrical signals. Therefore, if there are two D flip-flops 12, the pulse electrical signal can be divided into four divided pulse electrical signals. Therefore, the number of D flip-flops 12 and the maximum number of switch circuits 131 that can be controlled are N→2. N relationship.

[0063] For example, if the user wants to control three detection sensors 14, two D flip-flops 12 and an analog switch 13 including four switch circuits 131 can be selected, and one of the switch circuits 131 can be left idle and not connected to the detection sensor 14. The specific number of D flip-flops 12 and the number of switch circuits 131 corresponding to the analog switch 13 can be arbitrarily selected and set according to the user's needs and satisfying the above conditions.

[0064] In some embodiments, Figure 1B As shown, the D flip-flop 12 includes: M middle D flip-flops 123 and one end D flip-flop 124, wherein M is a positive integer less than N;

[0065] The intermediate D flip-flop 123 is provided with a first input interface 1231, a first output interface 1232 and a second output interface 1233; the first input interface 1231 is connected to the pulse electrical signal generator 11 or to the first output interface 1232 of the previous intermediate D flip-flop 123; the first output interface 1232 is connected to the first input interface 1231 of the next intermediate D flip-flop 123 or to the second input interface 1241 of the terminal D flip-flop 124; the second output interface 1233 is connected to the analog switch 13 (for example, the control interface 132 of the analog switch 13);

[0066] The end D flip-flop 124 is provided with a second input interface 1241 and a third output interface 1242; the second input interface 1241 is connected to the first output interface 1232 of the last intermediate D flip-flop 123; the third output interface 1242 is connected to the analog switch 13 (for example, the control interface 132 of the analog switch 13).

[0067] In specific implementation, the divided pulse electrical signal after the frequency division processing of each intermediate D flip-flop 123 will be output through the first output interface 1232 and the second output interface 1233, that is, the divided pulse electrical signal output by the first output interface 1232 and the second output interface 1233 is the same. The corresponding first output interface 1232 is connected to the next D flip-flop 12 in order to use the next D flip-flop 12 to continue to perform frequency division processing on the divided pulse electrical signal, and so on. In this way, it is possible to use multiple D flip-flops 12 to control the on and off of more switch circuits 131 in the analog switch 13.

[0068] In some embodiments, Figure 1A and 1B As shown, the detection device 1 also includes: an analog-to-digital converter 16, which is connected to the analog switch 13; the analog-to-digital converter 16 is configured to receive the sensing signal sent by the detection sensor 14 through the analog switch 13, perform analog-to-digital conversion on the sensing signal, and obtain a digital sensing signal output.

[0069] In specific implementation, since the sensing signal detected by the detection sensor 14 is an analog signal, which is not easy to process and identify, it is necessary to install an analog-to-digital converter 16 to convert the sensing signal into a digital signal. After the digital sensing signal is obtained, it is output to the controller 3 through the control line 15, and the controller 3 can perform analysis more accurately.

[0070] In some embodiments, Figure 1A and 1B As shown, in order to ensure that the analog-to-digital converter 16 and the corresponding detection sensor 14 can work stably, the device also includes: a ballast resistor 17 connected to the analog-to-digital converter 16.

[0071] In some embodiments, the detection sensor 14 includes at least one of the following:

[0072] Thermal sensors, light sensors, gas sensors, force sensors, magnetic sensors, humidity sensors, sound sensors, radiation sensors, color sensors and taste sensors.

[0073] In this embodiment, a thermistor (NTC, Negative Temperature Coefficient) capable of detecting temperature information is preferably used, so that the thermistor can be set on the corresponding operating device 2 to be detected, and then the temperature of the operating device 2 during operation is detected. The detected temperature is then sent to the controller 3 through the control line 15, so that the controller 3 can determine the working state of each operating device 2 according to the temperature. Once it is not within the normal operating temperature range, the corresponding operating device 2 will be controlled to stop working, thereby avoiding the harm caused by the operation of the operating device 2 at an abnormal operating temperature.

[0074] In some embodiments, the D flip-flop 12 includes at least one of the following: a high-level D flip-flop 12 , a low-level D flip-flop 12 , a rising-edge D flip-flop 12 , and a falling-edge D flip-flop 12 .

[0075] During specific implementation, the trigger frequency division mode corresponding to the D flip-flop 12 can be selected from the above-mentioned various D flip-flops 12 according to the needs of the user, and is not specifically limited here.

[0076] The following is a specific description of an embodiment in which a D flip-flop 12 is included to control two switch circuits 131 in the analog switch 13 .

[0077] like Figure 1A As shown, the 1.8V pulse electrical signal is divided into two frequencies by the D flip-flop 12, and then different paths are switched by the analog switch 13, thereby controlling the corresponding thermistors NTC1 and NTC2.

[0078] When the 1.8V pulse signal comes, the D flip-flop 12 flips over, and the 1.8V pulse signal is divided into two frequencies, which will generate a high / low signal (such as Figure 2A The Control pulse electrical signal shown) controls the analog switch 13 to switch to NTC1 or NTC2 respectively.

[0079] The internal structure of the analog switch 13 is as follows: Figure 2B As shown: IN is the control interface 132, COM is the signal interface 133, NC is the connection port of a switch circuit connected to NTC1, NO is the connection port of another switch circuit connected to NTC2, V+ is the interface for connecting the power supply, and GND is the ground interface.

[0080] The truth table corresponding to the control of the analog switch 13 is as follows:

[0081] Table 1

[0082] IN NO NC 0 disconnect Connect 1 Connect disconnect

[0083] The following is an example of controlling eight switch circuits 131 in an analog switch 13 using three cascaded D flip-flops 12 . This example is described by taking a battery cell as the operating device 2 for charging.

[0084] The specific circuit structure is as follows Figure 1B As shown, it includes an intermediate D flip-flop A, an intermediate D flip-flop B and an end D flip-flop C, which respectively control the eight switch circuits 131 of the analog switch 13, and further control NTC1, NTC2, NTC3, NTC4, NTC5, NTC6, NTC7 and NTC8.

[0085] The internal structure of the analog switch 13 is as follows: Figure 2C As shown:

[0086] Interfaces A, B, and C of the analog switch 13 are connected to the middle D flip-flop A, the middle D flip-flop B, and the end D flip-flop C, respectively;

[0087] The X interface of the analog switch 13 is an interface for controlling all switches to be turned on, and X0 to X7 correspond to the connection ports of the eight switch circuits 131 respectively;

[0088] The Vcc interface of the analog switch 13 is a power interface, which is used to connect to a power source for power supply;

[0089] The ENABLE of the analog switch 13 is a signal interface 133, which can send the temperature signal detected by each NTC to the controller 3, so that the controller 3 can judge whether the temperature of the corresponding battery cell is too high according to the temperature signal. Once the temperature is found to be too high, the battery cell is controlled to stop charging;

[0090] The NC interface of the analog switch 13 is a blank interface, and the GND interface is a ground interface.

[0091] The corresponding truth table is shown in Table 2:

[0092] Table 2

[0093]

[0094]

[0095] Based on the same concept, this embodiment provides an electronic device, such as Figure 3 As shown, the electronic equipment includes:

[0096] The detection device 1 described in any one of the above embodiments;

[0097] At least two operating devices 2, each detection sensor 14 of the detection device 1 is correspondingly provided with one operating device 2, and the detection sensor 14 is used to detect the sensing signal of the operating device 2;

[0098] The controller 3 is connected to the detection device 1 and to the at least two operating devices 2. The sensing signal is sent to the controller 3 through the detection device 1. The controller 3 analyzes and processes the sensing signal and controls the operation of the corresponding operating device 2 according to the analysis result.

[0099] In specific implementation, through the description of the detection device 1 in the above embodiment, after each detection sensor 14 sends the sensing signal of the corresponding operating device 2 detected to the controller 3 through the control line 15, the controller 3 analyzes and processes the sensing signal. If it is found that the corresponding operating device 2 has an abnormality, the operating device 2 can be controlled to make operating adjustments (for example, reduce the operating frequency, or reduce the operating power, or stop running).

[0100] The electronic device described above may be an extended reality device. In order to achieve a balance between the front and rear weights of an extended reality (XR) device, the battery is generally placed behind the head. After the battery is placed behind the head, due to the existence of the knob, the battery is divided into two cells (i.e., the corresponding operating device 2) and placed on the left and right sides of the head. When multiple cells are in use, especially when charging, they will generate a certain amount of heat, so an NTC resistor will be packaged when the cell is packaged. When the detection device 1 of any of the above embodiments detects the corresponding temperature information (i.e., sensor information) when the corresponding cell is charged, after being analyzed by the controller 3, when it is determined that the cell is abnormally heated, the controller 3 will control the cell to stop charging.

[0101] Among them, XR (Extended Reality) refers to the combination of reality and virtuality through computers to create a virtual environment for human-computer interaction. It is also a general term for multiple technologies such as AR (Augmented Reality), VR (Virtual Reality), and MR (Mixed Reality). It allows users to interact with the virtual digital world, thereby providing users with a richer experience. For example, it can be used for learning purposes, gaming purposes, content creation purposes, social media and interactive purposes, etc.

[0102] Based on the same concept, this embodiment proposes a detection method, which is executed using the detection device described in the above embodiments.

[0103] like Figure 4 As shown, the method includes:

[0104] Step 401: Generate a pulse electrical signal using a pulse electrical signal generator, and send the pulse electrical signal to a D flip-flop.

[0105] Step 402: frequency-dividing the pulse electrical signal by the D flip-flop to obtain a frequency-divided pulse electrical signal.

[0106] Step 403: Use the divided-frequency pulse electrical signal to control the on or off of at least two switch circuits in the analog switch, and control at least two detection sensors to detect the sensing signals of the corresponding operating devices through the at least two switch circuits.

[0107] In specific implementation, a D-type trigger can be used to perform frequency division processing on the pulse electrical signal generated by the pulse electrical signal generator, and the divided pulse electrical signal can be used to control the connection or disconnection of at least two switch circuits in the analog switch, thereby controlling the operation of at least two detection sensors and further detecting the sensor signal of the corresponding operating device.

[0108] In some embodiments, the detection method further comprises:

[0109] Step 404, sending the sensing signal to the control line through the switch circuit and the signal interface set on the analog switch, and outputting the sensing signal to the controller via the control line, so that the controller can analyze and process the sensing signal and control the operation of the corresponding operating device according to the analysis result.

[0110] Through the above scheme, since the frequency division function of the D flip-flop is used, a small number of D flip-flops can be used to control more switching circuits in the analog switch, occupying less space on the circuit board, thereby reducing the size of the detection device. At the same time, the controller can also achieve the purpose of controlling the operation of multiple operating devices according to the detected sensor signal.

[0111] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0112] Based on the same concept, corresponding to any of the above-mentioned embodiments, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method described in any of the above embodiments.

[0113] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0114] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0115] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0116] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0117] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0118] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0119] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A detection device, characterized in that: include: a pulse electric signal generator configured to generate a pulse electric signal; A D flip-flop, connected to the pulse electrical signal generator, configured to receive the pulse electrical signal sent by the pulse electrical signal generator, perform frequency division processing on the pulse electrical signal, and obtain a frequency-divided pulse electrical signal; An analog switch, connected to the D flip-flop, comprising: at least two switch circuits, configured to control the on or off of the at least two switch circuits according to the divided frequency pulse electrical signal; At least two detection sensors are connected to the at least two switch circuits correspondingly and are configured to detect sensing signals of corresponding operating devices.

2. The detection device according to claim 1, characterized in that: The D flip-flop comprises: An input interface connected to the pulse electrical signal generator; An output interface is connected to the analog switch and is used to output the frequency-divided pulse electrical signal.

3. The detection device according to claim 2, characterized in that: The analog switch includes: a control interface and a signal interface; The output interface of the D flip-flop is connected to the control interface, and the signal interface is connected to the control line; The switch circuit receives a sensing signal sent by a detection sensor, and sends the sensing signal to the control line output through the signal interface; The control line is used to connect the controller so that the controller can analyze and process the sensor signal and control the operation of the corresponding operating device according to the analysis result.

4. The detection device according to claim 1, characterized in that: The pulse electric signal generator is connected to a power supply and is used for converting a stable voltage signal of the power supply into a pulse voltage signal.

5. The detection device according to claim 1, characterized in that: The number of D flip-flops is N, and the maximum number of switch circuits in the corresponding analog switch is 2. N , where N is a positive integer.

6. The detection device according to claim 5, characterized in that: The D flip-flop includes: M middle D flip-flops and one end D flip-flop, wherein M is a positive integer less than N; The intermediate D trigger is provided with a first input interface, a first output interface and a second output interface; The first input interface is connected to a pulse electrical signal generator or to a first output interface of a previous intermediate D flip-flop; The first output interface is connected to the first input interface of the next middle D flip-flop or to the second input interface of the end D flip-flop; The second output interface is connected to the analog switch; The end D trigger is provided with a second input interface and a third output interface; The second input interface is connected to the first output interface of the last intermediate D flip-flop; The third output interface is connected to the analog switch.

7. The detection device according to claim 1, characterized in that: Also includes: an analog-to-digital converter, connected to the analog switch; The analog-to-digital converter is configured to receive the sensing signal sent by the detection sensor through the analog switch, and perform analog-to-digital conversion on the sensing signal to obtain a digital sensing signal output.

8. The detection device according to claim 7, characterized in that: Also includes: A ballast resistor is connected to the analog-to-digital converter.

9. The detection device according to claim 1, characterized in that: The detection sensor includes at least one of the following: Thermal sensors, light sensors, gas sensors, force sensors, magnetic sensors, humidity sensors, sound sensors, radiation sensors, color sensors and taste sensors.

10. The detection device according to any one of claims 1 to 9, characterized in that: The D flip-flop includes at least one of the following: High level D flip-flop, low level D flip-flop, rising edge D flip-flop and falling edge D flip-flop.

11. An electronic device, characterized in that: include: The detection device according to any one of claims 1 to 10; At least two operating devices, each detection sensor of the detection device is provided with one operating device correspondingly, and the detection sensor is used to detect the sensing signal of the operating device; A controller is connected to the detection device and to the at least two operating devices. The sensing signal is sent to the controller through the detection device. The controller analyzes and processes the sensing signal and controls the operation of the corresponding operating device according to the analysis result.

12. A detection method, characterized in that: include: Using a pulse electrical signal generator to generate a pulse electrical signal, and sending the pulse electrical signal to a D flip-flop; Performing frequency division processing on the pulse electrical signal by the D flip-flop to obtain a frequency-divided pulse electrical signal; The frequency-divided pulse electrical signal is used to control the connection or disconnection of at least two switch circuits in the analog switch, and at least two detection sensors are respectively controlled by the at least two switch circuits to detect the sensing signals of the corresponding operating devices.

13. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to claim 12 .

14. A computer program product comprising computer program instructions, characterized in that When the computer program instructions are executed on a computer, the computer is caused to perform the method as claimed in claim 12 .