1. Field of the Invention
The present invention relates to an electrically writable non-volatile memory circuit, and to a semiconductor device having a trimming means using the circuit.
2. Description of the Related Art
In recent years, a large quantity of power control ICs have been utilized by being incorporated into various kinds of electronic products. Setting voltages of the power control ICs are not only variously but also precisely set in accordance with the applications before packaging in manufacturing factories. Therefore, the industry of electronic equipment has a problem of stocks besides a problem of high manufacturing costs of the power control ICs.
In view of the above, there are required the power control ICs in which desired voltages can be set after packaging and which can deal with the problem of high manufacturing costs and the problem of stocks. Thus, there has been proposedapower control IC provided with an electrically writable non-volatile memory circuit.
For the write to the EPROM 22, a voltage of 10 V is applied to the first write voltage terminal 4, a voltage of 19 V is applied to the second write voltage terminal 5, and a read command signal, which is input from a read control terminal 6, sets the NMOS transistor 25 in a non-conductive state. When the NMOS transistor 23 is made conductive by a write command signal input from a write control terminal 2, a GND potential is applied to a gate terminal of the PMOS transistor 21, whereby the PMOS transistor 21 becomes conductive. Thus, a current flows between a source and a drain of the EPROM 22, and a carrier is injected to a floating gate. Therefore, a threshold of the EPROM 22 becomes a high threshold Vth_h, which leads to a write state.
Further, in order to maintain an initial state (hereinafter, referred to as an erase state) of the EPROM 22 in which no data is written, when the NMOS transistor 23 is made non-conductive by the write command signal input from the write control terminal 2, the voltage at the first write voltage terminal 4 is applied to the gate terminal of the PMOS transistor 21. As a result, the PMOS transistor 21 is made non-conductive. Thus, the current does not flow between the source and the drain of the EPROM 22, and the carrier is not injected to the floating gate. Therefore, the threshold of the EPROM 22 remains at an initial threshold Vth_l, which leads to the erase state.
On the other hand, as to read from the EPROM 22, a voltage of 5 V is applied to the second write voltage terminal 5, the PMOS transistor 21 is set in a non-conductive state, and the NMOS transistor 25 is set in a conductive state.
When the EPROM 22 is in the write state, the threshold of the EPROM 22 is Vth_h, and the gate terminal is applied with a voltage lower than the threshold. As a result, the EPROM 22 becomes non-conductive, and thus, an output voltage terminal 3 is at a high potential.
When the EPROM 22 is in the erase state, the threshold of the EPROM 22 is Vth_l, and the gate terminal is applied with a voltage higher than the threshold. As a result, the EPROM 22 becomes conductive, and thus, the output voltage terminal 3 is at a low potential (refer to, for example, JP 2003-110029 A).
However, in the conventional EPROM read/write circuit, the number of terminals increases since the write voltage terminals are separately required. The increase of the number of terminals leads to the rise in costs of electronic products because of, for example, design change of the electronic products largely utilized in the currently available packages. Further, as a measure for preventing the increase of the number of terminals, there is a measure for obtaining a write voltage with the use of a booster circuit provided in an integrated circuit. However, this leads to the increase of a circuit scale, which invites enlargement of a chip size. This results in the increase of manufacturing costs, and cannot realize mounting in the currently available packages.
The present invention has been made with a view to solving the above-mentioned problems, and therefore has an object to provide a non-volatile memory circuit which enables trimming after packaging without the increase of the number of terminals.
According to the present invention, in order to attain the above-mentioned object, switching of a power source voltage value is performed outside at the time of write and the time of read. In the case of performing write to an EPROM, a voltage applied to a power source voltage terminal is dropped by a resistor, and the resultant voltage is taken as a write voltage. Therefore, the read/write of the EPROM is enabled without providing a write terminal.
More specifically, an electrically writable non-volatile memory circuit, which includes a power source terminal, control terminal, control transistor, EPROM, and output terminal, is structured such that: a resistor is provided between the power source terminal and the control transistor; the control transistor is connected to the EPROM, a connecting point therebetween is connected to the output terminal; the power source terminal is connected to a gate of the EPROM; and the control terminal is connected to the control transistor.
Further, the electrically writable non-volatile memory circuit is structured such that a signal is input to the control terminal to turn the control transistor on, and a write voltage is applied to the power source terminal to perform write operation of the EPROM at the time of write, and a signal is input to the control terminal to turn the control transistor on, and a read voltage is applied to the power source terminal to output information written in the EPROM to the output terminal at the time of read.
Further, the present invention provides a semiconductor device, including a trimming means composed of an electrically writable non-volatile memory, in which plural resistors are connected one another in series in the trimming means, switching transistors are connected in parallel to both ends of each of the resistors, and each of the switching transistors is controlled by the non-volatile memory circuit.
In the electrically writable non-volatile memory circuit according to the present invention, conventional packaging itself can be used. Thus, costs can be reduced by holding down the chip size and the number of terminals. Further, the EPROM read/write circuit of the present invention is utilized in a control device of a MOS switch in the trimming circuit. Thus, an output from the trimming circuit can be set to a desired voltage even after packaging. Accordingly, the manufacturing costs can be reduced, and the problem of stocks can be solved.
In the accompanying drawings:
In order to perform write to the EPROM 12, the optimum voltage difference for the write is required between the gate terminal of the EPROM 12 and a drain terminal thereof. Therefore, a voltage Vw most suitable for the write in terms of characteristics of the EPROM 12 is applied to the power source voltage terminal 1.
Further, a current I[A] flows between a source and a drain of the EPROM 12 when the PMOS transistor 11 is in a conductive state. The resistor 10 sets the best voltage value at which a carrier is injected to a floating gate of the EPROM 12. When a resistance value of the resistor 10 is represented by Rw[Ω], a voltage Vrw generated at the resistor 10 can be obtained through Expression 1.
Vrw=I*Rw (Expression 1)
A voltage Vx of a node X is applied to the drain terminal of the EPROM 12 in the case of the PMOS transistor 11 being conductive, thereby becoming an EPROM write voltage. The voltage Vx of the node X can be obtained through Expression 2 with the voltage Vrw obtained through Expression 1 and the voltage Vw of the power source voltage terminal 1.
Vx=Vw−Vrw (Expression 2)
In order to perform the write to the EPROM, the optimum voltage Vw for the write is applied to the gate terminal of the EPROM 12, and the voltage Vx of the node X, which is obtained by the above-mentioned means, is applied to the drain terminal. Further, a write command signal input from the write control terminal 2 sets the PMOS transistor 11 in the conductive state. At this point, the PMOS transistor 11 is designed to operate in a non-saturation region with a small on resistance.
As described above, the EPROM read/write circuit of the present invention does not require two terminals, which are write voltage terminals, differently from a conventional EPROM read/write circuit. Accordingly, the costs can be reduced by holding down the chip size and the number of terminals.
The data output from the memory circuit in correspondence with a stored state of the EPROM is given to the gate of each of the MOS switches, whereby on/off control of the MOS switches is performed to set a resistance value of the voltage dividing resistor network.
From the above, in this embodiment, description has been made on the operation of the EPROM read/write circuit which uses the EPROM. However, other EPROMs such as an EEPROM can be also used.
Number | Date | Country | Kind |
---|---|---|---|
2004-097820 | Mar 2004 | JP | national |