CN108694825A - Electronic equipment, sensing system, controller and sensor unit - Google Patents

Electronic equipment, sensing system, controller and sensor unit Download PDF

Info

Publication number
CN108694825A
CN108694825A CN201810155227.1A CN201810155227A CN108694825A CN 108694825 A CN108694825 A CN 108694825A CN 201810155227 A CN201810155227 A CN 201810155227A CN 108694825 A CN108694825 A CN 108694825A
Authority
CN
China
Prior art keywords
signal
priority
usual
control signal
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810155227.1A
Other languages
Chinese (zh)
Inventor
酒井雄二
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Industrial Devices SUNX Co Ltd
Original Assignee
Panasonic Electric Works SUNX Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Electric Works SUNX Co Ltd filed Critical Panasonic Electric Works SUNX Co Ltd
Publication of CN108694825A publication Critical patent/CN108694825A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • H04Q9/14Calling by using pulses
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention is for the purpose of shortening the response time to controlling signal.Sensing system has the communication unit (10) and multiple sensors (20) as controller.Each sensor (20) has the sensor amplifier (21) and sensing head (22) as sensor unit.Each sensor amplifier (21) is connected in series with communication unit (10).The CPU of communication unit (10) sends control signal.It includes initial pulse, priority signal, usual signal to control signal.Priority signal includes multiple priority signals.The state for the priority signal that the CPU of sensor amplifier 21 is included according to priority signal, loopback " current value " corresponding with the order of each priority signal, " maximum value ", " minimum value ", " average value ".

Description

Electronic equipment, sensing system, controller and sensor unit
Technical field
The present invention relates to electronic equipment, sensing system, controller and sensor units.
Background technology
In the past, the electronic equipment for being connected with multiple equipment carries out the communication of control signal, response signal etc. between devices. For example, having, in measurement, whether there is or not carry out letter between the sensor and controller that detect object, the height, the thickness that detect object etc. Number transmitting-receiving sensing system (referring for example to patent document 1).
Existing technical literature
Patent document
Patent document 1:Japanese Unexamined Patent Publication 2004-295555 bulletins
Invention content
The subject that the invention solves
But in such as above-mentioned electronic equipment, the response of the communication of equipment room sometimes expends the time.For example, controller It is sent to sensor using the control command for controlling sensor as control signal, sensor resolve command simultaneously will be to the sound of the order Induction signal is sent to controller.For example, when the order of transmission increases due to the multifunction of equipment, then need in the sensor It is used for the time of resolve command, is postponed to the transmission of response signal.
The present invention was completed to solve the above problem, and its object is to shorten the response time to controlling signal.
Solution for solving the problem
The electronic equipment of the above subject is solved with the 1st electronic device for sending control signal and is sent to control letter Number response signal the 2nd electronic device, it is described control signal include priority signal and usual signal at least one party, it is described Priority signal includes multiple signals, the 1st life that each signal is indicated with the 1st electronic device to the 2nd electronic device respectively It enables and corresponding to, the usual signal includes at least one train of signal, and the state of the train of signal is according to the 1st electronic device to institute It states the 2nd order of the 2nd electronic device instruction and sets, the 2nd electronic device is receiving the institute for including the priority signal Each signal for being included with the priority signal in the case of stating control signal respectively correspondingly sends response signal, is receiving Including the train of signal of the usual signal is converted to code in the case of the control signal of the usual signal, and differentiate The 2nd order corresponding with the code, executes processing corresponding with the 2nd order.
According to this constitution, the state for multiple signals that the 2nd electronic device is included according to priority signal, and according to each letter Number corresponding 1st order sends response signal.In addition, the train of signal of usual signal is converted to code by the 2nd electronic device, and sentence 2nd order not corresponding with the code sends response signal according to the 2nd order determined.Therefore, the priority signal the case where Under, the processing such as code conversion, therefore the response pair the 1st order corresponding with priority signal need not be carried out as usual signal Time shortens.
In above-mentioned electronic equipment preferably, described in the priority signal included by the 1st electronic device Multiple signals are sent with defined sequence.
According to this constitution, the corresponding signal of the 2nd electronic device only confirms with priority signal is included the sequence of multiple signals State, just can determine that the 1st order whether be designated.
In above-mentioned electronic equipment preferably, the 1st electronic device by the priority signal included it is multiple A signal in signal is set as the 1st state, and other signals are set as the 2nd state, the 2nd electronic device base Response signal is sent in the signal of the 1st state.
According to this constitution, because one in multiple signals that priority signal is included is the 1st state, can send out immediately The response signal corresponding with the 1st order for sending the signal for the 1st state that has confirmed that, to which the response time shortens.
In above-mentioned electronic equipment preferably, the control signal includes initial pulse, the priority signal successively And the usual signal.
According to this constitution, the 2nd electronic device receives priority signal since initial pulse on defined opportunity, therefore can be at this Machine grasps the state of priority signal, and can send response signal.
In above-mentioned electronic equipment preferably, the 1st electronic device send the marking signal comprising the 1st state and Including control signal including the priority signal or the marking signal comprising the 1st state and the usual signal Control signal.
According to this constitution, the processing to the processing of priority signal and to usual signal can be switched according to marking signal.
Above-mentioned electronic equipment is preferably, and multiple 2nd electronic devices are connected with for the 1st electronic device, multiple There is 2nd electronic device mutually different channel number, the 1st electronic device will notify the 1st order or institute The channel number for stating the 2nd electronic device of the 2nd order is sent in a manner of being contained in the control signal.
According to this constitution, in the electronic equipment for being connected with multiple 2nd electronic devices, multiple 2nd electronic devices can be shortened The respective response time.
The sensing system for solving the above subject has the controller for sending control signal and sends the sound to the control signal The sensor unit of induction signal, the control signal include at least one party in priority signal and usual signal, the preferential letter Number include multiple signals, each signal is corresponding with the 1st order that the controller indicate to the sensor unit respectively, it is described lead to Regular signal includes at least one train of signal, what the state of the train of signal was indicated according to the controller to the sensor unit 2nd order and set, the sensor unit in the case where receiving the control signal comprising the priority signal and Each signal that the priority signal is included respectively correspondingly sends response signal, is receiving the institute for including the usual signal It states and the train of signal of the usual signal is converted into code in the case of controlling signal, and differentiate the corresponding with the code the 2nd Order executes processing corresponding with the 2nd order.
According to this constitution, the state for multiple signals that sensor unit is included according to priority signal, and according to each letter Number corresponding 1st order sends response signal.In addition, the train of signal of usual signal is converted to code by sensor unit, and sentence 2nd order not corresponding with the code sends response signal according to the 2nd order determined.Therefore, pair corresponding with priority signal The 1st order response time shorten.
The sensor unit for solving the above subject is connected to the controller for sending control signal, sends to the control signal Response signal, it is described control signal include priority signal and usual signal at least one party, the priority signal include it is more A signal, each signal is corresponding with the 1st order that the controller is indicated to the sensor unit respectively, the usual signal packet Containing at least one train of signal, the state of the train of signal is ordered according to the 2nd that the controller is indicated to the sensor unit And set, the sensor unit in the case where receiving the control signal comprising the priority signal with it is described preferential Each signal that signal is included respectively correspondingly sends response signal, believes receiving the control comprising the usual signal The train of signal of the usual signal is converted into code in the case of number, and differentiates the 2nd order corresponding with the code, is executed Processing corresponding with the 2nd order.
According to this constitution, the state for multiple signals that sensor unit is included according to priority signal, and according to each letter Number corresponding 1st order sends response signal.In addition, the train of signal of usual signal is converted to code by sensor unit, and sentence 2nd order not corresponding with the code sends response signal according to the 2nd order determined.Therefore, pair corresponding with priority signal The 1st order response time shorten.
The controller for solving the above subject is connected to the sensor unit checked inspection object, and control is believed It number is sent to the sensor unit, the sensor unit sends the response signal to the control signal, and the control is believed Number comprising at least one party in priority signal and usual signal, the priority signal includes multiple signals, each signal respectively with institute It states the 1st order that controller is indicated to the sensor unit to correspond to, the usual signal includes at least one train of signal, described The state of train of signal is set according to the 2nd order that the controller is indicated to the sensor unit.
According to this constitution, the shape for multiple signals that the sensor unit for receiving control signal is included according to priority signal State, and response signal is sent according to the 1st order corresponding with each signal.In addition, sensor unit is by the train of signal of usual signal Code is converted to, and differentiates the 2nd order corresponding with the code, response signal is sent according to the 2nd order determined.Therefore, Response time shortening pair the 1st order corresponding with priority signal.
Invention effect
Electronic equipment, sensing system, controller and sensor unit according to the present invention can shorten to controlling signal Response time.
Description of the drawings
Fig. 1 is the schematic diagram of sensing system.
Fig. 2 is the block diagram of communication unit and sensor.
Fig. 3 (a) is the definition graph for controlling signal, and Fig. 3 (b) is in response to the definition graph of signal.
Fig. 4 (a) is the definition graph of priority signal, and Fig. 4 (b) is the definition graph of order and priority signal.
Fig. 5 is the definition graph of order and usual signal.
Fig. 6 is the flow chart for the action for showing communication unit.
Fig. 7 is the flow chart for the action for showing sensor amplifier.
Fig. 8 is the definition graph of other control signal.
Specific implementation mode
Hereinafter, one embodiment of explanation.
As shown in Figure 1, sensing system has communication unit 10 and multiple (being in Fig. 1 four) sensors as controller 20.Each sensor 20 has the sensor amplifier 21 and sensing head 22 as sensor unit.Each sensor amplifier 21 with communicate Unit 10 is connected in series with.
There is communication unit 10 connector portion 10a, connector portion 10a to be connected to upper equipment 100.Upper equipment 100 E.g. programmable controller (PC).PC (PC) etc. can also be used as upper equipment 100.Connector portion 10a For connecting other communication units.That is, being directed to upper equipment 100, it is connected in series with using connector portion 10a multiple Communication unit.Maximum quantity (the example for the sensor 20 that can be connected directly to communication unit 10 is set in communication unit 10 Such as 15).By the way that multiple communication units are connected to upper equipment 100, sensed with multiple (16 or more) so as to constitute The sensing system of device.
As shown in Fig. 2, communication unit 10 has as the CPU11 of control device, memory 12, upper communication unit 13, behaviour Make portion 14, sending part 15, receiving part 16.
CPU11 is communicated via upper communication unit 13 with upper equipment 100.Upper equipment 100 sends various control commands.It is upper to set Standby 100 control commands sent include for making each sensor 20 send the order of measurement result, for being set to each sensor 20 Surely the order etc. of data is set.In addition, the control command that upper equipment 100 is sent is, for example, 10 0 kinds.
Sending part 15 and receiving part 16 with the sensor amplifier 21 being adjacently arranged with the communication unit 10 for communicating.Example Such as, sending part 15 and receiving part 16 are the hair pass element and photo detector that can carry out optic communication.In addition it is also possible to via connector (such as stacking connector) is communicated with adjacent sensor amplifier 21.
CPU11 sends control signals to Sense Amplification based on the order received from upper equipment 100, via sending part 15 Device 21.CPU11 receives response signal by receiving part 16 from sensor amplifier 21.Also, CPU11 is based on response signal to upper Equipment 100 sends determination data etc..
Sensor 20 has sensor amplifier 21 and sensing head 22.Sensor amplifier 21 is connected to communication unit 10.
Sensing head 22 has light-projecting component 41 and photo detector 42.Sensor 20 is, for example, displacement transducer.Sensing head 22 has Main shaft has the gauge head contacted with detection object on the top of the main shaft.Main shaft according to detection object shape (thickness, The bumps on surface) and move.Sensing head 22 has the multiple light-projecting components 41 and and light projector that the moving direction along main shaft arranges Multiple photo detectors 42 that element 41 is relatively arranged.From light-projecting component 41 to the light of photo detector 42 according to the movement of main shaft and It is blocked.The amount of movement (shift amount) of main shaft is converted to electric signal by light of the sensing head 22 based on photo detector 42, and should Electric signal output is to sensor amplifier 21.
Sensor amplifier 21 has as the CPU31 of control device, memory 32, receiving part 33, sending part 34, sending part 35, receiving part 36.
CPU31 executes regulated procedure, stores various setting data in memory 32.It includes identification Sense Amplification to set data The identification information (channel number) of device 21.
CPU31 executes regulated procedure, suitably handles the signal exported from sensing head 22, and by measurement result It is stored in memory 32.Measurement result is for example comprising current value, maximum value, minimum value, average value.Receiving part 33 and sending part 34, sending part 35 and receiving part 36 with the equipment being adjacently arranged with sensor amplifier 21 for being communicated.Adjacent equipment It is communication unit 10 shown in FIG. 1, sensor amplifier 21.For example, receiving part 33 and sending part 34, sending part 35 and receiving part 36 It is the hair pass element and photo detector that can carry out optic communication.In addition it is also possible to by connector (such as stacking connector) with Adjacent equipment is communicated.
As shown in Fig. 2, communication unit 10 and sensor amplifier 21 adjacently configure.CPU31 is via receiving part 33 and sends Portion 34 is communicated with communication unit 10.It is put in addition, being adjacently configured with other sensings on the right side of the sensor amplifier 21 Big device.CPU31 is communicated via sending part 35 and receiving part 36 with other sensor amplifiers 21.
The control signal sent from communication unit 10 includes the channel number for specifying each sensor amplifier 21.CPU31, which works as, to be connect When receiving the control signal of the channel number comprising the machine, the processing to the control signal is carried out.On the other hand, CPU31 is connecing In the case of receiving the control signal comprising the channel number different from the channel number of the machine, the control signal is sent.
For example, in fig. 2, the CPU31 of sensor amplifier 21 receives control signal via receiving part 33 from communication unit 10. Whether CPU31 is that the channel number of the machine judges to the channel number of the control signal received.Also, CPU31 for The control signal for including the channel number of the machine carries out the generation of response signal according to the order that the control signal is included, sets The setting etc. of fixed number evidence.CPU31 sends response signal via sending part 34.The response signal via communication unit 10 receiving part 16 are received by CPU11.
On the other hand, channel number is not that the control signal of the channel number of the machine is sent from sending part 35 by CPU31.It should The control signal of transmission is sent to other sensor amplifiers.In addition, CPU31 receives signal via receiving part 36, and via hair Portion 34 is sent to send the signal.It is from the other sensings abutted with the sensor amplifier 21 by 36 received signal of receiving part The response signal that amplifier is sent.
That is, as shown in Figure 1, the multiple sensor amplifiers 21 being connected in series with communication unit 10 will be from communication unit The 10 control signals sent are sent to the sensor amplifier 21 in downstream side (signal from the side that communication unit 10 is sent).Separately Outside, the response signal of each sensor amplifier 21 is sent (towards the side of communication unit 10) to the upstream side, passes through communication unit 10 It receives.
Then, control signal and response signal are illustrated.
Fig. 3 (a) shows that an example of the format of control signal, Fig. 3 (b) show an example of the format of response signal.
Signal CS is controlled by initial pulse SP, priority signal Cm1, usual signal Cm2, channel number CH, control data CDn, terminate pulse EP compositions.Initial pulse SP is, for example, the signal of 1 byte (8 bit).Priority signal Cm1 is, for example, 1 byte Signal.Usual signal Cm2 is, for example, the signal of 3 bytes.Channel number CH is, for example, the signal of 1 byte.Control data CDn The signal of 9 byte in this way.Terminate the signal that pulse EP is, for example, 1 byte.For example, control signal CS is sent as unit.Control Each signal that signal CS processed is included is handled as the data in each region that unit is included.
Response signal RS is by initial pulse SP, priority signal Cm1, usual signal Cm2, channel number CH, response data RDn, terminate pulse EP compositions.Initial pulse SP is, for example, the signal of 1 byte (8 bit).Priority signal Cm1 is, for example, 1 byte Signal.Usual signal Cm2 is, for example, the signal of 3 bytes.Channel number CH is, for example, the signal of 1 byte.Response data RDn The signal of 9 byte in this way.Terminate the signal that pulse EP is, for example, 1 byte.For example, response signal RS is sent as unit.It rings Each signal that induction signal RS is included is handled as the data in each region that unit is included.
The CPU11 of communication unit 10 shown in FIG. 1 sends control signal CS.The CPU11 of communication unit 10 is according to control It orders priority signal Cm1 or usual signal Cm2 is arranged.
Control command includes preemption command and usually order.
Preemption command is the order of requirement real-time.The preemption command is, for example, the order for obtaining measured value.In present embodiment In, preemption command is, for example, " obtaining current value ", " obtaining maximum value ", " obtaining minimum value ", " obtaining average value ".
Usually order is the order that do not seek real-time.The usual order is, for example, by the life of the mode altering of sensor 20 Enable, the order of the action state of setting sensor, to sensor 20 set training data order etc..In the present embodiment, Usually order is " teaching ", " output action pattern ", " timer ", " key-lock " etc..
As shown in Fig. 4 (a), there are four priority signal Cm11, Cm12, Cm13, Cm14 for priority signal Cm1 tools.Each preferential letter Number Cm11~Cm14 is the region of 1 bit respectively, is provided with " 0 " or " 1 " according to preemption command.
Priority signal Cm11 is signal corresponding with preemption command " obtaining current value ".Priority signal Cm12 is and preferentially orders Enable " obtaining maximum value " corresponding signal.Priority signal Cm13 is signal corresponding with preemption command " obtaining minimum value ".Preferentially Signal Cm14 is signal corresponding with preemption command " obtaining average value ".
The CPU11 of communication unit 10 is based on preemption command, and each priority signal Cm11~Cm14 is arranged according to preemption command " 1 " sets reset to other regions.
As shown in Fig. 4 (b), in the case where preemption command is " obtaining current value ", priority signal Cm1 becomes " 1000 ".Equally, In the case where preemption command is " obtaining maximum value ", priority signal Cm1 becomes " 0100 ".Equally, it is " to obtain in preemption command In the case of minimum value ", priority signal Cm1 becomes " 0010 ", preferential to believe in the case where preemption command is " obtaining average value " Number Cm1 becomes " 0001 ".In addition, in Fig. 4 (b), preemption command setting according to the present embodiment in priority signal Cm1 is shown 4 bits.4 bit not corresponding with preemption command is indefinite (" 0 " or " 1 ").
Fig. 5 shows the setting example for the usual signal Cm2 usually ordered.Here, as usual order, say as an example Bright " teaching ", " output action pattern ", " timer ", " key-lock ".Usually order by can identify it is each usually order in a manner of use advise The character string (such as English alphabet of 3 characters) of fixed number amount is set.As shown in figure 5, it is set with " WTH " as " teaching " order, It is set with " RLD " as " output action pattern " order, " RTM " is set with as " timer " order, is ordered as " key-lock " It is set with " RLK ".Each character string is handled by corresponding character code (such as American Standard Code for Information Interchange).
Usual order is converted to character code by the CPU11 of communication unit 10.Also, by the character code (2 system) Each bit is set to usual signal Cm2.For example, " teaching " order is converted to character string " WTH " by the CPU11 of communication unit 10 Character code " 57 ", " 54 ", " 48 " (16 system).Also, the CPU11 of communication unit 10 is by 2 systems of the character code " 01010111 ", " 01010100 ", " 01001000 " are set to usual signal Cm2.
The CPU31 of sensor amplifier 21 shown in Fig. 2 works as the control signal CS received from communication unit 10 for the machine When, the priority signal Cm1, the usual signal Cm2 that are included to control signal CS confirm.Also, sensor amplifier 21 CPU31 is based on preemption command or usually order is handled.In the case of the order to need transmission data, response is sent Signal.
In the response signal RS shown in Fig. 3 (b), the CPU31 of sensor amplifier 21 is by priority signal Cm1, usual signal Cm2 and channel number CH is set as identical as the control signal CS received.In addition, the CPU31 of sensor amplifier 21 will be sent out The data sent are set to response data RDn.Communication can be passed through using priority signal Cm1, usual signal Cm2 and channel number CH It is being sent in which order or being sent from which sensor amplifier 21 that unit 10 judges that response signal RS is in response to.
Fig. 6 shows the processing that the CPU11 of communication unit 10 is executed.
First, in step 51, CPU11 determines whether preemption command when receiving order in step 52.Preferentially ordering In the case of order, in step 53, a couple priority signal Cm11~Cm14 corresponding with preemption command is verified, in step 54 Priority signal Cm1 is set.Then, control signal is sent in step 55.
In the case of being not preemption command in the judgement of step 52, order is converted into code at step 56, in step The code is set to usual signal Cm2 in rapid 57.Then, control signal is sent in step 55.
Fig. 7 shows the processing that the CPU31 of sensor amplifier 21 is executed.
First, control signal is received in a step 61.
Then, in step 62, judge whether priority signal Cm11 is " Hi ", i.e. " 1 ".In the feelings that priority signal Cm11 is " Hi " Pair under condition, preemption command is " obtain current value ", therefore the CPU31 of sensor amplifier 21 loopback current values in step 63, i.e., Response data RDn shown in Fig. 3 (b) is arranged current value and sends response signal RS.
In the case where priority signal Cm11 is not " Hi ", is " 0 ", priority signal Cm12 is judged in step 64 whether For " Hi ", i.e. " 1 ".In the case where priority signal Cm11 is " Hi ", preemption command is " obtain maximum value ", therefore Sense Amplification The CPU31 of device 21 loopback maximum values in step 65 are arranged maximum value to response data RDn shown in Fig. 3 (b) and send sound Induction signal RS.
In the case where priority signal Cm12 is not " Hi ", is " 0 ", priority signal Cm13 is judged in the step 66 whether For " Hi ", i.e. " 1 ".In the case where priority signal Cm11 is " Hi ", preemption command is " obtain minimum value ", therefore Sense Amplification The CPU31 of device 21 loopback minimum values in step 67 are arranged minimum value to response data RDn shown in Fig. 3 (b) and send sound Induction signal RS.
In the case where priority signal Cm13 is not " Hi ", is " 0 ", priority signal Cm14 is judged in the step 68 whether For " Hi ", i.e. " 1 ".In the case where priority signal Cm11 is " Hi ", preemption command is " obtain average value ", therefore Sense Amplification The CPU31 of device 21 loopback average values in step 69 are arranged average value to response data RDn shown in Fig. 3 (b) and send sound Induction signal RS.
That is, each priority signal Cm11~Cm14 of priority signal Cm1 respectively with preemption command 1:1 ground corresponds to.Cause This, can execute the processing of preemption command according to each bit of priority signal Cm1.In addition, each priority signal Cm11~Cm14 exists Position has been determined in control signal CS.For example, in controlling signal CS, connect initial pulse SP and send priority signal Cm11~ Cm14.For example, the latter signal for receiving control signal CS, initial pulse SP is Cm11.Therefore, only confirm corresponding position The state (" 1 " or " 0 ") of signal (each priority signal Cm11~Cm14), just can determine that whether preemption command is designated.
In the case where priority signal Cm14 is not " Hi ", is " 0 ", judge whether to be provided with usual letter in step 70 Number Cm2.In the case where being provided with usual signal Cm2, the usual signal Cm2 is converted into code in step 71.Then, exist In step 72, order is differentiated based on code.Then, based on the order determined, response signal is sent in step 73.
That is, usually signal Cm2 is corresponding with multiple control commands.Therefore, judgement has converted the generation of usual signal Cm2 Code is corresponding with which control command.For example, being verified to code and control command, judge which control the code received is Order.Therefore, when control command more (such as 100 kinds), life as a purpose is being judged according to the sequence of judgement sometimes The time is needed before order.Therefore, it is sent by regarding the control command for not needing real-time as usual signal Cm2, thus with transmission Compared with the case where each control command controls signal accordingly, required time shortening is communicated.
The sensor amplifier 21 for the other side for sending order is arranged in the CPU11 of communication unit 10 for example in the step 55 of Fig. 6 Channel number CH, and send control signal.In addition, can also send control signal to all sensor amplifiers 21.For example, making To order as " output action pattern ", there are the feelings of the control command jointly controlled all sensor amplifiers 21 Condition.In this case, the CPU of communication unit 10 as defined in channel number CH settings to numbering (such as " 0 ").Each sensor amplifier 21 CPU31 is when channel number CH is the channel number either defined number of the machine based on preemption command or usually order To be handled.
(effect)
Then, illustrate the effect of above-mentioned sensing system.
The CPU11 of communication unit 10 sends control signal CS.It includes initial pulse SP, priority signal Cm1, usually to control signal CS Signal Cm2, channel number CH, control data CDn, terminate pulse EP.Priority signal Cm1 include multiple priority signal Cm11~ Cm14.Each priority signal Cm11~Cm14 is directed to preemption command 1 respectively:1 ground corresponds to.That is, priority signal Cm1 include with The corresponding priority signal Cm11~Cm14 of four preemption commands.In priority signal Cm1, the position of each priority signal Cm11~Cm14 (sequence) is set in priority signal Cm1 to have determined.
The CPU31 of sensor amplifier 21 is returned according to the state of the priority signal Cm1 priority signal Cm11~Cm14 for being included Send " current value " corresponding with each order of priority signal Cm11~Cm14, " maximum value ", " minimum value ", " average value ".
Usual signal Cm2 is the signal of multiple bytes (such as 3 bytes), i.e. multiple train of signals.Sensor amplifier 21 CPU31 receives usual signal Cm2, and usual signal Cm2 is converted to code.Also, the CPU31 of sensor amplifier 21 is to conversion The order that code afterwards indicates is differentiated, the processing (such as transmission of response signal) to the order is executed.
Therefore, order corresponding with priority signal Cm1 (Cm11~Cm14) such as need not convert, differentiate at the processing, with this phase Ying Di, the time needed for the time of the transmission for receiving response signal of control signal, i.e. response shorten.Therefore, with do not make It is compared with the control signal of priority signal Cm1, the time needed for the response of preemption command shortens.
On the other hand, usual signal Cm2 be it is determined that length (signal length), the usual signal Cm2 can be utilized to send Various orders.Therefore, with using compared with the corresponding control signal of each order, controlling the length of signal can shorten, Correspondingly, call duration time can be shortened, and communication load can be reduced.
The CPU11 of communication unit 10 connects initial pulse SP and sends priority signal Cm1 (Cm11~Cm14), connects preferential Signal Cm1 and send usual signal Cm2.That is, the transmission opportunity of priority signal Cm1, usual signal Cm2 are (from starting arteries and veins Rush the transmission opportunity that SP starts) determine.Therefore, the CPU31 of sensor amplifier 21 is being provided with the preferential of connecting initial pulse SP Corresponding order is executed in the case of signal Cm1 (Cm11~Cm14).Therefore, can receive priority signal Cm1 (Cm11~ Immediate execution command when Cm14), so to the time shortening sent needed for response signal.
As described above, according to the present embodiment, playing following effect.
(1) sensing system has the communication unit 10 as controller and multiple (being in Fig. 1 4) sensors 20.It is each to pass Sensor 20 has the sensor amplifier 21 and sensing head 22 as sensor unit.Each sensor amplifier 21 is gone here and there with communication unit 10 Connection connection.The CPU11 of communication unit 10 sends control signal CS.Control signal CS include initial pulse SP, priority signal Cm1, Usual signal Cm2, channel number CH, control data CDn, terminate pulse EP.Priority signal Cm1 includes multiple priority signal Cm11 ~Cm14.Each priority signal Cm11~Cm14 is directed to preemption command 1 respectively:1 ground corresponds to.The CPU31 of sensor amplifier 21 according to The state for priority signal Cm11~Cm14 that priority signal Cm1 is included, the order of loopback and each priority signal Cm11~Cm14 Corresponding " current value ", " maximum value ", " minimum value ", " average value ".
Order corresponding with priority signal Cm1 (Cm11~Cm14) such as need not convert, differentiate at the processing, correspondingly, Time, the i.e. response required time until the transmission for receiving response signal of control signal is short.Therefore, with without using excellent The control signal of first signal Cm1 is compared, and the time needed for the response of preemption command shortens.
(2) usually signal Cm2 be it is determined that length (signal length), can be sent using the usual signal Cm2 it is various respectively The order of sample.Therefore, with using compared with the corresponding control signal of each order, controlling the length of signal can shorten, correspondingly, Call duration time can be shortened, and communication load can be reduced.
(3) CPU11 of communication unit 10 connects initial pulse SP and sends priority signal Cm1 (Cm11~Cm14), connects Priority signal Cm1 and send usual signal Cm2.That is, the transmission opportunity of priority signal Cm1, usual signal Cm2 are (from The transmission opportunity that initial pulse SP starts) determine.Therefore, the CPU31 of sensor amplifier 21 is being provided with connecting initial pulse SP's Corresponding order is executed in the case of priority signal Cm1 (Cm11~Cm14).Therefore, can receive priority signal Cm1 (Cm11~ Immediate execution command when Cm14), so sending the time shortening needed for response signal.
In addition, the respective embodiments described above can also be implemented with the following methods.
In the above-described embodiment, the control signal CS for including priority signal Cm1 and usual signal Cm2 is sent, but also may be used Using by priority signal Cm1 and usual signal Cm2 as the control signal being individually separated.In this case, as long as can judge it is packet The control signal of the Cm1 containing priority signal still includes the control signal of usual signal Cm2.For example, control as shown in Figure 8 Signal CSa is such, and after sending marking signal F, priority signal Cm1 or usual signal Cm2 is sent as signal CmX.According to The state of marking signal F, such as it is set as priority signal Cm1 in the case of " 1 ", it is set as usual signal in the case of " 0 " Cm2.Even if in this way, the time needed for the response to preemption command can be shortened if by sending priority signal Cm1.
In the above-described embodiment, as shown in Figure 1, being connected in series with multiple sensor amplifiers for communication unit 10 21, but each sensor amplifier 21 can also be made to be connected in series with respectively with communication unit 10.
In the above-described embodiment, priority signal Cm1 (preemption command) is set as four, but three can also be set as Below or five or more.Certainly also according to the quantity Altered Graphs 6 of preemption command and processing shown in Fig. 7.
For the above embodiment, signal length (byte quantity) increment of for example usual signal Cm2 can also be made, and Multiple orders can be notified using usual signal Cm2.
Reference sign
10:Communication unit (controller);20:Sensor;21:Sensor amplifier (sensor unit);22:Sensing head;CS: Control signal;RS:Response signal;Cm1, Cm11~Cm14:Priority signal;Cm2:Usual signal.

Claims (9)

1. a kind of electronic equipment has the 1st electronic device for sending control signal and sends and believes the response of the control signal Number the 2nd electronic device, the electronic equipment is characterized in that,
The control signal includes at least one party in priority signal and usual signal,
The priority signal includes multiple signals, and each signal is indicated with the 1st electronic device to the 2nd electronic device respectively The 1st order correspond to,
The usual signal includes at least one train of signal, and the state of the train of signal is according to the 1st electronic device to described The 2nd of 2nd electronic device instruction is ordered and is set,
2nd electronic device in the case where receiving the control signal comprising the priority signal with the preferential letter Number each signal for being included respectively correspondingly sends response signal, is receiving the control signal for including the usual signal In the case of the train of signal of the usual signal is converted into code, and differentiate the 2nd order corresponding with the code, execute and The corresponding processing of 2nd order.
2. electronic equipment according to claim 1, which is characterized in that the 1st electronic device is by the priority signal institute Including the multiple signal sent with defined sequence.
3. electronic equipment according to claim 1, which is characterized in that the 1st electronic device is by the priority signal institute Including multiple signals in a signal be set as the 1st state, and other signals are set as the 2nd state,
Signal of 2nd electronic device based on the 1st state sends response signal.
4. electronic equipment according to claim 1, which is characterized in that the control signal includes initial pulse, institute successively State priority signal and the usual signal.
5. electronic equipment according to claim 1, which is characterized in that the 1st electronic device is sent comprising the 1st state Control signal including marking signal and the priority signal or the marking signal comprising the 1st state and it is described usually Control signal including signal.
6. the electronic equipment according to any one of Claims 1 to 5, which is characterized in that be directed to the 1st electronic device Multiple 2nd electronic devices are connected with,
Multiple 2nd electronic devices have mutually different channel number,
1st electronic device will notify the letter of the 2nd electronic device of the 1st order or the 2nd order Road number is sent in a manner of being contained in the control signal.
7. a kind of sensing system has the controller for sending control signal and sends to the response signal of the control signal Sensor unit, the sensing system be characterized in that,
The control signal includes at least one party in priority signal and usual signal,
The priority signal include multiple signals, each signal indicated respectively to the sensor unit with the controller the 1st Order corresponds to,
The usual signal includes at least one train of signal, and the state of the train of signal is according to the controller to the sensor The 2nd of unit instruction is ordered and is set,
The sensor unit in the case where receiving the control signal comprising the priority signal with the preferential letter Number each signal for being included respectively correspondingly sends response signal, is receiving the control signal for including the usual signal In the case of the train of signal of the usual signal is converted into code, and differentiate the 2nd order corresponding with the code, execute and The corresponding processing of 2nd order.
8. a kind of sensor unit is connected to the controller for sending control signal, the response signal to the control signal is sent, The sensor unit is characterized in that,
The control signal includes at least one party in priority signal and usual signal,
The priority signal include multiple signals, each signal indicated respectively to the sensor unit with the controller the 1st Order corresponds to,
The usual signal includes at least one train of signal, and the state of the train of signal is according to the controller to the sensor The 2nd of unit instruction is ordered and is set,
The sensor unit in the case where receiving the control signal comprising the priority signal with the preferential letter Number each signal for being included respectively correspondingly sends response signal, is receiving the control signal for including the usual signal In the case of the train of signal of the usual signal is converted into code, and differentiate the 2nd order corresponding with the code, execute and The corresponding processing of 2nd order.
9. a kind of controller is connected to the sensor unit checked inspection object, and sends control signals to institute Sensor unit is stated, the controller is characterized in that,
The sensor unit sends the response signal to the control signal,
The control signal includes at least one party in priority signal and usual signal,
The priority signal include multiple signals, each signal indicated respectively to the sensor unit with the controller the 1st Order corresponds to,
The usual signal includes at least one train of signal, and the state of the train of signal is according to the controller to the sensor It orders and sets in the 2nd of unit instruction.
CN201810155227.1A 2017-03-31 2018-02-23 Electronic equipment, sensing system, controller and sensor unit Pending CN108694825A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017070570A JP2018173747A (en) 2017-03-31 2017-03-31 Electronic apparatus, sensor system, controller, and sensor unit
JP2017-070570 2017-03-31

Publications (1)

Publication Number Publication Date
CN108694825A true CN108694825A (en) 2018-10-23

Family

ID=63844470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810155227.1A Pending CN108694825A (en) 2017-03-31 2018-02-23 Electronic equipment, sensing system, controller and sensor unit

Country Status (4)

Country Link
JP (1) JP2018173747A (en)
KR (1) KR20180111508A (en)
CN (1) CN108694825A (en)
TW (1) TW201837630A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426193A (en) * 2001-12-12 2003-06-25 三菱电机株式会社 Combined determining method and combined determining circuit for data transmission
JP2004295555A (en) * 2003-03-27 2004-10-21 Sunx Ltd Communication system, sensor system, and communication device
CN1652522A (en) * 2004-02-02 2005-08-10 索尼株式会社 Wireless communication system,wireless communication apparatus,wireless communication method and computer program
CN1886918A (en) * 2003-10-22 2006-12-27 昂瓦尔德技术有限公司 Multiple channel wireless communication system
JP2012217167A (en) * 2011-03-30 2012-11-08 Panasonic Corp Communication control system and lighting control system
CN104125047A (en) * 2013-04-24 2014-10-29 精工爱普生株式会社 Communication circuit, physical quantity measurement device, electronic apparatus, and communication method
CN104346223A (en) * 2013-07-31 2015-02-11 想象力科技有限公司 Prioritising instructions according to category of instruction
JP2015173390A (en) * 2014-03-12 2015-10-01 富士電機株式会社 Control device, control method and program
CN105573962A (en) * 2013-03-15 2016-05-11 甲骨文国际公司 Efficient hardware instructions for single instruction multiple data processors
CN106413105A (en) * 2015-07-30 2017-02-15 中国移动通信集团公司 Resource transmission indication method and apparatus, network-side equipment, and terminal
JP2017046281A (en) * 2015-08-28 2017-03-02 シャープ株式会社 Controller, electric apparatus, control system, and control method for control system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426193A (en) * 2001-12-12 2003-06-25 三菱电机株式会社 Combined determining method and combined determining circuit for data transmission
JP2004295555A (en) * 2003-03-27 2004-10-21 Sunx Ltd Communication system, sensor system, and communication device
CN1886918A (en) * 2003-10-22 2006-12-27 昂瓦尔德技术有限公司 Multiple channel wireless communication system
CN1652522A (en) * 2004-02-02 2005-08-10 索尼株式会社 Wireless communication system,wireless communication apparatus,wireless communication method and computer program
JP2012217167A (en) * 2011-03-30 2012-11-08 Panasonic Corp Communication control system and lighting control system
CN105573962A (en) * 2013-03-15 2016-05-11 甲骨文国际公司 Efficient hardware instructions for single instruction multiple data processors
CN104125047A (en) * 2013-04-24 2014-10-29 精工爱普生株式会社 Communication circuit, physical quantity measurement device, electronic apparatus, and communication method
CN104346223A (en) * 2013-07-31 2015-02-11 想象力科技有限公司 Prioritising instructions according to category of instruction
JP2015173390A (en) * 2014-03-12 2015-10-01 富士電機株式会社 Control device, control method and program
CN106413105A (en) * 2015-07-30 2017-02-15 中国移动通信集团公司 Resource transmission indication method and apparatus, network-side equipment, and terminal
JP2017046281A (en) * 2015-08-28 2017-03-02 シャープ株式会社 Controller, electric apparatus, control system, and control method for control system

Also Published As

Publication number Publication date
TW201837630A (en) 2018-10-16
KR20180111508A (en) 2018-10-11
JP2018173747A (en) 2018-11-08

Similar Documents

Publication Publication Date Title
CN101594551A (en) Image display testing method
WO2004076944A3 (en) Gas monitoring system and sidestream gas measurement system adapted to communicate with a mainstream gas measurement system
CN105451630A (en) Insertion system and method for adjusting shape detection characteristics of shape sensor
US20090216511A1 (en) Sensor Simulator
CN110235393A (en) Automated testing method and system
CN109425392B (en) On-site instrument, system and waveform data output method
CN108694825A (en) Electronic equipment, sensing system, controller and sensor unit
CN101152939B (en) Function variable remote monitoring system and remote monitoring method for elevator
US12098058B2 (en) Fixture automated configuring method, fixture, and elevator
CN108227526A (en) Control device and control system
CN205353671U (en) Sensor model recognition device
TWI554157B (en) Indicator light detection system and method
CN100567053C (en) Control setup
CN209560007U (en) A kind of testing lines system based on wireless technology
KR102174456B1 (en) Apparatus for synchronizing in serial communication interface and method thereof
CN101566656B (en) System and method for automatic detection
US20150149107A1 (en) Loopback test of the proper operation of technical devices in an industrial process automation system
KR101051429B1 (en) Underground sensor data acquisition device and method using underground sensor interface module
CN106054777B (en) The communication unit of flue-cured tobacco high-precision control unit
JP4385739B2 (en) Waveform measuring instrument
HUP9801299A2 (en) Method and equipment for registering consumption
CN106056888B (en) Method for carrying out data transmission between measuring device and data processing equipment
CN205280281U (en) Calibration equipment of rope tension tester
WO2018158818A1 (en) Inspection assistance device, inspection assistance method, and recording medium
KR100917542B1 (en) Method for selecting communication protocol of slave unit

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181023