CN117406290B - Adsorption detection system and adsorption detection method - Google Patents
Adsorption detection system and adsorption detection method Download PDFInfo
- Publication number
- CN117406290B CN117406290B CN202311730339.2A CN202311730339A CN117406290B CN 117406290 B CN117406290 B CN 117406290B CN 202311730339 A CN202311730339 A CN 202311730339A CN 117406290 B CN117406290 B CN 117406290B
- Authority
- CN
- China
- Prior art keywords
- signal
- accessory
- controller
- adsorption
- transmission line
- 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
Links
- 238000001179 sorption measurement Methods 0.000 title claims abstract description 222
- 238000001514 detection method Methods 0.000 title claims abstract description 109
- 230000005540 biological transmission Effects 0.000 claims abstract description 256
- 238000004891 communication Methods 0.000 claims description 95
- 230000000630 rising effect Effects 0.000 claims description 72
- 238000000034 method Methods 0.000 claims description 22
- 230000004044 response Effects 0.000 claims description 12
- 239000002184 metal Substances 0.000 claims description 6
- 229910052751 metal Inorganic materials 0.000 claims description 6
- 241001422033 Thestylus Species 0.000 description 62
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 11
- 230000005672 electromagnetic field Effects 0.000 description 9
- 239000000463 material Substances 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 239000004020 conductor Substances 0.000 description 6
- 238000003780 insertion Methods 0.000 description 5
- 230000037431 insertion Effects 0.000 description 5
- 238000010521 absorption reaction Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000001976 improved effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 2
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 229910052802 copper Inorganic materials 0.000 description 2
- 239000010949 copper Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005684 electric field Effects 0.000 description 2
- 229910002804 graphite Inorganic materials 0.000 description 2
- 239000010439 graphite Substances 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 150000002736 metal compounds Chemical class 0.000 description 2
- 229910001092 metal group alloy Inorganic materials 0.000 description 2
- ORMNNUPLFAPCFD-DVLYDCSHSA-M phenethicillin potassium Chemical compound [K+].N([C@@H]1C(N2[C@H](C(C)(C)S[C@@H]21)C([O-])=O)=O)C(=O)C(C)OC1=CC=CC=C1 ORMNNUPLFAPCFD-DVLYDCSHSA-M 0.000 description 2
- 239000010959 steel Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000008093 supporting effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01V—GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
- G01V3/00—Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
- G01V3/02—Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation operating with propagation of electric current
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Geology (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Life Sciences & Earth Sciences (AREA)
- General Physics & Mathematics (AREA)
- Geophysics (AREA)
- Position Input By Displaying (AREA)
Abstract
The embodiment of the application provides an adsorption detection system and an adsorption detection method, which are applied to the technical field of electronics. The adsorption detection system comprises electronic equipment and an adsorption accessory, wherein the electronic equipment comprises a controller and an adsorption detection assembly electrically connected with the controller, the adsorption detection assembly comprises a circuit board, a transmission line is arranged on the circuit board, the adsorption accessory comprises a conductive sheet, and under the condition that the adsorption accessory is adsorbed on the electronic equipment, an overlapping area exists between orthographic projection of the conductive sheet on the circuit board and the transmission line; the controller is used for sending a first signal to the transmission line, receiving a second signal corresponding to the first signal, and detecting whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal. Thus, the embodiment of the application can realize the detection of whether the adsorption accessory is adsorbed on the electronic equipment.
Description
Technical Field
The application relates to the technical field of electronics, in particular to an adsorption detection system and an adsorption detection method.
Background
With the rapid development of electronic devices, some electronic devices may be equipped with an adsorption accessory (such as a handwriting pen or a wireless keyboard, etc.), and the adsorption accessory may be fixed on the electronic device by an adsorption manner, or may be separated from the electronic device and exist independently.
In the actual use process, the electronic device needs to detect whether the adsorption accessory is adsorbed on the electronic device, so as to perform some functions, such as charging the adsorption accessory by the electronic device. Therefore, how to detect whether the adsorbing accessory is adsorbed on the electronic device is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides an adsorption detection system and an adsorption detection method, so that an electronic device can detect whether an adsorption accessory is adsorbed on the electronic device.
In a first aspect, an embodiment of the present application provides an adsorption detection system, including an electronic device and an adsorption accessory; the electronic equipment comprises a controller and an adsorption detection assembly electrically connected with the controller, wherein the adsorption detection assembly comprises a circuit board, and a transmission line is arranged on the circuit board; the adsorption accessory comprises a conductive sheet, and under the condition that the adsorption accessory is adsorbed on the electronic equipment, an overlapping area exists between the orthographic projection of the conductive sheet on the circuit board and the transmission line; the controller is used for sending a first signal to the transmission line, receiving a second signal corresponding to the first signal, and detecting whether the adsorption accessory is adsorbed on the electronic equipment or not according to the second signal.
In this way, by providing the transmission line in the electronic device and the conductive sheet in the suction fitting, and in the case where the suction fitting is sucked on the electronic device, the orthographic projection of the conductive sheet on the circuit board is set so that there is an overlapping area with the transmission line. Under the condition that the adsorption accessory is adsorbed on the electronic equipment, the characteristic impedance of the transmission line at the overlapping area with the orthographic projection of the conducting strip on the circuit board is reduced, namely the characteristic impedance of the transmission line is changed, and then the first signal sent by the controller is reflected when passing through the transmission line; and under the condition that the adsorption accessory is not adsorbed on the electronic equipment, the characteristic impedance of the transmission line is not changed, and the first signal sent by the controller is not reflected when passing through the transmission line. Therefore, if the first signal is reflected when passing through the transmission line, the second signal received by the controller is different, and the controller can detect whether the adsorbing accessory is adsorbed on the electronic device according to the received second signal. And, because the volume of conducting strip can be designed to be less than the volume of detecting magnet to reduce its overall arrangement space that occupies the absorption accessory, and the weight of conducting strip of less volume is lighter also, thereby can alleviate the weight of absorption accessory, so that absorption accessory miniaturization more, lightweight.
In one possible implementation, the controller is specifically configured to detect whether the adsorbing accessory is adsorbed on the electronic device according to the voltage waveform of the second signal. Therefore, whether the adsorption accessory is adsorbed on the electronic equipment or not can be detected through the voltage waveform of the second signal, and the detection mode is simpler.
In one possible implementation, the first signal comprises a step signal. The controller is specifically used for detecting whether the voltage waveform of the second signal comprises a falling edge and a rising edge; in the case where the voltage waveform of the second signal includes a falling edge and a rising edge, it is determined that the attraction fitting is attracted to the electronic device, and in the case where the voltage waveform of the second signal does not include a falling edge and a rising edge, it is determined that the attraction fitting is not attracted to the electronic device. In this way, whether the adsorbing accessory is adsorbed on the electronic equipment can be accurately detected through whether the voltage waveform of the second signal comprises a falling edge and a rising edge.
In one possible implementation, the first signal comprises a step signal. The controller is specifically used for detecting whether the voltage waveform of the second signal in the preset time period comprises a falling edge and a rising edge; and determining that the adsorbing accessory is adsorbed on the electronic equipment when the voltage waveform in the preset time period contains a falling edge and a rising edge, and determining that the adsorbing accessory is not adsorbed on the electronic equipment when the voltage waveform in the preset time period does not contain the falling edge and the rising edge. Therefore, whether the voltage waveform of the second signal contains the falling edge and the rising edge in the preset time period is detected, so that the time range of the voltage waveform containing the falling edge and the rising edge is limited, the probability of misjudgment of adsorption detection of the electronic equipment and the adsorption fittings is reduced, and the accuracy of adsorption detection is improved.
In one possible implementation, the controller includes a transmit pin and a receive pin, and the adsorption detection assembly further includes a first resistor and a second resistor. The first end of the first resistor is connected with the transmitting pin, and the second end of the first resistor is connected with the first end of the transmission line; the first end of the second resistor is connected with the second end of the transmission line, and the second end of the second resistor is connected with the grounding end; the receiving pin is connected with the second end of the first resistor. The transmitting pin is used for transmitting a first signal to the transmission line; and the receiving pin is used for receiving the second signal. Thus, by providing the first resistor and the second resistor in the adsorption detection assembly, impedance matching with the transmission line is achieved.
In one possible implementation, the circuit board is provided with a plurality of transmission lines, and the adsorbing accessory comprises a plurality of conductive sheets; in the case that the adsorbing accessory is adsorbed on the electronic equipment, the orthographic projection of each conducting strip on the circuit board and at least one transmission line have an overlapping area. The controller is specifically configured to send first signals to the plurality of transmission lines, receive second signals corresponding to each of the first signals, and jointly detect whether the adsorbing accessory is adsorbed on the electronic device according to the received plurality of second signals. Therefore, the controller can jointly detect whether the adsorption accessory is adsorbed on the electronic equipment according to the received second signals so as to improve the accuracy of the adsorption detection of the electronic equipment and the adsorption accessory.
In one possible implementation, the plurality of conductive strips are arranged offset in the direction of extension of the transmission line in the orthographic projection of the suction fitting onto the circuit board when the suction fitting is sucked onto the electronic device. In this way, the time periods of the falling edge and the rising edge are inconsistent in the voltage waveforms of the second signals received by the controller, so that the accuracy of the adsorption detection of the electronic equipment and the adsorption fittings is further improved.
In one possible implementation, the conductive strips are arranged in a one-to-one correspondence with the transmission lines. Thus, the accuracy of the adsorption detection of the electronic equipment and the adsorption fittings can be further improved.
In one possible implementation, the conductive sheet comprises a metal sheet.
In one possible implementation, the circuit board includes a ground layer, a dielectric layer, and a trace layer that are stacked, where the ground layer and the trace layer are located on two sides of the dielectric layer; the wiring layer comprises a transmission line; under the condition that the adsorption fittings are adsorbed on the electronic equipment, the conducting strip is positioned on one side of the wiring layer far away from the dielectric layer. In this way, in the case where the adsorbing accessory is not adsorbed on the electronic device, the type of the transmission line of the electronic device may be a microstrip line, and in the case where the adsorbing accessory is adsorbed on the electronic device, the type of the transmission line of the electronic device may be made a strip line, so that the characteristic impedance of the transmission line is changed conveniently, thereby realizing the adsorption detection.
In one possible implementation, the electronic device is configured to communicate with the suction fitting in a handshake if it is determined that the suction fitting is suctioned to the electronic device; in case of a handshake communication failure, a first signal is again sent to the transmission line by the controller, and in case of a handshake communication success, communication with the suction fitting is performed. Therefore, under the condition that the adsorption accessory is adsorbed on the electronic equipment according to the second signal, the handshake communication detection process is added, and whether the adsorption accessory is adsorbed on the electronic equipment is further detected through handshake communication detection, so that the probability of misjudgment of adsorption detection of the electronic equipment and the adsorption accessory is reduced.
In one possible implementation manner, the electronic device is configured to send a heartbeat signal to the adsorption accessory if communication with the adsorption accessory is not performed within a preset time period; and when the response of the adsorption accessory based on the heartbeat signal is successful, detecting whether communication with the adsorption accessory is performed within a preset time period or not. In this way, in the case where the electronic device and the suction attachment do not communicate for a long time, it is possible to detect whether the suction attachment has been detached from the electronic device by transmitting a heartbeat signal, so that in the case where the suction attachment is detached from the electronic device, suction detection is performed again.
In a second aspect, an embodiment of the present application provides an adsorption detection method, which is applied to an adsorption detection system, where the adsorption detection system includes an electronic device and an adsorption accessory; the electronic equipment comprises a controller and an adsorption detection assembly electrically connected with the controller, wherein the adsorption detection assembly comprises a circuit board, and a transmission line is arranged on the circuit board; the adsorption accessory comprises a conductive sheet, and under the condition that the adsorption accessory is adsorbed on the electronic equipment, an overlapping area exists between the orthographic projection of the conductive sheet on the circuit board and the transmission line. The method comprises the following steps: the controller sends a first signal to the transmission line; the controller receives a second signal corresponding to the first signal; the controller detects whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal.
In one possible implementation, the controller detects whether the adsorbing accessory is adsorbed on the electronic device according to the second signal, including: the controller detects whether the adsorption accessory is adsorbed on the electronic equipment according to the voltage waveform of the second signal.
In one possible implementation, the first signal comprises a step signal. The controller detects whether the adsorbing accessory is adsorbed on the electronic equipment according to the voltage waveform of the second signal, and comprises: the controller detects whether the voltage waveform of the second signal comprises a falling edge and a rising edge; in the case that the voltage waveform of the second signal includes a falling edge and a rising edge, the controller determines that the adsorbing accessory is adsorbed on the electronic device; in the case where the voltage waveform of the second signal does not include a falling edge and a rising edge, the controller determines that the adsorbing accessory is not adsorbed on the electronic device.
In one possible implementation, the first signal comprises a step signal. The controller detects whether the adsorbing accessory is adsorbed on the electronic equipment according to the voltage waveform of the second signal, and comprises: the controller detects whether the voltage waveform of the second signal in a preset time period comprises a falling edge and a rising edge; under the condition that the voltage waveform in the preset time period comprises a falling edge and a rising edge, the controller determines that the adsorption accessory is adsorbed on the electronic equipment; in the case that the voltage waveform within the preset time period does not include the falling edge and the rising edge, the controller determines that the adsorbing accessory is not adsorbed on the electronic device.
In one possible implementation, the circuit board is provided with a plurality of transmission lines, and the adsorbing accessory comprises a plurality of conductive sheets; in the case that the adsorbing accessory is adsorbed on the electronic equipment, the orthographic projection of each conducting strip on the circuit board and at least one transmission line have an overlapping area. The controller sends a first signal to the transmission line, comprising: the controller sends a first signal to each of the plurality of transmission lines; correspondingly, the controller receives a second signal corresponding to the first signal, and the method comprises the following steps: the controller receives a second signal corresponding to each first signal; correspondingly, the controller detects whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal, and the controller comprises: the controller jointly detects whether the adsorption accessory is adsorbed on the electronic equipment according to the received second signals.
In one possible implementation, after the controller detects whether the adsorbing accessory is adsorbed on the electronic device according to the second signal, the method further includes: under the condition that the adsorption accessory is adsorbed on the electronic equipment, the electronic equipment and the adsorption accessory carry out handshake communication; in case of failure of handshake communication, the electronic device sends a first signal to the transmission line again through the controller; and under the condition that the handshake communication is successful, the electronic equipment communicates with the adsorption accessory.
In one possible implementation, after the electronic device communicates with the suction fitting, the method further includes: under the condition that the electronic equipment does not communicate with the adsorption accessory within a preset time period, the electronic equipment sends a heartbeat signal to the adsorption accessory; under the condition that the adsorption accessory fails to respond based on the heartbeat signal, the electronic equipment sends a first signal to the transmission line through the controller again; and under the condition that the adsorption accessory is successful in response based on the heartbeat signal, the electronic equipment detects whether communication is carried out with the adsorption accessory within a preset time period.
The effects of each possible implementation manner of the second aspect are similar to those of the first aspect and the possible designs of the first aspect, and are not described herein.
Drawings
FIG. 1 is a schematic view of a scene to which embodiments of the present application are applicable;
FIG. 2 is a schematic diagram of another scenario in which an embodiment of the present application is applicable;
FIG. 3 is a schematic diagram of an adsorption detection scheme provided in the related art;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of a stylus according to an embodiment of the present application;
Fig. 6 is a schematic diagram of a hardware structure of a wireless keyboard according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an adsorption detection system according to an embodiment of the present application;
Fig. 8 is a schematic diagram of electromagnetic field distribution on a circuit board when the adsorbing accessory provided by the embodiment of the application is not adsorbed on an electronic device and when the adsorbing accessory is adsorbed on the electronic device;
fig. 9 is a schematic circuit diagram of an adsorption detection assembly in an electronic device when an adsorption accessory provided in an embodiment of the present application is not adsorbed on the electronic device and when the adsorption accessory is adsorbed on the electronic device;
fig. 10 is a schematic diagram of a simulation of a second signal received by a controller when an adsorption accessory provided in an embodiment of the present application is not adsorbed on an electronic device and is adsorbed on the electronic device;
FIG. 11 is a schematic diagram of another configuration of a controller and an adsorption detection assembly included in an electronic device according to an embodiment of the present application;
fig. 12 is a schematic flow chart of an adsorption detection method according to an embodiment of the present application.
Detailed Description
In order to clearly describe the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first chip and the second chip are merely for distinguishing different chips, and the order of the different chips is not limited. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
Fig. 1 is a schematic view of a scenario in which an embodiment of the present application is applicable. Referring to fig. 1, the electronic device and the adsorption accessory are included in the scene, fig. 1 illustrates that the electronic device is a tablet computer 100, the adsorption accessory is a stylus 200, and the stylus 200 is adsorbed and fixed on a side of the tablet computer 100. It should be understood that the stylus 200 may also be attached to the back of the tablet pc 100, which is not limited in this embodiment of the present application.
In the case where the stylus 200 is fixed to the tablet 100 by adsorption, the tablet 100 may charge the stylus 200. When the user uses the stylus 200, the stylus 200 may be removed from the side of the tablet 100.
Fig. 2 is a schematic diagram of another scenario in which an embodiment of the present application is applicable. Referring to fig. 2, the scenario includes an electronic device and an adsorption accessory, fig. 2 illustrates that the electronic device is a tablet pc 100, the adsorption accessory is a wireless keyboard 300, and the tablet pc 100 and the wireless keyboard 300 are fixed by adsorption.
In the case where the tablet pc 100 and the wireless keyboard 300 are fixed by adsorption, a communication connection between the tablet pc 100 and the wireless keyboard 300 may be established, so that a user may interact with the tablet pc 100 through the wireless keyboard 300.
It should be noted that, the electronic device in the embodiment of the present application includes, but is not limited to, the tablet computer 100, which may also be one or more combinations of a wireless keyboard, a mobile phone, a laptop (laptopcomputer), a Personal Digital Assistant (PDA), a personal computer, a notebook computer, a vehicle-mounted device, a television, a wearable device, an electronic whiteboard, and so on. The adsorption fittings in the embodiment of the application include, but are not limited to, a handwriting pen 200 or a wireless keyboard 300, which can also be a bluetooth headset, a remote controller, a camera module, etc.
In the related art, in order to make an electronic device detect whether an adsorption accessory is adsorbed on the electronic device, a hall device may be provided in the electronic device, and a detection magnet may be provided in the adsorption accessory, and adsorption detection of the electronic device and the adsorption accessory may be achieved by using the hall device and the detection magnet.
In the case where the attraction fitting is gradually brought close to the electronic apparatus, the magnetic field strength generated at the hall device by the detection magnet in the attraction fitting gradually increases. Accordingly, in the case where the hall device detects that the magnetic field strength is greater than or equal to the preset magnetic field strength, it can be determined that the attraction fitting has attracted to the electronic apparatus.
Fig. 3 is a schematic diagram of an adsorption detection scheme provided in the related art. Referring to fig. 3, an embodiment of an adsorption detection scheme provided by the related art will be described by taking an electronic device as a tablet pc 100 and an adsorption accessory as a stylus 200 as an example.
The tablet computer 100 comprises a first Hall device 101, a second Hall device 102 and a first adsorption magnet 103; the stylus 200 includes a detection magnet 201 and a second attraction magnet 202. The first attracting magnet 103 may attract the second attracting magnet 202, so as to attract and fix the stylus 200 on the tablet pc 100. The detection magnet 201 is used to trigger the hall device.
For example, when the stylus 200 is placed on the tablet 100 in a first orientation (a direction in which the tip of the stylus 200 is oriented to the left as shown in fig. 3), the detection magnet 201 faces the first hall device 101, the detection magnet 201 may generate a stronger magnetic field at the first hall device 101, and in a case where the first hall device 101 detects that the magnetic field strength is greater than or equal to the preset magnetic field strength, it may be determined that the stylus 200 has been adsorbed on the tablet 100.
Or when the stylus 200 is placed on the tablet 100 in the second orientation (the opposite direction of the first orientation, i.e., the direction in which the nib of the stylus 200 is directed to the right as shown in fig. 3), the detection magnet 201 faces the second hall device 102, the detection magnet 201 may generate a stronger magnetic field at the second hall device 102, and in the case where the second hall device 102 detects that the magnetic field strength is greater than or equal to the preset magnetic field strength, it may be determined that the stylus 200 has been adsorbed on the tablet 100.
However, in the current adsorption detection scheme, a detection magnet needs to be arranged in the adsorption accessory, and the detection magnet needs to occupy a larger layout space in the adsorption accessory due to a larger volume ratio of the detection magnet, and the detection magnet with a larger volume is also heavier, so that the problem of weight increase of the adsorption accessory is easily caused. In this way, the lightweight design of the suction fitting is not utilized.
Based on the above, the embodiment of the application provides an adsorption detection system and an adsorption detection method, wherein a controller and an adsorption detection assembly electrically connected with the controller are arranged on electronic equipment, the adsorption detection assembly comprises a circuit board, a transmission line is arranged on the circuit board, and a conductive sheet is arranged in an adsorption fitting, and under the condition that the adsorption fitting is adsorbed on the electronic equipment, an overlapping area exists between orthographic projection of the conductive sheet on the circuit board and the transmission line; the controller is used for sending a first signal to the transmission line, receiving a second signal corresponding to the first signal, and detecting whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal.
In this way, by providing the transmission line in the electronic device and the conductive sheet in the suction fitting, and in the case where the suction fitting is sucked on the electronic device, the orthographic projection of the conductive sheet on the circuit board is set so that there is an overlapping area with the transmission line. Under the condition that the adsorption accessory is adsorbed on the electronic equipment, the characteristic impedance of the transmission line at the overlapping area with the orthographic projection of the conducting strip on the circuit board is reduced, namely the characteristic impedance of the transmission line is changed, and then the first signal sent by the controller is reflected when passing through the transmission line; and under the condition that the adsorption accessory is not adsorbed on the electronic equipment, the characteristic impedance of the transmission line is not changed, and the first signal sent by the controller is not reflected when passing through the transmission line. Therefore, if the first signal is reflected when passing through the transmission line, the second signal received by the controller is different, and the controller can detect whether the adsorbing accessory is adsorbed on the electronic device according to the received second signal.
In addition, since the embodiment of the application detects whether the adsorption accessory is adsorbed on the electronic equipment based on whether the characteristic impedance of the transmission line changes, the characteristic impedance of the transmission line can be changed as long as the conductive sheet is arranged in the adsorption accessory and the orthographic projection of the conductive sheet on the circuit board and the transmission line have an overlapping area under the condition that the adsorption accessory is adsorbed on the electronic equipment, namely, the adsorption detection can be realized by arranging the conductive sheet with a small volume in the adsorption accessory. Therefore, the volume of the conducting strip can be designed to be smaller than that of the detecting magnet so as to reduce the layout space of the adsorbing accessory, and the conducting strip with smaller volume is lighter, so that the weight of the adsorbing accessory can be reduced, and the adsorbing accessory is more miniaturized and lighter.
In order to better understand the embodiments of the present application, the structures of the electronic device, the stylus pen, and the wireless keyboard according to the embodiments of the present application are described below.
Fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application. Referring to fig. 4, the electronic device may include multiple subsystems that cooperate to perform, coordinate, or monitor one or more operations or functions of the electronic device. The electronic device includes a first processor 110, an input surface 120, a coordination engine 130, a power subsystem 140, a power connector 150, a first communication module 160, a display 170, and an adsorption detection assembly 180.
Illustratively, coordination engine 130 may be used to communicate and/or process data with other subsystems of the electronic device; communication with a stylus and/or transaction data; measuring and/or obtaining an output of one or more analog or digital sensors (such as touch sensors); measuring and/or obtaining an output of one or more sensor nodes of an array of sensor nodes (such as an array of capacitive sensing nodes); receiving and locating tip and ring signals from a stylus; a stylus or the like is positioned based on the positions of the tip signal crossing region and the ring signal crossing region.
The coordination engine 130 of the electronic device includes or is otherwise communicatively coupled to a sensor layer located below the input surface 120 or integrated with the input surface 120. Coordination engine 130 uses the sensor layers to locate the stylus on input surface 120 and uses the techniques described herein to estimate the angular position of the stylus relative to the plane of input surface 120. In one embodiment, the input surface 120 may be referred to as a touch screen.
For example, the sensor layer of coordination engine 130 of the electronic device is a grid of capacitive sensing nodes arranged in columns and rows. More specifically, the array of column traces is arranged perpendicular to the array of row traces. The sensor layer may be separate from other layers of the electronic device, or the sensor layer may be disposed directly on another layer, such as but not limited to: display stack layers, force sensor layers, digitizer layers, polarizer layers, battery layers, structural or decorative housing layers, and the like.
The sensor layer can operate in a variety of modes. If operating in mutual capacitance mode, the column and row traces form a single capacitive sense node at each overlap point (e.g., a "vertical" mutual capacitance). If operating in self-capacitance mode, the column and row traces form two (vertically aligned) capacitive sense nodes at each overlap point. In another embodiment, if operating in a mutual capacitance mode, adjacent column traces and/or adjacent row traces may each form a single capacitive sense node (e.g., a "horizontal" mutual capacitance). As described above, the sensor layer may detect the presence of the tip of the stylus and/or the touch of the user's finger by monitoring the capacitance (e.g., mutual capacitance or self-capacitance) change presented at each capacitive sensing node. In many cases, coordination engine 130 may be configured to detect tip and ring signals received from a stylus through a sensor layer via capacitive coupling.
Wherein the tip signal and/or the ring signal may include specific information and/or data that may be configured to cause the electronic device to identify the stylus. Such information is generally referred to herein as "stylus identity" information. This information and/or data may be received by the sensor layer and interpreted, decoded, and/or demodulated by coordination engine 130.
The first processor 110 may use the stylus identity information to simultaneously receive input from more than one stylus. Specifically, coordination engine 130 may be configured to transmit the position and/or angular position of each of the number of handwriting pens detected by coordination engine 130 to first processor 110. In other cases, coordination engine 130 may also transmit information to first processor 110 regarding the relative positions and/or relative angular positions of the plurality of handwriting pens detected by coordination engine 130. For example, coordination engine 130 may notify first processor 110 that the detected first stylus is located away from the detected second stylus.
In other cases, the tip signal and/or ring signal may also include specific information and/or data for causing the electronic device to identify a specific user. Such information is generally referred to herein as "user identity" information.
Coordination engine 130 may forward user identity information (if detected and/or recoverable) to first processor 110. If the user identity information cannot be recovered from the tip signal and/or the ring signal, coordination engine 130 may optionally indicate to first processor 110 that the user identity information is not available. The first processor 110 can utilize user identity information (or the absence of such information) in any suitable manner, including but not limited to: accepting or rejecting input from a particular user, allowing or rejecting access to a particular function of the electronic device, etc. The first processor 110 may use the user identity information to simultaneously receive input from more than one user.
In still other cases, the tip signal and/or the ring signal may include specific information and/or data that may be configured to cause the electronic device to identify settings or preferences of a user or stylus. Such information is generally referred to herein as "stylus setup" information.
Coordination engine 130 may forward the stylus setup information (if detected and/or recoverable) to first processor 110. If the stylus setting information cannot be recovered from the tip signal and/or the ring signal, coordination engine 130 may optionally indicate to first processor 110 that the stylus setting information is not available. The electronic device can utilize the stylus setting information (or the absence of the information) in any suitable manner, including but not limited to: applying settings to an electronic device, applying settings to a program running on an electronic device, changing line thickness, color, pattern presented by a graphics program of an electronic device, changing settings of a video game operating on an electronic device, and so forth.
In general, the first processor 110 may be configured to perform, coordinate, and/or manage the functions of the electronic device. Such functions may include, but are not limited to: communication and/or transaction data with other subsystems of the electronic device, communication and/or transaction data with the stylus, data communication and/or transaction data via the first communication module 160, and the like.
For example, the first processor 110 may be a microprocessor, a central processing unit (centralprocessingunit, CPU), a system on a chip (systemonchip, soC), an application specific integrated circuit, a field programmable gate array, a digital signal processor, an analog circuit, a digital circuit, or a combination of these devices. The first processor 110 may be a single-threaded or multi-threaded processor. The first processor 110 may be a single-core or multi-core processor.
During use, the first processor 110 may be configured to access a memory storing instructions. The instructions may be configured to cause the first processor 110 to perform, coordinate, or monitor one or more operations or functions of the electronic device.
The instructions stored in the memory may be configured to control or coordinate the operation of other components of the electronic device, such as, but not limited to: another processor, analog or digital circuitry, a volatile or non-volatile memory module, a display, a speaker, a microphone, a rotational input device, buttons or other physical input devices, biometric sensors and/or systems, force or touch input/output components, a communication module, and/or a haptic or tactile feedback device.
The memory may also store electronic data that may be used by the stylus or the processor. For example, the memory may store electronic data or content (such as media files, documents, and applications), device settings and preferences, timing signals and control signals, or data for various modules, data structures or databases, files or configurations related to detecting tip signals and/or ring signals, and so forth. The memory may be configured as any type of memory. For example, the memory may be implemented as random access memory, read only memory, flash memory, removable memory, other types of storage elements, or a combination of such devices.
The controller of the embodiments of the present application may be integrated in the first processor 110, i.e. the first processor 110 may comprise the controller. Alternatively, the controller of the embodiment of the present application may be provided separately from the first processor 110, in which case the first processor 110 may be electrically connected to the controller and in data communication with the controller.
Wherein the controller may be electrically connected to the adsorption detection assembly 180. Fig. 4 illustrates an example in which the controller is integrated with the first processor 110, in which case the first processor 110 may be considered to be electrically connected to the adsorption detection assembly 180. The adsorption detecting assembly 180 includes a circuit board on which a transmission line is provided. The controller is used for sending a first signal to the transmission line, receiving a second signal corresponding to the first signal, and detecting whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal.
The electronic device also includes a power subsystem 140. The power subsystem 140 may include a battery or other power source. The power subsystem 140 may be configured to provide power to the electronic device. The power subsystem 140 may also be coupled to a power connector 150. The power connector 150 may be any suitable connector or port that may be configured to receive power from an external power source and/or to provide power to an external load. For example, in some embodiments, the power connector 150 may be used to recharge a battery within the power subsystem 140. In another embodiment, the power connector 150 may be used to transfer power stored (or available) within the power subsystem 140 to the stylus.
The electronic device further includes a first communication module 160 to facilitate electronic communication between the electronic device and the stylus. In one embodiment, the first communication module 160 may be used to support data exchange between the electronic device and the suction attachment including Bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), and the like.
In some embodiments, the first communication module 160 may be a bluetooth chip. The electronic equipment can be paired with the Bluetooth chip of the adsorption equipment through the Bluetooth chip and establish wireless connection, so that wireless communication between the electronic equipment and the adsorption equipment is realized through the wireless connection.
In addition, the first communication module 160 may further include an antenna, and the first communication module 160 receives electromagnetic waves via the antenna, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the first processor 110. The first communication module 160 may also receive a signal to be transmitted from the first processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves to radiate.
The electronic device also includes a display 170. The display 170 may be located behind the input surface 120 or may be integral therewith. The display 170 may be communicatively coupled to the first processor 110. The first processor 110 may present information to the user using the display 170. In many cases, the first processor 110 uses the display 170 to present an interface with which a user can interact. In many cases, a user manipulates a stylus to interact with an interface.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Fig. 5 is a schematic hardware structure of a stylus according to an embodiment of the present application. Referring to fig. 5, the handwriting pen may have a second processor 210. The second processor 210 may include storage and processing circuitry for supporting the operation of the stylus. The storage and processing circuitry may include storage devices such as non-volatile memory (e.g., flash memory or other electrically programmable read-only memory configured as a solid state drive), volatile memory (e.g., static or dynamic random access memory), and the like. Processing circuitry in the second processor 210 may be used to control the operation of the stylus. The processing circuitry may be based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio chips, application specific integrated circuits, and the like.
One or more sensors may be included in the stylus. For example, the sensor may include a pressure sensor 220. The pressure sensor 220 may be disposed at the writing end of the stylus. Of course, the pressure sensor 220 may be disposed in the pen shaft of the stylus pen, such that when one end of the pen tip of the stylus pen is stressed, the other end of the pen tip moves to apply force to the pressure sensor 220. In one embodiment, the second processor 210 may adjust the thickness of the line when writing at the tip of the stylus based on the amount of pressure detected by the pressure sensor 220.
The sensors may also include inertial sensors 230. Inertial sensor 230 may include a three-axis accelerometer and a three-axis gyroscope, and/or other components for measuring stylus motion, for example, a three-axis magnetometer may be included in the sensor in a nine-axis inertial sensor configuration. The sensors may also include additional sensors such as temperature sensors, ambient light sensors, light-based proximity sensors, contact sensors, magnetic sensors, pressure sensors, and/or other sensors.
Status indicators 240 such as light emitting diodes and buttons 250 may be included in the stylus. The status indicator 240 is used to indicate the status of the stylus to the user. The buttons 250 may include mechanical buttons and non-mechanical buttons, and the buttons 250 may be used to collect button press information from a user.
In embodiments of the present application, one or more electrodes 260 may be included in the stylus, where one electrode 260 may be located at the writing end of the stylus and one electrode 260 may be located within the nib.
A sensing circuit 270 may be included in the stylus. The sensing circuit 270 may sense capacitive coupling between the electrode 260 and the drive lines of the capacitive touch sensor panel that interact with the stylus. The sensing circuit 270 may include an amplifier to receive the capacitance readings from the capacitive touch sensor panel, a clock to generate a demodulation signal, a phase shifter to generate a phase shifted demodulation signal, a mixer to demodulate the capacitance readings using in-phase demodulation frequency components, a mixer to demodulate the capacitance readings using quadrature demodulation frequency components, and the like. The result of the mixer demodulation can be used to determine an amplitude proportional to the capacitance so that the stylus can sense contact with the capacitive touch sensor panel.
It will be appreciated that the stylus may include a microphone, speaker, audio generator, vibrator, camera, data port, and other devices, as desired. The user may control the operation of the stylus and the electronic device interacting with the stylus by providing commands with these devices, and receive status information and other outputs.
The second processor 210 may be used to run software on the stylus that controls the operation of the stylus. During operation of the stylus, software running on the second processor 210 may process sensor inputs, button inputs, and inputs from other devices to monitor stylus movement and other user inputs. Software running on the second processor 210 may detect user commands and may communicate with the electronic device.
To support wireless communication of the stylus with the electronic device, the stylus may include a second communication module 280. For example, the second communication module 280 may be used to support data exchange between a stylus and an electronic device including wireless communication such as bluetooth, global navigation satellite system, wireless local area network, frequency modulation, short range wireless communication technology, infrared technology, etc.
In some embodiments, the second communication module 280 may be a bluetooth chip. The handwriting pen can be paired with the Bluetooth chip of the electronic device through the Bluetooth chip and establish wireless connection, so that wireless communication between the handwriting pen and the electronic device is realized through the wireless connection.
In addition, the second communication module 280 may further include an antenna, and the second communication module 280 receives electromagnetic waves via the antenna, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the second processor 210. The second communication module 280 may also receive a signal to be transmitted from the second processor 210, frequency modulate the signal, amplify the signal, and convert the signal into electromagnetic waves to radiate the electromagnetic waves through the antenna.
The stylus may also include a charging module 290, where the charging module 290 may support charging of the stylus to provide power to the stylus.
In some embodiments, the stylus may also be referred to as a stylus. The stylus may be, but is not limited to, an inductive stylus or a capacitive stylus. In addition, the handwriting pen can further comprise a conductive sheet, and in the case of adsorbing the handwriting pen on the electronic device, an overlapping area exists between the orthographic projection of the conductive sheet in the handwriting pen on the circuit board and the transmission line.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the stylus. In other embodiments, the stylus may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Fig. 6 is a schematic diagram of a hardware structure of a wireless keyboard according to an embodiment of the present application. Referring to fig. 6, the wireless keyboard may include a third processor 310, a memory 320, a charging interface 330, a charging management module 340, a wireless charging coil 350, a battery 360, a third communication module 370, a touch pad 380, and a keyboard 390.
The third processor 310, the memory 320, the charging interface 330, the charging management module 340, the battery 360, the third communication module 370, the touch pad 380, the keyboard 390 and the like may be disposed on the keyboard body of the wireless keyboard. The wireless charging coil 350 may be provided in a connection portion for movably connecting the keyboard main body and the cradle.
The memory 320 may be used to store program codes, such as program codes for wirelessly charging a stylus, among others. Memory 320 may also have stored therein a bluetooth address for uniquely identifying the wireless keyboard. In addition, the memory 320 may also store connection data of electronic devices that were successfully paired with the wireless keyboard. For example, the connection data may be a bluetooth address of an electronic device that was successfully paired with the wireless keyboard. Based on the connection data, the wireless keyboard can be automatically paired with the electronic device without having to configure a connection therebetween, such as for validation or the like. The bluetooth address may be a Media Access Control (MAC) address.
The third processor 310 may be configured to execute the application code and invoke the relevant modules to implement the functionality of the wireless keyboard in the embodiments of the present application. For example, a wired charging function of a wireless keyboard, a reverse wireless charging function, a wireless communication function, etc. are realized. The third processor 310 may include one or more processing units, and the different processing units may be separate devices or may be integrated into one or more third processors 310. The third processor 310 may be an integrated control chip or may be comprised of circuitry including various active and/or passive components configured to perform the functions described as belonging to the third processor 310 in accordance with embodiments of the present application. Wherein the third processor 310 of the wireless keyboard may be a microprocessor.
The third communication module 370 may be used to support data exchange between the wireless keyboard and the electronic device including bluetooth, global navigation satellite system, wireless local area network, frequency modulation, near field wireless communication technology, infrared technology, etc.
In some embodiments, the third communication module 370 may be a bluetooth chip. The wireless keyboard may be a bluetooth keyboard. The wireless keyboard can be paired with Bluetooth chips of other electronic devices through the Bluetooth chips and establish wireless connection, so that wireless communication between the wireless keyboard and the other electronic devices is realized through the wireless connection.
In addition, the third communication module 370 may further include an antenna, and the third communication module 370 receives electromagnetic waves via the antenna, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the third processor 310. The third communication module 370 may also receive the signal to be transmitted from the third processor 310, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna.
In some embodiments, the wireless keyboard may support wired charging. Specifically, the charge management module 340 may receive a charge input of the wired charger through the charge interface 330.
In other embodiments, the wireless keyboard may support forward wireless charging. The charge management module 340 may receive wireless charge input through the wireless charging coil 350 of the wireless keyboard. Specifically, the charging management module 340 is connected to the wireless charging coil 350 through a matching circuit. The wireless charging coil 350 may be coupled to the wireless charging coil of the wireless charger, and may induce an alternating electromagnetic field emitted from the wireless charging coil 350 of the wireless charger to generate an alternating electric signal. The alternating electrical signal generated by the wireless charging coil 350 is transmitted to the charge management module 340 via the matching circuit to wirelessly charge the battery 360.
The charging management module 340 may also supply power to the wireless keyboard while charging the battery 360. The charge management module 340 receives input from the battery 360 and provides power to the third processor 310, the memory 320, the external memory, the third communication module 370, and the like. The charge management module 340 may also be configured to monitor battery capacity, battery cycle times, battery health (leakage, impedance) and other parameters of the battery 360. In other embodiments, the charge management module 340 may also be disposed in the third processor 310.
In other embodiments, the wireless keyboard may support reverse wireless charging. Specifically, the charge management module 340 may also receive an input of the charge interface 330 or the battery 360, and convert a direct current signal input by the charge interface 330 or the battery 360 into an alternating current signal. The ac signal is transmitted to the wireless charging coil 350 through the matching circuit. The wireless charging coil 350 receives the ac signal to generate an alternating electromagnetic field. The wireless charging coil of other electronic equipment senses the alternating electromagnetic field and can perform wireless charging. I.e. the wireless keyboard may also wirelessly charge other electronic devices. In one embodiment, the wireless charging coil 350 may be disposed in a receiving portion of the wireless keyboard, and the wireless charging coil is disposed in a pen holder of the stylus pen, and when the stylus pen is placed in the receiving portion, the wireless keyboard may charge the stylus pen through the wireless charging coil 350.
It should be noted that the matching circuit may be integrated in the charge management module 340, or the matching circuit may be independent of the charge management module 340, which is not limited in the embodiment of the present application. Fig. 6 illustrates a schematic hardware configuration of the wireless keyboard, taking the example that the matching circuit may be integrated in the charge management module 340.
The charging interface 330 may be used to provide a wired connection for charging or communication between the wireless keyboard and other electronic devices, such as a wired charger for the wireless keyboard 300.
The touch pad 380 has a touch sensor integrated therein. The notebook computer may receive a control command of the user to the notebook computer through the touch pad 380 and the keyboard 390.
In some embodiments, the wireless keyboard may further include a conductive sheet, where there is an overlapping area between the orthographic projection of the conductive sheet on the circuit board and the transmission line in the wireless keyboard when the wireless keyboard is attached to the electronic device.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the wireless keyboard. In other embodiments, the wireless keyboard may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 7 is a schematic structural diagram of an adsorption detection system according to an embodiment of the present application. Referring to fig. 7, the adsorption detection system includes an electronic device, which may be, for example, a tablet computer 100, and an adsorption accessory, which may be a handwriting pen 200.
In some embodiments, the electronic device includes a controller 190 and a suction detection assembly 180 electrically connected to the controller 190, the suction detection assembly 180 including a circuit board 181, and a transmission line 1813 disposed on the circuit board 181.
The controller 190 in the electronic device may be a micro control unit (micro controllerunit, MCU), which may be integrated into the first processor 110 or may be provided separately from the first processor 110, which is not limited in the embodiment of the present application.
Wherein the controller 190 includes a transmit pin (i.e., TX pin) and a receive pin (i.e., RX pin). The transmit pin and the receive pin of the controller 190 are electrically connected to the adsorption detection assembly 180. The transmit pin of the controller 190 is used to send a first signal to the transmission line 1813; the receiving pin of the controller 190 is used for receiving a second signal corresponding to the first signal.
The adsorption detecting component 180 in the electronic device includes a circuit board 181, where the circuit board 181 may be a flexible circuit board (flexible printed circuit, FPC), and of course, the circuit board 181 may also be a printed circuit board (printed circuit board, PCB) or a soft-hard combined circuit board, which is not limited in the embodiment of the present application.
The circuit board 181 may be provided with a transmission line 1813, and the transmission line 1813 may be close to an inner surface of a first adsorption surface of the electronic device, where the first adsorption surface is a surface of the electronic device when the electronic device is adsorbed by the adsorption accessory. The transmission line 1813 provided on the circuit board 181 may extend along a length direction of the circuit board 181, and a length of the transmission line 1813 provided on the circuit board 181 may be equal to a length of the circuit board 181. For example, in some products, the length of the circuit board 181 and the length of the transmission line 1813 may each be 5 cm to 10 cm; the line width of the transmission line 1813 may be 50 micrometers to 150 micrometers.
In some embodiments, the suction fitting includes a conductive sheet 400, and the conductive sheet 400 may be adjacent to an inner surface of a second suction surface of the suction fitting, where the second suction surface is a surface of the suction fitting that is suctioned with the electronic device. For example, the adsorption fitting is a stylus pen, and the conductive sheet 400 may be attached to the inner wall surface of the body of the stylus pen.
Also, in the case where the suction fitting is suctioned to the electronic device, there is an overlapping region of the orthographic projection of the conductive sheet 400 on the circuit board 181 and the transmission line 1813.
In a possible manner, in the case where the suction fitting is sucked onto the electronic device, the orthographic projection of the conductive sheet 400 on the circuit board 181 is located in the region where the transmission line 1813 is located. In this case, the length of the conductive sheet 400 is smaller than the length of the transmission line 1813, and the width of the conductive sheet 400 is smaller than or equal to the line width of the transmission line 1813.
Alternatively, in the case where the suction fitting is sucked to the electronic device, the orthographic projection of the conductive sheet 400 on the circuit board 181 along the length direction of the transmission line 1813 is located in the region where the transmission line 1813 is located, and the orthographic projection of the conductive sheet 400 on the circuit board 181 along the line width direction of the transmission line 1813 may cover a partial region other than the transmission line 1813 in addition to the region where the transmission line 1813 is located. In this case, the length of the conductive sheet 400 is smaller than the length of the transmission line 1813, and the width of the conductive sheet 400 is larger than the line width of the transmission line 1813.
In addition, the thickness of the conductive sheet 400 may be 0.5mm to 1 mm. For example, the thickness of the conductive sheet 400 may be 0.5mm, 0.8 mm, 1mm, or the like.
In some embodiments, the controller 190 is configured to send a first signal to the transmission line 1813, receive a second signal corresponding to the first signal, and detect whether the adsorbing accessory is adsorbed on the electronic device according to the second signal.
Specifically, the controller 190 may periodically transmit the first signal to the transmission line 1813 to detect whether the suction fitting is suctioned to the electronic device, i.e., the controller 190 transmits the first signal to the transmission line 1813 once every preset transmission period. The preset transmission period may be set according to actual implementation, and for example, the preset transmission period may be 1 second or 0.5 second, etc.
Since there is an overlapping area between the front projection of the conductive sheet 400 on the circuit board 181 and the transmission line 1813 in the case that the suction fitting is suctioned to the electronic device, the characteristic impedance of the transmission line 1813 at the overlapping area with the front projection of the conductive sheet 400 on the circuit board 181 is reduced, that is, the characteristic impedance of the transmission line 1813 is changed, and the first signal transmitted by the controller 190 is reflected when passing through the transmission line 1813. In the case where the adsorbing accessory is not adsorbed on the electronic device, the characteristic impedance of the transmission line 1813 is not changed, and the first signal transmitted by the controller 190 is not reflected while passing through the transmission line 1813. Therefore, if the first signal is reflected when passing through the transmission line 1813, the second signal received by the controller 190 is different, that is, the second signal received by the controller 190 when the adsorbing accessory is adsorbed on the electronic device is different from the second signal received by the controller 190 when the adsorbing accessory is not adsorbed on the electronic device, so that the controller 190 can detect whether the adsorbing accessory is adsorbed on the electronic device according to the received second signal.
Also, since the length of the conductive sheet 400 is smaller than the length of the transmission line 1813, the thickness of the conductive sheet 400 may be 0.5 mm to 1mm, the width of the conductive sheet 400 may be smaller than or equal to the line width of the transmission line 1813, or may be larger than the line width of the transmission line 1813, and the line width of the transmission line 1813 is in the micrometer scale. Therefore, the conductive sheet 400 provided in the adsorption fitting has a small volume to reduce the layout space thereof occupying the adsorption fitting, and the conductive sheet 400 having a small volume is also lighter in weight, so that the weight of the adsorption fitting can be reduced to make the adsorption fitting more miniaturized and lighter.
In some embodiments, the type of transmission line 1813 may be a microstrip line. In this case, the circuit board 181 includes a ground layer 1811, a dielectric layer 1812, and a trace layer which are stacked, the ground layer 1811 and the trace layer are located on both sides of the dielectric layer 1812, and the trace layer includes a transmission line 1813. In the case where the adsorbing accessory is adsorbed on the electronic device, the conductive sheet 400 is located on a side of the trace layer away from the dielectric layer 1812.
As shown in (a) of fig. 8, in the case where the adsorbing accessory is not adsorbed on the electronic device, the type of the transmission line 1813 of the electronic device may be a microstrip line. The solid line of fig. 8 (a) represents an electric field, and the broken line of fig. 8 (a) represents a magnetic field.
As shown in (b) of fig. 8, in the case where the suction fitting is sucked on the electronic device, the type of the transmission line 1813 of the electronic device may become a strip line. The solid line of (b) in fig. 8 represents an electric field, and the broken line of (b) in fig. 8 represents a magnetic field.
It can be seen that the distribution of the electromagnetic field on the circuit board 181 is different in the case where the suction fitting is not suctioned to the electronic apparatus and in the case where the suction fitting is suctioned to the electronic apparatus.
The microstrip line is a microwave transmission line composed of a conductor band, a dielectric layer and a grounding layer, wherein one surface of the dielectric layer is provided with the conductor band, and the other surface of the dielectric layer is provided with the grounding layer. In this case, the transmission line 1813 may be regarded as a conductor strip, so that the type of the transmission line 1813 in this case is a microstrip line.
The strip line refers to a microwave transmission line formed by two ground layers and a conductor strip arranged in the middle. In this case, the ground layer 1811 and the conductive sheet 400 may be regarded as ground layers, respectively, and the transmission line 1813 may be regarded as a conductor strip in the middle of the two ground layers, so that the type of the transmission line 1813 in this case is a strip line.
The boundary conditions of the electromagnetic field change the distribution of the electromagnetic field. Therefore, when the conductive sheet 400 is added above the microstrip line, the boundary condition of the electromagnetic field in the microstrip line is changed, so that the distribution of the electromagnetic field is changed, and the characteristic impedance of the transmission line 1813 is correspondingly changed.
Accordingly, in the case where the suction fitting is not suctioned to the electronic device, the type of the transmission line 1813 may be a microstrip line, and in the case where the suction fitting is suctioned to the electronic device, the type of the transmission line 1813 of the electronic device may become a strip line. In this way, the characteristic impedance of the transmission line 1813 changes when the adsorbing accessory is adsorbed on the electronic device, and the first signal is reflected when passing through the transmission line 1813.
The ground layer 1811 in the circuit board 181 may be an entire metal layer, such as a copper layer. The material of the transmission line 1813 in the circuit board 181 may be a conductive material, such as a metal material like copper.
In addition, the circuit board 181 may further include a first film layer and a second film layer, where the first film layer is located on a side of the ground layer 1811 away from the dielectric layer 1812 and is used for protecting the ground layer 1811, and the second film layer is located on a side of the trace layer away from the dielectric layer 1812 and is used for protecting the transmission line 1813.
It is to be understood that the type of transmission line 1813 includes, but is not limited to, microstrip lines, which may also be other types of transmission lines, and embodiments of the present application are not limited thereto.
In some embodiments, the conductive sheet 400 includes a metal sheet, i.e., the material of the conductive sheet 400 may be any one of a metal simple substance, a metal alloy, and a metal compound. For example, the material of the conductive sheet 400 may be steel, i.e., the conductive sheet 400 may be a steel sheet.
It is understood that the material of the conductive sheet 400 is a material capable of conducting electricity, which is used to change the type of the transmission line 1813 from a microstrip line to a strip line in order to change the characteristic impedance of the transmission line 1813 in the case that the suction fitting is suctioned onto the electronic device. The material of the conductive sheet 400 includes, but is not limited to, a simple metal, a metal alloy, a metal compound, and the like. For example, the material of the conductive sheet 400 may also be graphite, i.e., the conductive sheet 400 may be a graphite sheet.
In some embodiments, as shown in fig. 7, the adsorption detection assembly 180 further includes a first resistor R1 and a second resistor R2. A first end of the first resistor R1 is connected to the transmitting pin of the controller 190, and a second end of the first resistor R1 is connected to a first end of the transmission line 1813; the first end of the second resistor R2 is connected to the second end of the transmission line 1813, and the second end of the second resistor R2 is connected to the ground GND; the receiving pin of the controller 190 is connected to the second end of the first resistor R1, and the receiving pin of the controller 190 is also connected to the first end of the transmission line 1813.
The first resistor R1 and the second resistor R2 are for impedance matching with the transmission line 1813. For example, in the case where the suction fitting is not suctioned to the electronic apparatus, the characteristic impedance of the transmission line 1813 is equal to the impedance of the first resistor R1, and the characteristic impedance of the transmission line 1813 is also equal to the impedance of the second resistor R2.
The electronic device may further include an attracting magnet (not shown in fig. 7) in addition to the controller 190 and the attracting detecting unit 180 shown in fig. 7, and the attracting fitting may further include an attracting magnet (not shown in fig. 7) in addition to the conductive sheet 400 shown in fig. 7, and the attracting magnet in the electronic device and the attracting magnet in the attracting fitting may be attracted to each other to attach the attracting fitting to the electronic device.
For the adsorption detection system shown in fig. 7, the first signal output by the transmitting pin of the controller 190 may sequentially pass through the first resistor R1, the transmission line 1813, and the second resistor R2 to reach the ground GND. In addition, when the adsorbing accessory is not adsorbed on the electronic device, the first signal output by the transmitting pin of the controller 190 may reach the receiving pin of the controller 190 through the first resistor R1, and in this case, the second signal received by the receiving pin of the controller 190 is the first signal. In the case where the suction fitting is suctioned to the electronic device, the first signal output from the transmitting pin of the controller 190 reaches the receiving pin of the controller 190 through the first resistor R1, and the characteristic impedance of the transmission line 1813 at the overlapping area with the orthographic projection of the conductive sheet 400 on the circuit board 181 decreases, so that the first signal may be reflected when passing through the transmission line 1813, and the reflected signal of the first signal may reach the receiving pin of the controller 190 through the transmission line 1813, in which case the second signal received by the receiving pin of the controller 190 includes the first signal and the reflected signal.
That is, in the case where the adsorbing accessory is not adsorbed on the electronic device, the second signal does not include the reflected signal corresponding to the first signal, and in the case where the adsorbing accessory is adsorbed on the electronic device, the second signal includes the reflected signal corresponding to the first signal. The reflected signal is a signal that the first signal is reflected back through the transmission line 1813. In this way, the second signal received by the controller 190 when the adsorbing accessory is adsorbed on the electronic device is different from the second signal received by the controller 190 when the adsorbing accessory is not adsorbed on the electronic device.
In some embodiments, the controller 190 is specifically configured to detect whether the adsorbing accessory is adsorbed on the electronic device according to the voltage waveform of the second signal.
Since the second signal does not include the reflected signal corresponding to the first signal when the adsorbing accessory is not adsorbed on the electronic device, and the second signal includes the reflected signal corresponding to the first signal when the adsorbing accessory is adsorbed on the electronic device, the voltage waveform of the second signal received by the controller 190 is different from the voltage waveform of the second signal received by the controller 190 when the adsorbing accessory is not adsorbed on the electronic device. Therefore, after receiving the second signal corresponding to the first signal, the receiving pin of the controller 190 may detect whether the adsorbing accessory is adsorbed on the electronic device according to the voltage waveform of the second signal.
If the controller 190 detects that the voltage waveform of the second signal matches the preset waveform, the controller 190 determines that the characteristic impedance of the transmission line 1813 changes, and further determines that the adsorbing accessory is adsorbed on the electronic device. If the controller 190 detects that the voltage waveform of the second signal does not conform to the preset waveform, the controller 190 determines that the characteristic impedance of the transmission line 1813 is not changed, and further determines that the adsorbing accessory is not adsorbed on the electronic device.
In the embodiment of the present application, the first signal sent by the controller 190 to the transmission line 1813 may be a step signal, or may be a triangular wave signal or a sine wave signal.
The step signal is a signal used for describing a step function, and is characterized in that a sudden change occurs at a certain time point and is changed from one value to another value.
Taking the example that the first signal includes a step signal, how to detect whether the adsorbing accessory is adsorbed on the electronic device according to the voltage waveform of the second signal is described in two implementations respectively.
In one implementation, the controller 190 is specifically configured to detect whether the voltage waveform of the second signal includes a falling edge and a rising edge; in the case where the voltage waveform of the second signal includes a falling edge and a rising edge, it is determined that the attraction fitting is attracted to the electronic device, and in the case where the voltage waveform of the second signal does not include a falling edge and a rising edge, it is determined that the attraction fitting is not attracted to the electronic device.
As shown in (a) and (b) of fig. 9, SCR represents a signal source for transmitting a first signal, R1 represents a first resistance, R2 represents a second resistance, TLD1 represents a characteristic impedance of a first portion in the transmission line 1813, TLD2 represents a characteristic impedance of a second portion in the transmission line 1813, and TLD3 represents a characteristic impedance of a third portion in the transmission line 1813. The first portion of the transmission line 1813 refers to a portion that is close to the first end of the transmission line 1813 and has no overlapping area with the orthographic projection of the conductive sheet 400 on the circuit board 181; a second portion in the transmission line 1813 refers to a portion near the second end of the transmission line 1813 and where there is no overlapping area with the orthographic projection of the conductive sheet 400 on the circuit board 181; the third portion in the transmission line 1813 refers to a portion where there is an overlapping area with the orthographic projection of the conductive sheet 400 on the circuit board 181.
As shown in (a) of fig. 9, in the case where the suction fitting is not suctioned to the electronic apparatus, the impedance of the first resistor R1 is 50Ω, the impedance of the second resistor R2 is 50Ω, the characteristic impedance of the TLD1 is 50Ω, the characteristic impedance of the TLD2 is 50Ω, and the characteristic impedance of the TLD3 is 50Ω.
As shown in (b) of fig. 9, in the case where the suction fitting is sucked on the electronic apparatus, the characteristic impedance of the third portion in the transmission line 1813 is lowered, that is, the characteristic impedance of the TLD3 becomes 30Ω. While the impedance of the first resistor R1 remains 50Ω, the impedance of the second resistor R2 remains 50Ω, the characteristic impedance of the TLD1 remains 50Ω, and the characteristic impedance of the TLD2 remains 50Ω.
If the first signal sent by the signal source shown in fig. 9 (a) is a step signal, the signal at the first node in1 shown in fig. 9 (a) may be detected as shown in fig. 10 (a), where the abscissa indicates the time of receiving the signal at the first node in1 in ns (nanoseconds), and the ordinate indicates the voltage of the signal at the first node in1 in V (volts). It can be seen that the signal at the first node in1 approximates a step signal, the voltage waveform of which does not include a falling edge and a rising edge.
If the first signal sent by the signal source shown in (b) in fig. 9 is a step signal, the signal at the second node in2 shown in (b) in fig. 9 may be detected as shown in (b) in fig. 10, where the abscissa indicates the time of receiving the signal at the second node in2, and the ordinate indicates the voltage of the signal at the second node in2, and the ordinate indicates V. It can be seen that the voltage waveform of the signal at the second node in2 has a falling edge for a period of about 4ns and the voltage waveform of the signal at the second node in2 has a rising edge for a period of about 5.5ns, i.e. the voltage waveform of the signal at the second node in2 comprises a falling edge and a rising edge.
Therefore, in the case where the transmitting pin of the controller 190 transmits a step signal to the transmission line 1813, if the adsorbing accessory is not adsorbed on the electronic device, the second signal received by the receiving pin of the controller 190 may be similar to the step signal as shown in (a) of fig. 10, and the voltage waveform of the second signal does not include a falling edge and a rising edge; if the adsorbing accessory is adsorbed on the electronic device, the second signal received by the receiving pin of the controller 190 may include a step signal and a reflected signal corresponding to the step signal, where the voltage waveform of the second signal includes a falling edge and a rising edge, as shown in (b) of fig. 10.
In this way, the controller 190 may determine whether the characteristic impedance of the transmission line 1813 changes according to whether the voltage waveform of the second signal received by the receiving pin includes a falling edge and a rising edge, so as to determine whether the adsorbing accessory is adsorbed on the electronic device.
In the case that the voltage waveform of the second signal received by the receiving pin of the controller 190 includes a falling edge and a rising edge, it is determined that the characteristic impedance of the transmission line 1813 changes, and it is further determined that the adsorbing accessory is adsorbed on the electronic device. In the case that the voltage waveform of the second signal received by the receiving pin of the controller 190 does not include the falling edge and the rising edge, it is determined that the characteristic impedance of the transmission line 1813 is not changed, and it is further determined that the adsorbing accessory is not adsorbed on the electronic device.
In another implementation, the controller 190 is specifically configured to detect whether the voltage waveform of the second signal in the preset period includes a falling edge and a rising edge; and determining that the adsorbing accessory is adsorbed on the electronic equipment when the voltage waveform in the preset time period contains a falling edge and a rising edge, and determining that the adsorbing accessory is not adsorbed on the electronic equipment when the voltage waveform in the preset time period does not contain the falling edge and the rising edge.
In the case where the suction fitting is suctioned to the electronic device, the position in the transmission line 1813 where there is an overlapping region with the orthographic projection of the conductive sheet 400 on the circuit board 181 is related to the period in which the falling edge and the rising edge occur in the voltage waveform of the second signal. Wherein, when the position of the transmission line 1813, where there is an overlapping area with the orthographic projection of the conductive sheet 400 on the circuit board 181, is closer to the first end of the transmission line 1813, the earlier the time period in which the falling edge and the rising edge occur in the voltage waveform of the second signal; the later the time period for which the falling and rising edges occur in the voltage waveform of the second signal when the position of the transmission line 1813 where there is an overlap region with the orthographic projection of the conductive sheet 400 on the circuit board 181 is closer to the second end of the transmission line 1813.
Therefore, in the case that the adsorbing accessory is adsorbed on the electronic device, the preset time periods of falling edges and rising edges of the corresponding second signals can be tested in advance for the conductive sheet 400 disposed at different positions (i.e., the overlapping area of the front projection of the conductive sheet 400 on the circuit board 181 and the existence of the transmission line 1813 is located at different positions of the transmission line 1813). For example, the position where the conductive sheet 400 has an overlapping area with the transmission line 1813 in the front projection on the circuit board 181 is a first position, and a preset period of time for which the falling edge and the rising edge of the second signal corresponding to the first position occur may be between 3ns and 6 ns.
Therefore, in the case where the transmitting pin of the controller 190 transmits a step signal to the transmission line 1813, if the adsorbing accessory is not adsorbed on the electronic device, the second signal received by the receiving pin of the controller 190 may be similar to the step signal as shown in (a) of fig. 10, and the voltage waveform of the second signal within the preset period does not include a falling edge and a rising edge; if the adsorbing accessory is adsorbed on the electronic device, the second signal received by the receiving pin of the controller 190 may include a step signal and a reflected signal corresponding to the step signal, where the voltage waveform of the second signal in a preset period (e.g. between 3ns and 6 ns) includes a falling edge and a rising edge, as shown in (b) of fig. 10.
In this way, the controller 190 may determine whether the characteristic impedance of the transmission line 1813 changes according to whether the voltage waveform in the preset period includes the falling edge and the rising edge according to the second signal received by the receiving pin, so as to determine whether the adsorbing accessory is adsorbed on the electronic device.
In the case that the voltage waveform in the preset period includes a falling edge and a rising edge, the second signal received by the receiving pin of the controller 190 determines that the characteristic impedance of the transmission line 1813 changes, so as to determine that the adsorbing accessory is adsorbed on the electronic device. In the case that the voltage waveform in the preset period does not include the falling edge and the rising edge, the characteristic impedance of the transmission line 1813 is determined not to be changed, and it is determined that the adsorbing accessory is not adsorbed on the electronic device, according to the second signal received by the receiving pin of the controller 190.
For example, the preset time period may be between 3ns and 6ns, and if the time period for the falling edge and the rising edge to occur in the voltage waveform of the second signal received by the controller 190 is between 2ns and 3ns, it is determined that the adsorbing accessory is not adsorbed on the electronic device.
Therefore, according to the embodiment of the present application, the position of the transmission line 1813 where the overlapping area exists with the orthographic projection of the conductive sheet 400 on the circuit board 181 is different, so that the position of the abrupt change of the characteristic impedance of the transmission line 1813 is different, and further, the time period of the falling edge and the rising edge in the voltage waveform of the second signal received by the controller 190 is different. In this way, whether the voltage waveform of the second signal contains the falling edge and the rising edge in the preset time period is detected, so that the time range of the voltage waveform containing the falling edge and the rising edge is limited, and the probability of misjudgment of adsorption detection of the electronic equipment and the adsorption fittings is reduced.
It will be appreciated that the manner in which the present embodiment of the application detects whether the suction fitting is suctioned to the electronic device includes, but is not limited to, detecting based on the voltage waveform of the second signal received by the controller 190. For example, whether or not the suction attachment is suctioned to the electronic device may also be detected based on the insertion loss, return loss, or the like of the second signal received by the controller 190.
For example, if whether the suction accessory is sucked onto the electronic device is detected according to the return loss of the second signal received by the controller 190, the receiving pin of the controller 190 needs to be still connected to the second end of the first resistor R1, and the connection relationship between the controller 190 and the suction detection assembly 180 may refer to the connection relationship shown in fig. 7.
In this case, the transmitting pin of the controller 190 may transmit a first signal to the transmission line 1813, the receiving pin of the controller 190 receives a second signal, and the controller 190 may calculate the return loss of the transmission line 1813 according to the second signal. Determining that the adsorption accessory is adsorbed on the electronic equipment under the condition that the return loss is greater than or equal to the first preset loss; and under the condition that the return loss is smaller than the first preset loss, determining that the adsorption accessory is not adsorbed on the electronic equipment. The first preset loss can be set according to actual conditions.
For example, if the adsorption accessory is detected based on the insertion loss of the second signal received by the controller 190, it is required that the receiving pin of the controller 190 is not connected to the second end of the first resistor R1, but is connected to the second end of the second resistor R2, and the connection relationship of the rest may refer to the connection relationship shown in fig. 7.
In this case, the transmitting pin of the controller 190 may transmit a first signal to the transmission line 1813, the receiving pin of the controller 190 receives a second signal, and the controller 190 may calculate an insertion loss of the transmission line 1813 according to the second signal. Determining that the adsorbing accessory is adsorbed on the electronic equipment under the condition that the insertion loss is greater than or equal to a second preset loss; and determining that the adsorption fitting is not adsorbed on the electronic equipment under the condition that the insertion loss is smaller than the second preset loss. The second preset loss may be set according to an actual situation.
In some embodiments, the circuit board 181 in the adsorption detection assembly 180 may be one, and the transmission line 1813 provided on the circuit board 181 may be one, and accordingly, the conductive sheet 400 in the adsorption fitting may be one. Thus, the number of first resistors R1 connected to the first end of the transmission line 1813 may be one, the number of second resistors R2 connected to the second end of the transmission line 1813 may be one, and the controller 190 may include one transmitting pin and one receiving pin.
In other embodiments, the circuit board 181 in the adsorption detection assembly 180 may be one, but a plurality of transmission lines 1813 are disposed on the circuit board 181, and the plurality of transmission lines 1813 are located on the same circuit board 181. Also, the plurality of transmission lines 1813 provided on the circuit board 181 may each extend along the length direction of the circuit board 181.
In this case, the adsorbing assembly may include a plurality of conductive sheets 400, and the first end of each of the transmission lines 1813 is correspondingly connected to a first resistor R1, and the second end of each of the transmission lines 1813 is also connected to a second resistor R2, that is, the number of the transmission lines 1813 is equal to the number of the first resistors R1 and the number of the second resistors R2. In addition, the controller 190 also includes a plurality of transmitting pins and a plurality of receiving pins, and the number of transmitting pins and the number of receiving pins of the controller 190 are equal to the number of the transmission lines 1813.
Illustratively, as shown in fig. 11, the controller 190 includes three transmit pins and three receive pins, such as a first transmit pin TX1, a first receive pin RX1, a second transmit pin TX2, a second receive pin RX2, a third transmit pin TX3, and a third receive pin RX3. And, three transmission lines, such as a first transmission line 18131, a second transmission line 18132, and a third transmission line 18133, are provided on the circuit board 181.
Wherein, the first end of the first transmission line 18131 is connected to the second end of a first resistor R1, and the first end of the first resistor R1 is connected to the first transmitting pin TX1 of the controller 190, and the second end of the first resistor R1 is also connected to the first receiving pin RX1 of the controller 190; the second terminal of the first transmission line 18131 is connected to a first terminal of a second resistor R2, and the second terminal of the second resistor R2 is connected to the ground GND.
The first end of the second transmission line 18132 is connected to the second end of a first resistor R1, and the first end of the first resistor R1 is connected to the second transmitting pin TX2 of the controller 190, and the second end of the first resistor R1 is also connected to the second receiving pin RX2 of the controller 190; the second terminal of the second transmission line 18132 is connected to a first terminal of a second resistor R2, and the second terminal of the second resistor R2 is connected to the ground GND.
The first end of the third transmission line 18133 is connected to the second end of a first resistor R1, and the first end of the first resistor R1 is connected to the third transmitting pin TX3 of the controller 190, and the second end of the first resistor R1 is also connected to the third receiving pin RX3 of the controller 190; the second end of the third transmission line 18133 is connected to a first end of a second resistor R2, and the second end of the second resistor R2 is connected to the ground GND.
It is to be understood that the number of the transmission lines 1813 provided on the circuit board 181 is not limited to three as shown in fig. 11, and the number of the transmission lines 1813 provided on the circuit board 181 may be set according to practical situations, for example, the number of the transmission lines 1813 provided on the circuit board 181 may be two, four, or the like.
Accordingly, the suction fitting may also include three conductive tabs 400. As shown in fig. 11, in the case where the suction fitting is sucked to the electronic device, 401 denotes the front projection of the first conductive sheet on the circuit board 181, 402 denotes the front projection of the second conductive sheet on the circuit board 181, and 403 denotes the front projection of the third conductive sheet on the circuit board 181.
In addition, in the case that the adsorbing accessory is adsorbed on the electronic device, the front projection of the first conductive sheet on the circuit board 181 has an overlapping area with the first transmission line 18131, the front projection of the second conductive sheet on the circuit board 181 has an overlapping area with the second transmission line 18132, and the front projection of the third conductive sheet on the circuit board 181 has an overlapping area with the third transmission line 18133.
Therefore, in the case where a plurality of transmission lines 1813 are provided on the circuit board 181 and the suction fitting includes a plurality of conductive pieces 400, the conductive pieces 400 are provided in one-to-one correspondence with the transmission lines 1813. That is, the number of conductive sheets 400 is equal to the number of transmission lines 1813, and in the case where the suction fitting is suctioned onto the electronic apparatus, there is an overlapping area of the orthographic projection of each conductive sheet 400 on the circuit board 181 and its corresponding transmission line 1813.
It should be understood that, in the case where the circuit board 181 is provided with a plurality of transmission lines 1813 and the adsorbing accessory includes a plurality of conductive plates 400, the conductive plates 400 and the transmission lines 1813 may not be disposed in a one-to-one correspondence, and at least part of the conductive plates 400 may correspond to the plurality of transmission lines 1813. In this case, there is an overlapping area between the transmission lines 1813 and at least a portion of the front projection of the conductive sheet 400 on the circuit board 181.
For example, three transmission lines 1813 are disposed on the circuit board 181, and the adsorbing accessory includes two conductive sheets 400, where an orthographic projection of one conductive sheet 400 on the circuit board 181 has an overlapping area with two of the transmission lines 1813, and an orthographic projection of the other conductive sheet 400 on the circuit board 181 has an overlapping area with the other transmission line 1813.
In summary, the circuit board 181 is provided with a plurality of transmission lines 1813, and the adsorbing accessory includes a plurality of conductive sheets 400, and in the case that the adsorbing accessory is adsorbed on the electronic device, an overlapping area exists between the orthographic projection of each conductive sheet 400 on the circuit board 181 and at least one transmission line 1813.
In this way, the controller 190 is specifically configured to send the first signals to the plurality of transmission lines 1813, receive the second signals corresponding to each of the first signals, and jointly detect whether the adsorbing accessory is adsorbed on the electronic device according to the plurality of received second signals.
Since the line width of the transmission line 1813 disposed on the circuit board 181 is in the micron level, a plurality of transmission lines 1813 may be disposed on the same circuit board 181, so that the controller 190 may jointly detect whether the adsorbing accessory is adsorbed on the electronic device according to the plurality of received second signals, so as to improve the accuracy of the adsorption detection of the electronic device and the adsorbing accessory.
Specifically, the controller 190 is specifically configured to collectively detect whether the adsorbing accessory is adsorbed on the electronic device according to the voltage waveforms of the plurality of second signals. For example, in the case that the controller 190 detects that the voltage waveforms of the plurality of second signals all conform to the preset waveform, it is determined that the adsorbing accessory is adsorbed on the electronic device; in the case where the controller 190 detects that a voltage waveform that does not conform to a preset waveform exists among the voltage waveforms of the plurality of second signals, it is determined that the adsorbing accessory is not adsorbed on the electronic apparatus.
Taking the example that the first signals sent by the controller 190 to the plurality of transmission lines 1813 are step signals. In one implementation, the controller 190 is specifically configured to detect whether the voltage waveforms of the plurality of second signals each include a falling edge and a rising edge; in the case where the voltage waveforms of the plurality of second signals each include a falling edge and a rising edge, it is determined that the adsorbing accessory is adsorbed on the electronic device, and in the case where there is a voltage waveform that does not include a falling edge and a rising edge among the voltage waveforms of the plurality of second signals, it is determined that the adsorbing accessory is not adsorbed on the electronic device.
Taking the example that the first signals sent by the controller 190 to the plurality of transmission lines 1813 are step signals. In another implementation manner, the controller 190 is specifically configured to detect whether the voltage waveforms of the plurality of second signals in the preset period of time each include a falling edge and a rising edge; and determining that the adsorbing accessory is adsorbed on the electronic equipment when the voltage waveforms of the plurality of second signals in the preset time period contain the falling edge and the rising edge, and determining that the adsorbing accessory is not adsorbed on the electronic equipment when the voltage waveforms which do not contain the falling edge and the rising edge exist in the voltage waveforms of the plurality of second signals in the preset time period.
In some embodiments, in the case that the adsorbing accessory is adsorbed on the electronic device, the orthographic projection of the plurality of conductive sheets 400 on the circuit board 181 is arranged in a staggered manner along the extending direction of the transmission line 1813 (i.e. the length direction of the circuit board 181).
As shown in fig. 11, the extending direction of the transmission line 1813 may be a left-to-right direction shown in fig. 11, where the front projection of the first conductive sheet on the circuit board 181, the front projection of the second conductive sheet on the circuit board 181, and the front projection of the third conductive sheet on the circuit board 181 are offset along the extending direction of the transmission line 1813.
In this way, when the suction fitting is suctioned to the electronic device and the controller 190 transmits the step signal to each of the three transmission lines as shown in fig. 11, the time period in which the falling edge and the rising edge occur in the voltage waveform of the second signal corresponding to the first transmission line 18131 is the first time period, the time period in which the falling edge and the rising edge occur in the voltage waveform of the second signal corresponding to the second transmission line 18132 is the second time period, and the time period in which the falling edge and the rising edge occur in the voltage waveform of the second signal corresponding to the third transmission line 18133 is the third time period, among the three second signals received by the controller 190. And, the first period of time is earlier than the second period of time, which is earlier than the third period of time.
For example, the first time period may be between 1ns and 2ns, the second time period may be between 2ns and 3ns, and the third time period may be between 3ns and 4 ns.
Therefore, in the case that the adsorbing accessory is adsorbed on the electronic device, by orthographic projection of the plurality of conductive sheets 400 on the circuit board 181, the plurality of conductive sheets are arranged in a staggered distribution along the extending direction of the transmission line 1813, so that the time periods of the falling edge and the rising edge are inconsistent in the voltage waveforms of the plurality of second signals received by the controller 190, thereby further improving accuracy of adsorption detection of the electronic device and the adsorbing accessory.
In some scenarios, the controller 190 may also have a false decision when sending a first signal to the transmission line 1813 and detecting whether the adsorbing accessory is adsorbed on the electronic device according to a second signal corresponding to the first signal.
Therefore, the embodiment of the application can increase the handshake communication detection process under the condition that the adsorption accessory is adsorbed on the electronic equipment according to the second signal, and further detect whether the adsorption accessory is adsorbed on the electronic equipment or not through handshake communication detection so as to reduce the probability of misjudgment of the adsorption detection of the electronic equipment and the adsorption accessory.
In some embodiments, the electronic device is configured to communicate with the suction fitting with a handshake if the suction fitting is determined to be suctioned to the electronic device; in the case of a handshake communication failure, a first signal is again sent by the controller 190 to the transmission line 1813 and in the case of a handshake communication success, communication is made with the suction fitting.
For example, in a case where it is determined that the attraction accessory is attracted to the electronic device according to the second signal, the electronic device may send a handshake request to the attraction accessory, the handshake request being for instructing the attraction accessory to handshake with the electronic device. After receiving the handshake request sent by the electronic device, the adsorbing accessory may send handshake data to the electronic device, where the handshake data may include content related to the device information of the adsorbing accessory, such as a device name, a product serial number (serialnumber, SN), software system information, and product hardware information, and the embodiment of the present application is not limited in this regard.
The electronic device stores in advance equipment information of the adsorption fittings matched with the electronic device, such as equipment names, product serial numbers, software system information, product hardware information and the like of the adsorption fittings. After the electronic device receives the handshake data sent by the adsorbing accessory, the electronic device can verify according to the device information of the adsorbing accessory included in the handshake data and the device information of the adsorbing accessory stored by the electronic device.
Under the condition that the verification is successful, the electronic equipment determines that the adsorption accessory is adsorbed and fixed in place, and handshake communication is established successfully. In this case, the electronic device may communicate with the suction attachment, such as the electronic device may charge the suction attachment, or the like; and, the controller 190 no longer sends the first signal to the transmission line 1813, and the suction fitting is in a suction-fixed-in-place state.
And under the condition that the verification fails, the electronic equipment determines that the adsorbing accessory is a non-matched accessory, and the handshake communication establishment fails. In this case, it is considered that there is a false judgment that the suction fitting detected from the second signal is suctioned to the electronic device, which may send the first signal to the transmission line 1813 again through the controller 190 to perform suction detection.
In one implementation, the electronic device and the suction fitting each have a communication module that can support handshake communication between the electronic device and the suction fitting. For example, the communication module may be a bluetooth chip.
Taking the adsorption accessory as a handwriting pen for example, the electronic device includes a first communication module 160 and a first processor 110, and the controller 190 may be integrated in the first processor 110, and the handwriting pen includes a second communication module 280 and a second processor 210. In the case that the controller 190 determines that the stylus is attached to the electronic device according to the second signal, the first processor 110 may transmit a handshake request by controlling the first communication module 160; the second communication module 280 may receive the handshake request and transmit the handshake request to the second processor 210, and the second processor 210 may transmit handshake data by controlling the second communication module 280; the first communication module 160 may receive the handshake data and transmit the handshake data to the first processor 110, and the first processor 110 performs a check according to the handshake data.
Taking the wireless keyboard as an example, the electronic device includes the first communication module 160 and the first processor 110, and the controller 190 may be integrated in the first processor 110, and the wireless keyboard includes the third communication module 370 and the third processor 310. The controller 190 may send a handshake request by controlling the first communication module 160 in case it is determined that the wireless keyboard is attached to the electronic device according to the second signal; the third communication module 370 may receive the handshake request and transmit the handshake request to the third processor 310, and the third processor 310 may transmit handshake data by controlling the third communication module 370; the first communication module 160 may receive the handshake data and transmit the handshake data to the first processor 110, and the first processor 110 performs a check according to the handshake data.
In another implementation manner, the electronic device and the adsorption accessory both comprise wireless charging coils, the wireless charging coils in the electronic device can be called wireless transmitting coils, the wireless charging coils in the adsorption accessory can be called wireless receiving coils, and the electronic device can charge the adsorption accessory through coupling of the wireless transmitting coils and the wireless receiving coils. And, also can realize the handshake communication between electronic equipment and the absorption accessory based on this wireless transmitting coil and wireless receiving coil.
For example, in the case where the controller 190 determines that the attraction accessory is attracted to the electronic device according to the second signal, the electronic device may transmit a handshake request through the wireless transmitting coil, the attraction accessory may receive the handshake request through the wireless receiving coil, and transmit handshake data through the wireless receiving coil, and the electronic device receives the handshake data through the wireless transmitting coil.
In another implementation manner, taking the adsorption accessory as a wireless keyboard as an example, the electronic device can implement handshake communication with the wireless keyboard through pogpin (ejector pin or spring pin).
For example, three pogpin interfaces are arranged on the electronic device and the wireless keyboard, and the electronic device and the wireless keyboard can be connected through the three pogpin interfaces. Two of the pogpin interfaces are used for supplying power to the wireless keyboard, and the other pogpin interface is used for communication between the electronic equipment and the wireless keyboard.
Accordingly, the controller 190 may send a handshake request through the pogo pin interface to the electronic device, and the adsorbing accessory may receive the handshake request through the pogo pin interface and send handshake data through the pogo pin interface, in case that it is determined that the adsorbing accessory is adsorbed on the electronic device according to the second signal, and the electronic device receives the handshake data through the pogo pin interface.
It will be appreciated that the electronic device may be in handshake communication with the suction fitting, including but not limited to the manner described above using a communication module, a wireless charging coil, or a pogpin interface, which is not limited in this embodiment of the present application.
After the handshake communication between the electronic device and the suction attachment is successfully established in the manner described above, the electronic device and the suction attachment may communicate. In some scenarios, in the event that the electronic device is not in communication with the suction fitting for a long period of time, a heartbeat signal may be sent to detect whether the suction fitting has been detached from the electronic device.
In some embodiments, the electronic device is configured to send a heartbeat signal to the suction fitting if communication with the suction fitting is not performed for a preset period of time; in the case where the suction fitting fails to respond based on the heartbeat signal, the first signal is again transmitted to the transmission line 1813 through the controller 190, and in the case where the suction fitting succeeds in responding based on the heartbeat signal, it is again detected whether communication with the suction fitting is performed for a preset period of time. The preset time length can be set according to actual conditions, for example, the preset time length can be 30 seconds or 1 minute.
For example, the electronic device may send a heartbeat signal to the suction fitting, where the electronic device is not in communication with the suction fitting for a preset period of time, the heartbeat signal including a heartbeat packet. After receiving the heartbeat signal sent by the electronic equipment, the adsorption accessory can send a response signal corresponding to the heartbeat signal to the electronic equipment.
Under the condition that the electronic equipment successfully receives the response signal sent by the adsorption accessory, the success of the response of the adsorption accessory based on the heartbeat signal is determined, and then the adsorption accessory is still adsorbed and fixed on the electronic equipment. In this case, the electronic device may detect again whether to communicate with the adsorbing accessory within the preset time period, and if the electronic device does not communicate with the adsorbing accessory within the preset time period, continue to execute the above process of sending the heartbeat signal.
If the electronic device does not receive the response signal sent by the adsorbing accessory, and it is determined that the adsorbing accessory fails to respond based on the heartbeat signal, the adsorbing accessory is considered to be detached from the electronic device, and the adsorbing detection is performed again, that is, the first signal is sent to the transmission line 1813 through the controller 190 again, so as to detect whether the adsorbing accessory is adsorbed on the electronic device according to the second signal corresponding to the first signal received by the controller 190.
It can be understood that when the electronic device sends a heartbeat signal to the adsorbing accessory and the adsorbing accessory sends a response signal corresponding to the heartbeat signal to the electronic device, the electronic device performs data interaction by adopting a communication module, a wireless charging coil or a pogpin interface, which is not limited by the embodiment of the application.
In some scenarios, the adsorption detection assembly 180 provided in the electronic device may implement adsorption detection for one adsorption accessory. In other scenarios, the adsorption detection component 180 set in the electronic device may also implement adsorption detection on a plurality of adsorption accessories, for example, the adsorption detection component 180 set in the electronic device may implement adsorption detection on a stylus and a wireless keyboard respectively.
Fig. 12 is a schematic flow chart of an adsorption detection method according to an embodiment of the present application, where the adsorption detection method may be applied to the adsorption detection system shown in fig. 7 and described above, and the adsorption detection system includes an electronic device and an adsorption accessory. The electronic device includes a controller 190 and an adsorption detection assembly 180 electrically connected to the controller 190, where the adsorption detection assembly 180 includes a circuit board 181, and a transmission line 1813 is disposed on the circuit board 181. The suction fitting includes a conductive sheet 400, and in the case where the suction fitting is sucked onto the electronic device, there is an overlapping area of the orthographic projection of the conductive sheet 400 on the circuit board 181 and the transmission line 1813. The adsorption detection method specifically comprises the following steps:
At step 1201, the controller sends a first signal to the transmission line.
The transmit pin of the controller 190 may periodically send a first signal, which may be a step signal, or may be a triangular or sine wave signal, to the transmission line 1813.
In step 1202, the controller receives a second signal corresponding to the first signal.
The receiving pin of the controller 190 may receive a second signal corresponding to the first signal. Wherein, in the case that the adsorbing accessory is not adsorbed on the electronic device, the second signal may be the first signal; in the case where the adsorbing accessory is adsorbed on the electronic device, the second signal may include a first signal and a reflected signal, the reflected signal being a signal of the first signal reflected back via the transmission line 1813.
In step 1203, the controller detects whether the adsorbing accessory is adsorbed on the electronic device according to the second signal.
Since the second signal received by the controller 190 when the adsorbing accessory is adsorbed on the electronic device is different from the second signal received by the controller 190 when the adsorbing accessory is not adsorbed on the electronic device, the controller 190 can detect whether the adsorbing accessory is adsorbed on the electronic device according to the second signal.
In some embodiments, the controller 190 detects whether the suction fitting is suctioned to the electronic device according to the voltage waveform of the second signal.
Taking the example that the first signal comprises a step signal. In one implementation, the controller 190 detects whether the voltage waveform of the second signal includes a falling edge and a rising edge; in the case where the voltage waveform of the second signal includes a falling edge and a rising edge, the controller 190 determines that the adsorbing accessory is adsorbed on the electronic device; in the case where the voltage waveform of the second signal does not include a falling edge and a rising edge, the controller 190 determines that the suction fitting is not suctioned onto the electronic device.
Taking the example that the first signal comprises a step signal. In another implementation, the controller 190 detects whether the voltage waveform of the second signal includes a falling edge and a rising edge within a preset period of time; in the case that the voltage waveform within the preset period includes a falling edge and a rising edge, the controller 190 determines that the adsorbing accessory is adsorbed on the electronic device; in the case where the voltage waveform for the preset period does not include the falling edge and the rising edge, the controller 190 determines that the adsorbing accessory is not adsorbed on the electronic device.
In the case where it is determined that the suction attachment is suctioned to the electronic device according to the second signal, the following step 1204 is performed; in the case where it is determined that the suction attachment is not suctioned to the electronic device based on the second signal, the above-described step 1201 is performed again, that is, the electronic device sends the first signal to the transmission line 1813 again through the controller 190 to perform suction detection of the electronic device and the suction attachment.
In step 1204, the electronic device communicates with the suction fitting with a handshake if it is determined that the suction fitting is suctioned to the electronic device.
In step 1205, the electronic device determines whether the handshake communication was successful.
In the event that the handshake communication is successful, the following step 1206 is performed; in the case of a handshake failure, the above step 1201 is performed again, that is, the electronic device sends the first signal to the transmission line 1813 again through the controller 190, so as to perform the suction detection of the electronic device and the suction attachment.
In step 1206, the electronic device communicates with the suction fitting if the handshake communication is successful.
In step 1207, the electronic device sends a heartbeat signal to the adsorbing accessory when the electronic device does not communicate with the adsorbing accessory within the preset time period.
In step 1208, the electronic device determines whether the adsorbing accessory is successful based on the heartbeat signal response.
In the case where the suction attachment fails in response to the heartbeat signal, the above-described step 1201 is performed again, that is, the electronic device sends the first signal to the transmission line 1813 again through the controller 190, so that suction detection of the electronic device and the suction attachment is performed.
In the case that the adsorbing accessory is successful in response to the heartbeat signal, the electronic device detects again whether to communicate with the adsorbing accessory within a preset period of time, so that in the case that the electronic device does not communicate with the adsorbing accessory within the preset period of time, the above-mentioned step 1207 is executed again.
In other embodiments, the circuit board 181 is provided with a plurality of transmission lines 1813, and the adsorbing accessory includes a plurality of conductive sheets 400; in the case that the suction fitting is suctioned to the electronic device, there is an overlapping area of the orthographic projection of each conductive sheet 400 on the circuit board 181 and the at least one transmission line 1813. In this case, the step 1201 includes: the controller 190 sends a first signal to each of the plurality of transmission lines 1813; the step 1202 includes: the controller 190 receives a second signal corresponding to each of the first signals; step 1203 includes: the controller 190 commonly detects whether the adsorbing accessory is adsorbed on the electronic device according to the received plurality of second signals. Thus, the accuracy of the adsorption detection of the electronic equipment and the adsorption fittings can be improved.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods and apparatus (systems) according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing detailed description of the application has been presented for purposes of illustration and description, and it should be understood that the foregoing is by way of illustration and description only, and is not intended to limit the scope of the application.
Claims (19)
1. An adsorption detection system is characterized by comprising an electronic device and an adsorption accessory;
the electronic equipment comprises a controller and an adsorption detection assembly electrically connected with the controller; the adsorption detection assembly comprises a circuit board, and a transmission line is arranged on the circuit board;
The adsorption fittings comprise conductive sheets; under the condition that the adsorption accessory is adsorbed on the electronic equipment, an overlapping area exists between the orthographic projection of the conducting strip on the circuit board and the transmission line;
The controller is used for sending a first signal to the transmission line, receiving a second signal corresponding to the first signal and detecting whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal;
In the case that the adsorbing accessory is not adsorbed on the electronic equipment, the characteristic impedance of the transmission line is not changed, so that the second signal does not comprise a reflected signal corresponding to the first signal; under the condition that the adsorption accessory is adsorbed on the electronic equipment, the characteristic impedance of the transmission line is changed, so that the second signal comprises a reflection signal corresponding to the first signal; the reflected signal is a signal reflected back by the first signal via the transmission line; the first signal is not sent to the suction fitting and the second signal is not sent by the suction fitting;
the controller comprises a transmitting pin and a receiving pin; the transmitting pin is used for transmitting the first signal to the transmission line; the receiving pin is used for receiving the second signal.
2. The system of claim 1, wherein the controller is configured to detect whether the suction fitting is suctioned to the electronic device based on a voltage waveform of the second signal.
3. The system of claim 2, wherein the first signal comprises a step signal;
The controller is specifically configured to detect whether a voltage waveform of the second signal includes a falling edge and a rising edge; the method further includes determining that the suction fitting is suctioned onto the electronic device if the voltage waveform of the second signal includes a falling edge and a rising edge, and determining that the suction fitting is not suctioned onto the electronic device if the voltage waveform of the second signal does not include a falling edge and a rising edge.
4. The system of claim 2, wherein the first signal comprises a step signal;
The controller is specifically configured to detect whether a voltage waveform of the second signal in a preset time period includes a falling edge and a rising edge; and determining that the adsorbing accessory is adsorbed on the electronic equipment when the voltage waveform in the preset time period comprises a falling edge and a rising edge, and determining that the adsorbing accessory is not adsorbed on the electronic equipment when the voltage waveform in the preset time period does not comprise the falling edge and the rising edge.
5. The system of claim 1, wherein the adsorption detection assembly further comprises a first resistor and a second resistor;
the first end of the first resistor is connected with the transmitting pin, and the second end of the first resistor is connected with the first end of the transmission line;
The first end of the second resistor is connected with the second end of the transmission line, and the second end of the second resistor is connected with the grounding end;
the receiving pin is connected with the second end of the first resistor.
6. The system of claim 1, wherein a plurality of said transmission lines are provided on said circuit board, said suction fitting comprising a plurality of said conductive strips; in the case that the adsorption fitting is adsorbed on the electronic equipment, an overlapping area exists between the orthographic projection of each conducting strip on the circuit board and at least one transmission line;
The controller is specifically configured to send first signals to the plurality of transmission lines, receive second signals corresponding to each of the first signals, and jointly detect whether the adsorption accessory is adsorbed on the electronic device according to the received second signals.
7. The system of claim 6, wherein the orthographic projections of the plurality of conductive strips on the circuit board are offset along the extending direction of the transmission line in the case that the adsorbing fitting is adsorbed on the electronic device.
8. The system of claim 6, wherein the conductive strips are disposed in a one-to-one correspondence with the transmission lines.
9. The system of claim 1, wherein the conductive sheet comprises a metal sheet.
10. The system of claim 1, wherein the circuit board comprises a ground layer, a dielectric layer, and a trace layer disposed in a stack, the ground layer and trace layer being on either side of the dielectric layer; the wiring layer comprises the transmission line;
And under the condition that the adsorption accessory is adsorbed on the electronic equipment, the conducting strip is positioned on one side of the wiring layer far away from the medium layer.
11. The system of any one of claims 1 to 10, wherein the electronic device is configured to communicate with the suction fitting with a handshake if the suction fitting is determined to be suctioned onto the electronic device; and sending a first signal to the transmission line through the controller again in case of handshake communication failure, and communicating with the suction fitting in case of handshake communication success.
12. The system of claim 11, wherein the electronic device is configured to send a heartbeat signal to the suction fitting if communication with the suction fitting is not performed for a preset period of time; and when the response of the adsorption accessory based on the heartbeat signal fails, sending a first signal to the transmission line through the controller again, and when the response of the adsorption accessory based on the heartbeat signal succeeds, detecting whether communication with the adsorption accessory is carried out within the preset time period again.
13. An adsorption detection method is characterized by being applied to an adsorption detection system, wherein the adsorption detection system comprises electronic equipment and an adsorption accessory; the electronic equipment comprises a controller and an adsorption detection assembly electrically connected with the controller, wherein the adsorption detection assembly comprises a circuit board, and a transmission line is arranged on the circuit board; the adsorption accessory comprises a conductive sheet, and in the case that the adsorption accessory is adsorbed on the electronic equipment, an overlapping area exists between the orthographic projection of the conductive sheet on the circuit board and the transmission line; the method comprises the following steps:
The controller sends a first signal to the transmission line;
the controller receives a second signal corresponding to the first signal;
the controller detects whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal;
Wherein, in the case that the adsorbing accessory is not adsorbed on the electronic device, the characteristic impedance of the transmission line is not changed, so that the second signal does not include a reflected signal corresponding to the first signal; under the condition that the adsorption accessory is adsorbed on the electronic equipment, the characteristic impedance of the transmission line is changed, so that the second signal comprises a reflection signal corresponding to the first signal; the reflected signal is a signal reflected back by the first signal via the transmission line; the first signal is not sent to the suction fitting and the second signal is not sent by the suction fitting;
the controller comprises a transmitting pin and a receiving pin; the transmitting pin is used for transmitting the first signal to the transmission line; the receiving pin is used for receiving the second signal.
14. The method of claim 13, wherein the controller detecting whether the suction fitting is suctioned to the electronic device based on the second signal comprises:
and the controller detects whether the adsorption accessory is adsorbed on the electronic equipment according to the voltage waveform of the second signal.
15. The method of claim 14, wherein the first signal comprises a step signal; the controller detects whether the adsorbing accessory is adsorbed on the electronic equipment according to the voltage waveform of the second signal, and the controller comprises:
the controller detects whether the voltage waveform of the second signal comprises a falling edge and a rising edge;
in the event that the voltage waveform of the second signal includes a falling edge and a rising edge, the controller determines that the suction fitting is suctioned onto the electronic device;
In the case where the voltage waveform of the second signal does not include a falling edge and a rising edge, the controller determines that the attraction fitting is not attracted to the electronic device.
16. The method of claim 14, wherein the first signal comprises a step signal; the controller detects whether the adsorbing accessory is adsorbed on the electronic equipment according to the voltage waveform of the second signal, and the controller comprises:
the controller detects whether the voltage waveform of the second signal in a preset time period comprises a falling edge and a rising edge;
In the case that the voltage waveform within the preset time period comprises a falling edge and a rising edge, the controller determines that the adsorption accessory is adsorbed on the electronic equipment;
In the case where the voltage waveform within the preset period does not include a falling edge and a rising edge, the controller determines that the suction fitting is not suctioned on the electronic device.
17. The method of claim 13, wherein a plurality of said transmission lines are provided on said circuit board, and said suction fitting comprises a plurality of said conductive strips; in the case that the adsorption fitting is adsorbed on the electronic equipment, an overlapping area exists between the orthographic projection of each conducting strip on the circuit board and at least one transmission line;
the controller sends a first signal to the transmission line, comprising:
The controller sends first signals to a plurality of transmission lines;
Correspondingly, the controller receives a second signal corresponding to the first signal, and the method comprises the following steps:
The controller receives a second signal corresponding to each first signal;
Correspondingly, the controller detects whether the adsorption accessory is adsorbed on the electronic equipment according to the second signal, and the controller comprises:
The controller detects whether the adsorbing accessory is adsorbed on the electronic equipment or not according to the received second signals.
18. The method of any one of claims 13 to 17, further comprising, after the controller detects whether the suction fitting is suctioned onto the electronic device according to the second signal:
in the case that the adsorption accessory is adsorbed on the electronic equipment, the electronic equipment is communicated with the adsorption accessory in a handshake way;
In case of a handshake communication failure, the electronic device sends a first signal to the transmission line again through the controller;
and under the condition that handshake communication is successful, the electronic equipment communicates with the adsorption accessory.
19. The method of claim 18, further comprising, after the electronic device communicates with the suction fitting:
Under the condition that the electronic equipment does not communicate with the adsorption accessory within a preset duration, the electronic equipment sends a heartbeat signal to the adsorption accessory;
In the case that the adsorbing accessory fails to answer based on the heartbeat signal, the electronic equipment sends a first signal to the transmission line through the controller again;
And under the condition that the adsorption accessory responds successfully based on the heartbeat signal, the electronic equipment detects whether communication is carried out with the adsorption accessory within the preset time length.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311730339.2A CN117406290B (en) | 2023-12-15 | 2023-12-15 | Adsorption detection system and adsorption detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311730339.2A CN117406290B (en) | 2023-12-15 | 2023-12-15 | Adsorption detection system and adsorption detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117406290A CN117406290A (en) | 2024-01-16 |
CN117406290B true CN117406290B (en) | 2024-04-19 |
Family
ID=89487564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311730339.2A Active CN117406290B (en) | 2023-12-15 | 2023-12-15 | Adsorption detection system and adsorption detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117406290B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11180250A (en) * | 1997-12-19 | 1999-07-06 | Naldec Kk | Seat belt mounting detecting device |
JP2011145213A (en) * | 2010-01-15 | 2011-07-28 | Takenaka Komuten Co Ltd | System, device and method for detecting metal |
CN107579754A (en) * | 2017-09-15 | 2018-01-12 | 联想(北京)有限公司 | Communication terminal and its control method |
KR20180033845A (en) * | 2016-09-26 | 2018-04-04 | 삼성전자주식회사 | Electronic device and method of operating the same |
WO2021141282A1 (en) * | 2020-01-09 | 2021-07-15 | 삼성전자 주식회사 | Electronic device and method for quickly executing wireless power sharing function |
CN113220144A (en) * | 2021-03-15 | 2021-08-06 | 荣耀终端有限公司 | Touch control pen |
CN215932496U (en) * | 2021-08-03 | 2022-03-01 | 广州视源电子科技股份有限公司 | Interactive tablet |
CN219737650U (en) * | 2022-09-09 | 2023-09-22 | 荣耀终端有限公司 | Testing device and signal testing system |
CN116931746A (en) * | 2022-04-06 | 2023-10-24 | 荣耀终端有限公司 | Fitting detection system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210109916A (en) * | 2020-02-28 | 2021-09-07 | 삼성전자주식회사 | Wireless charging device and method for charging electronic device using the same |
-
2023
- 2023-12-15 CN CN202311730339.2A patent/CN117406290B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11180250A (en) * | 1997-12-19 | 1999-07-06 | Naldec Kk | Seat belt mounting detecting device |
JP2011145213A (en) * | 2010-01-15 | 2011-07-28 | Takenaka Komuten Co Ltd | System, device and method for detecting metal |
KR20180033845A (en) * | 2016-09-26 | 2018-04-04 | 삼성전자주식회사 | Electronic device and method of operating the same |
CN107579754A (en) * | 2017-09-15 | 2018-01-12 | 联想(北京)有限公司 | Communication terminal and its control method |
WO2021141282A1 (en) * | 2020-01-09 | 2021-07-15 | 삼성전자 주식회사 | Electronic device and method for quickly executing wireless power sharing function |
CN113220144A (en) * | 2021-03-15 | 2021-08-06 | 荣耀终端有限公司 | Touch control pen |
CN215932496U (en) * | 2021-08-03 | 2022-03-01 | 广州视源电子科技股份有限公司 | Interactive tablet |
CN116931746A (en) * | 2022-04-06 | 2023-10-24 | 荣耀终端有限公司 | Fitting detection system |
CN219737650U (en) * | 2022-09-09 | 2023-09-22 | 荣耀终端有限公司 | Testing device and signal testing system |
Also Published As
Publication number | Publication date |
---|---|
CN117406290A (en) | 2024-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113268173B (en) | Touch control pen and electronic equipment assembly | |
EP3734948A1 (en) | Electronic device including interposer | |
CN116466867B (en) | Handwriting drawing method and device, electronic equipment and readable storage medium | |
CN106055127A (en) | Active pen with bidirectional communication | |
CN113885716B (en) | Touch control pen and electronic equipment assembly | |
CN107967085B (en) | Display device | |
US11387675B2 (en) | Wireless charging assembly and preparation method thereof, terminal device and wireless charging method thereof | |
EP4270161A1 (en) | Electronic apparatus and method for processing input from stylus pen in electronic apparatus | |
CN117406290B (en) | Adsorption detection system and adsorption detection method | |
CN110431518B (en) | Method for outputting touch signal and electronic equipment | |
EP2473013B1 (en) | Adaptive printed circuit board connector and connecting method | |
CN116736989B (en) | Touch pen and control method thereof | |
KR102719818B1 (en) | Electronic device including wireless power transfer | |
CN116339547B (en) | Touch pen pressure value transmission method, electronic equipment and system | |
US20220255353A1 (en) | Electronic device including coil for wireless power transmission | |
CN208078740U (en) | A kind of wireless charging component and terminal device | |
EP3997775B1 (en) | Electronic device for providing wireless charging function and operation method thereof | |
WO2023134408A9 (en) | Information transmission method and apparatus | |
WO2023020022A1 (en) | Stylus connection method and electronic device | |
KR20230057903A (en) | Electronic device and method for testing a cable connect circuit | |
CN116466840A (en) | Distance detection device and touch control system based on distance detection device | |
CN117677924A (en) | Electronic device and method for operating electronic pen |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |