CN105223792B - Carton, image forming apparatus and the method that device address is set for carton - Google Patents
Carton, image forming apparatus and the method that device address is set for carton Download PDFInfo
- Publication number
- CN105223792B CN105223792B CN201510603446.8A CN201510603446A CN105223792B CN 105223792 B CN105223792 B CN 105223792B CN 201510603446 A CN201510603446 A CN 201510603446A CN 105223792 B CN105223792 B CN 105223792B
- Authority
- CN
- China
- Prior art keywords
- carton
- controller
- communication line
- address
- work
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03G—ELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
- G03G15/00—Apparatus for electrographic processes using a charge pattern
- G03G15/65—Apparatus which relate to the handling of copy material
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65H—HANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
- B65H1/00—Supports or magazines for piles from which articles are to be separated
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Control Or Security For Electrophotography (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a kind of carton, image forming apparatus and for carton be arranged device address method.The carton includes serial communication line, carton controller and switch module;The serial communication line work is in first mode or second mode;The carton controller is set as configuring device address according to from the received address configuration instruction of serial communication line for itself affiliated carton, and receives the power supply to MP tray from serial communication line after configuring device address and instruct;The switch module is set as providing working power to the carton controller of the cascade MP tray of the carton.It includes device noumenon and at least one carton that described image, which forms device, and all cartons from first layer to last one layer are connected to described device ontology in cascaded fashion.Pass through this cascade mode, it is only necessary to which the simple route of structure and device can identify each carton, simplify the communication process between device noumenon and each carton.
Description
Technical field
The present invention relates to a kind of definition techniques, specifically, being related to a kind of carton, image forming apparatus and for paper
The method of box setting device address.
Background technique
It, can be with for storing the paper feeding cassette of print media such as paper etc. in the image forming apparatuses such as duplicator, printer
As the selection device of image forming device body, it is encased in image forming device body by way of adding.
When image forming device body uses multiple paper feeding cassettes, in view of the structure of image forming apparatus, these paper feeding cassettes
It is added in image forming device body in a manner of stacking mostly.And image forming device body needs the superposition by paper feeding cassette
Sequence identifies each paper feeding cassette such as first layer, second layer, accurately to control these paper feeding cassettes.That is, to add
Mode be superimposed with multiple mutually isostructural paper feeding cassettes and carry out in use, image forming device body must be to each paper feeding cassette respectively
Location is identified.Briefly, image forming device body will can recognize that each paper feeding cassette difference in stacking
Which layer be in.
In the prior art, the serial communication line of UART mode is generallyd use by image forming apparatus main body and its paper feeding cassette
It is attached.Fig. 1 is shown between main body and optional paper feeding cassette using what UART communication line was attached in image forming apparatus
It is intended to.The communication channel of quantity and the paper feeding cassette 20,30 and 40 that can be selected as many is assigned to main body 10 in advance, when each
When optional carton 20,30 or 40 is installed in image forming apparatus, it connect with main body 10, so as to logical by UART
Letter line is communicated one to one with main body 10.Due to main body 10 using independent communication channel one to one with each paper feeding cassette
20, it 30 perhaps 40 communicates so needing the communication channel of quantity and the quantity of optional carton 20,30 or 40 as many, in turn
There is a problem of that cost is excessively high, circuit is complicated.
Summary of the invention
The technical problem to be solved by the present invention is to overcome image forming apparatus in the prior art with the confession that can be added
The defect that cost is continuously increased caused by the quantity of carton increases and circuit structure is more complicated.
Present invention firstly provides a kind of cartons, including serial communication line, carton controller and switch module;
The serial communication line is set as working under the control of the carton controller in first mode or second
Mode;
The carton controller is set as basis from work in the received address of the serial communication line of first mode
Configuration-direct is that itself affiliated carton configures device address, and from working described in the second mode after configure device address
Serial communication line, which receives, instructs the power supply with the cascade MP tray power supply of the carton;
The switch module is set as connecting or disconnecting the carton controller with the cascade MP tray of the carton
Working power, wherein the carton controller controls the switch module according to power supply instruction and connects the working power.
In one embodiment, the carton controller is also configured to:
The confirmation message of distributing equipment address is fed back in the serial communication line of first mode to work;And
The serial communication line with work in second mode exchanges data.
In one embodiment, the switch module original state is set as disconnecting by carton controller control, makes
It obtains the carton and carries out power-off control to the cascade MP tray of the carton during carrying out address configuration.
In one embodiment, the carton controller is provided with the first communication port and the second communication port, the string
Row communication line includes the first communication line and the second communication line;
Wherein, when the serial communication line work in first mode, the first communication port of the carton controller
Address configuration instruction is received from first communication line, and second communication port is by the confirmation letter of distributing equipment address
Breath feeds back to second communication line;
When serial communication line work is in second mode, the first communication port of the carton controller is from described
First communication line receives clock information, and second communication port exchanges data with second communication line, and passes through described the
Two communication lines receive the power supply instruction.
In one embodiment, the carton controller is additionally provided with:
Power access end is received by the work with the cascade upper tray of the carton or image forming device body offer
Make power supply;
Instruction output end, for receiving in the carton controller to the power supply with the cascade MP tray of the carton
Power supplying control signal is exported after instruction.
In one embodiment, the switch module is provided with
Power supply control end is connect with the instruction output end of the carton controller;
Power access end connects the working power of the carton;
Power output end, the power access end of connection and the carton controller of the cascade MP tray of the carton, when
When the power supply control termination receives the power supplying control signal, the power access end is connected to the power output end, is
The working power is connected with the carton controller of the cascade MP tray of the carton.
The embodiment of the present invention also provides a kind of image forming apparatus, comprising:
Device noumenon is provided with Body Controller, switch module and universal serial bus;
At least one carton as described above, described device ontology connect the carton by the universal serial bus, from
First layer to last one layer of all cartons are connected to described device ontology in cascaded fashion;The universal serial bus is set as
The lower work of Body Controller control is in first mode or second mode;
Wherein, the Body Controller is set as sending out the carton in the universal serial bus of first mode by working
Send the address configuration to instruct, and by work second mode the universal serial bus to the institute that configuration device address is completed
State carton and send and the power supply with the carton cascade MP tray power supply is instructed, with from top to bottom successively to every layer of carton into
Row configuration device address;
The switch module of described device ontology is set as to the carton control with the cascade first layer carton of described device ontology
Device processed connects or disconnects working power.
In one embodiment, the switch module original state of described device ontology is set as connecing by the Body Controller
It is logical, so that the switch module of described device ontology and the carton controller of the cascade first layer carton of described device ontology is connected work
Make power supply.
In one embodiment, the Body Controller is also configured to:
The confirmation for the address of distributing equipment that the carton is fed back is received in the universal serial bus of first mode from work
Information;And
The universal serial bus with work in second mode exchanges data.
In one embodiment, the Body Controller is provided with the first communication port and the second communication port, the string
Row bus includes the first communication line and the second communication line;Wherein, when the universal serial bus work in first mode, the ontology
First communication port of controller sends address configuration instruction to first communication line, and second communication port is from institute
State the confirmation message that the second communication line receives the address of distributing equipment of the carton feedback;
When universal serial bus work is in second mode, the first communication port of the Body Controller is to described first
Communication line provides clock information, and second communication port exchanges data with second communication line, and logical by described second
Believe that line sends the power supply instruction.
In one embodiment, the Body Controller is additionally provided with:
Power access end, connection described image form the working power of device;
Instruction output end, for exporting power supplying control signal to the cascade first layer carton of described device ontology.
In one embodiment, the switch module of described device ontology is provided with
Power supply control end is connect with the instruction output end of the Body Controller;
Power access end, connection described image form the working power of device;
Power output end, the plant-grid connection of connection and the carton controller of the cascade first layer carton of described device ontology
End, when power supply control termination receives the power supplying control signal, the power access end and the power output end connect
It is logical, to connect the working power with the carton controller of the cascade first layer carton of described device ontology.
The embodiment of the present invention also provides a kind of method of carton configuration device address, and the carton includes carton control
Device, switch module and serial communication line, which comprises
The carton controller first controls serial communication line work in first mode, according to from the serial communication
The address configuration instruction of line receiver configures device address for itself affiliated carton, and after configuring device address, the paper
Box controller controls serial communication line work in second mode, from the serial communication line receive to the carton
The power supply instruction of cascade MP tray power supply;
The carton controller controls the switch module according to power supply instruction
The carton controller of carton connects working power.
In one embodiment, further includes:
The carton controller is to work in the serial communication line feedback distributing equipment address of first mode
Confirmation message;And the serial communication line with work in second mode exchanges data.
In one embodiment, further includes:
The carton controller controls the switch module original state and is set as disconnecting, so that the carton is carrying out ground
Location carries out power-off control to the cascade MP tray of the carton during configuring.
It is the method that device address is arranged in carton, the image shape that the embodiment of the present invention, which also provides a kind of image forming apparatus,
Device noumenon at device includes Body Controller, switch module and universal serial bus, and described device ontology passes through described serial
Bus is connect with the carton;This method comprises:
The Body Controller first controls universal serial bus work in first mode, by the universal serial bus to described
Carton sends address configuration instruction;
The Body Controller controls universal serial bus work in second mode again, by the universal serial bus to complete
Sent at the carton of configuration device address and the power supply with the carton cascade MP tray power supply instructed, on to
Device address successively is configured to every layer of carton down.
In one embodiment, further includes:
The Body Controller receives the distribution that the carton is fed back in the universal serial bus of first mode from work
The confirmation message of device address;And
The universal serial bus with work in second mode exchanges data.
In one embodiment, further includes:
The original state of the switch module of the Body Controller control described device ontology is set as on-state, makes institute
Stating switch module is to connect working power with the carton controller of the cascade first layer carton of described device ontology.
Compared with prior art, carton provided in an embodiment of the present invention can interconnect in cascaded fashion from top to bottom,
Carton positioned at upper layer is after completing to configure device address, to provide working power with its cascade MP tray, so that
MP tray carries out device address configuration.
Correspondingly, in image forming apparatus provided in an embodiment of the present invention, all cartons connected in cascaded fashion are equal
It is connected to device noumenon.And serial-port is constituted using two communication lines, image forming device body is connected by the serial-port
Connect at least one additional carton.Image forming device body or the carton on upper layer is in provide for cascade MP tray therewith
Working power successively starts every layer of carton according to waterfall sequence from top to bottom.
The serial-port is worked alternatively in UART mode or IIC mode.After the carton electrifying startup of current layer, the string
Row of channels works in UART mode, and image forming device body is the carton distributing equipment address just powered on;This is serial logical later
Road is switched to IIC mode, and image forming device body is next layer using the carton of allocated device address control current layer
Cascade carton powers on.Using such operating process, image forming device body can be according to waterfall sequence from top to bottom successively
Address distribution is carried out to every layer of carton.
Pass through this cascade mode, it is only necessary to which the simple route of structure and device can know each carton
Not, the communication process between device noumenon and each carton is simplified.Also, the communication mode between device noumenon and all cartons
Simplicity is stablized, and hardware cost is relatively low.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention
It applies example and is used together to explain the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the connection schematic diagram of image forming device body and carton in the prior art;
Fig. 2A is the schematic diagram of the image forming device body of embodiment one and the hardware connection of carton;
Fig. 2 B is another schematic diagram of the image forming device body of embodiment one and the hardware connection of carton;
Fig. 3 is that the image forming device body of embodiment two carries out the step process of device address allocation processing to carton
Figure;
Fig. 4 is the step flow chart of the carton configuration device address of embodiment two.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing further
Ground is described in detail.
The embodiment of the present invention is illustrated below in conjunction with Figure of description, it should be understood that described herein preferred
Embodiment is only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.And in the case where not colliding, the present invention
Embodiment in feature can be combined with each other.
Image forming apparatus of the invention is by taking printer as an example.It will be apparent to those skilled in the art that duplicator etc. is schemed
Technical solution of the present invention is equally applicable to as forming device.
Embodiment one
Fig. 2A is the schematic diagram of the hardware connection of image forming device body and carton.It should be noted that the present embodiment
In by taking device noumenon 100 can install three cartons as an example, the process of carton distributing equipment address is illustrated, but simultaneously unexpectedly
Taste the carton quantity that can install of image forming apparatus be confined to three.In the case where carton quantity more than three, device
Ontology 100 still is able to as each carton distributing equipment address one by one.
In the example of Fig. 2A, image forming apparatus includes device noumenon 100 and carton 11,12,13, wherein Ge Gezhi
Carton controller 201 is provided in box.After first layer connects in cascaded fashion to last one layer of whole cartons, with device
Ontology 100 connects.Body Controller 101 is provided in device noumenon 100, Body Controller 101 includes central processor CPU
Deng, image forming apparatus is totally controlled, including to each functional component output indication signal, completion data are transmitted etc..
Body Controller 101 is also configured to control all carton controllers 201, and carries out with all carton controllers 201 double
To communication.Each carton includes carton controller 201, for controlling the paper feeding operation etc. of carton, and monitors the shape of carton
State, such as adactylism, paper jam etc..
As shown in Figure 2 A, it is mounted on Body Controller 101 in device noumenon 100 and passes through two communication line L1 and L2 and each
The carton controller 201 of layer carton communicates.Wherein, communication line L1 and L2 forms universal serial bus, which controls in ontology
Device 101 can work under controlling in first mode or second mode.For example, first mode is the serial communication mode of UART, and
Second mode is the serial communication mode of IIC.
Illustrate the structure of carton by taking second layer carton 12 as an example below.The carton mainly includes by 203 He of the first communication line
The serial communication line that second communication line 204 is constituted, carton controller 201 and switch module 202.Serial communication line alternating
Work is in first mode and second mode (i.e. UART mode and IIC mode), and specifically, carton controller 201 is provided with the
One communication port I3 and the second communication port I4, is separately connected the first communication line 203 and the second communication line 204.
Carton controller 201 is set as according to work in the received address configuration instruction of the serial communication line of UART mode
Device address is configured for itself affiliated carton, then, the serial communication line from work in IIC mode is received to MP tray
Power supply instruction.Switch module 202 is set as to connecting with the carton controller 201 of the cascade MP tray of the carton or disconnected
Open working power VCC, wherein carton controller 201 instructs control switch module 202 to connect working power according to the power supply
VCC.As shown in Figure 2 A, it is connected to device noumenon 100 in cascaded fashion from first layer to last one layer of all cartons, so that
The serial communication line of all cartons and communication line L1, L2 of device noumenon 100 form serial-port, and the serial-port is in ontology
It can be worked under the jointly controlling of controller 101 and carton controller 201 in first mode or second mode, i.e. the serial-port
Data interaction can just be played the role of when identical communication protocol only being set between device noumenon 100 and carton.
Similar, device noumenon 100 mainly includes Body Controller 101 and switch module 102.Body Controller 101 is set
It is equipped with the first communication port I1 and the second communication port I2, is separately connected communication line L1 and L2.
When the communication pattern between Body Controller 101 and each carton controller 201 is UART mode, Body Controller
101 port I1 is output interface, and port I2 is input interface;The port I3 of carton controller 201 is input interface, port I4
For output interface.In the communication line of the input interface I3 of the output interface I1 and each carton controller 201 of Body Controller 101
Road, which forms, sends bus TXD, and Body Controller 101 can be from output interface I1 by sending bus TXD to each carton
Controller 201 send control command, if paper feed instruct, carton controller 201 by input interface I3 through transmission bus TXD from
Body Controller 101 receives control command and carries out various movements, as pickup operates.In the input interface I2 of Body Controller 101
Bus RXD is received with foring on the communication line of the output interface I4 of each carton controller 201, carton controller 201
For the status information of itself from output interface I4 by receiving bus RXD feedback to Body Controller 101, Body Controller 101 is logical
It crosses input interface I2 and receives the status information returned from carton controller 201, such as paper out status by receiving bus RXD.
When the communication pattern between Body Controller 101 and each carton controller 201 is IIC mode, Body Controller
Input interface I3 of the 101 output interface I1 output clock signal to each carton controller 201, the output of body controller 101
The connection line of the input interface I3 of interface I1 and each carton controller 201 forms clock line SCL, same communicate
Step effect.The output interface I4 of the input interface I2 of Body Controller 101 and each carton controller 201 is convertible into one
General-purpose interface, can export and input data.In the port I2 of Body Controller 101 and the port of each carton controller 201
The connection line of I4 forms a data transceiver channel SDA.Under the control of synchronised clock, Body Controller passes through port I2
Control command is sent to carton controller 201, and the status information that carton controller 201 is fed back is received by port I2.
That is, two communication lines between Body Controller 101 and each carton controller 201 are fixed in UART communication pattern
Justice is RXD, TXD communication line, is communicated with the communication mode and communication speed of UART;When needing to communicate using IIC, two
Communication line is newly defined as SCL, SDA communication line, is communicated with the communications protocol of IIC.
In addition, Body Controller 101 is provided with power access end IVCC, the working power VCC of image forming apparatus is connected.
Working power VCC is that Body Controller 101 provides power supply and works, working power VCC generally can for 3V, 3.3V or
5V.Body Controller 101 is additionally provided with instruction output end I0, for defeated with the cascade first layer carton 11 of device noumenon 100
Power supplying control signal out.
The switch module 102 of device noumenon 100 is provided with power supply control end C1, power input C2 and power output end
C3.Power supply control end C1 is connect with the instruction output end I0 of Body Controller 101, receives the power supply that Body Controller 101 exports
Control signal.The working power VCC of power access end C2 connection image forming apparatus.Power output end C3 connection and device noumenon
The power access end IVCC of the carton controller 201 of 100 cascade first layer cartons 11.When power supply control end, C1 receives power supply
Control signal when, power access end C2 is connected to power output end C3, to the cascade first layer carton 11 of device noumenon 100
Carton controller 201 connects working power VCC.
Carton controller 201 is additionally provided with power input IVCC and instruction output end I0.Power access end IVCC is received
The working power provided by the cascade upper tray of carton or device noumenon 100;Instruction output end I0 is used in carton controller
201 power supplies for receiving to MP tray export power supplying control signal after instructing.
The switch module 202 of carton is provided with power supply control end C1, power input C2 and power output end C3.For automatically controlled
End C1 processed is connect with the instruction output end I0 of carton controller 201, receives the power supplying control signal that carton controller 201 exports.
The working power VCC of power access end C2 connection carton.Power output end C3 connection with when the cascade MP tray of front loading paper feeding cassette
The power access end IVCC of carton controller 201.When power supply control end, C1 receives power supplying control signal, power access end C2
It is connected to power output end C3, connects working power VCC to the carton controller 201 when the cascade MP tray of front loading paper feeding cassette.
Switch module in device noumenon and carton is specifically as follows a hardware switch, or the number with switching function
Word logic circuit, or the integrated chip with switching function, can connect working power VCC to next layer of paper feeding cassette carton
The design of the power access end IVCC of controller 201 belongs to switch module range of the invention.
Fig. 2 B is another schematic diagram of the image forming device body of the present embodiment and the hardware connection of carton.Fig. 2 B and figure
The identical symbol of 2A is no longer described in detail.The switch module 102 of device noumenon 100 includes a transistor Q1, resistance R1 and electricity
Hinder R2.Transistor Q1 is specifically as follows a triode or other kinds of switching tube.The pole c of triode Q1 connects as power supply
Enter to hold C2 connection working power VCC, the pole b of triode Q1 is as the C1 connection ontology control of power supply control end in device noumenon 100
The instruction output end pole I0, b of device 101 processed is connected to ground by resistance R1, and the pole e of triode Q1 passes through as power output end C3
Resistance R2 is connected to ground.
The pole b of the triode Q2 of switch module 202 is as power supply control end C1 connection carton controller 201 in carton
The pole b of instruction output end I0, triode Q2 are connected to ground by resistance R3, and the pole c of triode Q2 connects as power access end C2
Working power VCC is met, the pole e of triode Q1 is connected to ground by resistance R4 as power output end C3.Switch module 202 is initial
State is set as disconnecting so that when front loading paper feeding cassette carry out address configuration during, to work as the cascade MP tray of front loading paper feeding cassette
Power-off control is carried out, MP tray is in off-position, and current to prevent during front loading paper feeding cassette carries out address configuration
The carton controller 201 of the cascade MP tray of carton generates interference to the signal in serial communication line.
When Body Controller 101 is powered on and initialized, the instruction output end I0 of Body Controller 101 exports a high level
(that is, the original state of the switch module 102 of device noumenon 100 is set as connecting) is connected in signal, triode Q1, work
The pressure drop that power supply VCC is generated by the conducting of triode Q1 and resistance R2, can make switch module 102 pass through power output end
C3 provides operating voltage makes first layer paper feeding cassette 11 be powered to the power access end IVCC of first layer carton controller 201, and is
First layer paper feeding cassette 11 carries out device address distribution.
After first layer carton 11 carries out address distribution, carton controller 201 exports a height by instruction output end I0
Level signal can be such that the switch module 202 in first layer carton 11 is connected, and connect working power VCC to next layer paper feeding cassette 12,
It prepares for the device address distribution of next layer of paper feeding cassette 12.Wherein, after carton controller 201 sets device address, lead to
Cross instruction output end I0 export a high level signal to switch module 202 triode Q2 the pole b, make triode Q2 conducting,
Working power VCC generates pressure drop by the conducting of triode Q2 and resistance R4, and switch module 202 can be made to export by power supply
C3 offer operating voltage is held to make second layer carton to the power access end IVCC of the carton controller 201 of second layer paper feeding cassette 12
12 are powered.
The design method of the switch module of Fig. 2 B is more safer than general hardware switch, and simpler than Digital Logical Circuits
It is single, than digital integration chip save the cost.
The present embodiment can make device noumenon 100 in distributing equipment address to each carton by above-mentioned circuit design
When, by device noumenon 100 to the conducting of the power supply of first layer paper feeding cassette 11 control and upper tray under cascade therewith
Control is connected in the power supply of one layer of carton, and device noumenon 100 can be made successively to carry out device address point to every layer of carton from top to bottom
Match.
When powering on, the communication pattern of universal serial bus is switched to the device noumenon 100 of the present embodiment by Body Controller 101
UART mode, Body Controller 101 send address distribution order, the carton control of first layer paper feeding cassette to first layer paper feeding cassette 11
Device 201 receives address distribution order, distributes initial or default address of the device address in order oneself according to address
It is changed to the device address in the distribution order of address, and returns to confirmation message to Body Controller 101.Body Controller 101 receives
To after confirmation message, the communication pattern of universal serial bus is switched to IIC mode, and to the carton controller of first layer paper feeding cassette 11
201 send the order for opening the power supply of second layer paper feeding cassette 12.The carton controller 201 of first layer paper feeding cassette 11 receives the life
After order, carton controller 201 exports high level by instruction output end I0, provides operating voltage for second layer carton 12, at this moment
Wait the address distribution that Body Controller 101 carries out second layer carton 12 again.
In the mode of above-mentioned distribution address, distribute address when Body Controller 101 and current layer carton controller 201 it
Between communication pattern be UART mode, after distributing device address, the carton controller 201 of Body Controller 101 and current layer
Communication pattern be converted into IIC mode, so that Body Controller 101 is sent the order for opening the power supply of next layer of carton to current layer
The carton controller 201 of carton.The communication pattern conversion designed in this way is the line-hit under UART mode in order to prevent, is guaranteed
Under UART mode, it is connected in the carton of serial-port and only has a carton waiting distributing equipment address.
By description above, the simple route of the present embodiment Structure of need and device can carry out each carton
Identification, simplifies the communication process between device noumenon and each carton.Also, the communication party between device noumenon and all cartons
Formula simplicity is stablized, and hardware cost is relatively low.
Embodiment two
The present embodiment is illustrated the process that image forming device body 100 is carton setting device address.
Fig. 3 is the step flow chart that device noumenon carries out device address allocation processing to carton.
When image forming device body 100 powers on, device address distribution need to be carried out to the first layer carton 11 of connection, with
Carton is identified.
In Fig. 3, step S301 is first carried out, after Body Controller 101 powers on, makes the high electricity of instruction output end I0 output
It is flat, so that switch module 102 is opened the power supply of (connection) first layer carton 11.That is, 101 control switch mould of Body Controller
The original state of block 102 is set as connecting, so that switch module 102 is and the cascade first layer carton 11 of device noumenon 100
Carton controller 201 connects working power VCC.Next step S302 is executed, is delayed T seconds, this is in order to ensure first layer paper
Box 11 can correctly power on (energization).
Step S303 is then executed, Body Controller 101 controls universal serial bus work in UART mode, Body Controller
It is established between 101 and the carton controller 201 of first layer carton 11 and sends bus TXD and reception bus RXD.
In subsequent step S304, Body Controller 101 sends address by sending bus TXD by output interface I1
Configuration-direct, the address configuration instruction in include a device address N.
And then step S305 is executed, Body Controller 101 judges whether there is carton response address by reception bus RXD and matches
Instruction is set, specifically Body Controller 101 judges whether port I2 passes through reception bus RXD and receive first layer carton 11 here
Return to the confirmation message of distributing equipment address;If there is receiving confirmation message, S307 is thened follow the steps, it is no to then follow the steps
S306。
In step S306, Body Controller 101 controls universal serial bus work in IIC mode, device noumenon 100 and carton
Carry out data interaction.When Body Controller 101 is not received by the confirmation message of carton return, indicate to attachment device
All carton distributing equipments address of ontology 100 finishes, and thens follow the steps S310, and the increment according to device address N can be learnt
The quantity of the carton of attachment device ontology 100.
In step S307, Body Controller 101 controls universal serial bus work in IIC mode, specially Body Controller
101, which export clock signal by port I1, passes through clock bus SCL to the carton controller 201 for working as front loading paper feeding cassette.At this moment it sends total
Line TXD is converted to clock bus SCL, and by port I2 and the carton controller 201 when front loading paper feeding cassette carry out the receptions of data with
It sends, at this moment receives bus RXD and be converted to data transmit-receive channel SDA.
After step S307, step S308, the carton controller 201 that Body Controller 101 is N to device address are executed
The order for opening the power supply of next layer of carton is sent, specifically by port I2 output to the power supply instruction of next layer of carton to setting
The carton controller 201 that standby address is N.
Then, in step S309, Body Controller 101 sets new device address N+1, continues to next layer of carton point
With device address N+1, step S303 is executed again.
Circulation is executed from step S303 to step S309 in this way, and the image forming device body or carton for being in upper layer are
Cascade MP tray provides working power therewith, successively starts every layer of carton from top to bottom according to waterfall sequence.Serial-port
It works alternatively in UART mode or IIC mode.After the carton electrifying startup of current layer, serial-port works in UART mould
Formula, device noumenon are the carton distributing equipment address just powered on;Serial-port is switched to IIC mode later, and device noumenon utilizes
The carton of allocated device address control current layer is that next level connection carton powers on.Utilize such operating process, device
Ontology successively can carry out address distribution to every layer of carton from top to bottom according to waterfall sequence.
Fig. 4 is the step flow chart of carton configuration device address.After carton powers on, need to carry out device address distribution
Correctly it can be identified and be used by Body Controller 101.
Step S401 is first carried out, when front loading paper feeding cassette carton controller 201 after the power-up, make under default situations instruction export
It holds I0 to export low level, closes the power supply of next layer of carton.At this moment, the triode Q2 of the switch module 202 in carton is not turned on,
Be truncated working power VCC reach next layer of carton carton controller 201 power input IVCC access.Namely
It says, the original state of 201 control switch module 202 of carton controller is to disconnect, so that when front loading paper feeding cassette pair is cascade next with its
Layer carton carries out power-off control.
Next step S402 is executed, carton controller 201 controls serial communication line work in UART mode, with Fig. 3
In step S303 it is corresponding, specially carton controller 201 set port I3 as input interface, can be connect by transmission bus TXD
The control command that Body Controller 101 is sent is received, concurrently setting port I4 is output interface, can export shape by output interface I4
State information reaches Body Controller 101 by receiving bus RXD.
In step S403, carton controller 201 judges whether to have received address configuration instruction from transmission bus TXD,
If it is not, repeating step S403;If there is receiving address distribution order, S404 is entered step.
In step s 404, when the carton controller 201 of front loading paper feeding cassette obtains equipment from the instruction of received address configuration
Itself default address is changed to device address N by location N, and serially reception bus RXD (the namely communication line in communication line
Road 204) feedback distributing equipment address confirmation message.
Then step S405 is executed, carton controller 201 controls the step that serial communication line works in IIC mode, with Fig. 3
Rapid 307 is corresponding, and specially carton controller 201 makes port I3 receive the clock signal that Body Controller 101 is sent, and makes port I4
Data can be sended and received between Body Controller 101.
In step S406, when the carton controller 201 of front loading paper feeding cassette determines whether it has received the transmission of Body Controller 101
Other orders, whether the specially port I4 of carton controller 201, which receives Body Controller 101 from data transmit-receive channel SDA, is sent out
The control command sent, if it is, S408 is entered step, if it is not, then continuing to execute step S406.
In step S408, when whether the order that the 201 determination step S406 of carton controller of front loading paper feeding cassette is received is pair
The power supply of MP tray instructs, if it is, entering step S409, if it is not, entering step S407, carries out other operations,
For example have received paper feed order, then carry out pickup operation.
Step S409, carton controller 201 are instructed according to the power supply to MP tray received, open next layer of carton
Working power, specially carton controller 201 instruction output end I0 export high level signal, make the three of switch module 202
Pole pipe Q2 conducting, connects the power input IVCC of the carton controller 201 of working power VCC to next layer carton.Then hold
Row step S410, end address allocation processing.By above-mentioned method, successively every layer of carton is configured from top to bottom to realize
Device address.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting
Embodiment is not intended to limit the invention.Any those skilled in the art to which this invention pertains are not departing from this
Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But scope of patent protection of the invention, still should be subject to the scope of the claims as defined in the appended claims.
Claims (18)
1. a kind of carton, which is characterized in that including serial communication line, carton controller and switch module;
The serial communication line is set as working alternatively under the control of the carton controller in UART mode or IIC mould
Formula;
The carton controller is set as from work in the received address configuration instruction of the serial communication line of UART mode
The default address of itself affiliated carton is changed to the device address by middle acquisition device address, and after configuring device address
It is received from work in the serial communication line of IIC mode and the power supply powered with the cascade MP tray of the carton is referred to
It enables;
The switch module is set as connecting or disconnecting work to the carton controller with the cascade MP tray of the carton
Power supply, wherein the carton controller controls the switch module according to power supply instruction and connects the working power.
2. carton as described in claim 1, which is characterized in that the carton controller is also configured to:
The confirmation message of distributing equipment address is fed back in the serial communication line of UART mode to work;And
The serial communication line with work in IIC mode exchanges data.
3. carton as described in claim 1, which is characterized in that the switch module original state is by the carton controller control
It sets up and is set to disconnection, so that the carton carries out during carrying out address configuration to the cascade MP tray of the carton
Power-off control.
4. carton as claimed in any one of claims 1-3, which is characterized in that the carton controller is provided with the first communication
Port and the second communication port, the serial communication line include the first communication line and the second communication line;
Wherein, when serial communication line work is in UART mode, the first communication port of the carton controller is from institute
It states the first communication line and receives the address configuration instruction, second communication port is anti-by the confirmation message of distributing equipment address
It is fed to second communication line;
When serial communication line work is in IIC mode, the first communication port of the carton controller is from described first
Communication line receives clock information, and second communication port exchanges data with second communication line, and logical by described second
Believe that line receives the power supply instruction.
5. carton as claimed in claim 4, which is characterized in that the carton controller is additionally provided with:
Power access end is received by the work electricity with the cascade upper tray of the carton or image forming device body offer
Source;
Instruction output end, for receiving in the carton controller to the power supply instruction with the cascade MP tray of the carton
After export power supplying control signal.
6. carton as claimed in claim 5, which is characterized in that the switch module is provided with
Power supply control end is connect with the instruction output end of the carton controller;
Power access end connects the working power of the carton;
Power output end, the power access end of connection and the carton controller of the cascade MP tray of the carton, when described
When receiving the power supplying control signal, the power access end is connected to power supply control termination with the power output end, for institute
The carton controller for stating the cascade MP tray of carton connects the working power.
7. a kind of image forming apparatus characterized by comprising
Device noumenon is provided with Body Controller, switch module and universal serial bus;
At least one is connected such as carton of any of claims 1-6, described device ontology by the universal serial bus
The carton, all cartons from first layer to last one layer are connected to described device ontology in cascaded fashion;It is described serial
Bus is set as working alternatively in the case where the Body Controller controls in UART mode or IIC mode;
Wherein, the Body Controller is set as sending the carton by the universal serial bus to work in UART mode and wrap
Address configuration instruction containing the device address for distributing to the carton, and by work in the described serial total of IIC mode
Line sends to the carton that configuration device address is completed and instructs to the power supply powered with the cascade MP tray of the carton,
And the universal serial bus by work in UART mode sends comprising distributing to the MP tray MP tray
New equipment address address configuration instruction, successively to carry out configuration device address to every layer of carton from top to bottom;
The switch module of described device ontology is set as to the carton controller with the cascade first layer carton of described device ontology
Connect or disconnect working power.
8. image forming apparatus as claimed in claim 7, which is characterized in that the switch module original state of described device ontology
It is set as connecting by the Body Controller, makes the switch module of described device ontology and described device ontology cascade first
The carton controller of layer carton connects working power.
9. image forming apparatus as claimed in claim 7, which is characterized in that the Body Controller is also configured to:
The confirmation message for the address of distributing equipment that the carton is fed back is received in the universal serial bus of UART mode from work;
And
The universal serial bus with work in IIC mode exchanges data.
10. image forming apparatus as claimed in any one of claims 7-9, which is characterized in that the Body Controller setting
There are the first communication port and the second communication port, the universal serial bus includes the first communication line and the second communication line;Wherein, work as institute
Universal serial bus work is stated in UART mode, the first communication port of the Body Controller sends institute to first communication line
State address configuration instruction, second communication port from second communication line with receiving distributing equipment that the carton is fed back
The confirmation message of location;
When universal serial bus work is in IIC mode, the first communication port of the Body Controller is communicated to described first
Line provides clock information, and second communication port exchanges data with second communication line, and passes through second communication line
Send the power supply instruction.
11. image forming apparatus as claimed in claim 10, which is characterized in that the Body Controller is additionally provided with:
Power access end, connection described image form the working power of device;
Instruction output end, for exporting power supplying control signal to the cascade first layer carton of described device ontology.
12. image forming apparatus as claimed in claim 11, which is characterized in that the switch module of described device ontology is arranged
Have:
Power supply control end is connect with the instruction output end of the Body Controller;
Power access end, connection described image form the working power of device;
Power output end, the power access end of connection and the carton controller of the cascade first layer carton of described device ontology,
When power supply control termination receives the power supplying control signal, the power access end is connected to the power output end,
To connect the working power with the carton controller of the cascade first layer carton of described device ontology.
13. a kind of method of carton configuration device address, which is characterized in that the carton includes carton controller, switch module
And serial communication line, which comprises
The carton controller first controls the serial communication line work in UART mode, receives from the serial communication line
Address configuration instruction in obtain device address, the default address of itself affiliated carton is changed to the device address, and matching
After setting device address, the carton controller controls the serial communication line work in IIC mode, from the serial communication
Line receiver pair and the power supply of the cascade MP tray power supply of the carton instruct;
The carton controller controls the switch module according to power supply instruction
Carton controller connect working power.
14. method as claimed in claim 13, which is characterized in that further include:
The carton controller feeds back the confirmation of distributing equipment address to work in the serial communication line of UART mode
Information;And the serial communication line with work in IIC mode exchanges data.
15. method according to claim 13 or 14, which is characterized in that further include:
The carton controller controls the switch module original state and is set as disconnecting, so that the carton is matched in progress address
Power-off control is carried out to the cascade MP tray of the carton during setting.
16. a kind of image forming apparatus is the method that device address is arranged in carton, which is characterized in that the dress of the image forming apparatus
Setting ontology includes Body Controller, switch module and universal serial bus, described device ontology by the universal serial bus with it is described
Carton connection;This method comprises:
The Body Controller first controls universal serial bus work in UART mode, by the universal serial bus to the carton
Send the address configuration instruction comprising the device address for distributing to the carton;
The Body Controller controls universal serial bus work in IIC mode again, is matched by the universal serial bus to being completed
The carton for setting device address, which is sent, instructs the power supply with the cascade MP tray power supply of the carton, and passes through work
The new equipment address comprising distributing to the MP tray is sent to the MP tray in the universal serial bus of UART mode
Address configuration instruction, successively to configure device address to every layer of carton from top to bottom.
17. the method described in claim 16, which is characterized in that further include:
The Body Controller receives the distributing equipment that the carton is fed back in the universal serial bus of UART mode from work
The confirmation message of address;And
The universal serial bus with work in IIC mode exchanges data.
18. the method as described in claim 16 or 17, which is characterized in that further include:
The original state of the switch module of the Body Controller control described device ontology is set as on-state, makes described open
Closing module is to connect working power with the carton controller of the cascade first layer carton of described device ontology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510603446.8A CN105223792B (en) | 2015-09-21 | 2015-09-21 | Carton, image forming apparatus and the method that device address is set for carton |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510603446.8A CN105223792B (en) | 2015-09-21 | 2015-09-21 | Carton, image forming apparatus and the method that device address is set for carton |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105223792A CN105223792A (en) | 2016-01-06 |
CN105223792B true CN105223792B (en) | 2019-01-22 |
Family
ID=54992830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510603446.8A Active CN105223792B (en) | 2015-09-21 | 2015-09-21 | Carton, image forming apparatus and the method that device address is set for carton |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105223792B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5841362A (en) * | 1995-02-10 | 1998-11-24 | Canon Kabushiki Kaisha | Optional apparatus connectable to other apparatus |
CN1206140A (en) * | 1997-05-09 | 1999-01-27 | 莱克斯马克国际公司 | Communication scheme for imaging systems including printers with intelligent options |
US20020025175A1 (en) * | 2000-08-29 | 2002-02-28 | Kaoru Sato | Paper feeding apparatus and paper discharging apparatus |
CN101246333A (en) * | 2007-02-16 | 2008-08-20 | 京瓷美达株式会社 | Communication control device and image forming device |
CN101377629A (en) * | 2007-08-27 | 2009-03-04 | 京瓷美达株式会社 | Image forming device |
US20150229783A1 (en) * | 2014-02-10 | 2015-08-13 | Seiko Epson Corporation | Facsimile device, option unit, and control device |
US20150229798A1 (en) * | 2014-02-10 | 2015-08-13 | Seiko Epson Corporation | Facsimile apparatus, optional unit, and control system of optional units |
-
2015
- 2015-09-21 CN CN201510603446.8A patent/CN105223792B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5841362A (en) * | 1995-02-10 | 1998-11-24 | Canon Kabushiki Kaisha | Optional apparatus connectable to other apparatus |
CN1206140A (en) * | 1997-05-09 | 1999-01-27 | 莱克斯马克国际公司 | Communication scheme for imaging systems including printers with intelligent options |
US20020025175A1 (en) * | 2000-08-29 | 2002-02-28 | Kaoru Sato | Paper feeding apparatus and paper discharging apparatus |
CN101246333A (en) * | 2007-02-16 | 2008-08-20 | 京瓷美达株式会社 | Communication control device and image forming device |
CN101377629A (en) * | 2007-08-27 | 2009-03-04 | 京瓷美达株式会社 | Image forming device |
US20150229783A1 (en) * | 2014-02-10 | 2015-08-13 | Seiko Epson Corporation | Facsimile device, option unit, and control device |
US20150229798A1 (en) * | 2014-02-10 | 2015-08-13 | Seiko Epson Corporation | Facsimile apparatus, optional unit, and control system of optional units |
Also Published As
Publication number | Publication date |
---|---|
CN105223792A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10241733B2 (en) | Methods and apparatus for supplying power to a printer | |
US8184314B2 (en) | Image forming apparatus and a communication method with trays thereof | |
EP2504766B1 (en) | Configurable connector for system-level communication | |
CN104915317A (en) | Apparatus to recognize memory devices and method to recognize preset slaves | |
CN107835967A (en) | Voltage conversion for USB power delivery sources controls | |
JP2015174375A (en) | Image forming device and control method for the same, and program | |
CN104238489B (en) | Network communication control apparatus, system and method | |
JP2010033519A (en) | Printer and control method thereof | |
CN112838635A (en) | Interface circuit and intelligent device | |
US20120270602A1 (en) | Multiple subscriber identity module controller | |
CN104899170A (en) | Distributed intelligent platform management bus (IPMB) connection method and ATCA (Advanced Telecom Computing Architecture) machine frame | |
CN104809088A (en) | Connecting device and control chip and control method thereof | |
KR101706906B1 (en) | Communication device and method | |
CN109471660A (en) | Docking station device, electronic device and MAC address clone method | |
US9871559B2 (en) | Motor vehicle on-board power system and method for transmitting data signals in a motor vehicle on-board power system | |
CN104378526A (en) | Image forming apparatus and method of controlling entry to power save mode thereof | |
CN105223792B (en) | Carton, image forming apparatus and the method that device address is set for carton | |
CN106502911B (en) | Multi-terminal access device | |
JP2019016319A (en) | Power supply device and method for controlling the same | |
WO2023151569A1 (en) | Adapter device and electronic device | |
CN108055212A (en) | A kind of method and device of compatible PSE chips | |
CN206317552U (en) | Regeneration chip | |
WO2019205637A1 (en) | Data writing method, system, and device for integrated circuit chip, apparatus, and medium | |
CN113253652A (en) | Unit communication control device, method and unit | |
CN105634762A (en) | Router configuration method, router, router control device and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |