CN104776867B - The determination method and electronic equipment of first object and the second object relative position relation - Google Patents

The determination method and electronic equipment of first object and the second object relative position relation Download PDF

Info

Publication number
CN104776867B
CN104776867B CN201510142356.3A CN201510142356A CN104776867B CN 104776867 B CN104776867 B CN 104776867B CN 201510142356 A CN201510142356 A CN 201510142356A CN 104776867 B CN104776867 B CN 104776867B
Authority
CN
China
Prior art keywords
signal
closed circuit
level signal
signal value
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510142356.3A
Other languages
Chinese (zh)
Other versions
CN104776867A (en
Inventor
高长磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510142356.3A priority Critical patent/CN104776867B/en
Publication of CN104776867A publication Critical patent/CN104776867A/en
Application granted granted Critical
Publication of CN104776867B publication Critical patent/CN104776867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Geophysics And Detection Of Objects (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The present invention discloses the determination method and electronic equipment of a kind of first object and the second object relative position relation, and this method includes:The signal value of the first level signal produced by the first closed circuit of real-time acquisition, and the signal value of the second electrical level signal produced by the second closed circuit is obtained in real time, the signal value of signal value and second electrical level signal based on the first level signal generates status signal after processing of circuit.Whether namely the second object swings around the first object.So without more can efficiently determining position relationship of second object relative to the first object, and it also can accurately determine position relationship of second object relative to the first object.

Description

The determination method and electronic equipment of first object and the second object relative position relation
Technical field
The application is related to electronic technology field, more particularly to a kind of first object and the second object relative position relation are really Determine method and electronic equipment.
Background technology
Currently, door sensor equipment in part judges on off state using Hall element, i.e.,:The magnetic in magnetic field is produced in Hall element Property part can be fixed on the first object, and be powered closed circuit be fixed on the second object, when second the first thing of Objects around A When body is rotated, the conductor part of the closed circuit of energization can be just entered in field region, so that the conductor part being powered hangs down It is straight in external magnetic field by when, electromotive force occurs between magnetic field and two end faces of the sense of current in conductor part, Relative position relation between first object and the second object is assured that out by the electromotive force.
But, because second the first object of Objects around A is swung so that the closed circuit on the second object can repeatedly pass in and out magnetic Field areas, so as to produce interference signal, so result in the accuracy of the relative position for judging the first object and the second object compared with Low the problem of.
The content of the invention
The embodiments of the invention provide the determination method and electronics of a kind of first object and the second object relative position relation Equipment, to solve in the prior art because second the first object of Objects around A is swung so that the closed circuit meeting on the second object Repeatedly turnover field region, so as to produce interference signal, so results in the relative position for judging the first object and the second object Accuracy it is relatively low the problem of.
Its specific technical scheme is as follows:
A kind of determination method of first object and the second object relative position relation, methods described includes:
The signal value of the first level signal produced by the first closed circuit of real-time acquisition, first closed circuit is always In "on" position, first closed circuit is located on first object, and first object is located on the second object By the way that magnetic energy is converted into electric energy so as to changing the signal of first level signal during field region produced by magnetic part Value;
The signal value of second electrical level signal produced by the second closed circuit of real-time acquisition, second closed circuit is always In unpowered state, second closed circuit is located on first object, and first object is located on the second object Magnetic part produced by field region when by kinetic energy converting electrical energy so as to changing the signal value of the second electrical level signal;
Signal value based on first level signal, the second electrical level signal signal value after processing circuit processes Status signal is generated, the status signal is used to characterize the relative position that first object and second object are presently in Relation.
Optionally, the signal value of the first level signal in real time produced by the first closed circuit of acquisition, including:
Detect interim level signal of the conductor part for first closed circuit being powered in the field region Signal value;
The signal value of the interim level signal is inputted to phase inverter, and the value that the phase inverter is exported is as described The signal value of first level signal.
Optionally, the signal value of second electrical level signal in real time produced by the second closed circuit of acquisition, including:
In the conductor part cutting magnetic induction line in the field region for second closed circuit being not powered on, obtain The electromotive force that second closed circuit is converted in the field region by kinetic energy;
Based on the electromotive force produced by second closed circuit, the signal value of the second electrical level signal is obtained.
Optionally, the signal value of signal value, the second electrical level signal based on first level signal is through processing electricity Status signal is generated after the processing of road, including:
The signal value of the signal value of first level signal and the second electrical level signal is inputted to logical sum electricity Road;
When determining first level signal and the second electrical level signal low level, then first shape is generated State signal, the first state characterization second object is closed relative to first object;
When it is high level signal to determine first level signal, then the second status signal, second shape are generated State characterization first object is separated relative to second object.
A kind of electronic equipment, including:
Magnetic part, is arranged on the first object, and the magnetic part is used to produce a field region;
First closed circuit, is arranged on the second object, and first closed circuit is connected with power supply, and continues to keep logical Electricity condition, when second object is relative to first object of which movement, is changed in first closed circuit by magnetic energy The signal value of the first level signal is obtained into electric energy;
Second closed circuit, is arranged on second object, and second closed circuit keeps unpowered state, in institute Electric energy is converted into by kinetic energy when stating the second object relative to first object of which movement, in second closed circuit and obtains The signal value of two level signals;
Process circuit, for the signal value according to first level signal and the signal of the second electrical level signal Value, generates status signal, and the status signal is used to characterize the position that first object and second object are presently in Relation.
Optionally, the process circuit includes:
Reverser, for detecting interim level of the conductor part for the first closed circuit being powered in the field region The signal value of signal, according to the signal value of the interim level signal, obtains the signal value of first level signal;
Logical sum circuit, receives the signal value of first level signal of the phase inverter output, and be not powered on The signal value of second electrical level signal of second closed circuit in the field region.
Optionally, the logical sum circuit, specifically in the signal value and second electrical level according to the first level signal The signal value of signal, it is low level signal to determine first level signal and the second electrical level signal, then generates the One status signal, the first state signal is closed for characterizing second object relative to first object.
Optionally, the logical sum circuit, is additionally operable to, in the signal value according to the first level signal, determine described first Level signal is high level signal, then generates the second status signal, and second status signal is used to characterize second object Relative to first object separation.
In the embodiment of the present invention, by obtaining the first level produced by the first closed circuit on the first object in real time The signal value of signal, and the signal of the second electrical level signal produced by the second closed circuit of the acquisition on the first object in real time Value, then the electronic equipment just can be according to the signal value of the first level signal and the signal value of second electrical level signal through processing Status signal is generated after processing of circuit.The relative position characterized by the status signal between the first object and the second object is closed System, so avoids to detect the accurate of relative position relation between the first object and the second object by the first closed circuit Property it is relatively low the problem of, so as to improve the accuracy that determines the first object and the second object relative position relation.
Brief description of the drawings
Fig. 1 is the flow of a kind of determination method of first object and the second object relative position relation in the embodiment of the present invention Figure;
Fig. 2 is the structural representation of a kind of electronic equipment in the embodiment of the present invention;
Fig. 3 is the structural representation of process circuit in the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of electronic equipment in the embodiment of the present invention;
Fig. 5 is the structural representation of process circuit in the embodiment of the present invention.
Embodiment
In order to solve in the prior art because second the first object of Objects around A is swung so that the closed circuit on the second object Field region can be repeatedly passed in and out, so as to produce interference signal, the relative position for judging the first object and the second object is so resulted in The problem of accuracy put is relatively low.The embodiments of the invention provide a kind of first object and the second object relative position relation really Determine method, this method includes:The signal value of the first level signal produced by the first closed circuit of acquisition, and obtaining in real time in real time The signal value of second electrical level signal produced by second closed circuit, signal value and second electrical level based on the first level signal The signal value of signal generates status signal after processing circuit processes.
Need exist for explanation is seemingly that the first closed circuit is constantly in "on" position, and the first closed circuit is located at On first object, the first object be located at the second object on magnetic part produced by field region when by the way that magnetic energy is converted into Electric energy is so as to change the signal value of the first level signal;Second closed circuit is constantly in unpowered state, the second closed circuit On the first object, the first object be located at the second magnetic part physically produced by field region when, pass through kinetic energy turn Electric energy is changed to change the signal value of second electrical level signal.That is, the first closed circuit can be obtained by Hall effect The signal value of first level signal, then the second closed circuit the signal of second electrical level signal can be obtained by electromagnetic induction Value, then determines the relative position relation between the second object and the first object, that is, second by the two signal values Whether object swings around the first object.So without more can efficiently determining position of second object relative to the first object Relation is put, and also can accurately determine position relationship of second object relative to the first object.
Technical solution of the present invention is described in detail below by accompanying drawing and specific embodiment, it will be appreciated that this hair Particular technique feature in bright embodiment and embodiment is the explanation to technical solution of the present invention, rather than is limited, not In the case of conflict, the particular technique feature in the embodiment of the present invention and embodiment can be mutually combined.
Embodiment one:
It is the determination side of a kind of first object and the second object relative position relation in the embodiment of the present invention as shown in Figure 1 Method, this method includes:
S101, in real time the first level signal produced by the first closed circuit of acquisition signal value;
S102, in real time the second electrical level signal produced by the second closed circuit of acquisition signal value;
S103, the signal value based on the first level signal, signal value life after processing circuit processes of second electrical level signal Into status signal.
Here it is not the temporal sequencing of explanation between S101 and S102.
For first, in embodiments of the present invention, this method is applied in an electronic equipment, as shown in Fig. 2 the electronics is set It is standby to contain the first closed circuit 201, the second closed circuit 202, magnetic part 203 and process circuit (not shown), First closed circuit 201 is arranged on the first object, and the second closed circuit 202 is also disposed on the first object, magnetic part 203 are arranged on the second object, and 202 points of the first closed circuit 201 and the second closed circuit are main part and conductor portion Point, the conductor part can be sheet metal either plain conductor etc..
Magnetic part 203 can produce a field region in the electronic equipment, and it is opposite that the field region is located at two magnetic poles Magnetic original paper between, the conductor part of the conductor part of the first closed circuit 201 and the second closed circuit 202 is all located at this In field region.
When the electronic equipment is under running status, the electronic equipment can obtain the first closed circuit 201 in real time and be produced The signal value of the first raw level signal.Explanation is needed exist for, first closed circuit 201 is connected with a power supply, the electricity Source powers lasting for the first closed circuit 201, in this case, and first closed circuit 201 is constantly in energization shape State.If the conductor part of first closed circuit 201 is in the field region produced by the magnetic part 203, this first An electromotive force will be produced in closed circuit 201.If the conductor part of first closed circuit 201 is not in the field region When, another electromotive force will be maintained in the first closed circuit 201.
In addition, the second closed circuit 202 is the closed circuit being not powered on, if the second object is relative to the first object of which movement When, second closed circuit 202 will also be moved in the field region produced by magnetic part 203, such second closure electricity The conductor part on road 202 will do the motion of cutting magnetic induction line in magnetic field, so as to will be produced in the second closed circuit 202 One induced-current, briefly, is namely based on electromagnetic induction phenomenon, the conductor part of the second closed circuit 202 of the motion An induced-current will be produced in field region.
After the structure shown in specific Fig. 2, when the electronic equipment is under running status, the electronic equipment will be detected The signal value of first level signal of the first closed circuit 201 being powered produced by field region, the first level here The signal value of signal can be the signal value obtained based on Hall effect.Certainly, the electronic equipment can also obtain second in real time The signal value of second electrical level signal produced by closed circuit 202, the signal value of second electrical level signal here can be based on The signal value that electromagnetic induction phenomenon is obtained.One status signal is assured that out by the signal value of the two level signals, This status signal just characterizes the relative position relation that the first object and the second object are presently in.
Specifically, in embodiments of the present invention, in order that the accuracy for the status signal that must be finally given, therefore, In the embodiment of the present invention, the electronic equipment further comprises a process circuit.The process circuit can be based on the first level signal Signal value and the signal of second electrical level signal be worth to status signal, the status signal to obtain process as follows:
First, the electronic equipment can detect the conductor part of the first closed circuit 201 of energization in field region in real time In interim level signal signal value.Here interim level signal just characterizes the conductor portion of first closed circuit 201 Whether induced electromotive force is generated on point, if generate induced electromotive force on the conductor part of first closed circuit 201, Then determine that the first closed circuit 201 is in the field region that magnetic part 203 is produced, if first closed circuit 201 is led When not producing induced electromotive force on body portion, it is determined that the first closed circuit 201 is not in field region.The such as interim electricity The signal value of ordinary mail number can use 0,1 to characterize, and 0, which characterizes the first closed circuit 201, is not in field region, and 1 characterizes First closed circuit 201 is in the field region.
After the signal value of interim level signal is detected, the signal value input value of the interim level signal is handled into electricity In the phase inverter on road, and the value that the phase inverter is exported is used as the signal value of the first level signal.The effect of the phase inverter is exactly Amplitude is reverse, such as, when the signal value of interim level signal is 1, the value obtained after phase inverter is just 0, if When the signal value of interim level signal is 0, the value obtained after phase inverter is just 1, when the phase inverter exports a value, The value that the electronic equipment just exports phase inverter is as the signal value of the first level signal, and the signal value of first level signal is just It is used as the last reference data for judging the first object and the second object relative position relation.
During the electronic equipment detects the signal value of the first level signal, the electronic equipment also closes detection second Close the signal value on circuit 202.Specifically, the second closed circuit 202 being not powered on conductor part in field region During cutting magnetic induction line, the electromotive force that the second closed circuit 202 is converted in field region by kinetic energy is obtained.Implement principle Electromagnetic induction phenomenon is namely based on, as long as during cutting magnetic induction line, electricity is closed second in magnetic field for the conductor part of closed circuit An electromotive force will be produced in road 202.So as to based on electromotive force produced in the second closed circuit 202, obtain second and close Close the signal value of the second electrical level signal on circuit 202.The signal value of the second electrical level signal is in the second closed circuit 202 Electromotive force determines, such as, when producing electromotive force in the second closed circuit 202, the second electrical level in second closed circuit 202 The signal value of signal is just 1, if do not produce electromotive force in the second closed circuit 202, second in the second closed circuit 202 The signal value of level signal is just 0.Second electrical level signal in second closed circuit 202 can be obtained by by above-mentioned method Signal value.
After the signal of the signal value of the first level signal and second electrical level signal is obtained, the electronic equipment is by first The signal value of level signal and the signal of second electrical level signal are input in the logical sum circuit of process circuit, are determining When one level signal and second electrical level signal are all low level signal, then logical sum circuit evolving first state signal, this One status signal characterizes the second object and closed relative to the first object;If it is high level signal to determine the first level signal When, the status signal of logical sum circuit evolving second, the second status signal characterizes the first object and separated relative to the second object.
Specifically, as shown in figure 3, in figure 3, the process circuit contains phase inverter 301 and logical sum circuit 302, when producing electromotive force on the first closed circuit 201 is detected, then illustrate that the first closed circuit 201 is in field region, The first closed circuit 201 is now characterized with signal value 1 to be in field region;If not detected in the first closed circuit 201 During to electromotive force, then illustrate that the first closed circuit 201 is not in field region, the first closure is now characterized with signal value 0 Circuit 201 is not in field region.Then the signal value directly detected in the first closed circuit 201 is inputted to anti-phase Device 301, by phase inverter 301 processing after, 1 sign first closed circuit 201 is not in field region, 0 characterize this first Closed circuit 201 is in field region.The value of the phase inverter 301 output will be output to logical sum circuit 302.Need exist for Illustrate, 1 is high level, and 0 characterizes low level.
Certainly, sent by the signal value that electromotive force whether is produced in the first closed circuit 201 of sign to logical sum circuit During, the electronic equipment can detect induced-current whether is produced in the second closed circuit 202 in real time, that is, base In electromagnetic induction phenomenon, if produce induced-current on the conductor part of second closed circuit 202, the electronic equipment will make Characterized with signal value 1 in second closed circuit 202 and produce sensor circuit, if not producing sense in second closed circuit 202 During induced current, the electronic equipment will use signal value 0 to characterize in second closed circuit of electronics 202 and not produce induced-current.When So 1 here characterizes high level, and 0 characterizes low level.The signal value of the second last closed circuit 202 also inputs to logical sum Circuit 302.
Logical sum circuit 302 receive phase inverter 301 signal value and the second closed circuit 202 signal value it Afterwards, the logical sum circuit 302 will carry out determination processing.If phase inverter 301 export signal value be 1, then illustrate this first The conductor part of closed circuit 201 is not in field region, and now explanation secures the first object of the first closed circuit 201 Separated with the second object for securing magnetic part 203.Such as, the first object is door, and the second object is doorframe, if the The conductor part of one closed circuit 201 is not in field region just illustrating that door is separated with doorframe, that is, in opening In the state of door.
If the signal value of phase inverter output is 0, then illustrate that the conductor part of the first closed circuit 201 is in field regions In domain, now the electronic equipment is further is judged based on the signal value of the second closed circuit 202, if the second closed circuit When 202 signal value is 1, then illustrate that the conductor part of the second closed circuit 202 on the first object is cut in field region Magnetic induction line, that is to say, that the first object is also relative to the second object of which movement.Just such as, the first object is door, and the second object is Doorframe, if the conductor part of the first closed circuit 201 is in field region, and the conductor part of the second closed circuit 202 The cutting magnetic induction line also in field region, then illustrate that door is separated with doorframe, that is, in the state of enabling.
If the signal value of phase inverter output is 0, then illustrate that the conductor part of the first closed circuit 201 is in field regions In domain, now the electronic equipment is further is judged based on the signal value of the second closed circuit 202, if the second closed circuit When 202 signal value is 0, the conductor part of the second closed circuit 202 on the first object is illustrated is not cut in field region Cut the motion of magnetic strength device, then illustrate that the first object and the second object are in closure state, just such as, the first object is door, second Object is doorframe, if the first closed circuit 201 be in field region in, and the second closed circuit 202 conductor part in magnetic Non- cutting magnetic induction line in field areas, then illustrate that door is separated with doorframe, that is, in the state of closing the door.
Generally, in the embodiment of the present invention, produced by the first closed circuit 201 obtained in real time on the first object The signal value of the first raw level signal, and obtain in real time produced by the second closed circuit 202 on the first object the The signal value of two level signals, then the electronic equipment can just be believed according to the signal value and second electrical level of the first level signal Number signal value status signal is generated after processing circuit processes.The first object and the second object are characterized by the status signal Between relative position relation, so avoid to detect phase between the first object and the second object by the first closed circuit The problem of relatively low to the accuracy of position relationship, so as to determine the first object and the second object relative position relation improving Accuracy.
Embodiment two:
In the above-mentioned method of correspondence, the embodiment of the present invention, a kind of electronic equipment is additionally provided, the present invention is illustrated in figure 4 A kind of electronic equipment structural representation in embodiment, the electronic equipment includes:
Magnetic part 401, is arranged on the first object, and the magnetic part 401 is used to produce a field region;
First closed circuit 402, is arranged on the second object, and the first closed circuit 402 is connected with power supply, and continues to keep "on" position, when the second object is relative to the first object of which movement, in the first closed circuit 402 being converted into electric energy by magnetic energy obtains To the signal value of the first level signal;
Second closed circuit 403, is arranged on the second object, and the second closed circuit 403 keeps unpowered state, second Electric energy is converted into by kinetic energy when object is relative to the first object of which movement, in the second closed circuit 403 and obtains second electrical level signal Signal value;
Process circuit 404, for the signal value according to the first level signal and the signal value of second electrical level signal, generation Status signal, the status signal is used to characterize the position relationship that the first object and the second object are presently in.
For first, in embodiments of the present invention, first closed circuit 402 is arranged on the first object, the second closure Circuit 403 is also disposed on the first object, and magnetic part 401 is arranged on the second object, the first closed circuit 201 and second 202 points of closed circuit is main part and conductor part, and the conductor part can be sheet metal either plain conductor etc..
Magnetic part 401 can produce a field region in the electronic equipment, and it is opposite that the field region is located at two magnetic poles Magnetic original paper between, the conductor part of the conductor part of the first closed circuit 402 and the second closed circuit 403 can position In the field region.
When the electronic equipment is under running status, the electronic equipment can obtain the first closed circuit 402 in real time and be produced The signal value of the first raw level signal.Explanation is needed exist for, first closed circuit 402 is connected with a power supply, the electricity Source for the first closed circuit powers 402 by lasting, and in this case, first closed circuit 402 is constantly in energization shape State.If the conductor part of first closed circuit 402 is in the field region produced by the magnetic part, first closure An electromotive force will be produced on the conductor part of circuit 402.If the conductor part of first closed circuit 402 is not in the magnetic field When in region, another electromotive force will be maintained in the first closed circuit 402.
In addition, the second closed circuit 403 is the closed circuit being not powered on, if the second object is relative to the first object of which movement When, the conductor part of second closed circuit 403 will also be moved in the field region produced by magnetic part, and such second The conductor part of closed circuit 403 will do the motion of cutting magnetic induction line in magnetic field, so that in the second closed circuit 403 just An induced-current can be produced, briefly, electromagnetic induction phenomenon is namely based on, the second closed circuit 403 of the motion is led Body portion will produce an induced-current in field region.
When the electronic equipment is under running status, the electronic equipment will detect that the first closed circuit 402 being powered exists The signal value of the first level signal produced by field region, the signal value of the first level signal here can be based on suddenly The signal value that your effect is obtained.Certainly, the electronic equipment can also obtain the second electricity produced by the second closed circuit 403 in real time The signal value of ordinary mail number.One status signal, this state letter are assured that out by the signal value of the two level signals Number just characterize the relative position relation that the first object and the second object are presently in.
Specifically, in embodiments of the present invention, in order that the accuracy for the status signal that must be finally given, therefore, In the embodiment of the present invention, the electronic equipment further comprises a process circuit 404.The process circuit 404 can be based on the first electricity The signal value of ordinary mail number and the signal of second electrical level signal are worth to status signal, the status signal to obtain process as follows:
First, the electronic equipment can detect interim electricity of the first closed circuit 402 of energization in field region in real time The signal value of ordinary mail number.Here interim level signal just characterizes whether generate induced electricity in first closed circuit 402 Kinetic potential, if generate induced electromotive force on the conductor part of first closed circuit 402, it is determined that the first closed circuit In 402 field regions produced in magnetic part, if not producing induction electric on the conductor part of the first closed circuit 402 During gesture, it is determined that the first closed circuit 402 is not in field region.Such as the signal value of the interim level signal can be used 0th, 1 characterize, 0 characterizes the first closed circuit 402 is not in field region, 1 characterizes that the first closed circuit 402 is in should In field region.
After the signal value of interim level signal is detected, the signal value input value of the interim level signal is handled into electricity In the phase inverter on road 404, and the value that the phase inverter is exported is used as the signal value of the first level signal.The effect of the phase inverter is just It is that amplitude is reverse, such as, when the signal value of interim level signal is 1, the value obtained after phase inverter is just 0, if When the signal value for being interim level signal is 0, the value obtained after phase inverter is just 1, and a value is exported in the phase inverter When, the value that the electronic equipment just exports phase inverter is used as the signal value of the first level signal, the signal of first level signal Value is just as the last reference data for judging the first object and the second object relative position relation.
During the electronic equipment detects the signal value of the first level signal, the electronic equipment also closes detection second Close the signal value on circuit 403.Specifically, the second closed circuit 403 being not powered on conductor part in field region During cutting magnetic induction line, the electromotive force that the conductor part of the second closed circuit 403 is converted in field region by kinetic energy is obtained.Tool Body realization principle is namely based on electromagnetic induction phenomenon, as long as during cutting magnetic induction line, electricity is closed second in magnetic field for closed circuit An electromotive force will be produced in road 403.So as to based on electromotive force produced in the second closed circuit 403, obtain second and close Close the signal value of the second electrical level signal on circuit 403.The signal value of the second electrical level signal is in the second closed circuit 403 Electromotive force determines, such as, when producing electromotive force in the second closed circuit 403, the second electrical level in second closed circuit 403 The signal value of signal is just 1, if do not produce electromotive force in the second closed circuit 403, second in the second closed circuit 403 The signal value of level signal is just 0.Second electrical level signal in second closed circuit 403 can be obtained by by above-mentioned method Signal value.
After the signal of the signal value of the first level signal and second electrical level signal is obtained, the electronic equipment is by first The signal value of level signal and the signal of second electrical level signal are input in the logical sum circuit of process circuit 404, it is determined that Go out the first level signal and when second electrical level signal is all low level signal, then logical sum circuit evolving first state signal, The second object of the first state characterization is closed relative to the first object;If it is high level to determine the first level signal During signal, the status signal of logical sum circuit evolving second, the second status signal characterizes the first object relative to the second object point From.
Specifically, as shown in figure 5, in Figure 5, the process circuit contains phase inverter 501 and logical sum circuit 502, when producing electromotive force on the first closed circuit 402 is detected, then illustrate that the conductor part of the first closed circuit 402 is in magnetic In field areas, the first closed circuit 402 is now characterized with signal value 1 and is in field region;If the first closed circuit 402 Conductor part on when being not detected by electromotive force, then illustrate that the first closed circuit 402 is not in field region, now use signal Value 0 is not in field region to characterize the first closed circuit 402.Then it will be directly detected in the first closed circuit 402 Signal value input to phase inverter 501, by phase inverter 501 processing after, 1 sign first closed circuit 402 is not in magnetic field In region, 0, which characterizes first closed circuit 402, is in field region.The value of the phase inverter 501 output will be output to logic With circuit 502.Explanation is needed exist for, 1 is high level, and 0 characterizes low level.
Certainly, the value that electromotive force whether is produced in the first closed circuit 402 of sign is sent to logical sum circuit in detection During 502, the electronic equipment can detect whether produce induced-current in the second closed circuit 403 in real time, also It is to be based on electromagnetic induction phenomenon, if produce induced-current on the conductor part of second closed circuit 403, the electronic equipment Signal value 1 will be used to characterize in second closed circuit 403 and produce sensor circuit, if the conductor of second closed circuit 403 When not producing induced-current on part, the electronic equipment will use signal value 0 to characterize and not produced in second closed circuit of electronics 403 Raw induced-current.Certainly 1 here characterizes high level, and 0 characterizes low level.The signal value of the second last closed circuit 403 Also input value logical sum circuit 502.
Logical sum circuit 502 receive phase inverter 501 signal value and the second closed circuit 403 signal value it Afterwards, the logical sum circuit 502 will carry out determination processing.If phase inverter 501 export signal value be 1, then illustrate this first The conductor part of closed circuit 402 is not in field region, and now explanation secures the first object of the first closed circuit 402 Separated with the second object for securing magnetic part 401.Such as, the first object is door, and the second object is doorframe, if the One closed circuit 402 is not in field region just illustrating that door is separated with doorframe, that is, in the state of enabling.
If the signal value that phase inverter 501 is exported is 0, then illustrate that the conductor part of the first closed circuit 402 is in magnetic In field areas, now the electronic equipment is further is judged based on the signal value of the second closed circuit 403, if the second closure When the signal value of circuit 403 is 1, then illustrate the conductor part of the second closed circuit 403 on the first object in field region Cutting magnetic induction line, that is to say, that the first object is also relative to the second object of which movement.Just such as, the first object be door, the second thing Body is doorframe, if the first closed circuit 402 is in field region, and the second closed circuit 403 is also cut in field region Magnetic induction line is cut, then illustrates that door is separated with doorframe, that is, in the state of enabling.
If the signal value that phase inverter 501 is exported is 0, then illustrate that the conductor part of the first closed circuit 402 is in magnetic In field areas, now the electronic equipment is further is judged based on the signal value of the second closed circuit 403, if the second closure When the signal value of circuit 403 is 0, the conductor part of the second closed circuit 403 on the first object is illustrated is in field region The motion of non-cutting magnetic induction device, then illustrate that the first object is in closure state with the second object, just such as, the first object is door, Second object is doorframe, if the first closed circuit 402 is in field region, and the second closed circuit 403 is in field region In non-cutting magnetic induction line, then illustrate that door is separated with doorframe, that is, in the state of closing the door.
Generally, in the embodiment of the present invention, the electronic equipment includes:Magnetic part 401, is arranged on the first object, The magnetic part 401 is used to produce a field region;First closed circuit 402, is arranged on the second object, the first closed circuit 402 are connected with power supply, and persistently remain powered on state, when the second object is relative to the first object of which movement, the first closed circuit The signal value that electric energy obtains the first level signal is converted into by magnetic energy on 402;Second closed circuit 403, is arranged at the second thing On body, the second closed circuit 403 keeps unpowered state, when the second object is relative to the first object of which movement, the second closure electricity The signal value that electric energy obtains second electrical level signal is converted into by kinetic energy on road 403;Process circuit 404, for according to the first electricity The signal value of ordinary mail number and the signal value of second electrical level signal, generate status signal, and the status signal is used to characterize the first thing The position relationship that body and the second object are presently in.So avoid to detect the first object and by the first closed circuit The problem of accuracy of relative position relation is relatively low between two objects, so as to determine the first object and the second object phase improving To the accuracy of position relationship.
Although having been described for the preferred embodiment of the application, one of ordinary skilled in the art once knows substantially Creative concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to bag Include preferred embodiment and fall into having altered and changing for the application scope.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the application to the application God and scope.So, if these modifications and variations of the application belong to the scope of the application claim and its equivalent technologies Within, then the application is also intended to comprising including these changes and modification.

Claims (5)

1. a kind of determination method of first object and the second object relative position relation, methods described includes:
The signal value of the first level signal produced by the first closed circuit of real-time acquisition, first closed circuit is constantly in "on" position, first closed circuit is located on first object, and first object is located at the magnetic on the second object By the way that magnetic energy is converted into electric energy so as to changing the signal value of first level signal during field region produced by part;
The signal value of second electrical level signal produced by the second closed circuit of real-time acquisition, second closed circuit is constantly in Unpowered state, second closed circuit is located on first object, and first object is located at the magnetic on the second object Property part produced by field region when by kinetic energy converting electrical energy so as to changing the signal value of the second electrical level signal;
Signal value based on first level signal, the signal value of the second electrical level signal are generated after processing circuit processes Status signal, the status signal is used to characterize the relative position pass that first object and second object are presently in System;
The signal value based on first level signal, the second electrical level signal signal value after processing circuit processes Status signal is generated, including:
The signal value of the signal value of first level signal and the second electrical level signal is inputted to logical sum circuit;
When determining first level signal and the second electrical level signal low level, then the first state letter is generated Number, the first state characterization second object is closed relative to first object;
When it is high level signal to determine first level signal, then the second status signal, the second state letter are generated Number characterize first object separates relative to second object.
2. the method as described in claim 1, it is characterised in that obtain the first level letter produced by the first closed circuit in real time Number signal value, including:
Detect the signal of interim level signal of the conductor part for first closed circuit being powered in the field region Value;
The signal value of the interim level signal is inputted to phase inverter, and the value that the phase inverter is exported is used as described first The signal value of level signal.
3. the method as described in claim 1, it is characterised in that obtain the second electrical level letter produced by the second closed circuit in real time Number signal value, including:
In the conductor part cutting magnetic induction line in the field region for second closed circuit being not powered on, obtain described The electromotive force that second closed circuit is converted in the field region by kinetic energy;
Based on the electromotive force produced by second closed circuit, the signal value of the second electrical level signal is obtained.
4. a kind of electronic equipment, it is characterised in that including:
Magnetic part, is arranged on the first object, and the magnetic part is used to produce a field region;
First closed circuit, is arranged on the second object, and first closed circuit is connected with power supply, and persistently remains powered on shape State, when second object is relative to first object of which movement, electricity is converted into first closed circuit by magnetic energy The signal value of the first level signal can be obtained;
Second closed circuit, is arranged on second object, and second closed circuit keeps unpowered state, described the Electric energy is converted into by kinetic energy when two objects are relative to first object of which movement, in second closed circuit and obtains the second electricity The signal value of ordinary mail number;
Process circuit, it is raw for the signal value according to first level signal and the signal value of the second electrical level signal Into status signal, the status signal is used to characterize the position relationship that first object and second object are presently in;
The process circuit includes:
Logical sum circuit, for receiving the signal value of first level signal, and second closed circuit being not powered on The signal value of second electrical level signal in the field region;Believed according to the signal value of the first level signal and second electrical level Number signal value, it is low level signal to determine first level signal and the second electrical level signal, then generates first Status signal, the first state signal is closed for characterizing second object relative to first object;According to first The signal value of level signal, it is high level signal to determine first level signal, then generates the second status signal, described the Two-state signal is separated for characterizing second object relative to first object.
5. electronic equipment as claimed in claim 4, it is characterised in that the process circuit includes:
Reverser, for detecting interim level signal of the conductor part for the first closed circuit being powered in the field region Signal value, according to the signal value of the interim level signal, obtain the signal value of first level signal.
CN201510142356.3A 2015-03-27 2015-03-27 The determination method and electronic equipment of first object and the second object relative position relation Active CN104776867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142356.3A CN104776867B (en) 2015-03-27 2015-03-27 The determination method and electronic equipment of first object and the second object relative position relation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142356.3A CN104776867B (en) 2015-03-27 2015-03-27 The determination method and electronic equipment of first object and the second object relative position relation

Publications (2)

Publication Number Publication Date
CN104776867A CN104776867A (en) 2015-07-15
CN104776867B true CN104776867B (en) 2017-09-29

Family

ID=53618479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142356.3A Active CN104776867B (en) 2015-03-27 2015-03-27 The determination method and electronic equipment of first object and the second object relative position relation

Country Status (1)

Country Link
CN (1) CN104776867B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1456860A (en) * 2002-05-08 2003-11-19 松下电器产业株式会社 Magnetic potential detector
US7242187B1 (en) * 2006-04-18 2007-07-10 Anachip Corporation Hall effect switching circuit and apparatus and method using the same
CN101071071A (en) * 2007-06-16 2007-11-14 昝昕武 Engine throttle position sensing method and sensor
CN201363041Y (en) * 2008-12-09 2009-12-16 武汉钢铁(集团)公司 Limit switch system of electromagnetic induction door
CN101871765A (en) * 2010-05-31 2010-10-27 江苏省电力公司南通供电公司 Linear flexible sensor for electricity-close early-warning of tower crane and yard-crane and device locking
CN201803569U (en) * 2010-10-08 2011-04-20 青岛澳柯玛股份有限公司 Wine cabinet capable of judging open-closed state of door by utilizing Hall switch
CN102549386A (en) * 2009-09-24 2012-07-04 大陆汽车有限责任公司 Method for analyzing signals from an angle sensor
CN102831666A (en) * 2012-09-07 2012-12-19 重庆大学 Recording device for opening state of door and window

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1456860A (en) * 2002-05-08 2003-11-19 松下电器产业株式会社 Magnetic potential detector
US7242187B1 (en) * 2006-04-18 2007-07-10 Anachip Corporation Hall effect switching circuit and apparatus and method using the same
CN101071071A (en) * 2007-06-16 2007-11-14 昝昕武 Engine throttle position sensing method and sensor
CN201363041Y (en) * 2008-12-09 2009-12-16 武汉钢铁(集团)公司 Limit switch system of electromagnetic induction door
CN102549386A (en) * 2009-09-24 2012-07-04 大陆汽车有限责任公司 Method for analyzing signals from an angle sensor
CN101871765A (en) * 2010-05-31 2010-10-27 江苏省电力公司南通供电公司 Linear flexible sensor for electricity-close early-warning of tower crane and yard-crane and device locking
CN201803569U (en) * 2010-10-08 2011-04-20 青岛澳柯玛股份有限公司 Wine cabinet capable of judging open-closed state of door by utilizing Hall switch
CN102831666A (en) * 2012-09-07 2012-12-19 重庆大学 Recording device for opening state of door and window

Also Published As

Publication number Publication date
CN104776867A (en) 2015-07-15

Similar Documents

Publication Publication Date Title
CN110160561B (en) Capacitance type proximity sensor and human body detection method using the same
JP2017219393A (en) Capacitance proximity sensor and door handling device with the capacitance proximity sensor
US9802572B2 (en) Driver circuit for an inductor coil, method for operating an inductor coil and active transmission system with a driver circuit
Hou et al. Diagnosis of broken rotor bar fault in open‐and closed‐loop controlled wye‐connected induction motors using zero‐sequence voltage
CN105229964A (en) Signal processing apparatus
CN103682493A (en) Charging method and electronic equipment
CN103762912A (en) Soft decoding system of resolver
CN106505523A (en) A kind of excitation flow recognition method suitable for Traction networks transformer
CN109324285A (en) A kind of load switch event detecting method and system
Naseri et al. Real‐time open‐switch fault diagnosis in automotive permanent magnet synchronous motor drives based on Kalman filter
CN107196572B (en) One kind being based on permanent-magnetic synchronous motor rotor initial position detection device and method
US10218220B2 (en) Wireless power transmitter and method of controlling the same
CN104776867B (en) The determination method and electronic equipment of first object and the second object relative position relation
CN105021992B (en) A kind of method and device of prompting mobile terminal charging
CN106253789B (en) The zero passage method of sampling of single phase induction motor inverse electromotive force
CN111624481B (en) Signal detection method, corresponding circuit, equipment and system
Lin et al. Two‐vector‐based modeless predictive current control for four‐switch inverter‐fed synchronous reluctance motors emulating the six‐switch inverter operation
JP2020119726A (en) Capacitive proximity sensor
US5877706A (en) Ferromagnetic object detector
CN105356775B (en) A kind of method and device for modulating three-level inverter SVPWM
US9280192B2 (en) Programmable power supply
CN105629183A (en) Three-phase power supply detection device, system and method
JP2017125722A (en) Current detection device
CN110323834A (en) Line switching control system, method and apparatus
Chen et al. Wire Rope Weak Defect Signal Processing Methods Based on Improved SVD and Phase Space Reconstruction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant